/* Single Safety App waitlist (/singlesafety). Reuses the tokens in styles.css. */
.ssa { --pad: clamp(56px, 8vw, 112px); }
.ssa-wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.ssa-back { margin-left: auto; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.ssa-back:hover { color: var(--green-deep); }
.ssa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ssa-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.ssa-top { padding-block: clamp(36px, 6vw, 88px) var(--pad); }
.ssa-top-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .ssa-top-grid { grid-template-columns: 1fr; } }

.ssa-kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep);
}
.ssa-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.ssa-kicker .sep { color: var(--ink-4); }
.ssa-h {
  margin: 22px 0 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(60px, 10.4vw, 144px); line-height: 0.94; letter-spacing: -0.03em; color: var(--navy-deep); text-wrap: balance;
}
.ssa-h .beat { display: block; color: var(--ink-3); }
.ssa-h .ital, .ssa-h2 .ital { font-style: italic; color: var(--green-deep); }
.ssa-deck { margin: clamp(24px, 3vw, 36px) 0 0; max-width: 46ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.ssa-deck-2 { margin-top: 16px; color: var(--ink-3); }

/* the form card */
.ssa-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 18px;
  padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 24px 60px -36px oklch(0.30 0.12 265 / 0.28);
}
.ssa-card-h { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink-deep); }
.ssa-card-sub { margin: 8px 0 22px; font-size: 15px; color: var(--ink-3); }
.ssa-field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 18px; min-width: 0; padding: 0; border: 0; }
.ssa-field > label, .ssa-field > legend { font-size: 14px; font-weight: 500; color: var(--ink-deep); padding: 0; }
.ssa-field .opt { font-weight: 400; color: var(--ink-3); font-size: 13px; margin-left: 4px; }
.ssa-field input[type="text"], .ssa-field input[type="email"], .ssa-field select {
  font: inherit; font-size: 16px;            /* 16px stops iOS zooming on focus */
  height: 50px; padding: 0 14px; width: 100%; color: var(--ink-deep); background: #fff;
  border: 1px solid oklch(0.30 0.12 265 / 0.28); border-radius: 10px;
}
.ssa-field select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M3 4.5 6 8l3-3.5' stroke='%235a6a8b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.ssa-field input:focus, .ssa-field select:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.ssa-field [aria-invalid="true"] { border-color: oklch(0.50 0.18 25); }
.ssa-err, .ssa-form-err { margin: 0; font-size: 14px; color: oklch(0.45 0.18 25); }
.ssa-err[hidden], .ssa-form-err[hidden] { display: none; }
.ssa-form-err { margin-bottom: 14px; }


.ssa-consent { margin: 4px 0 20px; }
.ssa-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.ssa-check input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.ssa-check input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.ssa-consent .ssa-err { margin-top: 8px; }

.ssa-submit { width: 100%; justify-content: center; min-height: 54px; font-size: 16px; font-weight: 600; }
.ssa-submit:disabled { opacity: 0.7; cursor: progress; transform: none; }
.ssa-notice { margin: 18px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.ssa-notice a, .ssa-link { color: var(--navy); }
.ssa-thanks[hidden], #ssa-form-wrap[hidden] { display: none; }
.ssa-thanks:focus { outline: none; }
.ssa-thanks p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* three areas */
.ssa-areas { background: var(--paper-2); padding-block: var(--pad); }
.ssa-h2 { margin: 18px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.02em; color: var(--ink-deep); }
.ssa-areas-grid { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .ssa-areas-grid { grid-template-columns: 1fr; } }
.ssa-areas-grid article { padding: clamp(26px, 3vw, 40px) clamp(0px, 2.4vw, 32px) clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--rule); }
.ssa-areas-grid article + article { padding-left: clamp(0px, 2.4vw, 32px); }
@media (max-width: 860px) { .ssa-areas-grid article + article { padding-left: 0; } }
@media (min-width: 861px) { .ssa-areas-grid article + article { border-left: 1px solid var(--rule); } }
.ssa-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--green-deep); }
.ssa-areas-grid h3 { margin: 12px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink-deep); }
.ssa-areas-grid p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 36ch; }
.ssa-honest { margin: clamp(28px, 4vw, 44px) 0 0; max-width: 62ch; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--ink-3); }

.ssa-foot { padding: 28px 0 40px; font-size: 13px; color: var(--ink-3); }
.ssa-foot .ssa-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.ssa-foot a { color: var(--ink-2); }

.ssa-soon { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--green); font-size: 13px; letter-spacing: 0.12em; }
.ssa-tagline { margin: clamp(14px, 2vw, 24px) 0 0; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink-3); }
.ssa-tagline .ital { font-style: italic; color: var(--green-deep); }


/* closing principle */
.ssa-close { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule); text-align: center; }
.ssa-principle { margin: 0 auto; max-width: 20ch; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.025em; color: var(--navy-deep); text-wrap: balance; }
.ssa-principle .ital { font-style: italic; color: var(--green-deep); }
.ssa-close .ssa-honest { margin: clamp(28px, 4vw, 44px) auto 0; font-size: 16px; text-align: center; }

@media (max-width: 900px) {
  .ssa-top { padding-block: 24px 48px; }
  .ssa-top-grid { gap: 28px; }
  .ssa-deck { margin-top: 18px; }
  .ssa-deck-2 { margin-top: 12px; }
  .ssa-areas, .ssa-close { padding-block: 48px; }
}

/* ── Navy ground: the page sits on brand navy, the form card stays white ── */
.ssa-page { background: var(--navy-deep); color: #fff; }
.ssa-page .nav { background: color-mix(in oklch, var(--navy-deep) 88%, transparent); }
.ssa-page .ssa-back { color: oklch(0.86 0.02 264); }
.ssa-page .ssa-back:hover { color: #fff; }
.ssa-page .ssa-kicker { color: #fff; }
.ssa-page .ssa-soon { border-color: oklch(0.72 0.12 138); }
.ssa-page .ssa-h { color: #fff; }
.ssa-page .ssa-h .ital, .ssa-page .ssa-tagline .ital, .ssa-page .ssa-h2 .ital, .ssa-page .ssa-principle .ital { color: oklch(0.84 0.13 138); }
.ssa-page .ssa-tagline { color: oklch(0.9 0.02 264); }
.ssa-page .ssa-deck { color: oklch(0.9 0.015 264); }
.ssa-page .ssa-deck-2 { color: oklch(0.8 0.02 264); }
.ssa-page .ssa-card { background: #fff; border-color: transparent; box-shadow: 0 30px 70px -30px oklch(0.12 0.08 265 / 0.6); }

.ssa-page .ssa-areas { background: transparent; border-top: 1px solid oklch(1 0 0 / 0.16); }
.ssa-page .ssa-areas .ssa-kicker { color: oklch(0.78 0.13 138); }
.ssa-page .ssa-h2, .ssa-page .ssa-areas-grid h3 { color: #fff; }
.ssa-page .ssa-areas-grid, .ssa-page .ssa-areas-grid article { border-color: oklch(1 0 0 / 0.16); }
.ssa-page .ssa-num { color: oklch(0.78 0.13 138); }
.ssa-page .ssa-areas-grid p { color: oklch(0.84 0.02 264); }

.ssa-page .ssa-close { border-top-color: oklch(1 0 0 / 0.16); }
.ssa-page .ssa-principle { color: #fff; }
.ssa-page .ssa-honest { color: oklch(0.78 0.03 264); }
.ssa-page .ssa-foot { color: oklch(0.78 0.03 264); border-top: 1px solid oklch(1 0 0 / 0.16); padding-top: 28px; }
.ssa-page .ssa-foot a { color: oklch(0.88 0.02 264); }
.ssa-page .ssa-kicker .dot { background: oklch(0.78 0.13 138); }

/* ── Readability pass ─────────────────────────────────────────────── */
.ssa-deck { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.6; max-width: 44ch; }
.ssa-tagline { font-size: clamp(30px, 3.6vw, 48px); }
.ssa-card-sub { font-size: 16px; color: var(--ink-2); }
.ssa-field > label, .ssa-field > legend { font-size: 16px; }
.ssa-field .opt { font-size: 14px; color: var(--ink-2); }
.ssa-check { font-size: 16px; line-height: 1.5; color: var(--ink-deep); }
.ssa-notice { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.ssa-err, .ssa-form-err { font-size: 15px; }
.ssa-areas-grid p { font-size: 17.5px; line-height: 1.62; max-width: 38ch; }
.ssa-num { font-size: 12px; }
.ssa-page .ssa-kicker { font-size: 13px; }
.ssa-page .ssa-deck { color: #fff; }
.ssa-page .ssa-deck-2 { color: oklch(0.92 0.015 264); }
.ssa-page .ssa-areas-grid p { color: oklch(0.93 0.01 264); }
.ssa-page .ssa-foot { font-size: 14.5px; color: oklch(0.88 0.02 264); }
@media (max-width: 900px) {
  .ssa-deck { font-size: 19px; }
  .ssa-areas-grid p { font-size: 18px; }
  .ssa-notice { font-size: 15px; }
}

/* compact interests dropdown (native details, works without JS) */
.ssa-multi { border: 1px solid oklch(0.30 0.12 265 / 0.28); border-radius: 10px; background: #fff; }
.ssa-multi summary {
  list-style: none; cursor: pointer; min-height: 50px; padding: 0 40px 0 14px; display: flex; align-items: center;
  font-size: 16px; color: var(--ink-3); position: relative; border-radius: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M3 4.5 6 8l3-3.5' stroke='%235a6a8b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.ssa-multi summary::-webkit-details-marker { display: none; }
.ssa-multi summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssa-multi.has-value summary { color: var(--ink-deep); }
.ssa-multi[open] { border-color: var(--navy); }
.ssa-multi summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.ssa-multi-panel { padding: 4px 14px 10px; border-top: 1px solid var(--rule); }
.ssa-multi-opt { padding: 11px 0; min-height: 44px; align-items: center; }
.ssa-multi-opt input { margin-top: 0; }

/* closing statement: stands alone */
.ssa-close { padding-block: clamp(96px, 14vw, 200px); }
.ssa-principle { max-width: 18ch; font-size: clamp(40px, 6.6vw, 92px); line-height: 1.04; }
.ssa-close .ssa-honest { margin-top: clamp(64px, 9vw, 120px); padding-top: 28px; border-top: 1px solid oklch(1 0 0 / 0.16); max-width: 60ch; font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .ssa-close { padding-block: 80px 64px; } .ssa-close .ssa-honest { margin-top: 56px; } }
.ssa-page .ssa-close .ssa-honest { font-size: 16.5px; color: oklch(0.88 0.02 264); }

/* where to go next: after signing up, and under the closing line */
.ssa-next { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.ssa-next li { border-bottom: 1px solid var(--rule); }
.ssa-next a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; font-size: 16px; color: var(--navy); text-decoration: none; }
.ssa-next a:hover { color: var(--green-deep); }
.ssa-explore { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px; }
.ssa-explore a {
  display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(0.84 0.13 138); text-decoration: none; border-bottom: 1px solid transparent;
}
.ssa-explore a:hover { color: #fff; }
@media (max-width: 600px) { .ssa-explore { flex-direction: column; align-items: center; gap: 0; } }
/* comfortable tap targets on phones */
.ssa-back, .ssa-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.ssa-foot .ssa-wrap { gap: 0 24px; }

/* "Coming in 2027": a gold outlined badge, so it is the second thing the eye finds after the title */
.ssa-page .ssa-soon {
  padding: 9px 22px; border: 1.5px solid #D2B160; border-radius: 999px;
  background: transparent; color: #E0C377;   /* Linkked gold, outlined */
  font-size: clamp(15px, 1.5vw, 18px); font-weight: 500; letter-spacing: 0.16em;
  box-shadow: none;
}
.ssa-page .ssa-kicker { margin-bottom: 4px; }

/* footer: items sit side by side with space between, and stack cleanly on phones */
.ssa-foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
@media (max-width: 600px) {
  .ssa-foot .ssa-wrap { flex-direction: column; align-items: flex-start; }
  .ssa-foot-links { flex-direction: column; align-items: flex-start; }
  .ssa-foot-links > span { min-height: 36px; display: inline-flex; align-items: center; }
}
