/* =========================================================
   LEGAL — Human AI Marketing
   Terms, Privacy, Refunds. Public, indexable, plain-spoken.
   Wears the v2 brand (Bone / Ink / Teal, Fraunces + Inter)
   so it matches the home page that links here.
   ========================================================= */

:root {
  --paper:  #EDE4D2;
  --bone:   #F7EFDD;
  --white:  #FFFFFF;
  --ink:    #1B2738;
  --ink-90: rgba(27, 39, 56, 0.9);
  --ink-70: rgba(27, 39, 56, 0.72);
  --ink-50: rgba(27, 39, 56, 0.5);
  --ink-25: rgba(27, 39, 56, 0.25);
  --ink-15: rgba(27, 39, 56, 0.15);
  --ink-10: rgba(27, 39, 56, 0.1);
  --ink-05: rgba(27, 39, 56, 0.05);

  --teal:      #4A7682;
  --teal-deep: #355864;
  --teal-soft: rgba(74, 118, 130, 0.09);
  --teal-edge: rgba(74, 118, 130, 0.35);
  --sumi:      #0F1620;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --measure: 680px;
  --masthead-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--masthead-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  /* the same faint paper tooth as the home page */
  background-image:
    radial-gradient(rgba(27, 39, 56, 0.013) 1px, transparent 1px),
    radial-gradient(rgba(27, 39, 56, 0.008) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

::selection { background: var(--teal); color: var(--bone); }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--teal-edge);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
a:hover { color: var(--teal-deep); text-decoration-color: var(--teal); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 10px 16px;
  z-index: 200;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* ============================ Masthead ============================ */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--masthead-h);
  background: rgba(247, 239, 221, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-10);
}
.masthead__inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .ai { color: var(--teal-deep); }
.wordmark .dot { color: var(--ink-25); margin: 0 0.28em; }

.masthead__title {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink-50);
}
.masthead__back {
  font-size: 0.78rem;
  color: var(--ink-50);
  text-decoration: none;
  white-space: nowrap;
}
.masthead__back:hover { color: var(--ink); }

@media (max-width: 640px) {
  .masthead__title { display: none; }
}

/* ============================ Page shell ============================ */

.layout {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ============================ Hero ============================ */

.hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--ink-10);
  margin-bottom: 48px;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-variation-settings: 'SOFT' 30, 'opsz' 120;
}
.hero h1 em { font-style: italic; color: var(--teal-deep); }

.lede {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--ink-70);
  margin: 0 0 26px;
}
.stamp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.76rem;
  color: var(--ink-50);
  margin: 0;
}
.stamp__sep { color: var(--ink-25); }

/* ============================ Plain-language summary ============================ */

.summary {
  background: var(--teal-soft);
  border: 1px solid var(--teal-edge);
  border-radius: 14px;
  padding: 26px 28px;
  margin: 0 0 52px;
}
.summary h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 14px;
}
.summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.summary li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-90);
}
.summary li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
}
.summary p {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--ink-50);
}

/* ============================ Sections ============================ */

.section { margin: 0 0 52px; }
.section__num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-25);
  margin: 0 0 8px;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  font-variation-settings: 'SOFT' 20, 'opsz' 60;
}
.section h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  margin: 30px 0 10px;
}
.section p { margin: 0 0 16px; }
.section p:last-child { margin-bottom: 0; }

.section ul, .section ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.section li { margin-bottom: 9px; }
.section li:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

/* Definition-style rows for money terms */
.section ul.terms-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid var(--ink-10);
}
.terms-list > li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-10);
}
.terms-list dt, .terms-list__term {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 5px;
}
.terms-list dd, .terms-list__def {
  margin: 0;
  color: var(--ink-70);
  font-size: 0.95rem;
}

/* Contact block */
.contact-block {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  padding: 24px 26px;
  font-style: normal;
}
.contact-block p { margin: 0 0 6px; font-size: 0.95rem; }
.contact-block p:last-child { margin-bottom: 0; }
.contact-block .contact-block__name { font-weight: 600; }

/* ============================ Cross-links ============================ */

.also {
  border-top: 1px solid var(--ink-10);
  padding-top: 32px;
  margin-top: 64px;
}
.also__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 0 0 16px;
}
.also__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.also__links a {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--ink-15);
  border-radius: 999px;
  font-size: 0.84rem;
  text-decoration: none;
  color: var(--ink-70);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.also__links a:hover { border-color: var(--teal); color: var(--teal-deep); }

/* ============================ Footer ============================ */

.footer {
  border-top: 1px solid var(--ink-10);
  padding: 40px 24px 56px;
}
.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer p, .footer a {
  font-size: 0.8rem;
  color: var(--ink-50);
  margin: 0;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer__id { display: grid; gap: 4px; }
.footer__address { font-style: normal; color: var(--ink-40, rgba(27,39,56,0.4)); }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
