/* Companion studio — one stylesheet for all pages. Phone layout first, wider screens layered on top. */

:root {
  --paper: #faf6f0;
  --paper-deep: #f3ece2;
  --card: #fffdf9;
  --ink: #1d1b26;
  --ink-2: #5d5868;
  --ink-3: #8b8595;
  --line: #e8dfd2;
  --line-strong: #d6cab9;
  --plum: #6b2d5c;
  --plum-hi: #561f49;
  --plum-tint: #f4e8f0;
  --coral: #e26d5a;
  --coral-tint: #fcebe7;
  --sage: #2f5d4b;
  --sage-tint: #e3eee8;
  --bad: #b3261e;
  --bad-tint: #fdecea;
  --good: #2f6b3a;

  --r-1: 6px;
  --r-2: 10px;
  --r-3: 18px;
  --lift: 0 18px 40px -22px rgba(52, 26, 46, .35), 0 2px 4px rgba(52, 26, 46, .06);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --bar: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
a { color: var(--plum); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-hi); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* Hidden until the selected language's strings are in (static/app/l10n.js). */
.l10n-wait body { opacity: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 18px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.jump { position: absolute; left: 10px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-1); }
.jump:focus { top: 10px; color: #fff; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- Action buttons ---- */
.act {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 11px 22px; border-radius: var(--r-2);
  border: 1.5px solid transparent; font-weight: 650; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s;
}
.act--solid { background: var(--plum); color: #fff; }
.act--solid:hover { background: var(--plum-hi); color: #fff; }
.act--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.act--line:hover { border-color: var(--ink); color: var(--ink); }
.act--warm { background: var(--coral); color: #fff; }
.act--warm:hover { background: #cf5a47; color: #fff; }
.act--big { min-height: 54px; padding: 15px 30px; font-size: 16px; }
.act--full { width: 100%; }
.act:disabled, .act[aria-busy="true"] { opacity: .65; cursor: wait; }
.act .ico { width: 18px; height: 18px; }

.plain-btn { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-align: left; }
.plain-btn:hover { text-decoration: underline; }
.text-link { color: var(--plum); font-weight: 600; text-decoration: underline; }

/* ---- Top bar ---- */
.topbar { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar__row { display: flex; align-items: center; gap: 12px; height: var(--bar); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__word { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lang-pick {
  margin-left: auto; height: 38px; padding: 0 28px 0 10px; flex: none;
  border: 1px solid var(--line-strong); border-radius: var(--r-1); background: var(--card);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%236b2d5c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center;
}
.menu-btn {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-1); background: var(--card); cursor: pointer;
}
.menu-btn__lines { position: relative; width: 18px; height: 12px; }
.menu-btn__lines::before, .menu-btn__lines::after, .menu-btn__lines span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s, top .2s;
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines span { top: 5px; }
.menu-btn__lines::after { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines::after { top: 5px; transform: rotate(-45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines span { opacity: 0; }

.drawer {
  position: fixed; inset: var(--bar) 0 auto 0; z-index: 59;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--lift);
  padding: 8px 18px 22px; display: none;
}
.drawer.is-shown { display: block; }
.drawer__links { list-style: none; padding: 0; }
.drawer__links a { display: block; padding: 14px 2px; border-bottom: 1px dashed var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; }
.drawer__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .drawer { position: static; display: flex; align-items: center; gap: 22px; padding: 0; background: none; border: 0; box-shadow: none; margin-left: auto; }
  .drawer__links { display: flex; gap: 2px; }
  .drawer__links a { border: 0; padding: 8px 12px; font-weight: 550; font-size: 15px; color: var(--ink-2); border-radius: var(--r-1); white-space: nowrap; }
  .drawer__links a:hover { color: var(--ink); background: var(--paper-deep); }
  .drawer__acts { display: flex; margin: 0; }
  .drawer__acts .act { min-height: 40px; padding: 8px 16px; font-size: 14px; }
  .lang-pick { margin-left: 0; order: 3; }
}
@media (min-width: 960px) and (max-width: 1100px) {
  .drawer { gap: 10px; }
  .drawer__links a { padding: 8px 8px; font-size: 14px; }
}

/* ---- Shared section rhythm ---- */
.block { padding: 60px 0; }
.block--tint { background: var(--paper-deep); }
.block--card { background: var(--card); border-block: 1px solid var(--line); }
@media (min-width: 960px) { .block { padding: 104px 0; } }

.kicker { display: inline-block; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.h-xl, .h-lg, .h-md { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; line-height: 1.12; }
.h-xl { font-size: clamp(36px, 7vw, 64px); }
.h-lg { font-size: clamp(28px, 4.6vw, 44px); margin-bottom: 16px; }
.h-md { font-size: 21px; margin-bottom: 6px; }
.copy { font-size: 17px; color: var(--ink-2); }
@media (min-width: 960px) { .copy { font-size: 18px; } }
.intro-head { max-width: 640px; margin-bottom: 40px; }
.intro-head--mid { margin-inline: auto; text-align: center; }

.pair { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .pair { grid-template-columns: 1.05fr .95fr; gap: 72px; } .pair--flip > :first-child { order: 2; } }

/* ---- Opening screen ---- */
.opening { padding: 36px 0 56px; background:
  radial-gradient(60% 50% at 100% 0%, var(--coral-tint), transparent 70%),
  radial-gradient(50% 45% at 0% 100%, var(--plum-tint), transparent 70%); }
.opening .h-xl { margin-bottom: 20px; }
.opening .copy { max-width: 540px; }
.opening__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.opening__fine { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 559px) { .opening__acts .act { flex: 1 1 100%; } }
@media (min-width: 960px) { .opening { padding: 80px 0 110px; } }

/* Phone-shaped preview */
.device { position: relative; max-width: 360px; margin-inline: auto; }
.device__body {
  background: var(--ink); border-radius: 34px; padding: 10px; box-shadow: var(--lift);
}
.device__screen { background: var(--card); border-radius: 26px; overflow: hidden; }
.device__note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-3); }
.device__tag {
  position: absolute; right: -6px; bottom: 74px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 210px;
  padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--lift);
}
@media (min-width: 960px) { .device__tag { right: -64px; bottom: 30px; } }
@media (max-width: 420px) { .device__tag { position: static; max-width: none; margin-top: 12px; box-shadow: none; } }

.persona-bar { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.persona-bar img { width: 40px; height: 40px; border-radius: 50%; }
.persona-bar b { display: block; font-size: 15px; line-height: 1.2; }
.persona-bar small { display: block; font-size: 12px; color: var(--sage); }
.feed { display: flex; flex-direction: column; gap: 9px; padding: 16px; }
.bubble { max-width: 84%; padding: 10px 13px; font-size: 14px; line-height: 1.45; border-radius: 14px; }
.bubble--me { align-self: flex-end; background: var(--plum); color: #fff; border-bottom-right-radius: 3px; }
.bubble--bot { align-self: flex-start; background: var(--paper-deep); border-bottom-left-radius: 3px; }
.bubble__who { display: block; font-size: 11px; font-weight: 700; opacity: .7; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .05em; }
.typing { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-3); }
.typing::after { content: ""; margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6h8M6 2l4 4-4 4' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center; }

.tag { display: inline-block; padding: 5px 10px; border-radius: var(--r-1); font-size: 12.5px; font-weight: 600; line-height: 1.3; background: var(--paper-deep); color: var(--ink-2); }
.tag--plum { background: var(--plum-tint); color: var(--plum); }
.tag--sage { background: var(--sage-tint); color: var(--sage); }

/* ---- Subject ribbon ---- */
.ribbon { border-block: 1px solid var(--line); background: var(--card); padding: 22px 0; }
.ribbon__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.ribbon__label { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-right: 6px; }
.ribbon__item { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 550; }
.ribbon__item .ico { width: 18px; height: 18px; color: var(--coral); }

/* ---- Steps path ---- */
.path { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: path; }
.path__step { position: relative; padding: 0 0 30px 64px; counter-increment: path; }
.path__step::before {
  content: counter(path, decimal-leading-zero); position: absolute; left: 0; top: -4px;
  font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--coral); line-height: 1;
}
.path__step::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 6px; border-left: 2px dotted var(--line-strong); }
.path__step:last-child::after { display: none; }
.path__step p { color: var(--ink-2); }
@media (min-width: 960px) {
  .path { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .path__step { padding: 64px 0 0; }
  .path__step::after { left: 64px; right: -28px; top: 18px; bottom: auto; border-left: 0; border-top: 2px dotted var(--line-strong); }
}

/* ---- Studio (character editor preview) ---- */
.editor { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--lift); padding: 22px; }
.editor__top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.editor__top img { width: 52px; height: 52px; border-radius: 50%; }
.editor__name { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.2; }
.editor__sub { font-size: 13px; color: var(--ink-3); }
.editor__group + .editor__group { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.editor__label { font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.editor__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.looks { display: flex; gap: 10px; }
.looks span { width: 40px; height: 40px; border-radius: 50%; }
.looks .is-picked { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--plum); }
.dial { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; font-size: 13px; }
.dial + .dial { margin-top: 10px; }
.dial__track { position: relative; height: 4px; border-radius: 2px; background: var(--paper-deep); }
.dial__track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--coral); }
.dial__track i::after { content: ""; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 2px solid var(--coral); }
.ticks { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%232f5d4b' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center; }

/* ---- Benefits ---- */
.perks { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .perks { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.perk { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--plum); border-radius: var(--r-1); }
.perk:nth-child(even) { border-left-color: var(--coral); }
.perk__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--plum-tint); color: var(--plum); }
.perk:nth-child(even) .perk__ico { background: var(--coral-tint); color: var(--coral); }
.perk p { color: var(--ink-2); font-size: 15px; }

/* ---- Questions ---- */
.qa { display: grid; gap: 28px; }
@media (min-width: 960px) { .qa { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } }
.qa__list { border-top: 1px solid var(--line-strong); }
.qa__item { border-bottom: 1px solid var(--line-strong); }
.qa__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3;
}
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--sans); font-weight: 400; font-size: 20px; transition: transform .2s; }
.qa__item[open] summary::after { transform: rotate(45deg); }
.qa__item p { padding: 0 44px 22px 0; color: var(--ink-2); }

/* ---- Closing panel ---- */
.closing { padding: 0 0 72px; }
.closing__panel { display: grid; gap: 24px; align-items: center; padding: 44px 26px; border-radius: var(--r-3); background: var(--plum); color: #fff; }
.closing__panel .h-lg { color: #fff; margin-bottom: 10px; }
.closing__panel p { color: rgba(255, 255, 255, .82); font-size: 17px; }
@media (min-width: 960px) { .closing { padding-bottom: 104px; } .closing__panel { grid-template-columns: 1fr auto; padding: 56px 60px; gap: 48px; } }

/* ---- Base (footer) ---- */
.base { background: var(--ink); color: #d9d4df; padding: 52px 0 28px; font-size: 15px; }
.base a, .base .plain-btn { color: #fff; text-decoration: none; }
.base a:hover, .base .plain-btn:hover { text-decoration: underline; color: #fff; }
.base__grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .base__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.base .logo, .base .logo:hover { color: #fff; }
.base__about { margin-top: 14px; max-width: 320px; font-size: 14px; color: #b3acbb; }
.base__head { font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #8f879a; margin-bottom: 12px; }
.base__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.base__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a3644; font-size: 13px; color: #8f879a; }

/* ---- Consent notice (shown on every load, never stored) ---- */
.consent {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  background: var(--card); border-top: 3px solid var(--plum); box-shadow: 0 -12px 34px -18px rgba(29, 27, 38, .45);
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
}
.consent[hidden] { display: none; }
.consent__row { display: grid; gap: 12px; }
.consent__row > * { min-width: 0; }
.consent__title { font-weight: 750; font-size: 15px; margin-bottom: 2px; }
.consent__text { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__btns .act { flex: 1 1 auto; min-height: 40px; padding: 8px 12px; font-size: 14px; white-space: normal; }
.consent__opts { display: grid; gap: 8px; margin-top: 4px; }
.consent__opts[hidden] { display: none; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 12px; background: var(--paper); border-radius: var(--r-1); }
.opt b { display: block; font-size: 14px; }
.opt small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.opt input { width: 20px; height: 20px; flex: none; accent-color: var(--plum); }
@media (min-width: 820px) {
  .consent__row { grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
  .consent__btns .act { flex: none; padding: 8px 18px; }
  .consent__opts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}

/* ---- Account screens ---- */
.gate { display: grid; min-height: calc(100vh - var(--bar)); }
@media (min-width: 960px) { .gate { grid-template-columns: 1fr 1fr; } }
.gate__side { display: none; }
@media (min-width: 960px) {
  .gate__side { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 64px; background: var(--plum); color: #fff; }
  .gate__side .h-lg { color: #fff; }
  .gate__side p { color: rgba(255, 255, 255, .8); max-width: 420px; }
  .gate__side .bubble--bot { background: rgba(255, 255, 255, .12); color: #fff; }
  .gate__side .bubble--me { background: var(--coral); }
  .gate__side .feed { padding: 0; max-width: 420px; }
}
.gate__main { display: flex; justify-content: center; align-items: flex-start; padding: 40px 18px 72px; }
@media (min-width: 960px) { .gate__main { align-items: center; padding: 64px; } }
.gate__box { width: 100%; max-width: 420px; }
.gate__box .h-lg { margin-bottom: 8px; }
.gate__lead { color: var(--ink-2); margin-bottom: 26px; }
.gate__alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }

.entry { display: grid; gap: 18px; }
.fld__label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 6px; }
.fld__box { position: relative; }
.fld__input {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px;
  background: var(--card); border: 1.5px solid var(--line-strong); border-radius: var(--r-2);
  transition: border-color .15s, box-shadow .15s;
}
.fld__input::placeholder { color: var(--ink-3); }
.fld__input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--plum-tint); }
.fld__input[aria-invalid="true"] { border-color: var(--bad); }
.fld__box .fld__input { padding-right: 52px; }
.peek {
  position: absolute; top: 5px; right: 5px; bottom: 5px; width: 42px; display: grid; place-items: center;
  background: none; border: 0; border-radius: var(--r-1); color: var(--ink-2); cursor: pointer;
}
.peek:hover { background: var(--paper-deep); color: var(--plum); }
.peek .ico { width: 20px; height: 20px; }
.peek .peek__off { display: none; }
.peek[aria-pressed="true"] .peek__on { display: none; }
.peek[aria-pressed="true"] .peek__off { display: block; }
.fld__help { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.fld__err { font-size: 13px; font-weight: 600; color: var(--bad); margin-top: 6px; }
.fld__err:empty { display: none; }
.fld__err::before { content: "— "; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--plum); cursor: pointer; }
.agree input[aria-invalid="true"] { outline: 2px solid var(--bad); outline-offset: 2px; }

.notice { padding: 12px 14px; border-radius: var(--r-1); font-size: 14px; border-left: 4px solid var(--bad); background: var(--bad-tint); color: var(--bad); }
.notice[hidden] { display: none; }
.notice--calm { border-left-color: var(--plum); background: var(--plum-tint); color: var(--plum-hi); }

.sent { text-align: left; }
.sent__badge { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-tint); color: var(--sage); margin-bottom: 22px; }
.sent__badge .ico { width: 28px; height: 28px; }
.sent .h-lg:focus { outline: none; }
.sent p { color: var(--ink-2); }
.sent__addr { display: block; margin: 10px 0 18px; padding: 10px 14px; background: var(--paper-deep); border-radius: var(--r-1); font-weight: 650; color: var(--ink); word-break: break-all; }
.sent__acts { display: grid; gap: 12px; margin-top: 26px; }
.sent__status { min-height: 1.5em; font-size: 14px; font-weight: 600; color: var(--good); }
.sent__status.is-bad { color: var(--bad); }

/* ---- Legal documents ---- */
.doc { padding: 44px 0 84px; }
.doc__body { max-width: 740px; }
.doc__date { color: var(--ink-3); font-size: 14px; margin: 10px 0 28px; }
.doc__index { padding: 18px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-2); margin-bottom: 12px; }
.doc__index-title { font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.doc__index ol { margin: 0; padding-left: 20px; }
@media (min-width: 720px) { .doc__index ol { columns: 2; column-gap: 28px; } }
.doc h2 { font-family: var(--serif); font-size: 24px; line-height: 1.25; margin: 38px 0 12px; }
.doc h3 { font-size: 16px; margin: 20px 0 8px; }
.doc p, .doc li { color: #3d3947; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
