/* NERVE MedKit site: the TALLY site's layout and components, with the kit's red as the one accent. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 300; font-display: swap; src: url(fonts/inter-tight-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url(fonts/inter-tight-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(fonts/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap; src: url(fonts/dm-mono-latin-400-normal.woff2) format("woff2"); }
:root {
  --bg: #0F0F11; --bg-2: #141417; --panel: #19191D; --panel-2: #212126; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --fg: #F7F5F1; --fg-soft: rgba(247, 245, 241, .70); --fg-faint: rgba(247, 245, 241, .42);
  --orange: #E2262E; --orange-lite: #FF7479; --orange-dk: #2C1214; --red: #E5533D; --green: #10A37F;
  --glass: rgba(255, 255, 255, .06); --glass-border: rgba(255, 255, 255, .14);
  --radius-l: 28px; --radius-xl: 40px; --inset: 20px; --nav-h: 76px;
  --section: clamp(96px, 12vw, 170px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: "Inter Tight", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "DM Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 18px; line-height: 1.5; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
img, canvas, svg { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.jp { font-family: var(--font-jp); letter-spacing: .1em; }

/* type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.01; letter-spacing: -.042em; }
.h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.032em; }
.h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; font-weight: 400; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.58; color: var(--fg-soft); max-width: 34em; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-lite); }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 64px; padding: 0 48px; border-radius: 999px; font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 0; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.btn--orange { background: var(--orange); color: #FFF6F4; box-shadow: 0 14px 34px rgba(226, 38, 46, .28), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--orange:hover { transform: translateY(-2px); background: #EE3A41; }
.btn--ghost { background: var(--glass); color: var(--fg); box-shadow: inset 0 0 0 1px var(--glass-border); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .1); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* nav: a simple bar */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav-h); background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.nav .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--orange); flex: none; }
.logo .eyes { width: 36px; height: 23px; overflow: visible; }
.logo .word { height: 18px; width: auto; fill: currentColor; }
.logo .eyes g { animation: look 9s var(--ease) infinite; }
.logo .eyes rect { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes look { 0%, 20%, 100% { transform: translateX(0); } 26%, 40% { transform: translateX(-3px); } 46%, 60% { transform: translateX(3px); } 66% { transform: translateX(0); } }
.nav .links { display: flex; align-items: center; gap: 34px; }
.nav .links a:not(.btn) { text-decoration: none; font-family: var(--font-display); font-size: 16px; font-weight: 400; color: var(--fg-soft); letter-spacing: -.005em; }
.nav .links a:not(.btn):hover, .nav .links a[aria-current] { color: var(--fg); }
.nav .btn { height: 44px; padding: 0 24px; font-size: 15px; }
.nav .btn.dl { padding: 0 20px 0 16px; gap: 8px; }
@media (max-width: 1120px) { .nav .links { gap: 22px; } }
@media (max-width: 960px) { .nav .links a.dl { display: none; } }
@media (max-width: 760px) { .nav .links a.hide-s { display: none; } .nav .links { gap: 20px; } .logo .word { height: 15px; } .logo .eyes { width: 30px; } }

/* full-bleed hero: no box, just the page */
.hero-bleed { position: relative; overflow: hidden; isolation: isolate; }
.hero-bleed::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 76% 46%, rgba(226, 38, 46, .14), transparent 70%); }

/* rounded dark panels (media, wide sections) */
.panel { position: relative; border-radius: var(--radius-xl); background: radial-gradient(120% 90% at 76% 30%, #261819 0%, var(--panel) 48%, #151518 100%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.panel--wide { margin: 0 var(--inset); }
.rings { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.rings i { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: var(--d); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .05); transform: translate(-50%, -50%); }
.rings i:nth-child(1) { --d: 170px; } .rings i:nth-child(2) { --d: 590px; } .rings i:nth-child(3) { --d: 880px; } .rings i:nth-child(4) { --d: 1260px; }
@media (max-width: 760px) { :root { --inset: 10px; --radius-xl: 30px; } }

/* the device, front-on */
.device { position: relative; width: 100%; aspect-ratio: 448 / 368; padding: 4.6%; border-radius: 10.5% / 12.8%; background: linear-gradient(155deg, #3B3733 0%, #1E1C1A 38%, #0E0D0C 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .14), inset 0 -2px 6px rgba(0, 0, 0, .7), 0 50px 90px -30px rgba(0, 0, 0, .8), 0 22px 40px -18px rgba(0, 0, 0, .6); }
.device::before { content: ""; position: absolute; inset: 1.6%; border-radius: 9.6% / 11.8%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); pointer-events: none; }
.device .glass { position: relative; width: 100%; height: 100%; border-radius: 6.4% / 7.8%; overflow: hidden; background: #000; box-shadow: 0 0 0 2px #050505; }
.device canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.device .glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .02) 34%, rgba(255, 255, 255, 0) 52%); }
.device .side { position: absolute; right: -1.1%; top: 20%; width: 1.3%; height: 11%; border-radius: 0 6px 6px 0; background: linear-gradient(90deg, #1A1816, #34302C); }

/* forms */
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 14px; color: var(--fg-soft); }
.field input, .field textarea, .field select { width: 100%; min-width: 0; border-radius: 18px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .04); color: var(--fg); padding: 16px 18px; font: inherit; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); }
.field input[type=file] { padding: 12px 14px; font-size: 14px; color: var(--fg-soft); }
.note { min-height: 1.4em; margin: 0; font-size: 15px; color: var(--fg-soft); }

/* document pages (legal, company) */
.doc { padding-block: clamp(64px, 9vw, 120px) 40px; }
.doc .wrap { max-width: 860px; }
.doc header { display: grid; gap: 22px; justify-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.doc .eff { color: var(--fg-faint); }
.doc h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: -.015em; margin: 48px 0 14px; }
.doc h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin: 28px 0 10px; }
.doc p, .doc li { color: var(--fg-soft); font-size: 17px; line-height: 1.7; }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 1.2em; margin: 0 0 14px; }
.doc strong { color: var(--fg); font-weight: 500; }
.doc a { color: var(--orange-lite); }
.doc .box { background: var(--panel); border-radius: 20px; padding: 20px 24px; box-shadow: inset 0 0 0 1px var(--line); margin: 0 0 18px; }
.doc .box p:last-child { margin: 0; }
.tbl { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 16px; }
.tbl-scroll { overflow-x: auto; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: var(--fg-soft); }
.tbl th { font-family: var(--font-mono); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); white-space: nowrap; }
.kv { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); border-top: 1px solid var(--line); margin-bottom: 24px; }
.kv > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--fg-faint); padding-right: 20px; }
.kv .v { color: var(--fg-soft); font-size: 16px; line-height: 1.65; }
.kv .v span { display: block; color: var(--fg-faint); font-size: 15px; margin-top: 4px; }
@media (max-width: 640px) { .kv { grid-template-columns: minmax(0, 1fr); } .kv .k { border-bottom: 0; padding-bottom: 0; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cardlink { display: grid; gap: 8px; text-decoration: none; background: var(--panel); border-radius: 22px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s var(--ease); }
.cardlink:hover { background: var(--panel-2); }
.cardlink b { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--fg); }
.cardlink span { color: var(--fg-soft); font-size: 15px; }

/* footer (the same layout as the other Meta Studios sites) */
.footer { margin-top: var(--section); border-top: 1px solid var(--line); padding-block: 72px 48px; background: var(--bg-2); }
.footer .top { display: grid; grid-template-columns: minmax(220px, 1.2fr) repeat(5, minmax(0, 1fr)); gap: 32px; }
.footer .brand { display: grid; gap: 18px; align-content: start; }
.footer .brand p { margin: 0; color: var(--fg-soft); font-size: 15px; max-width: 18em; }
.footer h4 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--fg); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer li, .footer address { font-size: 14px; color: var(--fg-soft); font-style: normal; line-height: 1.6; }
.footer a { text-decoration: none; color: var(--fg-soft); }
.footer a:hover { color: var(--fg); }
.footer address + address { margin-top: 14px; }
.footer .bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--fg-faint); font-size: 13px; }
@media (max-width: 1080px) { .footer .top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer .brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer .top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { .logo .eyes g, .logo .eyes rect { animation: none; } * { scroll-behavior: auto !important; } }

/* 3D TALLY (tally3d.js): a WebGL stage that sits on the page's own dark */
.t3d-stage { position: relative; width: 100%; }
.t3d-stage canvas.t3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.t3d-stage.no-3d { background: radial-gradient(60% 60% at 50% 50%, rgba(226, 38, 46, .12), transparent 70%); }
.t3d-label { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 30px)); opacity: 0; pointer-events: none; white-space: nowrap; text-align: center; font-size: 14px; color: var(--fg); display: grid; gap: 1px; }
.t3d-label b { font-weight: 500; }
.t3d-label span { color: var(--fg-faint); font-size: 13px; }
.t3d-label::after { content: ""; position: absolute; left: 50%; top: calc(100% + 6px); width: 1px; height: 20px; background: rgba(255, 255, 255, .28); }
.t3d-label::before { content: ""; position: absolute; left: calc(50% - 4px); top: calc(100% + 26px); width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(226, 38, 46, .2); }

.t3d-label.below { transform: translate(-50%, 30px); }
.t3d-label.below::after { top: auto; bottom: calc(100% + 6px); }
.t3d-label.below::before { top: auto; bottom: calc(100% + 26px); }

/* a product photo with the live eyes on its screen (tally.js, data-shot) */
.shot { position: relative; width: 100%; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shot .shot-screen, .shot .shot-glare { position: absolute; left: 0; top: 0; width: 368px; height: 448px; max-width: none; transform-origin: 0 0; border-radius: 30px; }
.shot .shot-screen.land, .shot .shot-glare.land { width: 448px; height: 368px; border-radius: 26px; }
.shot .shot-glare { background: linear-gradient(160deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 26%, rgba(255, 255, 255, 0) 45%); pointer-events: none; }

/* TALLY's eyes, drawn in CSS: blink, glance, smile, droop (cookie banner, newsletter) */
.peek { display: inline-flex; gap: 9px; align-items: center; height: 30px; }
.peek i { display: block; width: 14px; height: 26px; border-radius: 7px; background: var(--orange); box-shadow: 0 0 14px rgba(226, 38, 46, .45); transform-origin: 50% 60%; animation: tblink 5.2s infinite, tlook 9s ease-in-out infinite; transition: height .35s var(--ease), border-radius .35s var(--ease), transform .35s var(--ease), background .35s; }
.peek i + i { animation-delay: .04s, 0s; }
@keyframes tblink { 0%, 46%, 50%, 100% { scale: 1 1; } 48% { scale: 1 .08; } }
@keyframes tlook { 0%, 30%, 100% { translate: 0 0; } 38%, 52% { translate: -4px 0; } 60%, 74% { translate: 4px 0; } 82% { translate: 0 0; } }
[data-mood=happy] .peek i { height: 13px; background: transparent; border: 4px solid var(--orange); border-bottom: 0; border-radius: 12px 12px 0 0; translate: 0 -3px; animation: none; box-shadow: none; }
[data-mood=sad] .peek i { height: 15px; border-radius: 4px 4px 8px 8px; translate: 0 6px; animation: none; }
[data-mood=sad] .peek i:first-child { transform: rotate(-16deg); }
[data-mood=sad] .peek i:last-child { transform: rotate(16deg); }
@media (prefers-reduced-motion: reduce) { .peek i { animation: none; } }

/* the cookie banner (consent.js): a card with TALLY peeking over its top edge */
.ck { position: fixed; z-index: 300; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 32px)); padding: 24px 22px 18px; border-radius: 28px 28px 28px 8px; color: var(--fg); background: color-mix(in srgb, var(--panel) 96%, transparent); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .55); font-size: 14.5px; line-height: 1.5; transform: translateY(28px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.ck.on { transform: none; opacity: 1; }
.ck__eyes { position: absolute; top: -34px; right: 34px; display: flex; gap: 9px; align-items: center; justify-content: center; width: 78px; height: 40px; padding-top: 6px; border-radius: 26px 26px 0 0; background: var(--panel); box-shadow: inset 0 1px 0 var(--line-2), 1px 0 0 var(--line-2), -1px 0 0 var(--line-2); }
.ck__eyes::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: -2px; height: 4px; background: var(--panel); }
.ck__eyes i { display: block; width: 13px; height: 22px; border-radius: 7px; background: var(--orange); box-shadow: 0 0 12px rgba(226, 38, 46, .5); transform-origin: 50% 60%; animation: tblink 4.6s infinite, tlook 8s ease-in-out infinite; transition: height .35s var(--ease), border-radius .35s var(--ease), transform .35s var(--ease), translate .35s var(--ease); }
.ck[data-mood=happy] .ck__eyes i { height: 11px; background: transparent; border: 4px solid var(--orange); border-bottom: 0; border-radius: 11px 11px 0 0; translate: 0 -2px; animation: none; box-shadow: none; }
.ck[data-mood=sad] .ck__eyes i { height: 13px; border-radius: 4px 4px 8px 8px; translate: 0 5px; animation: none; }
.ck[data-mood=sad] .ck__eyes i:first-child { transform: rotate(-16deg); }
.ck[data-mood=sad] .ck__eyes i:last-child { transform: rotate(16deg); }
.ck__head { margin-bottom: 8px; }
.ck__jp { display: block; font-family: var(--font-jp); font-size: 11px; letter-spacing: .14em; color: var(--orange-lite); margin-bottom: 4px; }
.ck h2 { margin: 0; font: 300 22px/1.15 var(--font-display); letter-spacing: -.02em; }
.ck p { margin: 0; color: var(--fg-soft); }
.ck a { color: var(--orange-lite); text-decoration: underline; text-underline-offset: 3px; }
.ck__gpc { margin-top: 8px !important; font-size: 13px; color: var(--orange-lite) !important; }
.ck__btns { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ck__btns button { flex: 1 1 auto; height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 14.5px; cursor: pointer; color: var(--fg); background: var(--glass); border: 1px solid var(--glass-border); transition: background .25s, border-color .25s, color .25s; }
.ck__btns button:hover { background: rgba(255, 255, 255, .12); }
.ck__btns .ck__ok, .ck__btns .ck__save { background: var(--orange); border-color: var(--orange); color: #FFF6F4; font-weight: 500; }
.ck__btns .ck__ok:hover, .ck__btns .ck__save:hover { background: var(--orange-lite); border-color: var(--orange-lite); }
.ck__opts { display: none; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ck.open .ck__opts { display: grid; }
.ck__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.ck__row b { display: block; font-weight: 500; }
.ck__row small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--fg-faint); }
.ck__sw { position: relative; width: 46px; height: 28px; }
.ck__sw input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ck__sw span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: background .3s; pointer-events: none; }
.ck__sw span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.ck__sw input:checked + span { background: var(--orange); }
.ck__sw input:checked + span::after { transform: translateX(18px); }
.ck__sw input:disabled + span { opacity: .5; }
.ck__sw input:focus-visible + span { outline: 2px solid var(--orange-lite); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ck, .ck__eyes i { transition: none; animation: none; } }

/* the newsletter band above every footer */
.newsband { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 440px); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); margin-bottom: 64px; border-radius: var(--radius-l); background: radial-gradient(120% 140% at 0% 0%, #2A1E19 0%, var(--panel) 55%, #151518 100%); box-shadow: inset 0 0 0 1px var(--line); }
.newsband .peek { height: 44px; padding: 0 4px; }
.newsband h2 { margin: 6px 0 4px; font: 300 clamp(26px, 3vw, 34px)/1.1 var(--font-display); letter-spacing: -.02em; }
.newsband p { margin: 0; color: var(--fg-soft); font-size: 15.5px; }
.newsband form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.newsband input[type=email] { width: 100%; min-width: 0; height: 52px; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .05); color: var(--fg); padding: 0 20px; font: inherit; font-size: 16px; }
.newsband input[type=email]:focus { outline: none; border-color: var(--orange); }
.newsband .btn { height: 52px; }
.newsband .note, .newsband .fine { grid-column: 1 / -1; }
.newsband .note:empty { display: none; }
.newsband form.sent input[type=email] { border-color: var(--orange); }
@media (max-width: 900px) { .newsband { grid-template-columns: auto minmax(0, 1fr); } .newsband form { grid-column: 1 / -1; } }
@media (max-width: 520px) { .newsband { grid-template-columns: minmax(0, 1fr); } .newsband form { grid-template-columns: minmax(0, 1fr); } }
.note.bad { color: var(--orange-lite); }
.note a { color: var(--orange-lite); }
.fine { margin: 0; font-size: 13px; color: var(--fg-faint); }
.fine a { color: var(--fg-soft); text-decoration: underline; text-underline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.doc a.btn--orange { color: #FFF6F4; text-decoration: none; white-space: nowrap; }
.newsband .eyebrow { flex-wrap: wrap; row-gap: 4px; }
.newsband .eyebrow .jp { white-space: nowrap; }
/* a form after it has been sent: greyed out and locked, with a receipt on top */
form.sent .field, form.sent .chips, form.sent input[type=email], form.sent .fine { opacity: .38; filter: grayscale(1); pointer-events: none; transition: opacity .5s, filter .5s; }
form.sent [type=submit] { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); color: var(--fg-soft); box-shadow: inset 0 0 0 1px var(--line-2); cursor: default; }
form.sent [type=submit] svg { width: 18px; height: 18px; color: var(--orange-lite); }
.receipt { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(226, 38, 46, .16), rgba(226, 38, 46, .05)); box-shadow: inset 0 0 0 1px rgba(226, 38, 46, .45); animation: receiptin .5s var(--ease) both; }
.receipt__tick { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #FFF6F4; }
.receipt__tick svg { width: 20px; height: 20px; }
.receipt b { display: block; font-weight: 500; font-size: 16px; color: var(--fg); }
.receipt div > span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--fg-soft); }
.receipt__again { margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; color: var(--orange-lite); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes receiptin { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .receipt { animation: none; } }
/* a creator's code saved from their link */
.reftoast { position: fixed; z-index: 310; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(var(--nav-h) + 14px); display: flex; gap: 14px; align-items: center; padding: 14px 16px 14px 18px; max-width: min(400px, calc(100vw - 32px)); border-radius: 22px 22px 8px 22px; background: color-mix(in srgb, var(--panel) 96%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(226, 38, 46, .5), 0 24px 60px rgba(0, 0, 0, .5); transform: translateY(-12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.reftoast.on { transform: none; opacity: 1; }
.reftoast .peek { height: 26px; } .reftoast .peek i { width: 11px; height: 21px; }
.reftoast b { display: block; font-family: var(--font-mono); font-weight: 400; letter-spacing: .08em; }
.reftoast span { display: block; font-size: 14px; color: var(--fg-soft); }
.reftoast a { color: var(--orange-lite); }
.reftoast button { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--glass); color: var(--fg-soft); font-size: 18px; cursor: pointer; }

/* NERVE MedKit: the red cross and wordmark in place of TALLY's eyes */
.logo .cross { width: 30px; height: 20px; flex: none; }
.logo .wm { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: .2em; line-height: 1; }
@media (max-width: 760px) { .logo .wm { font-size: 16px; } }
