/* =========================================================================
   Sellers Sanity — theme: WARM EDITORIAL  (trysellerssanity.com)
   Ivory ground · Fraunces serif display · flat, rule-based layout
   ========================================================================= */

:root {
  --brand: #d95e0c;
  --brand-ink: #b64b06;
  --brand-soft: #f6e7d8;

  --ink: #2a251f;
  --ink-soft: #4c453c;
  --muted: #837a6d;
  --line: #e2d8c8;

  --bg: #fbf7f0;
  --bg-alt: #f5efe3;

  --radius: 4px;
  --container: 1000px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--ink);
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.16; letter-spacing: -0.01em; color: var(--ink); }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip-link:focus { left: 0; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 100; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: 0; }
.brand__mark { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 6px; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a { font-family: var(--font-body); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; color: var(--ink-soft); text-decoration: none; text-transform: uppercase; }
.nav__links a:hover { color: var(--brand-ink); }
.nav__links a[aria-current="page"] { color: var(--brand-ink); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.nav__toggle svg { margin: 0 auto; }
@media (max-width: 760px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__links { position: absolute; left: 0; right: 0; top: 74px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px 28px 14px; }
  .nav__links[hidden] { display: none; }
  .nav__links a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child a { border-bottom: none; }
}

/* sections */
.section { padding: 78px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 620px; margin-bottom: 44px; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-ink);
  margin-bottom: 22px;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 90px; }
h2.section__title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 500; }
.section__lead { color: var(--muted); font-size: 17px; margin-top: 16px; font-style: italic; }

.prose p { color: var(--ink-soft); font-size: 16.5px; }
.prose p + p { margin-top: 16px; }
.prose h3 { font-size: 21px; font-weight: 600; margin: 32px 0 8px; }
.prose > h3:first-child { margin-top: 0; }

/* hero */
.hero { padding: 92px 0 78px; }
.hero .container { max-width: var(--container); }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 500; max-width: 15ch; letter-spacing: -0.02em; }
.hero p { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 52ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; }
.chip { font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.04em; }
.chip::before { content: "— "; color: var(--brand); }

/* buttons — restrained, editorial */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; padding: 13px 24px; border: 1px solid var(--ink); text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-row--center { justify-content: flex-start; }

/* grids — flat, rule separated */
.grid { display: grid; gap: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: transparent; border: none; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 28px 26px 28px 0; }
.grid--2 .card:nth-child(2n), .grid--3 .card:nth-child(3n) { border-right: none; padding-right: 0; }
.grid--2 .card:nth-child(odd), .grid--3 .card:not(:nth-child(3n)) { padding-right: 26px; }
.card__num { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--brand); font-feature-settings: "tnum"; }
.card h3 { font-size: 19px; font-weight: 600; margin: 6px 0 8px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; margin-top: 8px; }
.step { padding-top: 20px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-head); font-weight: 600; font-size: 28px; color: var(--brand); display: block; margin-bottom: 6px; line-height: 1; }
.step h3 { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* split + facts */
.split { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 56px; align-items: start; }
.facts { border-top: 2px solid var(--ink); padding-top: 20px; }
.facts h3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.facts ul { list-style: none; display: grid; gap: 12px; }
.facts li { font-size: 14.5px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.facts li::before { content: "—"; position: absolute; left: 0; color: var(--brand); }

/* deflist */
.deflist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 44px; }
.deflist dt { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.deflist dd { font-family: var(--font-head); font-size: 18px; font-weight: 500; color: var(--ink); }
.deflist dd a { font-family: var(--font-body); font-size: 15px; }

.note { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 14px; font-style: italic; max-width: 66ch; }

/* footer — ivory, editorial */
.site-footer { border-top: 1px solid var(--ink); background: var(--bg); padding: 56px 0 30px; }
.site-footer .brand { color: var(--ink); }
.footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 36px; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 34ch; font-style: italic; }
.footer__col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.footer__col ul { list-style: none; }
.footer__col li { padding: 4px 0; }
.footer__col a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer__col a:hover { color: var(--brand-ink); }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12.5px; color: var(--muted); }

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .section { padding: 58px 0; }
  .hero { padding: 64px 0 56px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .card { border-right: none !important; padding-right: 0 !important; }
  .deflist { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
