/* =====================================================================
   whentwomeet.com: public teaser (apex). One full-height cinematic page,
   plus the privacy notice and a 404. Built on tokens.css + components.css.
   ===================================================================== */
:root{
  --text-muted:#8C877F; /* AA on soil; the board value (ash-500) is 3.6:1 */
  --gutter:clamp(20px, 10.3vw - 28px, 120px);
  --grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .95  0 0 0 0 .93  0 0 0 0 .9  0 0 0 .05 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
html{background:var(--surface-base);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-height:100vh;background:var(--surface-base);color:var(--text-primary);font-family:var(--font-sans);font-size:15px;line-height:1.5;font-variant-numeric:lining-nums;overflow-x:hidden;overflow-x:clip}
a{color:inherit}
em{font-style:italic}
p{text-wrap:pretty}
button,input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent-seam-light);outline-offset:3px}
.btn:focus-visible,.input-bare:focus-visible{outline:none}
.input-affix:focus-within{border-color:var(--accent-seam);box-shadow:var(--ring-gold)}
.input-affix.is-error,.input-affix.is-error:focus-within{border-color:var(--status-returned);box-shadow:var(--ring-returned)}
.btn-primary:disabled,.btn-primary.is-loading{background:var(--accent-seam-deep);border-color:var(--accent-seam-deep);color:var(--text-inverse);cursor:progress}
.skip-link{position:absolute;left:12px;top:-120px;z-index:100;padding:12px 18px;border-radius:var(--r-xs);background:var(--bone-50);color:var(--text-inverse);font-weight:500;font-size:14px;text-decoration:none}
.skip-link:focus{top:12px}
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
[hidden]{display:none!important}
.link:hover{color:var(--text-primary);text-decoration-color:var(--bone-100)}

/* ---------- Page frame ---------- */
.t-page{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100vh;min-height:100svh;padding:0 var(--gutter);overflow:hidden;background:
  var(--grain),
  radial-gradient(60% 46% at 50% 30%,var(--gold-a10),var(--soil-a00) 70%),
  radial-gradient(90% 60% at 10% 0%,var(--ash-a40),var(--soil-a00) 62%),
  radial-gradient(80% 50% at 100% 100%,var(--ash-a40),var(--soil-a00) 60%),
  linear-gradient(180deg,var(--surface-base),var(--ash-900) 62%,var(--surface-base))}
.t-main{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(44px,7vh,96px) 0 clamp(28px,5vh,64px);text-align:center}

/* The Seam: a gold hairline falls from the top edge into the mark */
.t-mark{position:relative;display:flex;justify-content:center;margin-bottom:clamp(24px,3.4vh,36px)}
.t-mark::before{content:"";position:absolute;left:50%;bottom:calc(100% + 14px);width:1px;height:100vh;transform:translateX(-50%);background:linear-gradient(180deg,var(--soil-a00),var(--gold-a24) 70%,var(--gold-a40))}
.t-mark::after{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:min(520px,120vw);height:min(520px,120vw);transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,var(--gold-a16),var(--soil-a00))}
.t-mark .mark{width:clamp(36px, 2.4vw + 26px, 56px);height:auto;aspect-ratio:120/300}

.t-eyebrow{margin-bottom:clamp(16px,2.4vh,24px)}
.t-title{font-family:var(--font-display);font-weight:600;font-size:min(14.2vw, 72px);line-height:.94;letter-spacing:.06em;text-transform:uppercase;color:var(--text-primary);text-wrap:balance}
.t-title .t-br{display:inline}
.t-tagline{margin-top:clamp(18px,2.6vh,28px);font-family:var(--font-display);font-style:italic;font-weight:400;font-size:clamp(30px, 1.5vw + 24px, 48px);line-height:1.15;color:var(--bone-100)}
.t-meta{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:clamp(14px,2vh,20px);font-family:var(--font-sans);font-weight:500;font-size:11px;line-height:1.4;letter-spacing:.18em;text-transform:uppercase;color:var(--text-secondary)}
.t-meta .t-dot{display:none}
.t-meta .t-dev{color:var(--accent-seam-light)}
.t-rule{width:64px;height:1px;margin:clamp(22px,3.6vh,44px) auto;background:linear-gradient(90deg,var(--gold-a06),var(--accent-seam) 50%,var(--gold-a06))}
@media (min-width:640px){
  .t-title{font-size:min(8.4vw, 124px);white-space:nowrap}
  .t-title .t-br{display:none}
  .t-meta{flex-direction:row;gap:12px;font-size:12px}
  .t-meta .t-dot{display:inline;color:var(--ash-500)}
}

/* ---------- Notify-me form ---------- */
.sub-form{display:flex;flex-direction:column;gap:12px;width:100%;max-width:520px;text-align:left}
.sub-form .field-label{justify-content:center;font-weight:500;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-secondary)}
.sub-row{display:flex;flex-direction:column;gap:12px}
.sub-row .input-affix{flex:1 1 auto;min-width:0;height:52px;background:var(--soil-a78)}
.sub-row .btn{width:100%;height:52px}
.sub-form .field-hint,.sub-form .field-error{justify-content:center;text-align:center}
.sub-form .field-error{display:flex}
.sub-done{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:520px;padding:24px;border:1px solid var(--gold-a40);border-radius:var(--r-sm);background:var(--gold-a06);text-align:center}
.sub-done:focus{outline:none}
.sub-done .mark{width:12px;height:30px}
.sub-done-title{font-family:var(--font-display);font-weight:600;font-size:26px;line-height:1.15}
.sub-done-text{font-size:14px;line-height:1.55;color:var(--text-secondary)}
.form-alert{align-items:flex-start;text-align:left}
.form-alert .icon{color:var(--status-returned)}
@media (min-width:600px){
  .sub-row{flex-direction:row;gap:10px}
  .sub-row .btn{width:max-content}
}

/* ---------- Footer ---------- */
.t-foot{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 0 22px;border-top:1px solid var(--border-hair);font-size:12px;line-height:1.5;color:var(--text-muted);text-align:center}
.t-x{display:inline-flex;align-items:center;gap:10px;min-height:32px;font-size:13px;color:var(--text-secondary);text-decoration:none;transition:color .2s}
.t-x:hover{color:var(--text-primary)}
.t-x .icon{width:15px;height:15px}
.t-x b{font-weight:500;color:var(--text-primary)}
.t-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px}
.t-legal a{color:var(--text-secondary);text-decoration:none}
.t-legal a:hover{color:var(--text-primary)}
@media (min-width:760px){
  .t-foot{flex-direction:row;justify-content:space-between;padding:26px 0 30px}
}
.t-foot{width:100%;max-width:1360px;margin:0 auto}
/* Short phones: keep the whole teaser close to one screen */
@media (max-height:720px) and (max-width:640px){
  .t-main{padding:28px 0 20px}
  .t-mark{margin-bottom:16px}
  .t-mark .mark{width:30px}
  .t-eyebrow{margin-bottom:12px}
  .t-tagline{margin-top:12px;font-size:28px}
  .t-rule{margin:18px auto}
  .t-foot{gap:6px;padding:14px 0 16px}
}

/* ---------- Document pages (privacy, 404) ---------- */
.t-doc .t-page{background:
  var(--grain),
  radial-gradient(70% 40% at 8% 0%,var(--ash-a40),var(--soil-a00) 62%),
  var(--surface-base)}
.t-head{display:flex;align-items:center;justify-content:space-between;gap:16px;height:clamp(64px,6vw,88px);border-bottom:1px solid var(--border-hair)}
.t-brand{display:flex;align-items:center;gap:14px;color:var(--text-primary);text-decoration:none}
.t-brand .mark{width:12px;height:30px}
.t-brand-name{font-family:var(--font-display);font-weight:600;font-size:15px;line-height:1;letter-spacing:.24em;text-transform:uppercase;white-space:nowrap}
.t-doc-main{flex:1 0 auto;display:flex;flex-direction:column;gap:28px;width:100%;max-width:760px;margin:0 auto;padding:clamp(48px,7vw,104px) 0 clamp(64px,8vw,120px)}
.t-doc-title{font-family:var(--font-display);font-weight:600;font-size:clamp(44px, 3.8vw + 30px, 88px);line-height:1;color:var(--text-primary)}
.t-lede{font-size:clamp(16px, .38vw + 14.5px, 20px);line-height:1.6;color:var(--text-secondary)}
.t-prose{display:flex;flex-direction:column;gap:16px;font-size:16px;line-height:1.7;color:var(--ash-100)}
.t-prose h2{margin-top:20px;font-family:var(--font-display);font-weight:600;font-size:clamp(26px, .38vw + 24.5px, 30px);line-height:1.15;color:var(--text-primary)}
.t-prose ul{display:flex;flex-direction:column;gap:10px;padding-left:20px}
.t-prose li::marker{color:var(--accent-seam)}
.t-prose a{color:var(--text-primary);text-decoration:underline;text-decoration-color:var(--ash-500);text-underline-offset:3px}
.t-prose a:hover{text-decoration-color:var(--bone-100)}
.t-prose b{font-weight:500;color:var(--text-primary)}
.t-404{align-items:center;justify-content:center;text-align:center}
.t-404-row{display:flex;align-items:center;gap:clamp(16px,2.5vw,36px);font-family:var(--font-mono);font-size:14px;letter-spacing:.3em;color:var(--text-secondary)}
.t-404-row .mark{width:40px;height:100px;color:var(--ash-700)}
.t-404-rule{width:clamp(24px,8vw,120px);height:1px;background:var(--ash-800)}
