/* ===========================================================
   WORRIED ABOUT HENRY · DEPOT, Cardiff — Fri 16 Oct 2026
   Cinematic key-art: the supplied geode-face poster is shown
   whole beside a dark-glass signup panel; the blurred crystal
   still runs full-bleed behind. Palette sampled from the art —
   raspberry-crimson crystal (#bd3251 / rose #bd7289) over ink.
   =========================================================== */

/* ---------- TOKENS ---------- */
:root {
  --ink:        #08060a;   /* deepest shadow of the still       */
  --ink-2:      #0f0a0f;
  --field:      #161016;   /* steel-navy mid tone               */
  --panel-bg:       rgba(16, 9, 14, 0.76);
  --panel-bg-solid: #150d13;

  --accent:        #bd3251;  /* raspberry-crimson — the title hue */
  --accent-bright: #bd3251;  /* accent red across the box + button */
  --accent-deep:   #8f253f;
  --accent-ghost:  rgba(189, 50, 81, 0.16);
  --rose:          #cf6f8a;  /* crystal highlight — legible accent */

  --cream:       #e9f0ec;  /* cold near-white text              */
  --cream-soft:  rgba(233, 240, 236, 0.74);
  --cream-faint: rgba(233, 240, 236, 0.46);
  --cream-ghost: rgba(233, 240, 236, 0.14);

  --hairline:    rgba(233, 240, 236, 0.14);
  --hairline-hi: rgba(233, 240, 236, 0.28);
  --danger:      #ff9b86;

  --display: "Anton", "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Barlow", "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", sans-serif;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ---------- FULL-BLEED ARTWORK ---------- */
.bg { position: fixed; inset: 0; z-index: 0; background: var(--ink); overflow: hidden; }
.bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
@media (min-width: 760px) {
  /* Desktop: fit the image by HEIGHT (never crop the face vertically),
     anchored right; the smoky left edge fades into the base ink colour.
     cover can't do this — the window is wider than the image, so cover
     scales by width and is forced to crop top/bottom. */
  .bg img {
    position: absolute; top: 0; right: 0;
    width: auto; height: 100%; object-fit: unset; object-position: unset;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14%);
  }
}

/* Directional scrim — darkens the type side (left) for contrast while the
   crystal cluster on the right glows through untouched. */
/* scrim overlay removed — crystal shows at full brightness, like the thank-you page */
.scrim { display: none; }
/* Faint grain to unify type with the filmic plate */
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- LAYOUT ---------- */
.stage {
  position: relative; z-index: 5;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
.hero {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.6rem, 5vw, 3rem) clamp(1.1rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "logo" "lineup" "signup" "wahurl" "partners";
  justify-items: center;
  align-content: center;
  gap: clamp(1.4rem, 4vw, 2.2rem);
}
@media (min-width: 760px) {
  .hero {
    max-width: 1240px;
    margin: 0;                                   /* left-anchor (not centred) */
    padding-left: clamp(1.75rem, 6vw, 6rem);     /* left gutter; crystal face fills the right */
    grid-template-columns: minmax(0, 1.12fr) minmax(400px, 468px);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "logo     signup"
      "lineup   signup"
      "wahurl   signup"
      "partners signup";
    column-gap: clamp(1.5rem, 3vw, 3rem);
    row-gap: clamp(1.4rem, 3vw, 2rem);
    justify-items: start;
    align-content: center;
    align-items: start;
  }
}

/* ---------- TITLE LOCKUP + LINE-UP (transparent art over the plate) ----------
   No drop-shadow filter on the cutouts: it flashes a dark halo from aliased
   alpha during decode (blueprint gotcha #9). The plate is dark enough behind
   the type, and the scrim guarantees contrast. */
.hero__logo {
  grid-area: logo; min-width: 0; width: 100%;
  display: flex; justify-content: center;
  animation: fade-up 1s cubic-bezier(.2,.7,.2,1) 0.1s both;
}
.hero__lineup {
  grid-area: lineup; min-width: 0; width: 100%;
  display: flex; justify-content: flex-start;   /* line-up hugs the left on mobile too */
  animation: fade-up 1s cubic-bezier(.2,.7,.2,1) 0.28s both;
}
.lockup { width: 100%; max-width: 500px; height: auto; }
.lineup { width: 100%; max-width: 200px; height: auto; }
@media (min-width: 760px) {
  .hero__logo, .hero__lineup { justify-content: flex-start; }
  .lockup { max-width: 680px; }
  .lineup { max-width: 300px; }
}

/* worriedabouthenry.com pill — under the line-up (desktop) / above partners (mobile) */
.wahurl {
  grid-area: wahurl; width: 100%;
  display: flex; justify-content: center;   /* mobile: centred above partners */
  margin-top: 0.2rem;
}
.wahurl img { width: 100%; max-width: 230px; height: auto; opacity: 0.95; transition: opacity .15s ease, transform .15s ease; }
.wahurl:hover img { opacity: 1; transform: translateY(-1px); }
.wahurl:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
@media (min-width: 760px) {
  .wahurl { justify-content: flex-start; margin-top: 0.6rem; }  /* left, under the line-up */
  .wahurl img { max-width: 250px; }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- SIGNUP PANEL ---------- */
.signup { grid-area: signup; width: 100%; display: flex; justify-content: center; }
@media (min-width: 760px) {
  .signup { justify-content: flex-start; align-self: start; }
}
.panel {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.25rem, 3vw, 1.9rem);
  /* no backdrop blur (desktop or mobile) — crystal reads crisp behind the
     tinted glass; opacity carries text legibility instead */
  background: rgba(15, 9, 13, 0.9);
  border: 1px solid var(--hairline-hi);
  border-radius: 0;
  /* box-shadow (not ::before) so the intl-tel-input dropdown can overflow
     freely and nothing stacks over the form — blueprint gotcha #2 */
  box-shadow:
    inset 0 1px 0 rgba(233, 240, 236, 0.14),
    inset 0 0 70px rgba(189, 50, 81, 0.05),
    0 28px 72px rgba(0, 0, 0, 0.64);
  animation: fade-up 1s cubic-bezier(.2,.7,.2,1) 0.35s both;
}

/* State machine — blueprint contract */
.panel__idle, .panel__otp, .panel__success { display: none; }
.panel[data-form-state="idle"]    .panel__idle    { display: block; }
.panel[data-form-state="otp"]     .panel__otp     { display: block; }
.panel[data-form-state="success"] .panel__success { display: block; }

.panel__eyebrow {
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--sans); font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--rose);
}
.panel__eyebrow-hair {
  flex: 0 0 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.panel__eyebrow-hair:last-child {
  flex: 1 1 auto;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}
.panel__title {
  margin: 0 0 0.85rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 3.25rem);
  line-height: 0.9;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
}
.panel__title em { font-style: normal; color: var(--accent-bright); }

.panel__lede {
  margin: 0 0 1.4rem;
  font-size: 14.5px; line-height: 1.55; color: var(--cream-soft);
  text-wrap: pretty;
}
/* Scoped to avoid clobbering eyebrow — blueprint gotcha #3 */
.panel__success p:not(.panel__eyebrow) {
  color: var(--cream-soft); margin: 0 0 1.4rem;
  font-size: 14.5px; line-height: 1.55;
}
.panel__success-note {
  margin: 0 0 1.1rem !important;
  padding: 0.7rem 0.9rem;
  background: var(--accent-ghost);
  border-left: 2px solid var(--accent);
  border-radius: 0;
  font-size: 13.5px !important; line-height: 1.5 !important;
  color: var(--cream) !important;
}

/* ---------- FORM ---------- */
.form { display: flex; flex-direction: column; gap: 0.95rem; margin: 0; padding: 0; }
/* display:none (not off-screen): an off-screen field is still a live autofill
   target and Chrome/Edge would fill it, silently blocking the real submit. */
.form__honeypot { display: none !important; }
.form__row { position: relative; }
.form__label {
  display: block; margin: 0 0 0.35rem;
  font-family: var(--sans); font-weight: 700;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-faint);
}
.form__input {
  width: 100%; padding: 0.65rem 0;
  background: transparent; color: var(--cream);
  border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0;
  font-family: var(--sans); font-size: 16px; line-height: 1.3; letter-spacing: 0.01em;
  transition: border-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
.form__input::placeholder { color: var(--cream-faint); letter-spacing: 0; }
.form__input:focus { outline: 0; border-bottom-color: var(--accent-bright); }
.form__input:-webkit-autofill,
.form__input:-webkit-autofill:hover,
.form__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px var(--panel-bg-solid) inset;
  transition: background-color 5000s ease-in-out 0s;
}
.form__input--otp {
  font-family: var(--display); font-size: 30px;
  letter-spacing: 0.4em; text-align: center; padding: 0.8rem 0;
}

/* ============================================================
   intl-tel-input (v19) — teal-noir theme
   ============================================================ */
.iti { display: block; width: 100%; }
/* Vendor reserves ~52px for the flag/dial-code area — gotcha #1 */
.iti input.form__input { padding-left: calc(52px + 0.7rem); }
.iti__flag-container { background: transparent; }
.iti__selected-flag {
  background: transparent !important; padding-left: 0;
  border-right: 1px solid var(--hairline);
}
.iti__selected-flag:hover,
.iti__selected-flag[aria-expanded="true"] { background: rgba(233, 240, 236, 0.05) !important; }
.iti__arrow { border-top-color: var(--cream-faint); }
.iti__arrow--up { border-bottom-color: var(--accent-bright); }
.iti__selected-dial-code { color: var(--cream-soft); font-family: var(--sans); font-size: 14px; }

.iti__dropdown-content {
  background-color: var(--panel-bg-solid) !important; color: var(--cream);
  border-radius: 0 !important;
}
.iti--inline-dropdown .iti__dropdown-content {
  position: absolute; z-index: 1000;        /* above panel chrome + other inputs */
  margin-top: 4px; margin-left: 0;
  border: 1px solid var(--hairline-hi) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.64), 0 2px 6px rgba(0, 0, 0, 0.42) !important;
  min-width: 288px; max-width: calc(100vw - 2rem); overflow: hidden;
}
.iti__search-input {
  width: 100%; padding: 0.75rem 0.95rem;
  background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-size: 14px;
  border: 0; border-bottom: 1px solid var(--hairline); outline: 0; border-radius: 0;
}
.iti__search-input::placeholder { color: var(--cream-faint); }
.iti__search-input:focus { border-bottom-color: var(--accent-bright); }
.iti__country-list {
  background: var(--panel-bg-solid); color: var(--cream); border: 0;
  font-family: var(--sans); max-height: 244px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--hairline-hi) transparent;
}
.iti__country-list::-webkit-scrollbar { width: 8px; }
.iti__country-list::-webkit-scrollbar-track { background: transparent; }
.iti__country-list::-webkit-scrollbar-thumb { background: var(--hairline-hi); }
.iti__country-list::-webkit-scrollbar-thumb:hover { background: var(--cream-faint); }
.iti__country {
  padding: 0.55rem 0.95rem; font-size: 14px; line-height: 1.3; cursor: pointer;
  display: flex; align-items: center; gap: 0.55rem; transition: background .12s ease;
}
.iti__country:hover { background: rgba(233, 240, 236, 0.05); }
.iti__country.iti__highlight { background: var(--accent-ghost); color: var(--accent-bright); }
.iti__country.iti__highlight .iti__dial-code { color: var(--accent-bright); opacity: 0.9; }
.iti__country-name { color: var(--cream); flex: 1; }
.iti__dial-code { color: var(--cream-faint); font-size: 12.5px; letter-spacing: 0.02em; }
.iti__divider { border-bottom: 1px solid var(--hairline); padding: 0; margin: 0.25rem 0; }
.iti__no-results { padding: 0.75rem 0.95rem; font-size: 13px; color: var(--cream-faint); }

/* ---------- CONSENT ---------- */
.form__row--check { margin-top: 0.2rem; }
.form__check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 12px; line-height: 1.55; color: var(--cream-soft); cursor: pointer;
}
.form__check input[type="checkbox"] {
  flex: 0 0 16px; appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; margin-top: 2px;
  background: transparent; border: 1px solid var(--hairline-hi); border-radius: 0;
  display: grid; place-items: center;
  transition: border-color .15s ease, background .15s ease;
}
.form__check input[type="checkbox"]:hover { border-color: var(--accent-bright); }
.form__check input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent-deep); }
.form__check input[type="checkbox"]:checked::after {
  content: ""; width: 9px; height: 5px;
  border-left: 2px solid var(--cream); border-bottom: 2px solid var(--cream);
  transform: rotate(-45deg) translate(0, -1px);
}
.form__check a { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--cream-ghost); }
.form__check a:hover { text-decoration-color: var(--accent-bright); }

.form__error {
  margin: 0.4rem 0 0;
  font-family: var(--sans); font-weight: 700;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--danger);
}
.form__error--global { margin-top: 0.8rem; }

/* ---------- BUTTONS ---------- */
.btn {
  --btn-h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem; width: 100%; min-height: var(--btn-h);
  margin-top: 0.5rem; padding: 0 1.1rem;
  font-family: var(--display); font-weight: 400;
  font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cream); background: var(--accent);
  border: 0; border-radius: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px rgba(189, 50, 81, 0.34);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn:hover {
  transform: translateY(-1px); background: #cf3a5c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 30px rgba(189, 50, 81, 0.5);
}
.btn:active { transform: translateY(1px); }
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .5s ease; z-index: -1;
}
.btn:hover::before { transform: translateX(120%); }
.btn__text { position: relative; z-index: 1; }
.btn__arrow {
  position: relative; z-index: 1;
  font-family: var(--sans); font-size: 18px; letter-spacing: 0;
  transform: translateX(0); transition: transform .2s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- APP-DOWNLOAD CTA (success panel + app.html) ---------- */
.appcta { margin-top: 1.5rem; padding-top: 1.35rem; border-top: 1px solid var(--cream-ghost); }
.appcta__hook {
  margin: 0 0 0.55rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--cream); text-wrap: balance;
}
.appcta__hook em { font-style: normal; color: var(--accent-bright); }
.appcta__copy { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--cream-soft); text-wrap: pretty; }
.panel__success p.appcta__copy { margin-bottom: 0; }
.appcta__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 1.15rem; }
.appcta__badge { display: inline-flex; line-height: 0; }
.appcta__badge img {
  height: 48px; width: auto; display: block;
  transition: transform .15s ease;
}
.appcta__badge:hover img { transform: translateY(-2px); }
.appcta__badge:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

/* Standalone app page (app.html) */
.solo {
  flex: 1 1 auto; width: 100%; max-width: 1180px; margin: 0 auto;
  padding: clamp(1.6rem, 5vw, 3rem) clamp(1.1rem, 4vw, 2.75rem);
  display: grid; align-content: center; justify-items: center;
}
.solo .panel { max-width: 560px; }
.solo .panel__title { font-size: clamp(2.1rem, 5vw, 2.8rem); line-height: 0.95; }
.solo .panel__lede { margin-bottom: 0; }

.form__resend {
  margin: 0.9rem 0 0;
  font-family: var(--sans); font-weight: 600;
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cream-faint); text-align: center;
}
.form__resend-btn {
  background: transparent; border: 0; color: var(--accent-bright);
  font-family: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit;
  padding: 0 0 0 0.3rem; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(189, 50, 81, 0.5);
}
.form__resend-btn:disabled { color: var(--cream-faint); text-decoration-color: var(--cream-ghost); cursor: not-allowed; }

/* ---------- PARTNER LOGOS (separate row, above the footer) ---------- */
.partners {
  grid-area: partners;
  width: 100%; max-width: 360px;
  margin: clamp(1.2rem, 3vw, 2rem) auto clamp(0.4rem, 1.5vw, 1rem);
  padding: 0 clamp(1.1rem, 4vw, 2rem);
  justify-self: center;
}
.partners img { width: 100%; height: auto; opacity: 0.8; }
@media (min-width: 760px) {
  /* left column, tucked directly under the worriedabouthenry.com pill
     (negative margin offsets the grid row-gap so they sit close together) */
  .partners { max-width: none; width: auto; margin: -1.25rem 0 0; padding: 0; justify-self: start; }
  .partners img { width: 300px; }
}

/* ---------- FOOTER (full-width, basslayerz pattern) ---------- */
.foot {
  flex-shrink: 0; width: 100%; margin: 0;
  padding: 16px clamp(1.1rem, 4vw, 2.75rem) 24px;
  background: rgba(8, 6, 10, 0.62);
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem; flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.04em; color: var(--cream-faint);
}
.foot a { color: var(--cream-soft); text-decoration: none; }
.foot a:hover { color: var(--accent-bright); }
.foot__legal { margin: 0; }
.foot__left { display: flex; align-items: center; gap: clamp(0.7rem, 1.6vw, 1.1rem); flex-wrap: wrap; }
.site-built { margin: 0; line-height: 0; }
.site-built a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--cream-soft);
  background: rgba(8, 6, 10, 0.6);
  border: 1px solid var(--hairline-hi); border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.site-built a:hover { color: var(--accent-bright); border-color: var(--accent); background: var(--accent-ghost); }
.site-built img { display: inline-block; opacity: 0.95; filter: grayscale(1) brightness(2.4); vertical-align: middle; }

@media (max-width: 600px) {
  .foot { flex-direction: column; justify-content: center; text-align: center; gap: 1rem; }
  .foot__left { flex-direction: column; gap: 0.85rem; width: 100%; }
  .appcta__badge img { height: 44px; }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ping {
  0%   { opacity: 0.55; transform: scale(0.5); }
  70%  { opacity: 0; }
  100% { opacity: 0; transform: scale(2.4); }
}
@media (prefers-reduced-motion: reduce) {
  .lockup, .panel { animation: none; }
  .btn::before { display: none; }
  .appcta__badge img { transition: none; }
}

/* ---------- A11Y / FOCUS ---------- */
:focus-visible { outline: 1px solid var(--accent-bright); outline-offset: 2px; }
.form__input:focus-visible { outline: 0; }
.btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

/* ---------- TINY VIEWPORTS ---------- */
@media (max-width: 380px) {
  .hero { padding: 1.3rem 0.95rem; }
  .panel { padding: 1.1rem 1rem; }
}

/* ===========================================================
   LEGAL PAGES (privacy.html)
   =========================================================== */
body.legal-wrap {
  background: var(--field); color: var(--cream);
  font-family: var(--sans); line-height: 1.6; margin: 0;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}
.legal { max-width: 740px; margin: 0 auto; }
.legal__back {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 2.5rem; padding: 0.4rem 1.05rem 0.4rem 0.4rem;
  border: 1px solid var(--hairline-hi); border-radius: 999px;
  background: rgba(13, 26, 38, 0.5); text-decoration: none; white-space: nowrap;
  transition: border-color .18s ease, background .18s ease;
}
.legal__back:hover { border-color: var(--accent); background: var(--accent-ghost); }
.legal__back-arrow {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: transform .18s ease;
}
.legal__back:hover .legal__back-arrow { transform: translateX(-3px); }
.legal__back-arrow svg { width: 13px; height: 13px; display: block; }
.legal__back-label { display: inline-flex; flex-direction: column; line-height: 1.12; }
.legal__back-text {
  font-family: var(--sans); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-faint);
}
.legal__back-brand { font-family: var(--display); font-size: 15px; letter-spacing: 0.02em; color: var(--cream); text-transform: uppercase; }
.legal h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.02; letter-spacing: 0.01em;
  text-transform: uppercase; margin: 0 0 2rem; color: var(--accent-bright); text-wrap: balance;
}
.legal h2 {
  font-family: var(--display); font-weight: 400;
  font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-bright);
  margin: 2.2rem 0 0.7rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--hairline);
}
.legal h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream-soft);
  margin: 1.8rem 0 0.4rem;
}
.legal h4 {
  font-family: var(--sans); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-faint);
  margin: 1.4rem 0 0.3rem;
}
.legal p, .legal li { font-size: 14.5px; color: var(--cream-soft); }
.legal ul { padding-left: 1.1rem; margin: 0.5rem 0 1rem; }
.legal li { margin-bottom: 0.45rem; }
.legal a:not(.legal__back) { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(189, 50, 81, 0.45); }
.legal a:not(.legal__back):hover { text-decoration-color: var(--accent-bright); }
.legal strong { color: var(--cream); font-weight: 600; }
.legal__meta {
  margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--hairline);
  font-family: var(--sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-faint);
}
