/* Second Wing — shared styles
   Layout: centered 1180px wrap, full-bleed bands for sections, polaroid photo cards as the signature motif. */
:root {
  /* Second Wing palette: burgundy, brown, beige, gold details */
  --bg: #F7F1E8;          /* ivory */
  --surface: #FCF8F2;
  --sand: #EDE3D6;        /* linen */
  --sand-2: #E3D6C5;
  --ink: #2B1E1A;         /* espresso */
  --muted: #6E5E55;       /* taupe */
  --line: #E4D8C9;
  --field: #CDBDAA;
  --accent: #5A1A2A;      /* burgundy */
  --accent-ink: #F7F1E8;
  --accent-soft: #F1E3DF;
  --accent-text: #6B2333;
  --gold: #B8904F;        /* the only gold: logo, lines, icons, numbers */
  --night: #4A1622;       /* deep burgundy bands */
  --night-2: #5A1E2C;
  --night-line: #6E3341;
  --night-fg: #F7F1E8;
  --night-muted: #E2CFC6;
  --blush: #D9B6A7;       /* blush: italics and soft text on dark */
  --cocoa: #5B3A2E;
  --ok: #3F6B4E;
  --ok-bg: #E4EDE4;
  --warn: #7A5A1E;
  --warn-bg: #F5ECD8;
  --bad: #8E2A3A;
  --bad-bg: #F4E2E2;
  --idle: #6E5E55;
  --idle-bg: #EEE6DC;
  --shadow: 0 18px 40px rgba(43, 30, 26, 0.10);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1412; --surface: #251A17; --sand: #2B1E1A; --sand-2: #36261F; --ink: #F3EADF; --muted: #C2B0A4;
    --line: #3B2A24; --field: #55403A; --accent: #B8904F; --accent-ink: #2B1E1A; --accent-soft: #3A2A1C; --accent-text: #C9A46A;
    --gold: #B8904F;
    --night: #3A1019; --night-2: #4A1622; --night-line: #6E3341; --night-fg: #F7F1E8; --night-muted: #E2CFC6; --blush: #D9B6A7; --cocoa: #8A6250;
    --ok: #9CC7A8; --ok-bg: #1F2E23; --warn: #E6C27F; --warn-bg: #3A2E14; --bad: #E7A3AE; --bad-bg: #3F1A21; --idle: #C2B0A4; --idle-bg: #2E221E;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1412; --surface: #251A17; --sand: #2B1E1A; --sand-2: #36261F; --ink: #F3EADF; --muted: #C2B0A4;
  --line: #3B2A24; --field: #55403A; --accent: #B8904F; --accent-ink: #2B1E1A; --accent-soft: #3A2A1C; --accent-text: #C9A46A;
  --gold: #B8904F;
  --night: #3A1019; --night-2: #4A1622; --night-line: #6E3341; --night-fg: #F7F1E8; --night-muted: #E2CFC6; --blush: #D9B6A7; --cocoa: #8A6250;
  --ok: #9CC7A8; --ok-bg: #1F2E23; --warn: #E6C27F; --warn-bg: #3A2E14; --bad: #E7A3AE; --bad-bg: #3F1A21; --idle: #C2B0A4; --idle-bg: #2E221E;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.band { padding-block: clamp(64px, 9vw, 112px); }
.band--sand { background: var(--sand); }
.band--night { background: var(--night); color: var(--night-fg); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--accent-text); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { color: var(--accent-ink); background: var(--accent-text); }
:root[data-theme="dark"] .btn--primary:hover { background: #C9A46A; }
.btn--dark { background: var(--night); color: var(--night-fg); }
.btn--dark:hover { color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: var(--ink); }
.btn--light { background: var(--night-fg); color: var(--night); }
.btn--light:hover { color: var(--night); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo em { color: var(--gold); font-style: italic; font-weight: 600; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 0.95rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav a.btn, .nav a.btn:hover { color: var(--bg); }
.nav-toggle { display: none; min-height: 44px; min-width: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 48px) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav .btn { margin-top: 8px; }
}

/* Pills / badges */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.pill--dark { background: var(--ink); color: var(--bg); }
.badge { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.badge--use { background: var(--ok-bg); color: var(--ok); }
.badge--tweak { background: var(--warn-bg); color: var(--warn); }
.badge--remove { background: var(--bad-bg); color: var(--bad); }
.badge--idle { background: var(--idle-bg); color: var(--idle); }
.badge--new { background: var(--accent-soft); color: var(--accent-text); }

/* Polaroids */
.polaroid { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.polaroid .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; }
.polaroid figcaption { font-size: 0.85rem; line-height: 1.45; color: var(--muted); }
.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(3deg); }
.tilt-l2 { transform: rotate(-1.5deg); }
.tilt-r2 { transform: rotate(2deg); }
@media (prefers-reduced-motion: no-preference) {
  .polaroid { transition: transform .25s ease; }
  .polaroid:hover { transform: rotate(0deg) translateY(-4px); }
}
.polaroid-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(20px, 3vw, 36px); }
.polaroid-row .polaroid { width: min(100%, 232px); }
.polaroid-row .drop { margin-top: 26px; }
@media (max-width: 600px) { .polaroid-row .drop { margin-top: 0; } .polaroid-row .polaroid { width: min(100%, 320px); } }
.image-note { margin-top: 24px; text-align: center; font-size: 0.8rem; color: var(--muted); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px); overflow-x: clip; }
.band { overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-copy h1 sup { font-size: 0.35em; color: var(--gold); vertical-align: super; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; min-width: 0; }
.hero-art .polaroid { grid-row: 1; }
.hero-art .p1 { grid-column: 1 / 7; margin-top: 120px; transform: rotate(-5deg); z-index: 1; }
.hero-art .p2 { grid-column: 6 / 13; transform: rotate(4deg); z-index: 2; }
.hero-art .p1 figcaption, .hero-art .p1 .meta { padding-right: 18%; }
.hero-art .image-note { grid-column: 1 / 13; grid-row: 2; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; padding-inline: 12px; }
  .hero-art .p1 { transform: rotate(-4deg); }
  .hero-art .p2 { transform: rotate(3deg); }
}

/* Generic grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { font-size: 1.6rem; }
.card .icon { width: 36px; height: 36px; color: var(--gold); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 24px; } }
.step { border-top: 1px solid var(--gold); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.step .n { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; font-style: italic; color: var(--gold); line-height: 1; }
.step h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { background: var(--night-2); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; color: var(--night-fg); }
.plan--featured { background: #4A1622; color: #F7F1E8; border: 1px solid #B8904F; }
.plan h3 { font-size: 1.9rem; }
.plan .desc { color: var(--night-muted); }
.plan--featured .desc { color: #E2CFC6; }
.price { display: flex; align-items: baseline; gap: 12px; font-variant-numeric: tabular-nums; }
.price strong { font-size: 2.6rem; line-height: 1; }
.price s { font-size: 1.4rem; opacity: 0.8; }
.plan ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 10px; }
.plan--featured ul { border-top-color: rgba(255, 255, 255, 0.3); }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex-shrink: 0; margin-top: 5px; }
.plan .btn { margin-top: auto; }
.plan-tag { align-self: flex-start; background: var(--night-fg); color: var(--accent-text); }
.plan--featured .plan-tag { background: #B8904F; color: #2B1E1A; }
.plan--featured .btn--light { background: #F7F1E8; color: #4A1622; }
.promise { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: var(--night-2); margin-top: 28px; }
.promise svg { flex-shrink: 0; color: var(--gold); }

/* Lead magnet */
.lead-box { background: var(--night); color: var(--night-fg); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.lead-box .eyebrow { color: var(--gold); }
.lead-box a { color: var(--gold); }
@media (max-width: 860px) { .lead-box { grid-template-columns: 1fr; } }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { flex: 1 1 220px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: 500 1rem var(--font-body); background: #FCF8F2; color: #2B1E1A; }
.form-msg { font-size: 0.9rem; min-height: 1.4em; color: var(--blush); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 64px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 18px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.legal-note { font-size: 0.82rem; line-height: 1.6; max-width: 100ch; }

/* Forms (app pages) */
label.field { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.hint { font-weight: 500; font-size: 0.85rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--field); border-radius: 14px; background: var(--surface); color: var(--ink); font: 500 1rem/1.5 var(--font-body); }
textarea { resize: vertical; }
.count { align-self: flex-end; font-size: 0.8rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--surface); color: var(--ink); font: 600 0.9rem var(--font-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dropzone { min-height: 110px; border: 2px dashed var(--field); border-radius: 18px; background: var(--surface); display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px; cursor: pointer; text-align: left; position: relative; }
.dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); }

/* App shell */
.app-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-block: 36px 0; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; margin-top: 24px; }
.tab { min-height: 48px; padding: 0 18px; border: none; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: 700 0.95rem var(--font-body); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.panel { padding-block: 32px 64px; }
.demo-switch { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px; border: 1px dashed var(--field); border-radius: 999px; font-size: 0.8rem; }
.demo-switch span { padding: 0 8px; font-weight: 700; color: var(--muted); }
.demo-switch button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ink); font: 700 0.8rem var(--font-body); cursor: pointer; }
.demo-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.box--sand { background: var(--sand); border-color: transparent; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.photo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.photo-card img, .photo-card .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--sand-2); }
.photo-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; }
.photo-card p { font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.lock-wrap { position: relative; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surface); }
.lock-ghost { position: absolute; inset: 0; padding: 26px; display: grid; grid-template-columns: 1fr 0.8fr; gap: 24px; filter: blur(5px); opacity: 0.55; pointer-events: none; }
.lock-ghost div { background: var(--sand); border-radius: 14px; }
.lock-card { position: relative; margin: 40px auto; width: min(100% - 32px, 480px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.lock-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; font-size: 0.95rem; }
.ticks li { display: flex; gap: 8px; }
.ticks svg { flex-shrink: 0; margin-top: 4px; color: var(--ok); }
.balance { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; border-radius: 16px; background: var(--night); color: var(--night-fg); }
.meter { width: 160px; height: 8px; border-radius: 999px; background: var(--night-line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--gold); }
.thread { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.thread .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.advice { background: var(--sand); border-radius: 12px; padding: 14px 16px; font-size: 0.95rem; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .packs { grid-template-columns: 1fr; } }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.pack--best { border: 2px solid var(--accent); }
.pack strong { font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.addon { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.addon strong { font-variant-numeric: tabular-nums; font-size: 1.3rem; }
.select-btn[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); }
.radio-card { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--field); background: var(--surface); cursor: pointer; }
.radio-card:has(input:checked) { border: 2px solid var(--ink); }
.radio-card input { accent-color: var(--ink); width: 18px; height: 18px; }
.totals { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.success { display: flex; flex-direction: column; gap: 10px; }
.success .ok-dot { width: 52px; height: 52px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); display: flex; align-items: center; justify-content: center; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; z-index: 50; max-width: calc(100% - 32px); }

/* Coach panel */
.coach { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; }
@media (max-width: 900px) { .coach { grid-template-columns: 1fr; } }
.coach-side { background: var(--night); color: var(--night-fg); padding: 28px 18px; display: flex; flex-direction: column; gap: 18px; }
.coach-side .logo { color: var(--night-fg); font-size: 1.35rem; padding-inline: 8px; }
.coach-side .logo em { color: var(--gold); }
.client-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 10px 14px; border: none; border-radius: 12px; background: transparent; color: var(--night-fg); text-align: left; font: 500 0.85rem var(--font-body); cursor: pointer; }
.client-btn strong { font-size: 0.95rem; }
.client-btn[aria-current="true"] { background: var(--night-2); }
.coach-main { padding: 32px clamp(16px, 4vw, 48px) 64px; min-width: 0; }
.status-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.status-btn { min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--field); background: var(--surface); color: var(--ink); font: 700 0.95rem var(--font-body); cursor: pointer; }
.status-btn[data-k="usar"][aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: var(--bg); }
.status-btn[data-k="ajustar"][aria-pressed="true"] { background: var(--warn); border-color: var(--warn); color: var(--bg); }
.status-btn[data-k="descartar"][aria-pressed="true"] { background: var(--bad); border-color: var(--bad); color: var(--bg); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { position: relative; width: 64px; height: 80px; border-radius: 10px; border: 3px solid transparent; background: var(--sand-2); cursor: pointer; padding: 0; }
.thumb[aria-current="true"] { border-color: var(--accent); }
.thumb i { position: absolute; right: 5px; top: 5px; width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--surface); }
.review-photo { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--sand-2); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.shots { display: flex; flex-wrap: wrap; gap: 10px; }
.shot { width: 92px; height: 164px; border-radius: 12px; background: var(--sand-2); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: 0.75rem; color: var(--muted); }
.chat-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 0.85rem var(--font-body); text-align: left; cursor: pointer; }
.chat-btn[aria-current="true"] { border: 2px solid var(--accent); }

/* Legal pages */
.legal { max-width: 760px; margin-inline: auto; padding-block: 56px 80px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 8px; }
.legal h2 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 800; margin-top: 34px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal .table-scroll { overflow-x: auto; margin-top: 10px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 800; background: var(--sand); }
.draft-note { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: 12px 16px; font-size: 0.9rem; font-weight: 600; margin-block: 20px 8px; }
.ol-tips { counter-reset: tip; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ol-tips li { counter-increment: tip; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.ol-tips li::before { content: counter(tip); font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1.1; }

/* brand mark */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.cta-mark { width: 84px; height: 84px; }

/* ---------- Burgundy details (light site, burgundy accents) ---------- */
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
.band--night h2 em, .lead-box h2 em { color: var(--blush); }
.logo > span { color: var(--accent); }
.pill--dark { background: var(--night); color: var(--night-fg); }
.pill--dark svg { color: var(--gold); }
.band--night .btn--primary, .lead-box .btn--primary { background: var(--night-fg); color: var(--night); }
.band--night .lead { color: var(--night-muted); }
.site-header { border-bottom: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.site-footer { border-top: 2px solid var(--accent); }
.band--slim { padding-block: clamp(32px, 4vw, 48px); }
.lead-box--slim { padding: 24px clamp(20px, 3vw, 36px); gap: 20px 32px; border-radius: 20px; }
.lead-box--slim h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 6px; }
.lead-box--slim .form-msg:empty { display: none; }
.lead-box--slim .eyebrow a { color: var(--gold); }
