/* ============================================================
   Chord — marketing site (withchord.com)
   Warm, editorial, boutique. Matches the app's brand system.
   ============================================================ */

:root {
  --paper:      #FBFAF6;
  --paper-2:    #EFF2E9;
  --paper-3:    #E3E8D9;
  --card:       #FFFFFF;
  --ink:        #29302A;
  --ink-soft:   #55605A;
  --muted:      #8a938a;
  --rose:       #8FA37E;
  --rose-dark:  #6F855F;
  --rose-pale:  #EDF1E7;
  --sage:       #6F855F;
  --sage-pale:  #EDF1E7;
  --gold:       #C9A24B;
  --rule:       #E6E9DE;
  --shadow:     0 1px 2px rgba(44,32,32,.04), 0 18px 48px -24px rgba(44,32,32,.22);
  --shadow-sm:  0 1px 2px rgba(44,32,32,.05), 0 8px 24px -16px rgba(44,32,32,.20);
  --radius:     18px;
  --radius-sm:  12px;
  --font-head:  'the-seasons', 'Playfair Display', Georgia, serif;
  --font-body:  'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw:       1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-dark); text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.12; letter-spacing: .008em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p  { color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--rose);
}
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--rose-dark); color: #fff; box-shadow: 0 8px 22px -10px rgba(143,103,103,.7); }
.btn-primary:hover { background: #7d5959; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: #fff; border-color: #d9cbc6; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,249,247,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.lnk { color: var(--ink-soft); font-size: .92rem; font-weight: 500; transition: color .15s; }
.nav-links a.lnk:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(175,135,135,.14), transparent 70%),
    radial-gradient(50% 40% at 12% 30%, rgba(143,163,126,.10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero .lead { font-size: 1.18rem; max-width: 33ch; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.hero-note b { color: var(--ink-soft); font-weight: 600; }

/* ---------- section rhythm ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 14px 0 14px; }
.section-num {
  font-family: var(--font-head); font-size: .95rem; color: var(--rose);
  letter-spacing: .1em; display: inline-block; margin-bottom: 4px;
}

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { margin: 12px 0 14px; }
.feature-copy p { margin-bottom: 14px; }
.checks { list-style: none; margin-top: 20px; display: grid; gap: 13px; }
.checks li { position: relative; padding-left: 29px; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.checks li b { color: var(--ink); font-weight: 600; }
.checks li svg { position: absolute; left: 0; top: 4px; }

/* ---------- generic card ---------- */
.card {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* ============================================================
   PRODUCT MOCKUPS  — recreated Chord UI, crisp + on-brand
   ============================================================ */
.mock {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 20px; box-shadow: var(--shadow); overflow: hidden;
  font-size: 13px;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 15px; border-bottom: 1px solid var(--rule); background: #fff;
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #e4d7d2; }
.mock-title { margin-left: 10px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mock-body { padding: 20px; background: var(--paper); }

/* portal mock */
.pm-hello { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 16px; }
.pm-label { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.pm-now {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px;
  border-top: 3px solid var(--rose-dark); margin-bottom: 16px;
}
.pm-stage { font-family: var(--font-head); font-size: 1.5rem; margin: 4px 0 12px; }
.pm-track { display: flex; align-items: center; gap: 0; margin-bottom: 12px; }
.pm-node { width: 13px; height: 13px; border-radius: 50%; background: var(--rose-dark); flex: none; }
.pm-node.open { background: #fff; border: 2px solid var(--rose-dark); }
.pm-line { height: 2px; flex: 1; background: var(--rose); opacity: .5; }
.pm-need { color: var(--rose-dark); font-weight: 600; font-size: .82rem; }
.pm-panel { background: var(--rose-pale); border-radius: 14px; padding: 14px 16px; }
.pm-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(175,135,135,.18); }
.pm-row:last-child { border-bottom: 0; }
.pm-row .t { font-weight: 500; color: var(--ink); }
.pm-row .s { font-size: .78rem; color: var(--muted); }
.pm-due { font-size: .78rem; color: var(--muted); }
.pm-due.warn { color: #b5762f; }
.chip { display: inline-block; font-size: .68rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.chip.signed { background: var(--sage-pale); color: #5c7048; }

/* dashboard mock */
.dm-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }
.dm-stat { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 12px; }
.dm-stat .n { font-family: var(--font-head); font-size: 1.5rem; color: var(--rose-dark); line-height: 1; }
.dm-stat .l { font-size: .66rem; color: var(--muted); margin-top: 5px; }
.dm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.dm-box { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 14px; }
.dm-box .h { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dm-box .big { font-family: var(--font-head); font-size: 1.6rem; margin: 6px 0; }
.dm-bar { height: 7px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.dm-bar i { display: block; height: 100%; background: var(--sage); border-radius: 999px; }
.dm-proj { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 14px; margin-bottom: 8px; }
.dm-proj .pt { font-family: var(--font-head); font-size: 1.05rem; }
.dm-proj .pb { height: 6px; border-radius: 999px; background: var(--paper-3); margin-top: 10px; overflow: hidden; }
.dm-proj .pb i { display: block; height: 100%; background: var(--rose); }

/* flow mock (proposal -> contract -> invoice) */
.flow { display: grid; gap: 14px; }
.flow-step { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px; position: relative; }
.flow-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--rose-pale); display: grid; place-items: center; flex: none; color: var(--rose-dark); }
.flow-step .ft { font-weight: 600; color: var(--ink); }
.flow-step .fs { font-size: .82rem; color: var(--muted); }
.flow-step .fchip { margin-left: auto; }
.flow-conn { width: 2px; height: 14px; background: var(--rule); margin: -8px 0 -8px 37px; }

/* ---- real screenshot frames (scrollable) ---- */
.shot-hint { text-align: center; margin-top: 14px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.shot-hint svg { vertical-align: -2px; margin-right: 5px; }

/* desktop browser window */
.browser { background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--rule); background: #fff; }
.scrollshot { overflow-y: auto; overflow-x: hidden; max-height: 440px; scrollbar-width: thin; scrollbar-color: #c9d2bf transparent; position: relative; }
.scrollshot::-webkit-scrollbar { width: 7px; }
.scrollshot::-webkit-scrollbar-thumb { background: #cdd6c2; border-radius: 999px; }
.scrollshot img { width: 100%; display: block; }

/* phone with scrollable screenshot inside */
.phone-shot { width: 288px; max-width: 84%; margin: 0 auto; background: #232a24; border-radius: 42px; padding: 9px; box-shadow: 0 30px 60px -30px rgba(41,48,42,.5), 0 2px 6px rgba(41,48,42,.2); }
.phone-shot .phone-screen { border-radius: 34px; overflow: hidden; background: #fff; }
.phone-shot .scrollshot { max-height: 520px; border-radius: 0 0 34px 34px; }

/* device frames */
.phone { width: 292px; max-width: 84%; margin: 0 auto; background: #241a1a; border-radius: 42px; padding: 9px; box-shadow: 0 30px 60px -30px rgba(44,32,32,.5), 0 2px 6px rgba(44,32,32,.2); }
.phone-screen { background: var(--paper); border-radius: 34px; overflow: hidden; position: relative; }
.phone-notch { height: 26px; display: flex; align-items: center; justify-content: center; background: #fff; }
.phone-notch::before { content: ""; width: 78px; height: 6px; border-radius: 999px; background: #e4d7d2; }
.phone-body { padding: 16px; max-height: 520px; overflow: hidden; }
.dtag { text-align: center; margin-top: 16px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.browser-url { flex: 1; margin-left: 8px; background: var(--paper); border-radius: 7px; padding: 4px 12px; font-size: .68rem; color: var(--muted); text-align: center; }

/* proposal mock (desktop) */
.pr-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.pr-title { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; }
.pr-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.pr-item .pi-n { font-weight: 600; color: var(--ink); font-size: .9rem; }
.pr-item .pi-d { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.pr-item .pi-p { font-family: var(--font-head); font-size: 1rem; color: var(--ink); white-space: nowrap; }
.pr-total { display: flex; justify-content: space-between; padding-top: 12px; font-weight: 600; color: var(--ink); }
.pr-total .amt { font-family: var(--font-head); font-size: 1.3rem; }
.pr-actions { display: flex; gap: 10px; margin-top: 16px; }
.mini-btn { flex: 1; text-align: center; padding: 11px; border-radius: 10px; font-size: .82rem; font-weight: 600; }
.mini-btn.solid { background: var(--rose-dark); color: #fff; }
.mini-btn.out { background: #fff; border: 1px solid var(--rule); color: var(--ink-soft); }

/* invoice mock (desktop) */
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 12px; }
.inv-doc { font-family: var(--font-head); font-size: 1.6rem; }
.inv-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: .86rem; color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
.inv-grand { display: flex; justify-content: space-between; padding-top: 12px; align-items: baseline; }
.inv-grand .g { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }

/* contract-sign mock (mobile) */
.ct-doc { font-size: .78rem; color: var(--ink-soft); line-height: 1.55; }
.ct-doc .ln { height: 7px; border-radius: 4px; background: var(--paper-3); margin: 7px 0; }
.ct-doc .ln.s { width: 60%; }
.ct-sign { margin-top: 14px; border: 1.5px dashed #d6c3bd; border-radius: 12px; padding: 14px; text-align: center; background: #fff; }
.ct-sign .sig { font-family: 'Great Vibes', cursive; font-size: 1.9rem; color: var(--ink); line-height: 1; }
.ct-sign .cap { font-size: .68rem; color: var(--muted); margin-top: 6px; }

/* activity mock (mobile) */
.act-row { display: flex; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.act-row:last-child { border-bottom: 0; }
.act-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--rose-pale); display: grid; place-items: center; flex: none; color: var(--rose-dark); }
.act-row .at { font-size: .84rem; color: var(--ink); font-weight: 500; }
.act-row .aw { font-size: .72rem; color: var(--muted); margin-top: 2px; }

/* ---------- problem cards ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.prob { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.prob h4 { font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; color: var(--ink); text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.prob p { font-size: .92rem; }

/* ---------- differentiators ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.diff h3 { font-size: 1.25rem; margin-bottom: 10px; }
.diff p { font-size: .93rem; }
.diff .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--rose-pale); display: grid; place-items: center; color: var(--rose-dark); margin-bottom: 16px; }

/* ---------- audience ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.aud { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 18px 20px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.aud .d { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); flex: none; }
.aud-note { margin-top: 22px; font-size: .9rem; color: var(--muted); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.price { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.price.featured { border-color: var(--rose); box-shadow: var(--shadow); position: relative; }
.price-tag { position: absolute; top: -13px; left: 32px; background: var(--rose-dark); color: #fff; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price h3 { font-size: 1.5rem; }
.price .sub { font-size: .9rem; color: var(--muted); margin: 6px 0 18px; min-height: 40px; }
.price .amt { font-family: var(--font-head); font-size: 2.8rem; color: var(--ink); line-height: 1; }
.price .amt span { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
.price .feats { list-style: none; margin: 22px 0; display: grid; gap: 11px; }
.price .feats li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-soft); align-items: flex-start; }
.price .feats svg { flex: none; margin-top: 3px; }
.price .btn { justify-content: center; margin-top: auto; }
.price-foot { text-align: center; margin-top: 26px; font-size: .85rem; color: var(--muted); }

/* ---------- founder ---------- */
.founder { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 48px; }
.founder .eyebrow { color: var(--rose); }
.founder h2 { color: #fff; margin: 12px 0 20px; }
.founder p { color: #d9c9c4; margin-bottom: 14px; max-width: 60ch; }
.founder .sig { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.founder .sig .av { width: 42px; height: 42px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; color: #fff; font-weight: 600; }
.founder .sig .nm { font-weight: 600; color: #fff; font-size: .92rem; }
.founder .sig .rl { font-size: .8rem; color: #b7a09a; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; max-width: 900px; margin: 0 auto; }
.faq h4 { font-family: var(--font-head); font-weight: 400; font-size: 1.12rem; color: var(--ink); text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.faq p { font-size: .92rem; }

/* ---------- half-the-job laptop diagram ---------- */
.halfdiag { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  margin-top: 40px; padding: 48px 30px; border-radius: 22px; overflow: hidden; border: 1px solid var(--rule); }
.halfdiag::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, #EEF2E8 0 50%, #F4EFE9 50% 100%); }
.halfdiag::after { content: ""; position: absolute; top: 40px; bottom: 40px; left: 50%; width: 1px; z-index: 1;
  background: repeating-linear-gradient(#c7d1ba 0 6px, transparent 6px 13px); opacity: .7; }
.halfdiag > * { position: relative; z-index: 2; }

.hd-badge { font-family: var(--font-body); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hd-left .hd-badge { background: rgba(111,133,95,.14); color: var(--rose-dark); }
.hd-right .hd-badge { background: rgba(178,150,90,.16); color: #8a6d2e; }
.hd-list { list-style: none; display: grid; gap: 13px; }
.hd-list li { font-size: .92rem; color: var(--ink); font-weight: 500; position: relative; }
.hd-list li span { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }
.hd-left { text-align: right; }
.hd-left .hd-list li { padding-right: 22px; }
.hd-left .hd-list li::after { content: ""; position: absolute; right: 0; top: 9px; width: 14px; height: 1px; background: var(--rose-dark); opacity: .55; }
.hd-left .hd-list li::before { content: ""; position: absolute; right: -3px; top: 9px; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--rose-dark); }
.hd-right { text-align: left; }
.hd-right .hd-list li { padding-left: 22px; }
.hd-right .hd-list li::after { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 1px; background: #b2965a; opacity: .6; }
.hd-right .hd-list li::before { content: ""; position: absolute; left: -3px; top: 9px; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: #b2965a; }

.hd-center { display: flex; flex-direction: column; align-items: center; }
.hd-caption { margin-top: 18px; text-align: center; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); max-width: 220px; }
.hd-caption b { color: var(--rose-dark); }

/* laptop */
.laptop { width: 340px; max-width: 42vw; position: relative; }
.laptop-lid { background: #242b25; border-radius: 14px; padding: 9px; box-shadow: 0 26px 50px -26px rgba(41,48,42,.55); }
.laptop-scr { height: 216px; border-radius: 7px; overflow: hidden; background: #fff; }
.laptop-scr img { width: 100%; display: block; }
.laptop-deck { height: 13px; width: 122%; margin-left: -11%; background: linear-gradient(#d3dac9, #a8b491); border-radius: 2px 2px 12px 12px; position: relative; box-shadow: 0 10px 18px -10px rgba(41,48,42,.45); }
.laptop-deck::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 86px; height: 6px; background: #96a483; border-radius: 0 0 8px 8px; }

/* iMac (all-in-one) */
.imac { width: 440px; max-width: 46vw; margin: 0 auto; position: relative; }
.imac-frame { background: #eceef1; border-radius: 20px; padding: 13px 13px 0; position: relative;
  box-shadow: 0 32px 56px -26px rgba(41,48,42,.5), inset 0 0 0 1px rgba(0,0,0,.05); }
.imac-cam { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #c2c6cb; }
.imac-screen { border-radius: 7px; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.imac-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.imac-chin { height: 44px; }
.imac-neck { width: 96px; height: 30px; margin: -1px auto 0; background: linear-gradient(#e0e2e6, #c5c9ce); clip-path: polygon(16% 0, 84% 0, 100% 100%, 0% 100%); }
.imac-foot { width: 208px; height: 12px; margin: 0 auto; background: linear-gradient(#d6d9dd, #b5bac0); border-radius: 3px 3px 11px 11px; box-shadow: 0 12px 18px -10px rgba(41,48,42,.4); }

@media (max-width: 820px) {
  .imac { width: 320px; max-width: 88%; }
  .halfdiag { grid-template-columns: 1fr; gap: 30px; padding: 32px 22px; }
  .halfdiag::before { background: linear-gradient(180deg, #F4EFE9 0 50%, #EEF2E8 50% 100%); }
  .halfdiag::after { display: none; }
  .hd-center { order: -1; }
  .laptop { width: 300px; max-width: 84%; }
  .hd-left, .hd-right { text-align: left; }
  .hd-left .hd-list li, .hd-right .hd-list li { padding: 0 0 0 20px; }
  .hd-left .hd-list li::after, .hd-right .hd-list li::after { display: none; }
  .hd-left .hd-list li::before { left: 0; right: auto; top: 9px; }
  .hd-right .hd-list li::before { left: 0; top: 9px; }
  .hd-caption { max-width: none; }
}

/* ---------- comparison table ---------- */
.compare-wrap { overflow-x: auto; margin-top: 8px; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.compare th, .compare td { padding: 15px 16px; text-align: center; font-size: .9rem; border-bottom: 1px solid var(--rule); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); font-size: .92rem; }
.compare .col-chord { background: var(--sage-pale); }
.compare thead .col-chord { color: var(--rose-dark); font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; text-transform: none; letter-spacing: 0; }
.compare .yes { color: var(--sage); font-weight: 700; font-size: 1.05rem; }
.compare .no { color: #c4cbb9; font-size: 1.05rem; }
.compare .part { color: var(--muted); font-size: .78rem; }

/* ---------- brand kit visual ---------- */
.brandkit { background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); }
.brandkit .bk-logo { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); margin-bottom: 4px; }
.brandkit .bk-logo span { color: var(--rose); }
.brandkit .bk-sub { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.swatches { display: flex; gap: 10px; margin-bottom: 22px; }
.swatch { width: 100%; height: 52px; border-radius: 12px; flex: 1; }
.surfaces { display: flex; flex-wrap: wrap; gap: 8px; }
.surface-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 500; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; }
.surface-chip svg { color: var(--rose-dark); }

/* ---------- legal pages ---------- */
.legal-hero { padding: 64px 0 8px; }
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin: 34px 0 12px; }
.legal h3 { font-size: 1.08rem; font-family: var(--font-body); font-weight: 600; margin: 22px 0 8px; color: var(--ink); }
.legal p, .legal li { font-size: .95rem; color: var(--ink-soft); line-height: 1.7; }
.legal p { margin-bottom: 13px; }
.legal ul { padding-left: 22px; margin: 0 0 13px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--rose-dark); text-decoration: underline; }
.legal .updated { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.legal .lead-note { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; font-size: .9rem; margin: 8px 0 24px; }

/* ---------- how it works ---------- */
.howto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 12px; }
.howto-step { text-align: center; padding: 8px 10px; }
.howto-num { width: 48px; height: 48px; border-radius: 50%; background: var(--rose-dark); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.35rem; margin: 0 auto 18px; box-shadow: 0 8px 20px -10px rgba(111,133,95,.7); }
.howto-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.howto-step p { font-size: .92rem; }
@media (max-width: 820px) { .howto-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- founding badge ---------- */
.founding-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(175,150,90,.18); color: #d8c48a; border: 1px solid rgba(200,162,75,.35); padding: 7px 15px; border-radius: 999px; margin-bottom: 18px; }
.founding-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.3); }
.price-tag-life { display: block; font-size: .72rem; color: var(--muted); margin-top: 6px; font-weight: 400; }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px));
    background: rgba(252,250,247,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--rule);
    transform: translateY(0); transition: transform .3s ease; }
  .mobile-cta.tucked { transform: translateY(130%); }
  .mobile-cta .btn { width: 100%; justify-content: center; }
  body { padding-bottom: 4px; }
}

/* ---------- waitlist ---------- */
.waitlist-sec { background: var(--ink); }
.waitlist-sec .eyebrow { color: #a9c096; }
.waitlist-sec h2 { color: #fff; margin: 12px 0 14px; }
.waitlist-sec p { color: #d3ddcd; }
.wl-form { display: grid; gap: 11px; margin: 26px auto 0; max-width: 440px; text-align: left; }
.wl-form input, .wl-form select { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid #47514a; background: #333d36; color: #fff; font-family: var(--font-body); font-size: 1rem; }
.wl-form input::placeholder { color: #8a968c; }
.wl-form select:invalid { color: #8a968c; }
.wl-form input:focus, .wl-form select:focus { outline: none; border-color: var(--rose); }
.wl-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
/* beta-tester opt-in — the checkbox must escape the full-width input styling above */
.wl-beta { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; text-align: left; color: #d3ddcd; font-size: .88rem; line-height: 1.5; margin-top: 2px; }
.wl-form .wl-beta input[type="checkbox"] {
  width: 18px; height: 18px; flex: 0 0 18px; padding: 0; margin: 3px 0 0; border-radius: 5px;
  accent-color: var(--rose); cursor: pointer;
}
.wl-beta b { color: #fff; font-weight: 500; }
.wl-msg { margin-top: 16px; font-size: .92rem; min-height: 22px; }
.wl-msg.ok { color: #b7d3a3; }
.wl-msg.err { color: #e6a9a9; }
.wl-mini { font-size: .8rem; color: #9aa79b; margin-top: 14px; }

/* ---------- cluster payoff callout ---------- */
.payoff { text-align: center; max-width: 660px; margin: 72px auto 0; padding: 38px 34px; background: var(--sage-pale); border: 1px solid #d8e0cd; border-radius: 22px; }
.payoff h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 14px; }
.payoff p { font-size: 1.06rem; color: var(--ink-soft); }
.payoff p + p { margin-top: 12px; font-size: .98rem; }
.payoff .em { color: var(--rose-dark); font-weight: 500; }

/* ---------- cluster header ---------- */
.cluster-head { text-align: center; max-width: 720px; margin: 0 auto 8px; }
.cluster-head .eyebrow { color: var(--rose-dark); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 80px 0; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 46ch; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- footer ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 54px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo img { height: 34px; margin-bottom: 14px; }
.footer-col h5 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--ink-soft); font-size: .9rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--muted); }

/* ---------- roadmap ---------- */
.road-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.road-col { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; }
.road-col .rh { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.road-col .rdot { width: 10px; height: 10px; border-radius: 50%; }
.road-col.now .rdot { background: var(--sage); }
.road-col.next .rdot { background: var(--rose); }
.road-col.later .rdot { background: #cbb8b2; }
.road-col h3 { font-size: 1.35rem; }
.road-col .rsub { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.road-item { padding: 14px 0; border-top: 1px solid var(--rule); }
.road-item:first-of-type { border-top: 0; }
.road-item .ri-t { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 4px; }
.road-item .ri-d { font-size: .86rem; color: var(--ink-soft); }
.road-hero { padding: 70px 0 20px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none !important; }
/* directional entrance: only the mockup slides in from its side (copy just fades up) */
.feature .feature-visual.reveal { transform: translateX(46px); }
.feature.flip .feature-visual.reveal { transform: translateX(-46px); }
@media (max-width: 820px) {
  /* on mobile everything stacks, so the mockup fades up too (a sideways slide would feel odd) */
  .feature .feature-visual.reveal, .feature.flip .feature-visual.reveal { transform: translateY(20px); }
}
@media (min-width: 821px) {
  /* desktop: copy is present immediately — only the mockups animate in.
     (mobile keeps the fade, where content arrives a screen at a time) */
  .reveal:not(.feature-visual):not(.halfdiag) { opacity: 1; transform: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity .4s ease; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .lead { max-width: none; }
  .feature, .feature.flip .feature-copy { grid-template-columns: 1fr; order: 0; }
  .feature-visual { order: 2; }
  .feature + .feature { margin-top: 60px; }
  .diff-grid, .prob-grid, .aud-grid, .price-grid, .faq-grid, .road-grid, .dm-stats { grid-template-columns: 1fr; }
  .dm-stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { gap: 30px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 20px 24px; gap: 18px; align-items: flex-start;
  }
  .nav-toggle { display: block; }
  .founder { padding: 32px 24px; }
}
@media (max-width: 520px) {
  .dm-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 20px; }
}
