
@font-face { font-family: Hanken; src: url(/fonts/HankenGrotesk-300.ttf); font-weight: 300; font-display: swap; }
@font-face { font-family: Hanken; src: url(/fonts/HankenGrotesk-400.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Hanken; src: url(/fonts/HankenGrotesk-700.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: Instrument; src: url(/fonts/InstrumentSerif-Italic.ttf); font-style: italic; font-display: swap; }
:root { --bg: #05080F; --surface: #0E1A2C; --alt: #16233A; --text: #F2F4FF; --dim: #8F9BBF; --brand: #6A5CFF;
        --wisp: #7FA8FF; --nope: #FF6B81; --warn: #F2C66D; }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font: 17px/1.6 Hanken, system-ui, sans-serif; }
body { margin: 0 auto; max-width: 760px; padding: 0 16px; }
a { color: var(--wisp); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 300; font-size: 24px;
         letter-spacing: .5px; text-decoration: none; }
/* The name as the app sets it: "Twi" light, "lit" in the serif italic (so it reads TWY-lit). */
.brand .lit { font-family: Instrument, Georgia, serif; font-style: italic; font-size: 1.2em; letter-spacing: 0; margin-left: -1px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
nav a { color: var(--dim); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--text); }
h1 { font-weight: 300; font-size: 34px; line-height: 1.2; margin: 24px 0 8px; }
h2 { font-weight: 700; font-size: 20px; margin: 32px 0 8px; }
.dim, small { color: var(--dim); }
small { display: block; font-size: 14px; font-weight: 400; }
.hero { text-align: center; padding: 8px 0 24px; }
.logo { width: min(360px, 90%); height: auto; }
.hero h1 { margin-top: 0; }
.lead { color: var(--dim); font-size: 19px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.card { background: var(--surface); border-radius: 16px; padding: 16px; color: var(--text); text-decoration: none; }
.card span { display: block; color: var(--dim); font-size: 15px; margin-top: 4px; }
.card:hover { background: var(--alt); }
.card.safety { border: 1px solid var(--brand); }
.policies { margin: 0 0 12px; }
.feature { border-top: 1px solid rgba(221,230,255,.12); padding-top: 4px; }
.feature h3 { font-size: 18px; margin: 20px 0 4px; }
.feature h4, .watch h4 { font-size: 15px; margin: 14px 0 4px; }
.watch { background: var(--surface); border-radius: 14px; padding: 4px 16px 8px; margin: 10px 0; }
.watch .kicker { color: var(--wisp); font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 0; }
.toc { line-height: 1.9; }
.noscreen { font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--text, #F2F4FF); margin: 0 0 12px; }
.draft { background: rgba(242,198,109,.12); border: 1px solid var(--warn); border-radius: 12px; padding: 10px 14px;
         font-size: 15px; }
form { display: grid; gap: 14px; margin-top: 16px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { font-weight: 700; margin-bottom: 6px; width: 100%; }
label { display: grid; gap: 6px; font-weight: 700; }
label.choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; background: var(--surface);
               border-radius: 999px; padding: 6px 14px; cursor: pointer; }
label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--dim); }
label.check input { margin-top: 5px; }
input:not([type=radio]):not([type=checkbox]), textarea { width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid var(--alt); border-radius: 12px; padding: 12px; font: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--brand); }
button { background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 14px; font: inherit;
         font-weight: 700; cursor: pointer; }
button:disabled { opacity: .6; }
.error { color: var(--nope); }
.invite { text-align: center; margin: 8px 0 24px; }
.code { font-size: 36px; font-weight: 700; letter-spacing: 6px; margin: 4px 0 12px; }
.button { display: inline-block; background: var(--brand); color: #fff; border-radius: 999px; padding: 12px 28px;
  text-decoration: none; font-weight: 700; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 10px; }
footer { color: var(--dim); font-size: 14px; padding: 40px 0 32px; }
@media (max-width: 520px) { html { font-size: 16px; } h1 { font-size: 28px; } }
