/* Xennews — site styles */
:root {
  /* --red is decoration only (logo, mascot, icons, outlines). Text uses --red-deep, and white text
     sits on --red-btn: both keep 4.5:1 (WCAG AA). */
  --red: #ff3b2f;
  --red-deep: #c41f16;
  --red-btn: #c41f16;
  --red-btn-hover: #a51a12;
  --red-soft: #fff0ee;
  --ink: #141414;
  --ink-2: #2a2a2a;
  --paper: #faf8f5;
  --card: #ffffff;
  --muted: #6b6762;
  --line: #ebe6df;
  --field-line: #8c867f; /* edges of form controls: 3:1 against the page */
  --loops: 3; /* auto-started decoration stops after this many runs (WCAG 2.2.2) */
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 8px 24px -12px rgba(20, 20, 20, .12);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 50;
  padding: .7em 1.1em; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 700;
}
.skip:focus { top: 12px; }

a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.035em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.4em; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; letter-spacing: -.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn--sm { padding: .6em 1em; font-size: .875rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red-btn); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 59, 47, .7); }
.btn--red:hover { background: var(--red-btn-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ghost { color: var(--ink); border-color: var(--line); background: var(--card); }
.btn--ghost:hover, .btn--outline:hover { border-color: var(--ink); }
.btn--outline { color: var(--ink); border-color: var(--line); background: var(--card); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45); }

.check { width: 1em; height: 1em; flex: none; color: var(--red); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 245, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.dev-badge {
  padding: 3px 10px; border-radius: 8px; background: #ffd400; color: #111;
  font: 900 15px/1.2 var(--font); letter-spacing: .12em;
  border: 2px dashed #111; transform: rotate(-4deg);
}
.logo { height: 26px; width: auto; }
.logo__word { font: 800 21px var(--font); letter-spacing: -.05em; fill: currentColor; }
.nav__links { display: flex; gap: 28px; font-size: .925rem; font-weight: 600; }
.nav__links a { text-decoration: none; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow-x: clip;
  padding: 56px 0 72px;
  background-image: radial-gradient(rgba(20, 20, 20, .07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: -11px -11px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); font-size: .8rem; font-weight: 600; color: var(--muted);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #1fbf5b; box-shadow: 0 0 0 4px rgba(31, 191, 91, .15); }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  font-weight: 900; letter-spacing: -.055em; line-height: .95;
}
.hero__accent {
  display: block; color: var(--red);
  background: url("img/underline.svg?v=d00f413337") no-repeat left bottom / 92% .24em;
  padding-bottom: .16em;
}
.hero__lead { margin-top: 24px; max-width: 34em; font-size: 1.15rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }

.hero__stage { display: flex; flex-direction: column; align-items: center; }
.stage { position: relative; width: min(100%, 420px); aspect-ratio: 1; display: grid; place-items: center; }
.stage::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffd9d4, var(--red-soft) 55%, transparent 72%);
}
.stage__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(255, 59, 47, .35); animation: ripple 6s linear var(--loops) forwards; }
.stage__ring--2 { animation-delay: -2s; }
.stage__ring--3 { animation-delay: -4s; }
@keyframes ripple {
  from { transform: scale(.55); opacity: 0; }
  20% { opacity: 1; }
  to { transform: scale(1.05); opacity: 0; }
}

.xeno { display: block; overflow: visible; }
.xeno--hero { position: relative; width: 66%; filter: drop-shadow(0 18px 24px rgba(201, 35, 26, .25)); }
.xeno__shadow { fill: rgba(20, 20, 20, .1); }
.xeno__headline { font: 900 12px var(--font); letter-spacing: .02em; fill: #161616; }
.xeno__body { transform-origin: 120px 256px; animation: bob 4s ease-in-out var(--loops) forwards; }
.xeno__shadow { transform-origin: 120px 262px; animation: shadow 4s ease-in-out var(--loops) forwards; }
.xeno__antennae { transform-origin: 120px 74px; animation: wiggle 5s ease-in-out var(--loops) forwards; }
.xeno__eye { transform-origin: 120px 130px; animation: blink 6s var(--loops) forwards; }
.xeno__iris { animation: look 9s ease-in-out var(--loops) forwards; }
/* Poke Xeno (CSS-only, no JS by policy). Antennae: it gasps and the antennae jolt.
   Eye: it squeezes the eye shut, grimaces, sheds a tear and recoils in pain. Both last while pressed
   and win over any mood. */
.xeno { -webkit-user-select: none; user-select: none; }
.xeno__eye, .xeno__antennae { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.xeno__wince, .xeno__ouch, .xeno__hurt, .xeno__grimace, .xeno__mood { opacity: 0; pointer-events: none; }
.xeno:has(.xeno__antennae:active) .xeno__eye, .xeno:has(.xeno__eye:active) .xeno__eye { opacity: 0; animation: none; }
.xeno:has(.xeno__antennae:active) .xeno__smile, .xeno:has(.xeno__eye:active) .xeno__smile { opacity: 0; }
.xeno:has(.xeno__eye:active, .xeno__antennae:active) :is(.xeno__spiral, .xeno__lid, .xeno__happy, .xeno__grin, .xeno__frown, .xeno__sweat) { opacity: 0; }

.xeno:has(.xeno__antennae:active) .xeno__wince, .xeno:has(.xeno__antennae:active) .xeno__ouch { opacity: 1; }
.xeno:has(.xeno__antennae:active) .xeno__body { animation: flinch .3s ease-out forwards; }
.xeno:has(.xeno__antennae:active) .xeno__antennae { animation: jolt .25s ease-in-out infinite; }
@keyframes flinch { 40% { transform: translate(4px, 2px) scale(1.05, .93); } to { transform: translate(2px, 1px) scale(1.02, .97); } }
@keyframes jolt { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }

.xeno:has(.xeno__eye:active) .xeno__hurt, .xeno:has(.xeno__eye:active) .xeno__grimace { opacity: 1; }
.xeno:has(.xeno__eye:active) .xeno__body { animation: recoil .5s ease-out forwards; }
.xeno:has(.xeno__eye:active) .xeno__antennae { transform: rotate(-12deg); animation: none; }
.xeno:has(.xeno__eye:active) .xeno__tear { animation: tear .9s ease-in .15s infinite; }
@keyframes recoil {
  0% { transform: none; }
  15% { transform: translate(-12px, 3px) rotate(-9deg); }
  30% { transform: translate(-7px, 2px) rotate(-4deg); }
  45% { transform: translate(-10px, 2px) rotate(-7deg); }
  60% { transform: translate(-8px, 2px) rotate(-5deg); }
  to { transform: translate(-9px, 2px) rotate(-6deg); }
}
@keyframes tear { from { transform: translateY(0); opacity: 1; } to { transform: translateY(30px); opacity: 0; } }

/* Moods: a mood-* class on an ancestor (usually <main>) sets Xeno's face for the page. */
.mood-happy .xeno__eye { opacity: 0; animation: none; }
.mood-happy .xeno__smile { opacity: 0; }
.mood-happy .xeno__happy, .mood-happy .xeno__grin { opacity: 1; }
.mood-happy .xeno__body { animation: hop 1.4s ease-in-out var(--loops) forwards; }
.mood-happy .xeno__antennae { animation: jolt .7s ease-in-out var(--loops) forwards; }

.mood-sad .xeno__smile { opacity: 0; }
.mood-sad .xeno__frown { opacity: 1; }
.mood-sad .xeno__iris { animation: none; transform: translate(-6px, 14px); }
.mood-sad .xeno__brow { transform-box: fill-box; transform-origin: center; transform: translateY(-4px) rotate(-7deg); }
.mood-sad .xeno__antennae { animation: none; transform: rotate(-14deg) scaleY(.88); }
.mood-sad .xeno__body { animation: sigh 5s ease-in-out var(--loops) forwards; }

.mood-dizzy .xeno__eye { animation: none; }
.mood-dizzy .xeno__iris, .mood-dizzy .xeno__glint, .mood-dizzy .xeno__smile { opacity: 0; }
.mood-dizzy .xeno__spiral, .mood-dizzy .xeno__stars, .mood-dizzy .xeno__ouch { opacity: 1; }
.mood-dizzy .xeno__spiral { transform-origin: 121.5px 130px; animation: spin 1.6s linear var(--loops) forwards; }
.mood-dizzy .xeno__orbit { transform-box: fill-box; transform-origin: center; animation: spin 3s linear var(--loops) forwards; }
.mood-dizzy .xeno__body { animation: sway 2.4s ease-in-out var(--loops) forwards; }
.mood-dizzy .xeno__antennae { animation: wiggle 1.2s ease-in-out var(--loops) forwards; }

.mood-sleepy .xeno__lid, .mood-sleepy .xeno__zzz { opacity: 1; }
.mood-sleepy .xeno__eye { animation: none; }
.mood-sleepy .xeno__iris { animation: none; transform: translate(-6px, 8px); }
.mood-sleepy .xeno__antennae { animation: none; transform: rotate(-10deg); }
.mood-sleepy .xeno__body { animation: doze 5s ease-in-out var(--loops) forwards; }
.xeno__zzz text { font: 900 16px var(--font); fill: var(--ink); opacity: 0; animation: zzz 3s ease-in var(--loops) forwards; }
.xeno__zzz text:nth-child(2) { font-size: 20px; animation-delay: 1s; }
.xeno__zzz text:nth-child(3) { font-size: 26px; animation-delay: 2s; }

.mood-lost .xeno__huh { opacity: 1; }
.mood-lost .xeno__iris { animation: search 3.2s ease-in-out var(--loops) forwards; }
.mood-lost .xeno__antennae { animation: wiggle 2s ease-in-out var(--loops) forwards; }
.mood-lost .xeno__body { animation: sway 4s ease-in-out var(--loops) forwards; }
.xeno__huh { font: 900 44px var(--font); fill: var(--red); transform-box: fill-box; transform-origin: center; animation: huh 2s ease-in-out var(--loops) forwards; }
@keyframes search {
  0%, 100% { transform: translate(-14px, 2px); }
  20%, 40% { transform: translate(12px, -2px); }
  60%, 80% { transform: translate(-14px, 2px); }
}
@keyframes huh { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(8deg); } }

.mood-mail .xeno__paper { opacity: 0; }
.mood-mail .xeno__letter { opacity: 1; transform-box: fill-box; transform-origin: center; animation: flutter 2.6s ease-in-out var(--loops) forwards; }
.mood-mail .xeno__iris { animation: none; transform: translate(4px, -5px); }
.mood-mail .xeno__body { animation: hop 2.6s ease-in-out var(--loops) forwards; }

@keyframes hop {
  0%, 50%, 100% { transform: none; }
  12% { transform: translateY(2px) scale(1.04, .95); }
  28% { transform: translateY(-16px) scale(.97, 1.04); }
  42% { transform: translateY(1px) scale(1.03, .97); }
}
@keyframes sigh { 0%, 100% { transform: none; } 50% { transform: translateY(3px) scale(1.02, .98); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: translateY(-3px) rotate(4deg); } }
@keyframes doze { 0%, 100% { transform: none; } 50% { transform: translateY(3px) rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes zzz { 0% { opacity: 0; transform: translate(-6px, 8px); } 30% { opacity: 1; } to { opacity: 0; transform: translate(8px, -10px); } }
@keyframes flutter {
  0%, 55%, 100% { transform: rotate(-7deg); }
  65% { transform: rotate(-13deg); }
  75% { transform: rotate(-1deg); }
  85% { transform: rotate(-10deg); }
}

/* Xeno reacts to the page: it reads along while you fill in a form, worries about mistakes and cheers
   when you're about to submit. On the home page it looks at the hero buttons you hover. */
.wrap--form:has(.form :is(input, select, textarea):focus) .xeno__iris { animation: none; transform: translate(-6px, 14px); }
.wrap--form:has(.form [aria-invalid="true"], .form input:user-invalid) .xeno__smile { opacity: 0; }
.wrap--form:has(.form [aria-invalid="true"], .form input:user-invalid) .xeno__frown { opacity: 1; }
.wrap--form:has(.form [aria-invalid="true"], .form input:user-invalid) .xeno__sweat { opacity: 1; animation: sweat 1.8s ease-in var(--loops) forwards; }
.wrap--form:has(.form [aria-invalid="true"], .form input:user-invalid) .xeno__brow { transform-box: fill-box; transform-origin: center; transform: translateY(-4px) rotate(-7deg); }
:is(.cta:has(.btn:hover), .wrap--form:has(.form .btn--red:hover)) .xeno__eye { opacity: 0; animation: none; }
:is(.cta:has(.btn:hover), .wrap--form:has(.form .btn--red:hover)) :is(.xeno__smile, .xeno__frown, .xeno__sweat) { opacity: 0; }
:is(.cta:has(.btn:hover), .wrap--form:has(.form .btn--red:hover)) :is(.xeno__happy, .xeno__grin) { opacity: 1; }
:is(.cta:has(.btn:hover), .wrap--form:has(.form .btn--red:hover)) .xeno__body { animation: hop .9s ease-in-out infinite; }
.hero:has(.hero__actions .btn:hover) .xeno__iris { animation: none; transform: translate(-16px, 4px); }
.hero:has(.hero__actions .btn:hover) .xeno__body { animation: hop 1.1s ease-in-out infinite; }
@keyframes sweat { 0% { transform: translateY(-4px); opacity: 0; } 25% { opacity: 1; } to { transform: translateY(14px); opacity: 0; } }

/* Member area: Xeno covers its eye while you type a new password. */
.xeno--peek { float: right; width: 76px; margin: -10px -6px 4px 14px; }
.xeno__hand { transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.panel--secret:has(input:focus) .xeno__hand--l { transform: translate(34px, -90px) scale(2.5); }
.panel--secret:has(input:focus) .xeno__hand--r { transform: translate(-34px, -82px) scale(2.5); }

@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes shadow { 50% { transform: scaleX(.86); opacity: .7; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 45% { transform: rotate(-4deg); } 55% { transform: rotate(4deg); } }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.08); } }
@keyframes look { 0%, 30%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(-10px, 4px); } 70%, 90% { transform: translate(2px, -3px); } }

.chip {
  position: absolute; z-index: 2;
  padding: 8px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: .8rem; color: var(--muted);
  animation: chip-in .5s cubic-bezier(.34, 1.56, .64, 1) .6s backwards, float 6s ease-in-out var(--loops) forwards;
}
.chip b { color: var(--ink); font-size: .95rem; margin-right: 2px; }
.chip--a { top: 12%; left: -4%; }
.chip--b { top: 30%; right: -6%; animation-delay: .8s, -2s; }
.chip--b b { color: var(--red-deep); }
.chip--c { bottom: 14%; left: 0; animation-delay: 1s, -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes chip-in { from { opacity: 0; scale: .4; } }

.stage__caption { margin-top: 6px; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- ticker ---------- */
.ticker-clip { overflow-x: clip; }
.ticker {
  background: var(--ink); color: #fff; overflow: hidden;
  transform: rotate(-1.2deg); margin: 0 -20px; padding: 14px 0;
  box-shadow: 0 12px 30px -16px rgba(20, 20, 20, .5);
}
.ticker__track { display: flex; width: max-content; gap: 22px; animation: scroll 40s linear forwards; font: 700 .95rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.ticker__track i { color: var(--red); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 24px 0; }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 850; }
.section__head p { margin-top: 12px; color: var(--muted); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 20, 20, .04), 0 24px 40px -20px rgba(20, 20, 20, .25); }
.plan--popular {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 59, 47, .18), 0 30px 60px -24px rgba(255, 59, 47, .55);
  transform: translateY(-10px);
}
.plan--popular:hover { transform: translateY(-14px); }
/* The whole card is the button's link: its ::after covers the card (no JS under our CSP). */
.plan { cursor: pointer; }
.plan .btn { position: static; }
.plan .btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.plan .btn:hover { transform: none; }
.plan:hover .btn--outline { border-color: var(--ink); }
.plan:hover .btn--red { background: var(--red-btn-hover); }
.plan:has(.btn:focus-visible) { outline: 3px solid var(--red); outline-offset: 4px; }
.plan .btn:focus-visible { outline: none; }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 999px; background: var(--red-btn); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.plan__name { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.plan__name span { font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.plan--popular .plan__name span { color: #a8a39d; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; }
.plan__amount { font-size: 3.4rem; font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.plan__unit { font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan--popular .plan__unit { color: #a8a39d; }
.plan__billing { margin-top: 10px; font-size: .85rem; color: var(--muted); min-height: 1.4em; }
.plan--popular .plan__billing { color: #c9c4be; }
.plan__billing strong { color: var(--red-deep); }
.plan--popular .plan__billing strong { color: #ff6b61; }
.plan__features { flex: 1; margin: 22px 0 28px; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 12px; align-content: start; font-size: .93rem; }
.plan--popular .plan__features { border-color: #333; }
.plan__features li { display: flex; align-items: center; gap: 10px; }
.plans__note { margin-top: 28px; text-align: center; font-size: .9rem; color: var(--muted); }
.plans__note strong { color: var(--ink); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stats div { padding: 28px 16px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 2.1rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.stats div:last-child dt { color: var(--red); }
.stats dd { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: rgba(255, 59, 47, .45); transform: translateY(-2px); }
.feature__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-soft); color: var(--red); margin-bottom: 20px;
}
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.feature p { margin-top: 8px; font-size: .92rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 64px 64px 0; border-radius: 28px; background: var(--red-btn); color: #fff;
  background-image: url("img/x-pattern.svg?v=dc0831fcd3");
}
.cta__copy { padding-bottom: 64px; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.05em; }
.cta p { margin: 16px 0 28px; max-width: 30em; color: #fff; }
.cta__mascot { position: relative; align-self: end; width: 260px; }
.cta__mascot::before {
  content: ""; position: absolute; left: 50%; bottom: -30%; width: 120%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, #fff 0 58%, rgba(255, 255, 255, .25) 58.5% 70%, transparent 70.5%);
}
.xeno--cta { position: relative; width: 100%; transform: translateY(10%) rotate(6deg); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red-soft); color: var(--red); font-size: 1.3rem; font-weight: 600; line-height: 1;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq details p { padding: 0 46px 24px 0; color: var(--muted); }

.xeno--small { width: 110px; }

/* ---------- footer ---------- */
.footer { padding: 40px 0 56px; font-size: .875rem; color: var(--muted); }
.footer .wrap { border-top: 1px solid var(--line); padding-top: 24px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer__row strong { color: var(--ink); font-weight: 600; }
.footer__links a:hover { color: var(--ink); }
.footer__address { margin-top: 20px; font-style: normal; line-height: 1.8; }

/* ---------- forms & member area ---------- */
.wrap--form { max-width: 560px; }
.wrap--member { max-width: 820px; }
.center { text-align: center; display: grid; justify-items: center; gap: 18px; }
.center h1, .form-head h1, .member-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 32em; }
.muted { color: var(--muted); font-size: .92rem; }
.form-head { text-align: center; display: grid; justify-items: center; gap: 12px; margin-bottom: 28px; }
.form-head p { color: var(--muted); max-width: 30em; }
.form { display: grid; gap: 20px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form--inline { padding: 0; border: 0; box-shadow: none; background: none; }
.form__alt { text-align: center; font-size: .9rem; color: var(--muted); }
.form__row { display: flex; flex-wrap: wrap; gap: 10px; }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 700; font-size: .9rem; }
.field__prefixed { display: flex; align-items: center; gap: .4rem; }
.field__prefixed span { font-family: monospace; font-weight: 700; }
.field__prefixed input { flex: 1; min-width: 0; }
.field__hint { font-size: .875rem; color: var(--muted); }
.field__error { font-size: .85rem; color: var(--red-deep); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em 1em; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--field-line); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 9em; resize: vertical; line-height: 1.5; }
/* Transparent outline: invisible normally, a real focus ring in Windows high contrast (which drops box-shadow). */
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid transparent; border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 47, .15);
}
.field [aria-invalid="true"] { border-color: var(--red-deep); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.consent a { color: var(--ink); }
button.btn { cursor: pointer; font-family: inherit; }
.nav__form { margin: 0; }

.picker { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.picker legend { margin-bottom: 8px; padding: 0; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick__card {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline;
  padding: 14px 16px 14px 46px; border: 1.5px solid var(--field-line); border-radius: 14px; background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.pick__card::before {
  content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--field-line); background: var(--card); transition: border .15s ease;
}
.pick input:checked + .pick__card { border-color: var(--red); background: var(--card); box-shadow: 0 0 0 4px rgba(255, 59, 47, .12); }
.pick input:checked + .pick__card::before { border: 6px solid var(--red); }
.pick input:focus-visible + .pick__card { outline: 3px solid var(--red); outline-offset: 2px; }
.pick--used { cursor: not-allowed; }
/* Dim the plan itself but keep the reason it's unavailable readable. */
.pick--used :is(.pick__name, .pick__price) { opacity: .55; }
.pick--used input { cursor: not-allowed; }
.pick__name { font-weight: 800; }
.pick__tag { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--red-btn); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.pick__price b { font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em; }
.pick__price { color: var(--muted); font-size: .85rem; text-align: right; }
.pick__billing { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); }
.pick__billing strong { color: var(--red-deep); }

.notice { padding: 14px 18px; margin-bottom: 20px; border-radius: 12px; background: var(--red-soft); border: 1px solid rgba(255, 59, 47, .3); font-weight: 600; font-size: .92rem; }

.section--member { padding-top: 56px; }
.member-head { margin-bottom: 28px; }
.member-head p { color: var(--muted); margin-top: 6px; }
.panel { padding: 28px; margin-bottom: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h2 { font-size: 1.35rem; font-weight: 850; margin-bottom: 16px; }
.panel__kicker { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 6px; }
.panel--status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.panel--status h2 { margin-bottom: 6px; }
.kv { margin: 0; display: grid; }
.kv div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.kv dt { font-weight: 700; font-size: .9rem; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
code { font: 600 .92rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--paper); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }
.reveal summary { cursor: pointer; color: var(--red-deep); font-weight: 700; font-size: .9rem; }
.reveal[open] summary { margin-bottom: 8px; }

/* ---------- legal documents ---------- */
.wrap--doc { max-width: 760px; }
.doc-head { margin-bottom: 32px; }
.doc-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; margin: 4px 0 8px; }
.doc { color: var(--ink-2); line-height: 1.7; }
.doc h2 { font-size: 1.25rem; font-weight: 850; letter-spacing: -.02em; margin: 36px 0 10px; color: var(--ink); }
.doc h3 { font-size: 1.02rem; font-weight: 800; margin: 22px 0 6px; color: var(--ink); letter-spacing: -.01em; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--red-deep); }
.doc-addr { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; line-height: 1.7; }

/* ---------- motion ---------- */
/* Page changes cross-fade; the logo stays put and Xeno glides between pages (Chrome, Edge, Safari 18.2+). */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
.xeno--hero, .xeno--small { view-transition-name: xeno; }
::view-transition-old(root) { animation: vt-out .18s ease-in both; }
::view-transition-new(root) { animation: vt-in .32s cubic-bezier(.2, .8, .2, 1) both; }
::view-transition-group(xeno) { animation-duration: .5s; animation-timing-function: cubic-bezier(.34, 1.3, .64, 1); }
@keyframes vt-out { to { opacity: 0; translate: 0 -8px; } }
@keyframes vt-in { from { opacity: 0; translate: 0 12px; } }

/* Hero entrance */
.hero__copy > *, .xeno--hero { animation: enter .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
.xeno--hero { animation-delay: .15s; }
.hero__accent { animation: underline .8s cubic-bezier(.6, 0, .2, 1) .45s backwards; }
@keyframes enter { from { opacity: 0; translate: 0 18px; } }
@keyframes underline { from { background-size: 0 .24em; } }

/* Section headings get a hand-drawn underline */
.section__head h2::after {
  content: ""; display: block; width: 140px; height: 12px; margin: 14px auto 0;
  background: url("img/underline.svg?v=d00f413337") no-repeat center / 100% 100%;
}

/* Scroll-driven reveals; browsers without scroll timelines simply show everything. */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section__head, .plan, .stats, .feature, .faq, .plans__note {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 5% cover 28%;
    }
    .plan:nth-child(2), .feature:nth-child(3n+2) { animation-range: entry 15% cover 33%; }
    .plan:nth-child(3), .feature:nth-child(3n) { animation-range: entry 25% cover 38%; }
    .section__head h2::after { animation: draw linear both; animation-timeline: view(); animation-range: entry 60% cover 40%; }
    .xeno--cta { animation: peek linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    .count { position: relative; color: transparent; counter-reset: n var(--n); animation: count linear both; animation-timeline: view(); animation-range: entry 40% cover 50%; }
    .count::before { content: counter(n) / ""; position: absolute; right: 0; color: var(--ink); }
    .stats div:nth-child(1) .count { --to: 4500; }
    .stats div:nth-child(2) .count, .stats div:nth-child(3) .count { --to: 100; }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 48px; } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes peek { from { translate: 0 75%; } }
@keyframes count { from { --n: 0; } to { --n: var(--to); } }

/* Buttons press in and the red ones shine on hover */
.btn { position: relative; overflow: hidden; }
.btn:active { transform: translateY(1px) scale(.97); transition-duration: .05s; }
.btn--red::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 200% 0; transition: background-position .7s ease;
}
.btn--red:hover::before { background-position: -100% 0; }

/* Pricing cards tilt, the popular one breathes and its badge wiggles */
.plan { transition: transform .2s ease, box-shadow .2s ease, rotate .2s ease, scale .1s ease; }
.plan:hover { rotate: -.6deg; }
.plan:nth-child(3):hover { rotate: .6deg; }
.plan--popular:hover { rotate: none; }
.plan:active { scale: .98; }
/* A transform would make the button the containing block of its card-wide ::after and swallow the click. */
.plan .btn:active { transform: none; }
.plan .btn::before { border-radius: var(--radius); }
.plan--popular::before {
  content: ""; position: absolute; inset: -4px; border-radius: calc(var(--radius) + 4px); pointer-events: none;
  border: 2px solid var(--red); animation: halo 2.6s ease-out var(--loops) forwards;
}
.plan:hover .plan__badge { animation: badge .5s ease-in-out; }
@keyframes halo { from { opacity: .7; scale: 1; } to { opacity: 0; scale: 1.04 1.05; } }
@keyframes badge { 25% { rotate: -7deg; } 75% { rotate: 7deg; } }

/* Ticker pauses on hover; a newsgroup lights up under the pointer */
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { transition: color .2s ease; }
.ticker span:hover { color: var(--red); }
.ticker i { display: inline-block; transition: rotate .4s ease; }
.ticker:hover i { rotate: 90deg; }

/* Feature icons pop, nav links get a sliding underline */
.feature__icon { transition: scale .3s cubic-bezier(.34, 1.56, .64, 1), rotate .3s ease, background .2s ease, color .2s ease; }
.feature:hover .feature__icon { scale: 1.12; rotate: -8deg; background: var(--red); color: #fff; }
.nav__links a {
  padding-bottom: 2px; background: linear-gradient(var(--red), var(--red)) no-repeat left bottom / 0 2px;
  transition: background-size .25s ease, color .15s ease;
}
.nav__links a:hover { background-size: 100% 2px; }

/* FAQ answers slide open (Chrome 131+; elsewhere they open instantly) */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Plan picker: the radio dot pops */
.pick input:checked + .pick__card::before { animation: pop .3s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pop { from { scale: .5; } }

/* Celebration after paying */
.member-head--party { display: flex; align-items: center; gap: 18px; }
.member-head--party .xeno--small { width: 96px; flex: none; }
.confetti { position: fixed; inset: 0; z-index: 30; overflow: hidden; pointer-events: none; }
.confetti i {
  position: absolute; top: -24px; width: 10px; height: 16px; border-radius: 2px; background: var(--red);
  animation: fall 2.8s cubic-bezier(.25, .6, .55, 1) both;
}
.confetti i:nth-child(3n) { width: 9px; height: 9px; border-radius: 50%; background: #ffd400; }
.confetti i:nth-child(3n+1) { background: var(--ink); }
.confetti i:nth-child(4n) { width: auto; height: auto; background: none; color: var(--red); font: 900 22px/1 var(--font); }
.confetti i:nth-child(4n)::before { content: "✕"; }
.confetti i:nth-child(1) { left: 1.6%; --dx: -70px; --r: -374deg; animation-delay: 0.49s; animation-duration: 2.3s; }
.confetti i:nth-child(2) { left: 6.5%; --dx: -24px; --r: -744deg; animation-delay: 0.25s; animation-duration: 2.5s; }
.confetti i:nth-child(3) { left: 10.6%; --dx: -92px; --r: -528deg; animation-delay: 0.38s; animation-duration: 2.9s; }
.confetti i:nth-child(4) { left: 13.3%; --dx: 26px; --r: -347deg; animation-delay: 0.33s; animation-duration: 2.4s; }
.confetti i:nth-child(5) { left: 18.5%; --dx: -93px; --r: 873deg; animation-delay: 0.49s; animation-duration: 2.4s; }
.confetti i:nth-child(6) { left: 23.2%; --dx: -67px; --r: -860deg; animation-delay: 0.43s; animation-duration: 2.9s; }
.confetti i:nth-child(7) { left: 27.4%; --dx: 107px; --r: 621deg; animation-delay: 0.28s; animation-duration: 3.3s; }
.confetti i:nth-child(8) { left: 30.8%; --dx: -43px; --r: -383deg; animation-delay: 0.34s; animation-duration: 2.8s; }
.confetti i:nth-child(9) { left: 36.5%; --dx: 56px; --r: -420deg; animation-delay: 0.31s; animation-duration: 2.4s; }
.confetti i:nth-child(10) { left: 39.1%; --dx: 73px; --r: -379deg; animation-delay: 0.46s; animation-duration: 2.9s; }
.confetti i:nth-child(11) { left: 44.9%; --dx: 63px; --r: 808deg; animation-delay: 0.35s; animation-duration: 2.7s; }
.confetti i:nth-child(12) { left: 48.9%; --dx: 80px; --r: -362deg; animation-delay: 0.44s; animation-duration: 2.6s; }
.confetti i:nth-child(13) { left: 52.3%; --dx: 56px; --r: 655deg; animation-delay: 0.01s; animation-duration: 2.8s; }
.confetti i:nth-child(14) { left: 55.3%; --dx: -83px; --r: -523deg; animation-delay: 0.46s; animation-duration: 2.4s; }
.confetti i:nth-child(15) { left: 59.7%; --dx: 83px; --r: -470deg; animation-delay: 0.27s; animation-duration: 2.9s; }
.confetti i:nth-child(16) { left: 65.7%; --dx: 90px; --r: 725deg; animation-delay: 0.59s; animation-duration: 3.0s; }
.confetti i:nth-child(17) { left: 68.4%; --dx: -39px; --r: -480deg; animation-delay: 0.09s; animation-duration: 3.0s; }
.confetti i:nth-child(18) { left: 71.5%; --dx: -53px; --r: 304deg; animation-delay: 0.09s; animation-duration: 2.8s; }
.confetti i:nth-child(19) { left: 77.4%; --dx: 36px; --r: -767deg; animation-delay: 0.54s; animation-duration: 3.1s; }
.confetti i:nth-child(20) { left: 82.4%; --dx: 70px; --r: 703deg; animation-delay: 0.06s; animation-duration: 3.0s; }
.confetti i:nth-child(21) { left: 84.1%; --dx: -46px; --r: 466deg; animation-delay: 0.07s; animation-duration: 2.9s; }
.confetti i:nth-child(22) { left: 88.4%; --dx: -88px; --r: -672deg; animation-delay: 0.37s; animation-duration: 2.3s; }
.confetti i:nth-child(23) { left: 92.9%; --dx: 39px; --r: 655deg; animation-delay: 0.36s; animation-duration: 2.8s; }
.confetti i:nth-child(24) { left: 96.8%; --dx: 79px; --r: 795deg; animation-delay: 0.19s; animation-duration: 2.4s; }
@keyframes fall { from { transform: none; } to { transform: translate(var(--dx), 110vh) rotate(var(--r)); } }

/* ---------- dark mode ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f1ec; --ink-2: #dcd8d2; --paper: #111010; --card: #1b1a19;
    --muted: #a19c95; --line: #2c2a28; --field-line: #6b6762; --red-soft: #2a1513; --red-deep: #ff6b61;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
  .nav { background: rgba(17, 16, 16, .78); }
  .btn--ink { color: #141414; }
  .hero { background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); }
  .hero__accent, .section__head h2::after { background-image: url("img/underline-dark.svg?v=cbb2cc1177"); }
  .stage::before { background: radial-gradient(circle at 40% 35%, #4a1d19, #2a1513 55%, transparent 72%); }
  .ticker { background: #000; }
  .plan--popular { background: #000; border-color: #333; }
  .btn--white { color: #141414; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__stage { order: -1; }
  .stage { width: min(80%, 340px); }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 28px; }
  .plan--popular, .plan--popular:hover { transform: none; }
  .hero:has(.hero__actions .btn:hover) .xeno__iris { transform: translate(-4px, 14px); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta { grid-template-columns: 1fr; text-align: center; padding: 48px 24px 0; }
  .cta__copy { padding-bottom: 0; }
  .cta p { margin-left: auto; margin-right: auto; }
  .cta__mascot { justify-self: center; width: 200px; }
}
@media (max-width: 600px) {
  /* Narrow also means zoomed in on desktop: keep every link, on its own row, and don't pin the header. */
  html { scroll-padding-top: 0; }
  .nav { position: static; }
  .nav__inner { padding-top: 12px; padding-bottom: 12px; row-gap: 8px; }
  .nav__links { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 8px 20px; }
  .section { padding: 72px 0; }
  .features { grid-template-columns: 1fr; }
  .form, .panel { padding: 20px; }
  .kv div { grid-template-columns: 1fr; gap: 4px; }
  .chip { font-size: .72rem; padding: 6px 10px; }
  .chip--a { left: -8%; }
  .chip--b { right: -10%; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Open debt / review hold on the member page */
.panel--alert { border-color: rgba(255, 59, 47, .45); background: var(--red-soft); }
.panel--alert .muted { color: var(--ink); }

/* Helpdesk */
.tickets { list-style: none; display: grid; gap: 10px; }
.tickets a {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 18px;
  color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
}
.tickets a:hover { border-color: var(--ink); }
.ticket-status { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ticket-status--answered { color: var(--red-deep); }
.thread { display: grid; gap: 14px; margin-bottom: 18px; }
.msg { padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.msg--staff { background: var(--red-soft); border-color: rgba(255, 59, 47, .3); }
.msg__meta { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.msg__body { white-space: pre-wrap; overflow-wrap: anywhere; }
.panel--danger { border-color: rgba(255, 59, 47, .45); }
