/* ZRE Ventures marketing site (landing, contact, legal pages). Plain CSS; no outside fonts, images or inline
   styles, so everything here is self-hosted. */
:root {
  --bg: #ffffff;
  --fg: #0d0d0d;
  --muted: #666666;
  --faint: #a3a3a3;
  --line: #d9d9d9;
  --card: #fafafa;
  --inv-fg: #ffffff;
  --inv-muted: rgba(255, 255, 255, .55);
  --inv-faint: rgba(255, 255, 255, .38);
  --inv-line: rgba(255, 255, 255, .12);
  --gutter: 24px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 48px; } }
@media (min-width: 1024px) { :root { --gutter: 80px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--fg); color: var(--bg); }
.balance { text-wrap: balance; }

/* type */
.eyebrow { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.num { font-size: 11px; letter-spacing: .15em; color: var(--faint); font-variant-numeric: tabular-nums; }
.body { font-size: 14px; line-height: 1.75; color: var(--muted); }
h1, h2, h3 { font-weight: 200; letter-spacing: -.02em; }
.h-section { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; }


/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: transform .5s, background .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.solid { background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); }
.logo { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--inv-fg); transition: color .5s; }
.nav-links { display: none; align-items: center; gap: 40px; }
.nav-links a { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .65); transition: color .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--inv-fg); }
.nav.scrolled .logo, .nav.solid .logo { color: var(--fg); }
.nav.scrolled .nav-links a, .nav.solid .nav-links a { color: var(--muted); }
.nav.scrolled .nav-links a:hover, .nav.solid .nav-links a:hover,
.nav.scrolled .nav-links a[aria-current="page"], .nav.solid .nav-links a[aria-current="page"] { color: var(--fg); }
.menu-btn { background: none; border: 0; color: var(--inv-fg); cursor: pointer; padding: 4px; width: 28px; height: 28px; position: relative; }
.menu-btn span { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 10px; } .menu-btn span:last-child { top: 17px; }
.nav.open .menu-btn span:first-child { top: 14px; transform: rotate(45deg); }
.nav.open .menu-btn span:last-child { top: 14px; transform: rotate(-45deg); }
.nav.scrolled .menu-btn, .nav.solid .menu-btn, .nav.open .menu-btn { color: var(--fg); }
.nav.open { background: var(--bg); }
.nav.open .logo { color: var(--fg); }
.mobile { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s, opacity .5s; background: var(--bg); }
.nav.open .mobile { max-height: 480px; opacity: 1; }
.mobile-in { display: flex; flex-direction: column; gap: 24px; padding: 40px var(--gutter); }
.mobile a { font-size: 24px; font-weight: 300; letter-spacing: -.02em; }
@media (min-width: 768px) { .nav-links { display: flex; } .menu-btn, .mobile { display: none; } }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--inv-fg); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2s ease-out; }
.ready .hero-bg img { transform: scale(1); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 13, .55); }
.hero-in { position: relative; padding: 0 var(--gutter) 64px; }
@media (min-width: 768px) { .hero-in { padding-bottom: 80px; } }
.hero .eyebrow { color: rgba(255, 255, 255, .55); margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.25rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: -.03em; max-width: 15ch; }
.hero-foot { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.rule { width: 48px; height: 1px; background: rgba(255, 255, 255, .3); }
.hero-foot .meta { color: rgba(255, 255, 255, .5); }
.hero.short { min-height: 62vh; }
.hero.short h1 { max-width: 18ch; }
.fade { opacity: 0; transform: translateY(16px); transition: opacity 1s, transform 1s; }
.ready .fade { opacity: 1; transform: none; }
.ready .d1 { transition-delay: .5s; } .ready .d2 { transition-delay: .7s; } .ready .d3 { transition-delay: 1s; }

/* sections */
.section { padding: 112px var(--gutter); }
@media (min-width: 768px) { .section { padding: 144px var(--gutter); } }
.section.tight { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .section.tight { padding-top: 96px; padding-bottom: 96px; } }
.dark { background: var(--fg); color: var(--inv-fg); }
.dark .eyebrow, .dark .meta { color: var(--inv-faint); }
.dark .body { color: var(--inv-muted); }
.head { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; margin-bottom: 80px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.head .eyebrow { margin-bottom: 12px; }
@media (min-width: 768px) { .head { flex-direction: row; align-items: flex-end; } }
.split { display: grid; gap: 64px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 112px; } }
.split .eyebrow { margin-bottom: 32px; }
.stack { display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; }
.stack .body + .body { margin-top: 24px; }

/* editorial break */
.editorial { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .editorial { grid-template-columns: repeat(12, 1fr); gap: 24px; } .editorial .pic { grid-column: span 7; } .editorial .quote { grid-column: 9 / span 4; } }
.editorial .pic { overflow: hidden; }
.editorial .pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1); transition: filter 1s; }
.editorial .pic img:hover { filter: none; }
.quote .line { width: 40px; height: 1px; background: rgba(13, 13, 13, .2); margin-bottom: 32px; }
.quote blockquote { font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 200; line-height: 1.35; letter-spacing: -.02em; }
.quote .eyebrow { margin-top: 32px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; border-top: 1px solid var(--inv-line); }
.stats b { display: block; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 200; letter-spacing: -.02em; }
.stats .meta { margin-top: 8px; letter-spacing: .1em; }

/* cards grid (1px rule between cells) */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 768px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.cell { background: var(--bg); padding: 32px; transition: background .4s; }
@media (min-width: 768px) { .cell { padding: 48px; } }
.cell .num { display: block; margin-bottom: 40px; }
.cell h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 20px; transition: transform .5s; }
.cell .bar { width: 32px; height: 1px; background: var(--line); margin-bottom: 20px; transition: width .5s, background .5s; }
.cell:hover h3 { transform: translateX(4px); }
.cell:hover .bar { width: 48px; background: var(--fg); }
.cell .body { max-width: 26rem; }
.cell.wide { grid-column: 1 / -1; }

/* picture cards */
.card { background: var(--bg); }
.card .pic { overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease-out; }
.card:hover img { transform: scale(1.04); }
.card-cap { padding: 24px; display: flex; align-items: flex-start; gap: 16px; }
@media (min-width: 768px) { .card-cap { padding: 32px; } }
.card-cap .num { margin-top: 6px; }
.card-cap h3 { font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 300; margin-bottom: 6px; }

/* tag row */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tags span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: 8px 12px; color: var(--muted); }
.dark .tags span { border-color: var(--inv-line); color: var(--inv-muted); }

/* links + buttons */
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .02em; color: var(--inv-muted); transition: color .5s; }
.arrow-link span { border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 2px; transition: border-color .5s; }
.arrow-link:hover { color: var(--inv-fg); }
.arrow-link:hover span { border-color: rgba(255, 255, 255, .6); }
.arrow-link i { font-style: normal; transition: transform .3s; }
.arrow-link:hover i { transform: translate(2px, -2px); }
.light .arrow-link { color: var(--muted); }
.light .arrow-link span { border-color: var(--line); }
.light .arrow-link:hover { color: var(--fg); }
.light .arrow-link:hover span { border-color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 16px 28px; border: 1px solid var(--fg); background: var(--fg); color: var(--bg); cursor: pointer; transition: background .3s, color .3s; }
.btn:hover { background: transparent; color: var(--fg); }
.dark .btn { background: var(--inv-fg); color: var(--fg); border-color: var(--inv-fg); }
.dark .btn:hover { background: transparent; color: var(--inv-fg); }
.btn-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* forms */
.form { display: grid; gap: 32px 32px; }
@media (min-width: 768px) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field label em, .field legend em { font-style: normal; color: var(--faint); letter-spacing: .1em; text-transform: none; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; font-weight: 300; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; outline: none; transition: border-color .3s; width: 100%; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--fg); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; cursor: pointer; letter-spacing: .12em; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; border: 1px solid var(--line); padding: 9px 14px; color: var(--muted); transition: all .25s; }
.chips input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
.form-foot .body { max-width: 34rem; font-size: 12px; }
.sent { grid-column: 1 / -1; border: 1px solid var(--fg); padding: 24px; }
.sent h3 { font-size: 1.25rem; margin-bottom: 8px; }
.side-list { display: flex; flex-direction: column; gap: 32px; }
.side-list .eyebrow { margin-bottom: 12px; }

/* job post */
.job { display: grid; gap: 48px; }
@media (min-width: 1024px) { .job { grid-template-columns: 4fr 8fr; gap: 80px; } }
.job-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-self: start; }
@media (min-width: 1024px) { .job-facts { grid-template-columns: 1fr; position: sticky; top: 100px; } }
.job-facts b { display: block; font-weight: 300; font-size: 15px; margin-top: 6px; }
.job h3 { font-size: 1.35rem; margin: 48px 0 20px; }
.job h3:first-child { margin-top: 0; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { font-size: 14px; line-height: 1.7; color: var(--muted); padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 1px; background: var(--fg); }
.tbc { background: #f1f1f1; color: var(--fg); padding: 1px 6px; font-size: .92em; }
.openings { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 200; letter-spacing: -.04em; line-height: 1; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s, transform .9s; }
.reveal.in { opacity: 1; transform: none; }
.reveal.late { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .fade, .hero-bg img { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* footer */
.footer { padding: 64px var(--gutter); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 48px; margin-bottom: 80px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(12, 1fr); gap: 32px; } .foot-grid .a { grid-column: span 5; } .foot-grid .b { grid-column: 7 / span 3; } .foot-grid .c { grid-column: 10 / span 3; } }
.footer .logo { color: var(--fg); }
.footer .body { margin-top: 20px; max-width: 20rem; }
.foot-col .eyebrow { color: var(--faint); margin-bottom: 20px; }
.foot-col a { display: block; font-size: 14px; color: rgba(13, 13, 13, .7); margin-bottom: 12px; transition: color .3s; }
.foot-col a:hover { color: var(--fg); }
.foot-base { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--line); }
.foot-base p { font-size: 11px; letter-spacing: .1em; color: var(--faint); }
@media (min-width: 768px) { .foot-base { flex-direction: row; } }

/* fixes after the first visual check */
.dark .tbc { background: rgba(255, 255, 255, .1); color: var(--inv-fg); }
.stats b { white-space: nowrap; }
@media (max-width: 480px) { .stats b { font-size: 1.35rem; } }
.field input[type="file"] { font-size: 13px; color: var(--muted); padding: 12px 0; }
.field input[type="file"]::file-selector-button { font: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--fg); background: transparent; color: var(--fg); padding: 10px 16px; margin-right: 16px; cursor: pointer; }

/* ---- simplified landing (2026-11-18) ---- */
.hero .lede { margin-top: 24px; font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 300; color: rgba(255, 255, 255, .75); max-width: 34rem; }
.hero .btn { margin-top: 40px; }
.btn-light { background: var(--inv-fg); color: var(--fg); border-color: var(--inv-fg); }
.btn-light:hover { background: transparent; color: var(--inv-fg); }
.section.top-0 { padding-top: 0; }
.statement { max-width: 56rem; }
.statement .eyebrow { margin-bottom: 32px; }
.statement .big { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 200; line-height: 1.3; letter-spacing: -.02em; }
.statement .body { margin-top: 32px; max-width: 36rem; }
.terms { display: grid; gap: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .terms { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.terms .eyebrow { margin-bottom: 24px; }
.plain { list-style: none; }
.plain li { font-size: 1.05rem; font-weight: 300; padding: 10px 0; border-bottom: 1px solid #eeeeee; }
.plain li:last-child { border-bottom: 0; }
.figure { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 200; letter-spacing: -.03em; line-height: 1; margin-bottom: 20px; white-space: nowrap; }
.band { overflow: hidden; }
.band img { width: 100%; height: clamp(240px, 45vw, 560px); object-fit: cover; filter: grayscale(1); }
.closing { max-width: 40rem; }
.closing .body { margin-top: 24px; }
.footer.slim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 40px var(--gutter); }
.footer.slim a:not(.logo), .footer.slim p { font-size: 13px; color: var(--muted); }
.footer.slim a:not(.logo):hover { color: var(--fg); }

/* ---- phones ---- */
.nav-in { padding-top: max(20px, env(safe-area-inset-top)); }
.menu-btn { width: 44px; height: 44px; margin-right: -10px; }
.menu-btn span { left: 12px; right: 12px; }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.nav.open .menu-btn span:first-child, .nav.open .menu-btn span:last-child { top: 22px; }
.mobile a { padding: 4px 0; }
@media (max-width: 767px) {
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section.top-0 { padding-top: 0; }
  .hero-in { padding-bottom: max(48px, env(safe-area-inset-bottom)); }
  .hero.short { min-height: 50svh; }
  .hero .btn, .btn-row .btn, .form-foot .btn { width: 100%; }
  .btn { padding: 18px 24px; }
  .btn-row { flex-direction: column; align-items: flex-start; }
  .chips span { padding: 12px 14px; }
  .job-facts { grid-template-columns: 1fr 1fr; }
  .footer.slim { flex-direction: column; align-items: flex-start; }
}
.hero .lede { color: rgba(255, 255, 255, .88); }
@media (max-width: 767px) { .plain { columns: 2; column-gap: 24px; } .plain li { break-inside: avoid; border-bottom-color: transparent; padding: 6px 0; } }

/* ---- wordmark ---- */
.logo { font-size: 20px; font-weight: 300; letter-spacing: -.01em; text-transform: none; line-height: 1; }
.logo b { font-weight: 600; letter-spacing: .02em; }
@media (min-width: 768px) { .logo { font-size: 22px; } }

/* ---- contact form (boxed fields, inline errors) ---- */
.contact-wrap { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-wrap { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } .contact-side { position: sticky; top: 110px; } }
.contact-side .body { margin-top: 20px; max-width: 28rem; }
.steps { list-style: none; counter-reset: s; margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; row-gap: 2px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.steps b { font-weight: 500; font-size: 15px; }
.steps span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.side-mail { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.side-mail a { color: var(--fg); border-bottom: 1px solid var(--line); }
.side-mail a:hover { border-color: var(--fg); }
.panel { background: #f5f5f3; padding: 24px; }
@media (min-width: 768px) { .panel { padding: 48px; } }
.cform { display: flex; flex-direction: column; gap: 22px; }
.row { display: grid; gap: 22px; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.cf { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; }
.cf label, .cf legend { font-size: 14px; font-weight: 500; color: var(--fg); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; width: 100%; }
.cf legend { margin-bottom: 8px; }
.opt { font-size: 12px; font-weight: 400; color: var(--faint); }
.cf input, .cf textarea { font: inherit; font-size: 16px; color: var(--fg); background: #ffffff; border: 1px solid #d4d4d4; border-radius: 3px; padding: 14px 16px; width: 100%; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.cf textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.cf input::placeholder, .cf textarea::placeholder { color: #a8a8a8; }
.cf input:hover, .cf textarea:hover { border-color: #b5b5b5; }
.cf input:focus, .cf textarea:focus { border-color: var(--fg); box-shadow: 0 0 0 3px rgba(13, 13, 13, .08); }
.cf [aria-invalid="true"] { border-color: #b42318; }
.cf [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.err { font-size: 13px; color: #b42318; min-height: 0; }
.err:empty { display: none; }
/* contact form honeypot: off-screen for people, still filled by simple bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send-err { margin-top: 12px; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .seg { grid-template-columns: repeat(4, 1fr); } }
.seg label { position: relative; cursor: pointer; display: block; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; font-size: 14px; padding: 13px 8px; background: #ffffff; border: 1px solid #d4d4d4; border-radius: 3px; transition: all .2s; }
.seg label:hover span { border-color: #b5b5b5; }
.seg input:checked + span { background: var(--fg); border-color: var(--fg); color: #ffffff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(13, 13, 13, .15); }
.submit { margin-top: 6px; font: inherit; font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 17px 24px; background: var(--fg); color: #ffffff; border: 1px solid var(--fg); border-radius: 3px; cursor: pointer; transition: background .2s; }
.submit:hover { background: #2a2a2a; }
.submit span { transition: transform .2s; }
.submit:hover span { transform: translateX(3px); }
.fine { font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.done { text-align: center; padding: 32px 8px; }
.done .tick { width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 50%; background: var(--fg); color: #ffffff; display: grid; place-items: center; font-size: 22px; }
.done h3 { font-size: 1.5rem; font-weight: 300; margin-bottom: 10px; }
.done .body { max-width: 26rem; margin: 0 auto; }
.done a { display: inline-block; margin-top: 24px; font-size: 14px; border-bottom: 1px solid var(--fg); }
/* lighter submit: outlined, sized to its label */
.submit { align-self: flex-start; width: auto; background: transparent; color: var(--fg); border: 1px solid var(--fg); padding: 13px 26px; font-size: 14px; font-weight: 400; letter-spacing: .02em; }
.submit:hover { background: var(--fg); color: #ffffff; }
.fine { text-align: left; }
@media (max-width: 767px) { .submit { align-self: stretch; } }

/* privacy and terms pages (drafts, 2026-11-19) */
.legal { max-width: 44rem; }
.legal .h-section { margin-top: 16px; }
.legal .draft { margin-top: 20px; padding: 10px 14px; border: 1px solid var(--line); background: var(--card); font-size: 13px; color: var(--muted); }
.legal h2 { margin-top: 40px; font-size: 18px; font-weight: 500; }
.legal p, .legal li { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal b { color: var(--fg); font-weight: 500; }
.legal a { text-decoration: underline; }
.legal .links { margin-top: 48px; }
.footer a[href$=".html"] { text-decoration: underline; }
