/* Aurora: public home, splash, account (sign-in way in, welcome, offer), donate, install button
   Owned by the "home" screen group, and only by it. Loaded after /style.css and
   /aurora/base.css, so a rule here overrides both. Never edit style.css or
   base.css from here: use the tokens (--au-*, --ink, --muted...) and the base
   pieces (.card, .btn.brand, .au-hero, .au-tile, .au-chip, .au-stat, .au-ring,
   .au-progress, .seg/.tabs, .au-row, .au-dock...) described in base.css.
   Scope every rule to this group's own classes. */

/* The home follows the phone app's Welcome (screens/Welcome.tsx): the polar
   night with an aurora ribbon, Linguino waving on a glowing ice floe, the name
   in Outfit with a mint-to-lavender wash, and the way in below. A phone gets
   that one column; from 1024 the words go left and the penguin with the way
   in right, inside a centred 1180 column. Pure CSS: the page's JavaScript
   budget is spent. */

:root {
  /* The ribbon: a blurred teal-to-violet stroke across the top of the sky,
     the phone's two paths (390 wide), stretched to whatever width. */
  --hm-ribbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%233ee6c8' stop-opacity='0'/%3E%3Cstop offset='.3' stop-color='%233ee6c8'/%3E%3Cstop offset='.7' stop-color='%239a83ff'/%3E%3Cstop offset='1' stop-color='%239a83ff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='b' x='-20%25' y='-60%25' width='140%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='13'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23b)' fill='none' stroke='url(%23g)' stroke-linecap='round'%3E%3Cpath d='M-20 140C80 60 160 200 250 110S380 60 420 120' stroke-width='64' stroke-opacity='.42'/%3E%3Cpath d='M-20 90C90 30 190 150 270 70S380 30 420 60' stroke-width='20' stroke-opacity='.3'/%3E%3C/g%3E%3C/svg%3E");
  /* Two faint constellations, as the phone's sky has. */
  --hm-const-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='86' fill='%23eaf4ff'%3E%3Cpath d='M2 2L38 24L30 64L64 82' stroke='%23eaf4ff' stroke-opacity='.35' stroke-width='.8' fill='none'/%3E%3Ccircle cx='2' cy='2' r='1.8'/%3E%3Ccircle cx='38' cy='24' r='1.4'/%3E%3Ccircle cx='30' cy='64' r='1.8'/%3E%3Ccircle cx='64' cy='82' r='1.4'/%3E%3C/svg%3E");
  --hm-const-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='62' height='70' fill='%23eaf4ff'%3E%3Cpath d='M2 22L34 2L58 34L38 66' stroke='%23eaf4ff' stroke-opacity='.35' stroke-width='.8' fill='none'/%3E%3Ccircle cx='2' cy='22' r='1.8'/%3E%3Ccircle cx='34' cy='2' r='1.4'/%3E%3Ccircle cx='58' cy='34' r='1.8'/%3E%3Ccircle cx='38' cy='66' r='1.4'/%3E%3C/svg%3E");
  --hm-ribbon-o: 1;
  --hm-nav-h: 60px;
}
:root[data-theme="light"] {
  /* Polar day: the same ribbon, paler; no constellations in daylight. */
  --hm-ribbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%237ff0dc' stop-opacity='0'/%3E%3Cstop offset='.3' stop-color='%237ff0dc'/%3E%3Cstop offset='.7' stop-color='%23c7b8ff'/%3E%3Cstop offset='1' stop-color='%23c7b8ff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='b' x='-20%25' y='-60%25' width='140%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='13'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23b)' fill='none' stroke='url(%23g)' stroke-linecap='round'%3E%3Cpath d='M-20 140C80 60 160 200 250 110S380 60 420 120' stroke-width='64' stroke-opacity='.5'/%3E%3Cpath d='M-20 90C90 30 190 150 270 70S380 30 420 60' stroke-width='20' stroke-opacity='.4'/%3E%3C/g%3E%3C/svg%3E");
  --hm-const-a: none;
  --hm-const-b: none;
}

/* =================== the site bar =================== */

/* .au-topbar (base.css) is the frosted bar. At the very top of the page it
   melts into the sky, so the ribbon runs under it as on the phone, and turns
   solid as soon as anything scrolls under its labels. */
.site-nav.au-topbar {
  z-index: 40; min-height: var(--hm-nav-h); gap: 10px;
  padding-top: 10px; padding-bottom: 10px;
  border-bottom: 0;
}
@supports (animation-timeline: scroll()) {
  .site-nav.au-topbar { animation: hm-nav-solid linear both; animation-timeline: scroll(root block); animation-range: 0 80px; }
}
@keyframes hm-nav-solid { from { background-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; } }

.site-nav .brand { gap: 10px; color: var(--ink); align-self: center; line-height: 0; }
.site-nav .brand-mark { width: 36px; height: 36px; box-shadow: 0 0 0 2px rgb(var(--fg) / 0.1), 0 6px 18px -6px rgb(62 230 200 / 0.55); }
.site-nav .brand-name { font: 700 22px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.site-links { gap: 4px; margin-left: 14px; }
.site-links a { padding: 8px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: 14px; transition: background var(--dur-2), color var(--dur-2); }
@media (hover: hover) and (pointer: fine) { .site-links a:hover { background: var(--au-glass-flat); color: var(--ink); } }
@media (max-width: 1023px) { .site-links { display: none; } }

/* The interface language: the whole row from 1180, a flag chip below that. */
.site-nav .ui-seg { padding: 3px; }
.site-nav .ui-seg button { padding: 6px 9px 8px; font-size: 12px; letter-spacing: 0.04em; }
.ui-chip, .ui-pop { display: none; }
@media (max-width: 1179px) {
  .site-nav .ui-seg { display: none; }
  .ui-chip { display: inline-flex; }
}
.ui-chip {
  min-height: 38px; padding: 0 10px 0 12px; gap: 7px; cursor: pointer;
  font: 700 13px/1 var(--display); letter-spacing: 0.02em;
}
.ui-chip .flag { width: 20px; height: 14px; }
.ui-chip .i { width: 15px; height: 15px; color: var(--muted); }
.ui-pop:popover-open {
  display: grid; gap: 2px;
  position: fixed; inset: calc(var(--hm-nav-h) + 6px) 12px auto auto; margin: 0;
  width: min(260px, calc(100vw - 24px)); padding: 8px;
  border: 0; border-radius: var(--au-r-card); color: var(--ink);
  background: var(--au-sheet);
  box-shadow: inset 0 1px 0 var(--au-highlight), inset 0 0 0 1px var(--au-edge), 0 24px 60px -18px rgba(0, 0, 0, 0.55);
  animation: hm-pop-in var(--dur-3) var(--ease-out);
}
.ui-pop::backdrop { background: rgb(4 10 25 / 0.3); }
.ui-pop-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: var(--au-r-small);
  background: transparent; color: var(--ink-2); font: 600 15px/1.2 var(--font); text-align: left; cursor: pointer;
}
.ui-pop-row > span:nth-child(2) { flex: 1; }
.ui-pop-row > span:first-child, .ui-pop-row > span:nth-child(3) { display: inline-flex; }
.ui-pop-row .flag { width: 24px; height: 16px; }
.ui-pop-row .i { width: 18px; height: 18px; color: var(--au-teal); }
.ui-pop-row.on { color: var(--ink); font-weight: 700; background: var(--au-glass-hi); border-color: color-mix(in srgb, var(--au-teal) 55%, transparent); }
@media (hover: hover) and (pointer: fine) { .ui-pop-row:not(.on):hover { background: var(--au-glass-flat); color: var(--ink); } }
@keyframes hm-pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }

/* The bar's one action is a glass pill, not a second loud button: the
   hero's orange one is the page's only primary, and both share the first
   screen on a desktop. */
.site-nav .nav-cta.btn {
  min-height: 38px; padding: 0 16px 0 13px; gap: 7px; border-radius: 999px; color: var(--ink);
  background: linear-gradient(var(--au-glass-flat) 0 0), linear-gradient(var(--au-glass-base) 0 0);
  box-shadow: inset 0 1px 0 var(--au-highlight), inset 0 0 0 1px var(--line-hi);
}
.site-nav .nav-cta.btn .i { width: 16px; height: 16px; color: var(--au-teal); }
:root[data-theme="light"] .site-nav .nav-cta.btn { background: var(--au-glass-hi); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--line-hi), 0 4px 10px -6px rgb(30 70 130 / 0.35); }
:root[data-theme="light"] .site-nav .nav-cta.btn .i { color: #087a6a; }
.site-nav .theme-toggle { flex: none; }
/* One height for everything in the bar on a phone: the logo (with its
   ring), the language chip and the day/night switch are all 38. */
@media (max-width: 520px) {
  .site-nav.au-topbar { gap: 8px; }
  .site-nav .theme-toggle { width: 38px; height: 38px; }
  .site-nav .ui-chip { height: 38px; min-height: 0; }
  .site-nav .brand-mark { width: 34px; height: 34px; }
}

/* =================== the Welcome hero =================== */

.hero.au-welcome-hero {
  /* style.css paints this in the logo's blue with white ink; the Aurora home
     sits on the sky itself, in the page's own ink. */
  --ink: inherit; --ink-2: inherit; --muted: inherit; --fg: inherit;
  background: none; color: var(--ink);
  display: block; min-height: 0; overflow: hidden; isolation: isolate;
  /* Up under the bar, so the ribbon starts at the top of the screen. */
  margin-top: calc(-1 * var(--hm-nav-h)); padding-top: var(--hm-nav-h);
}
.au-welcome-hero::after { content: none; }
.au-welcome-hero::before {
  content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: min(560px, 92vw + 120px); pointer-events: none;
  background-image: var(--hm-const-a), var(--hm-const-b), var(--hm-ribbon);
  background-repeat: no-repeat;
  background-size: 68px 86px, 62px 70px, 100% 100%;
  background-position: left max(4%, calc(50% - 560px)) top calc(var(--hm-nav-h) + 36px), right max(6%, calc(50% - 560px)) top calc(var(--hm-nav-h) + 110px), 0 0;
  opacity: 0.95;
}
.au-welcome-hero .hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 6px var(--au-gutter) 36px;
  display: grid; gap: 16px; align-items: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "art" "copy" "play";
  justify-items: center; text-align: center;
}
.au-welcome-hero .hero-art { grid-area: art; position: relative; display: grid; justify-items: center; gap: 2px; }
.au-welcome-hero .hero-copy { grid-area: copy; max-width: 560px; display: grid; gap: 10px; justify-items: center; }
.au-welcome-hero .hero-play { grid-area: play; width: 100%; max-width: 520px; display: grid; gap: 12px; text-align: left; }

/* Linguino on the floe: halo rings in the sky (hairlines, not borders on a
   surface), a teal glow, the ice, and him. --k scales the whole stage. */
.hero-stage {
  --k: 1; --pg-w: calc(var(--k) * 116px);
  position: relative; width: calc(var(--k) * 250px); height: calc(var(--k) * 222px);
}
.hero-stage::before, .hero-stage::after {
  content: ''; position: absolute; left: 50%; top: 46%; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%);
}
.hero-stage::before {
  width: calc(var(--k) * 250px); height: calc(var(--k) * 250px);
  border: 1px solid var(--line-hi);
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--au-teal) 30%, transparent), color-mix(in srgb, var(--au-teal) 10%, transparent) 55%, transparent 80%),
    radial-gradient(60% 50% at 50% 60%, color-mix(in srgb, var(--au-violet) 18%, transparent), transparent 75%);
}
.hero-stage::after {
  width: calc(var(--k) * 196px); height: calc(var(--k) * 196px);
  border: 1px solid rgb(var(--fg) / 0.06);
}
.hero-floe {
  position: absolute; z-index: 1; left: 50%; bottom: calc(var(--k) * 6px);
  width: calc(var(--k) * 206px); height: calc(var(--k) * 42px); transform: translateX(-50%);
  border-radius: 50%; background: var(--au-ice);
  box-shadow:
    0 0 calc(var(--k) * 38px) calc(var(--k) * 8px) color-mix(in srgb, var(--au-teal) 30%, transparent),
    inset 0 calc(var(--k) * -5px) calc(var(--k) * 10px) rgb(40 90 150 / 0.35);
}
.hero-floe::after {
  content: ''; position: absolute; left: 14%; right: 14%; top: 17%; height: 26%;
  border-radius: 50%; background: rgb(244 251 255 / 0.6);
}
.hero-stage .hero-penguin { position: absolute; z-index: 2; left: 50%; bottom: calc(var(--k) * 21px); transform: translateX(-50%); }
.hero-stage .hero-penguin .pg-shadow { background: rgb(20 60 110 / 0.28); }

.au-welcome-hero .hero-credit {
  position: static; transform: none; white-space: nowrap; margin-top: 2px;
  padding: 0; border-radius: 0; background: none; box-shadow: none; opacity: 0.8;
  color: var(--muted); font: 600 10px/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase;
}
.au-welcome-hero .hero-credit b { margin-left: 3px; font: 700 12px/1 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink-2); }

.au-welcome-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px;
  border: 1px solid var(--au-edge); border-radius: 999px;
  background: linear-gradient(var(--au-glass-flat) 0 0), linear-gradient(var(--au-glass-base) 0 0);
  box-shadow: inset 0 1px 0 var(--au-highlight);
  color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.au-welcome-hero .eyebrow .flags { display: inline-flex; gap: 3px; }
.au-welcome-hero .eyebrow .flag { width: 15px; height: 10px; border-radius: 2px; }
.hero-word { margin: 2px 0 0; }
.au-welcome-hero .hero-title {
  margin: 0; color: var(--ink); text-shadow: none;
  font: 700 clamp(22px, 6vw, 26px)/1.2 var(--display); letter-spacing: -0.02em;
  text-wrap: balance;
}
/* The words that matter, in the aurora's colours rather than a marker stroke. */
.au-welcome-hero .hero-title .hl {
  padding: 0;
  background: linear-gradient(100deg, #b6fff0 10%, #c9bcff 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* In the day both washes run from a deeper teal (the light one is 2.5:1 on
   the pale sky) to the same violet, so the name and the line match. */
:root[data-theme="light"] .au-welcome-hero .hero-word .au-grad-text { background-image: linear-gradient(100deg, #0d2140 10%, #087a6a 55%, #6b56f0 95%); }
:root[data-theme="light"] .au-welcome-hero .hero-title .hl { background-image: linear-gradient(100deg, #087a6a 10%, #6b56f0 90%); }
.au-welcome-hero .hero-sub { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.au-welcome-hero .hero-links { justify-content: center; gap: 8px; margin-top: 4px; }
.au-welcome-hero .hero-links .btn.ghost { color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-hi); }
@media (hover: hover) and (pointer: fine) { .au-welcome-hero .hero-links .btn.ghost:hover { background: var(--au-glass-flat); color: var(--ink); } }

/* Three glass tiles under the words: what the AI does for you. Not on a
   phone, where the app's Welcome has none. */
.hero-feats { display: none; }
@media (min-width: 600px) {
  .au-welcome-hero .hero-feats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
    width: 100%; max-width: 560px; margin: 6px 0 0; padding: 0; list-style: none; text-align: left;
  }
  .hero-feats li {
    --hue: var(--au-teal);
    /* The icon beside the words, so a tile is as tall as its label and no
       taller: no empty lower third under a one-line label. */
    display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; padding: 12px;
    border-radius: var(--au-r-tile); color: var(--ink);
    background-image: radial-gradient(110px 100px at calc(100% - 6px) 0, color-mix(in srgb, var(--hue) 30%, transparent), transparent 72%), var(--au-glass);
    font: 600 14.5px/1.25 var(--display); letter-spacing: -0.005em; text-wrap: balance;
  }
  .hero-feats li:nth-child(2) { --hue: var(--au-violet); }
  .hero-feats li:nth-child(3) { --hue: var(--au-sky-hue); }
  .hero-feats .i {
    width: 34px; height: 34px; padding: 8px; border-radius: 12px; color: var(--ink);
    background: linear-gradient(135deg, color-mix(in srgb, var(--hue) 50%, transparent), color-mix(in srgb, var(--hue) 22%, transparent));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3);
  }
  :root[data-theme="light"] .hero-feats li { background-image: radial-gradient(110px 100px at calc(100% - 6px) 0, color-mix(in srgb, var(--hue) 22%, transparent), transparent 72%), var(--au-glass); }
}

/* The drifting words: a constellation of translations orbiting the penguin
   on a desktop, in starlight rather than white-on-blue. The canvas lives in
   the penguin's own box (.hero-art), reaching a little past it on either
   side, so it starts below the bar and ends above the card: a word can never
   sit on the bar's button or under the card. A soft hole over Linguino keeps
   the words off his body. Labels at about half strength: legible over the
   aurora, still behind the words that matter. */
.au-welcome-hero .hero-graph { --ink: #f3f7ff; --muted: #c6d3ee; --fg: 234 244 255; opacity: 0.8; z-index: 0; }
:root[data-theme="light"] .au-welcome-hero .hero-graph { --ink: #0d2140; --muted: #24406c; --fg: 13 33 64; opacity: 1; }
@media (max-width: 1023px) { .au-welcome-hero .hero-graph { display: none; } }
@media (min-width: 1024px) {
  .au-welcome-hero .hero-art { --gk: 1.18; --gx: clamp(80px, 30vw - 250px, 180px); }
  .au-welcome-hero .hero-art .hero-graph {
    position: absolute; inset: -32px calc(-1 * var(--gx)) -4px; width: auto; height: auto;
    -webkit-mask-image:
      radial-gradient(calc(var(--gk) * 96px) calc(var(--gk) * 112px) at 50% calc(32px + var(--gk) * 117px), transparent 78%, #000 100%),
      linear-gradient(180deg, transparent, #000 30px),
      linear-gradient(90deg, transparent, #000 22%, #000 84%, transparent);
    -webkit-mask-composite: source-in, source-in;
    mask-image:
      radial-gradient(calc(var(--gk) * 96px) calc(var(--gk) * 112px) at 50% calc(32px + var(--gk) * 117px), transparent 78%, #000 100%),
      linear-gradient(180deg, transparent, #000 30px),
      linear-gradient(90deg, transparent, #000 22%, #000 84%, transparent);
    mask-composite: intersect;
  }
}

/* A phone keeps to the app's Welcome: the penguin, the name, one line, and
   the way in within reach; the longer pitch is further down the page. */
@media (max-width: 480px) {
  .au-welcome-hero .eyebrow { display: none; }
  .au-welcome-hero .hero-copy { gap: 6px; }
  .au-welcome-hero .hero-sub { max-width: 34ch; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.5; }
}

/* A tablet: the same column, a little more room. */
@media (min-width: 600px) {
  .hero-stage { --k: 1.12; }
  .au-welcome-hero .hero-inner { padding-top: 18px; gap: 18px; }
  .au-welcome-hero .hero-title { font-size: 30px; }
  .au-welcome-hero .hero-sub { font-size: 16px; }
}

/* A desktop: two columns, the words on the left and Linguino with the way in
   on the right. Never a stretched phone. */
@media (min-width: 1024px) {
  .au-welcome-hero::before { height: 640px; }
  .au-welcome-hero .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-areas: "copy art" "copy play";
    column-gap: clamp(40px, 5vw, 72px); row-gap: 24px;
    justify-items: stretch; text-align: left;
    /* As tall as what it holds: the numbers come up right under the card,
       whole, on a laptop's first screen, rather than cut at the fold
       after an empty band. */
    padding: 40px var(--au-gutter) 36px;
    align-content: start;
  }
  .au-welcome-hero .hero-copy { align-self: center; justify-items: start; max-width: 600px; gap: 14px; }
  /* The card keeps to the column's right edge, flush with the numbers and
     the steps below it, and Linguino stands centred over the card rather
     than over the wider column (100% in a margin is the column's width). */
  .au-welcome-hero .hero-art {
    --k: 1.18; align-self: end; justify-self: end;
    margin-right: max(0px, (min(100%, 480px) - var(--k) * 250px) / 2);
  }
  .au-welcome-hero .hero-play { align-self: start; justify-self: end; max-width: 480px; }
  .hero-stage { --k: 1.18; }
  .hero-word.au-welcome { font-size: var(--au-fs-numeral); line-height: 1; letter-spacing: -0.035em; }
  .au-welcome-hero .hero-title { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
  .au-welcome-hero .hero-sub { font-size: 17px; max-width: 50ch; }
  .au-welcome-hero .hero-links { justify-content: flex-start; }
  /* Between the floe and the card it had no room; the footer says it too. */
  .au-welcome-hero .hero-credit { display: none; }
}
@media (min-width: 1024px) and (max-height: 760px) { .hero-stage, .au-welcome-hero .hero-art { --k: 0.96; --gk: 0.96; } }

/* =================== the way in =================== */

/* The cards in the hero draw with the page's ink again (style.css made the
   old form a white sheet with its own); a hero card's re-inking in the day
   theme (style.css, .au-hero) is more specific and still wins. */
.hero .home-form {
  --ink: inherit; --ink-2: inherit; --muted: inherit; --line: inherit; --line-hi: inherit;
  --panel-hi: inherit; --well: inherit; --well-soft: inherit; --placeholder: inherit;
  width: 100%; max-width: none; margin: 0; color: var(--ink);
  border: 0; gap: 14px;
}

/* The play form: the Play tab's violet hero card. */
.hero .home-form.au-hero.violet {
  padding: 20px; border-radius: var(--au-r-hero);
  background:
    radial-gradient(320px 260px at calc(100% + 40px) -30px, color-mix(in srgb, #9a83ff 40%, transparent), transparent 70%),
    radial-gradient(260px 220px at -40px -40px, color-mix(in srgb, #3ee6c8 30%, transparent), transparent 70%),
    var(--au-hero-violet);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 22px 44px -20px rgba(0, 0, 0, 0.65);
}
/* In the polar day the play card is not a dark island on a pale page: it is
   white glass with the violet and teal glows, and the day's ink inside (the
   hero re-inking in style.css is undone by taking the page's values back). */
:root[data-theme="light"] .hero .home-form.au-hero.violet {
  --au-glass-base: inherit; --au-glass-top: inherit; --au-glass-bottom: inherit; --au-glass: inherit;
  --au-glass-flat: inherit; --au-glass-hi: inherit; --au-highlight: inherit; --au-edge: inherit;
  --au-field: inherit; --au-field-focus: inherit; --au-teal: inherit; --au-violet: inherit; --au-green: inherit;
  --au-sky-hue: inherit; --au-progress: inherit; --au-shadow: inherit; --shadow: inherit;
  --fg: inherit; --panel: inherit; --panel-hi: inherit; --ink: inherit; --ink-2: inherit; --muted: inherit;
  --line: inherit; --line-hi: inherit; --well: inherit; --well-soft: inherit; --placeholder: inherit;
  --violet-ink: inherit; --ok: inherit; --bad: inherit; --warn: inherit;
  color-scheme: light;
  background:
    radial-gradient(320px 260px at calc(100% + 40px) -30px, rgb(154 131 255 / 0.22), transparent 70%),
    radial-gradient(260px 220px at -40px -40px, rgb(62 230 200 / 0.18), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.86), rgb(255 255 255 / 0.7));
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  /* A visible edge on the pale sky: a hairline and a closer shadow. */
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(35 70 120 / 0.16), 0 1px 3px rgb(30 70 130 / 0.1), 0 22px 44px -20px rgb(30 70 130 / 0.5);
}
:root[data-theme="light"] .hero .home-form.au-hero .code-box { background: rgb(255 255 255 / 0.92); box-shadow: inset 0 2px 4px rgb(13 33 64 / 0.1), inset 0 0 0 1px rgb(13 33 64 / 0.1); }
:root[data-theme="light"] .hero .home-form.au-hero .code-boxes:focus-within .code-box { box-shadow: inset 0 2px 4px rgb(13 33 64 / 0.08), inset 0 0 0 1.5px color-mix(in srgb, var(--au-teal) 75%, transparent), 0 0 12px -3px color-mix(in srgb, var(--au-teal) 55%, transparent); }
:root[data-theme="light"] .hero .home-form.au-hero .code-boxes .code-input { color: var(--ink); }
:root[data-theme="light"] .hero .home-form.au-hero .again-row .btn { background: rgb(255 255 255 / 0.85); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--line-hi), 0 4px 10px -6px rgb(30 70 130 / 0.3); }
:root[data-theme="light"] .hero .home-form.au-hero .again-row .btn.due { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1.5px color-mix(in srgb, var(--au-gold) 80%, transparent), 0 0 14px -6px color-mix(in srgb, var(--au-gold) 70%, transparent); }
:root[data-theme="light"] .hero .home-form.au-hero :is(.home-have-account, .again-pair) .link-btn { color: #087a6a; }
.home-form label.field { gap: 7px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.home-form .field-hint { color: var(--muted); font-size: 12px; }
.home-form .lang-pick { gap: 12px; }
.home-form .field-main { color: var(--ink); font: 600 15px/1.25 var(--display); letter-spacing: -0.005em; display: grid; gap: 8px; }
.home-form .field-small { color: var(--ink-2); font-size: 12px; font-weight: 600; display: grid; gap: 7px; }
.home-form .home-form-actions { gap: 12px; }
.home-form .btn.big { width: 100%; }
.home-form .btn.big .i { width: 20px; height: 20px; }

/* "or join with a code": a hairline with the words in the middle. */
.have-code { display: grid; gap: 10px; }
.have-code .divider { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }

/* Four recessed boxes, one real input over them: a monospaced code whose
   letters are spaced to land one in each box (container units, so the boxes
   can take whatever width the row leaves). The input runs on past the last
   box, out of sight, so typing the fourth letter never scrolls it. */
.join-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.code-boxes {
  position: relative; min-width: 0; height: 50px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  container-type: inline-size; overflow: hidden; border-radius: var(--au-r-small);
}
.code-box {
  border-radius: var(--au-r-small);
  background: rgb(0 0 0 / 0.28);
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.3), inset 0 0 0 1px rgb(255 255 255 / 0.08);
  transition: box-shadow var(--dur-2);
}
.code-boxes:focus-within .code-box {
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.3), inset 0 0 0 1.5px color-mix(in srgb, var(--au-teal) 70%, transparent), 0 0 12px -3px color-mix(in srgb, var(--au-teal) 60%, transparent);
}
.code-boxes .code-input,
.code-boxes .code-input:focus,
.code-boxes .code-input:focus-visible {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: calc(100% + 30cqw); max-width: none; height: 100%; min-height: 0;
  margin: 0; padding: 0 0 0 calc(12.5cqw - 3px - 0.5ch);
  border: 0; border-radius: 0; outline: none; background: transparent; box-shadow: none;
  color: #f3f7ff; caret-color: var(--au-teal);
  font: 700 24px/1 ui-monospace, 'SF Mono', Menlo, Consolas, 'DejaVu Sans Mono', 'Liberation Mono', monospace;
  letter-spacing: calc(25cqw + 2px - 1ch); text-align: left; text-transform: uppercase;
}
/* Empty boxes and a caret, as the app has them: letters in the placeholder
   read as a code already typed. (It stays in the DOM for screen readers.) */
.code-boxes .code-input::placeholder { color: transparent; }
/* ...but never four blank tiles that read as broken: a faint dot sits in
   each box until the first letter is typed, as the mockup's empty slots. */
.code-box { display: grid; place-items: center; }
.code-box::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: rgb(var(--fg) / 0.3); transition: opacity var(--dur-2);
}
.code-boxes:has(.code-input:not(:placeholder-shown)) .code-box::after { opacity: 0; }
.join-row .btn.violet { min-height: 50px; padding: 0 20px; border-radius: var(--au-r-small); font-size: 15px; }

.home-form .invite-banner {
  border-radius: var(--au-r-small); padding: 11px 13px;
  background: color-mix(in srgb, var(--au-teal) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--au-teal) 35%, transparent);
  color: var(--ink); font-size: 14px;
}
.home-form .invite-banner .i { color: var(--au-teal); }
.home-form .invite-banner b { font-family: var(--display); letter-spacing: 0.12em; }

/* "Already have an account? Sign in", as the app's Welcome ends. */
.home-have-account { text-align: center; color: var(--muted); font-size: 14px; font-weight: 500; }
:is(.home-have-account, .again-pair) .link-btn {
  color: var(--au-teal); font-weight: 700; text-decoration: none; padding: 2px 2px;
  border-radius: 6px;
}
@media (hover: hover) and (pointer: fine) { :is(.home-have-account, .again-pair) .link-btn:hover { text-decoration: underline; text-underline-offset: 3px; } }
:root[data-theme="light"] .home-have-account .link-btn:not(.au-hero *) { color: #0b8f7c; }

/* Somebody it already knows: a hello, the one button, then the deck and the words. */
.home-again .again-head { display: grid; gap: 4px; }
.home-again .again-head h2 { margin: 0; color: var(--ink); }
.home-again .again-head .muted { color: var(--ink-2); font-size: 14.5px; }
.home-again .again-row { gap: 8px; }
.home-again .again-row .btn { min-height: 46px; border-radius: var(--au-r-small); color: var(--ink); background: rgb(255 255 255 / 0.08); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.home-again .again-row .btn.due { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), inset 0 0 0 1.5px color-mix(in srgb, var(--au-gold) 70%, transparent), 0 0 16px -6px color-mix(in srgb, var(--au-gold) 70%, transparent); }
.home-again .again-row .tb-count { background: var(--au-gold); color: #3a2600; font-family: var(--display); }
.home-again .again-pair { justify-content: center; color: var(--ink-2); font-size: 13px; }
.home-again .again-pair .flag { width: 20px; height: 14px; }

/* A stranger, where signing in is the only way in: a glass card. */
.hero .home-form.home-gate {
  padding: 22px 20px 20px; border-radius: var(--au-r-card); text-align: left;
  background-color: var(--au-glass-base);
  background-image: radial-gradient(240px 200px at calc(100% + 30px) -40px, color-mix(in srgb, var(--au-violet) 24%, transparent), transparent 72%), var(--au-glass);
  box-shadow: var(--au-shadow);
}
.home-gate h2 { margin: 0; font-size: 24px; color: var(--ink); text-wrap: balance; }
.home-gate .gate-sub { margin: -4px 0 2px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.home-gate .btn.big { width: 100%; }
.home-gate .gate-why { gap: 10px; margin: 2px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-hi); }
.home-gate .gate-why li { grid-template-columns: 34px 1fr; gap: 12px; align-items: center; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.home-gate .gate-why .i {
  width: 34px; height: 34px; margin: 0; padding: 8px; border-radius: 12px;
  color: var(--ink);
  background: linear-gradient(135deg, color-mix(in srgb, var(--au-teal) 45%, transparent), color-mix(in srgb, var(--au-violet) 42%, transparent));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3);
}
.hero-play > .card.center { padding: 12px 16px; border-radius: var(--au-r-small); color: var(--ink-2); font-weight: 600; }

/* =================== the rest of the page =================== */

/* Revealing on the way down is a flourish, never a condition for seeing the
   page: whatever the observer has not reached (a jump to an anchor, a full
   page capture, a crawler that runs scripts, printing) shows by itself a
   moment later. Pure CSS, so the page's script stays as it is. */
:is(.hero, .band, .home) [data-reveal].watch:not(.in) { animation: hm-show 0.6s var(--ease-out) 1.2s forwards; }
@keyframes hm-show { to { opacity: 1; transform: none; } }
@media print { :is(.hero, .band, .home) [data-reveal].watch { opacity: 1; transform: none; animation: none; } }

/* The day's sky ends in near white; the page's own colour under it is a
   paler blue, which shows as a step wherever the fixed sky is not painted
   (a long capture, overscroll). The home ends in the sky's last colour. */
:root[data-theme="light"] body:has(.au-welcome-hero) { background-color: #f7fbff; }

/* The numbers: four glass tiles, each with its hue as a glow and a dot,
   the numeral in Outfit. */
.band.stats { background: none; color: var(--ink); overflow: visible; }
.band.stats::before { content: none; }
.band.stats .band-inner { max-width: 1180px; padding: 4px var(--au-gutter) 8px; }
.stats .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; text-align: left; }
@media (max-width: 700px) { .stats .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; } }
.stats .stat {
  --hue: var(--au-teal);
  position: relative; display: grid; gap: 4px; align-content: end; min-height: 108px; padding: 16px 16px 14px;
  border-radius: var(--au-r-tile);
  background-image: radial-gradient(130px 120px at calc(100% - 6px) 0, color-mix(in srgb, var(--hue) 38%, transparent), transparent 72%), var(--au-glass);
}
.stats .stat::before { content: ''; position: absolute; top: 14px; left: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--hue); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--hue) 60%, transparent); }
.stats .stat:nth-child(2) { --hue: var(--au-violet); }
.stats .stat:nth-child(3) { --hue: var(--au-sky-hue); }
.stats .stat:nth-child(4) { --hue: var(--au-gold); }
:root[data-theme="light"] .stats .stat { background-image: radial-gradient(130px 120px at calc(100% - 6px) 0, color-mix(in srgb, var(--hue) 28%, transparent), transparent 72%), var(--au-glass); }
.stats .stat .stat-n { color: var(--ink); font: 600 clamp(30px, 4vw, 40px)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats .stat .stat-l { color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.3; }

/* How it works: glass cards in a grid, the screenshot on top. */
.home.au-page { padding-top: 24px; padding-bottom: 16px; gap: 0; }
.home .section-title { font: 700 clamp(26px, 3.4vw, 34px)/1.1 var(--display); letter-spacing: -0.025em; color: var(--ink); }
.home .section-sub { color: var(--ink-2); font-size: 15px; }
.home .how { padding-top: 32px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.home .how > .section-title { grid-column: 1 / -1; margin: 0 0 8px; }
@media (min-width: 760px) { .home .how { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1180px) { .home .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home .how-step.card {
  display: flex; flex-direction: column; gap: 14px; align-items: stretch;
  padding: 12px 12px 18px; border-radius: var(--au-r-card);
  transition: transform var(--dur-3) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .home .how-step.card:hover { transform: translateY(-2px); } }
.home .how-step .how-text { order: 1; padding: 0 6px; }
.home .how-step .how-shot,
.home .how-step .how-shot.card-shot {
  order: 0; margin: 0; width: 100%; max-width: none; aspect-ratio: 16 / 10;
  border: 0; border-radius: 16px;
  background: radial-gradient(80% 90% at 50% 0, color-mix(in srgb, var(--au-teal) 16%, transparent), transparent 70%), rgb(0 0 0 / 0.18);
  box-shadow: inset 0 0 0 1px var(--line-hi);
  transform: none;
}
:root[data-theme="light"] .home .how-step .how-shot { background: radial-gradient(80% 90% at 50% 0, color-mix(in srgb, var(--au-teal) 14%, transparent), transparent 70%), rgb(13 33 64 / 0.04); }
.home .how-step .how-shot.missing { display: none; }
.home .how-step .how-shot.card-shot img { height: 100%; object-fit: contain; }
@media (hover: hover) and (pointer: fine) { .home .how-step:hover .how-shot { transform: none; } }
.home .how-step .how-num {
  gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px;
  background: linear-gradient(var(--au-glass-flat) 0 0), linear-gradient(var(--au-glass-base) 0 0);
  box-shadow: inset 0 1px 0 var(--au-highlight), inset 0 0 0 1px var(--au-edge);
  color: var(--ink); font: 600 13px/1.2 var(--display);
}
.home .how-step .how-num .i { color: var(--au-teal); }
.home .how-text h3 { margin: 12px 0 6px; color: var(--ink); font: 600 19px/1.2 var(--display); letter-spacing: -0.01em; }
.home .how-text p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; max-width: none; }

/* Words by topic: glass pills, the topic's icon in teal. */
.home .vocab-teaser { padding: 56px 0 16px; gap: 18px; }
.home .vt-grid { gap: 8px; max-width: 920px; }
.home .vt-chip {
  min-height: 40px; padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1px solid var(--au-edge); color: var(--ink); font-weight: 600; font-size: 14px;
  background: linear-gradient(var(--au-glass-flat) 0 0), linear-gradient(var(--au-glass-base) 0 0);
  box-shadow: inset 0 1px 0 var(--au-highlight), var(--au-drop);
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2);
}
@media (hover: hover) and (pointer: fine) { .home .vt-chip:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--au-teal) 55%, transparent); } }
.home .vt-icon { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--au-teal); background: color-mix(in srgb, var(--au-teal) 14%, transparent); }
.home .vt-icon .i { width: 15px; height: 15px; }
.home .vt-chip .muted { font: 600 12px/1 var(--display); color: var(--muted); }

/* The last call: a navy hero card rather than a band across the page. */
.band.cta-band { background: none; overflow: visible; }
.band.cta-band::before { content: none; }
.cta-band .band-inner.au-hero {
  width: calc(100% - 2 * var(--au-gutter)); max-width: 1180px; margin: 32px auto 0;
  padding: clamp(32px, 6vw, 56px) 20px; display: grid; justify-items: center; gap: 12px; text-align: center;
}
.cta-band .band-inner.au-hero h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.cta-band .band-inner.au-hero p { margin: 0; max-width: 52ch; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.cta-band .cta-row { gap: 10px; margin-top: 8px; }
/* Installing: a glass button beside the orange one, never a second primary. */
.btn.install-btn, .btn[data-act="install"] {
  color: var(--ink);
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.btn.install-btn .i, .btn[data-act="install"] .i { color: var(--au-teal); }
@media (hover: hover) and (pointer: fine) { .btn.install-btn:hover { background: rgb(255 255 255 / 0.16); } }

/* The penguin asking for help with the bills: a glass card with a violet glow. */
.band.donate-band { background: none; overflow: visible; }
.donate-band .band-inner.donate.card {
  width: calc(100% - 2 * var(--au-gutter)); max-width: 1180px; margin: 18px auto 0;
  padding: 24px clamp(20px, 4vw, 40px);
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(18px, 4vw, 40px);
  border-radius: var(--au-r-hero);
  background-image: radial-gradient(360px 280px at calc(100% + 40px) -40px, color-mix(in srgb, var(--au-violet) 26%, transparent), transparent 70%), var(--au-glass);
}
.donate-band .donate-art { max-width: 240px; filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.35)); }
.donate-band .donate-say { gap: 12px; }
.donate-band .donate-say h2 { color: var(--ink); font: 700 clamp(22px, 3vw, 30px)/1.15 var(--display); letter-spacing: -0.025em; }
.donate-band .donate-say p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.donate-band .donate-fine { color: var(--muted); font-size: 12.5px; }
@media (max-width: 720px) {
  .donate-band .band-inner.donate.card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 18px; }
  .donate-band .donate-art { max-width: 190px; }
}
/* The same thing in a room's "…" menu. */
.donate-btn, .donate-btn .i { color: var(--ink); }
.donate-btn .i { color: var(--bad); }

/* Who made it. */
.cta-band ~ .credit { padding: 32px 16px 40px; color: var(--muted); font-size: 12.5px; letter-spacing: 0.04em; }
.cta-band ~ .credit b { color: var(--ink); font: 700 14px/1 var(--display); letter-spacing: 0; }

/* =================== the opening screen =================== */

/* The polar night, whatever the theme (the app's splash is night too): the
   sky, two aurora glows, the stars, the ribbon; the logo in a teal halo. */
#splash .sp-bg {
  background-color: #040a19;
  background-image:
    var(--au-sparks), var(--au-stars-a), var(--au-stars-b),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%233ee6c8' stop-opacity='0'/%3E%3Cstop offset='.3' stop-color='%233ee6c8'/%3E%3Cstop offset='.7' stop-color='%239a83ff'/%3E%3Cstop offset='1' stop-color='%239a83ff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='b' x='-20%25' y='-60%25' width='140%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='13'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23b)' fill='none' stroke='url(%23g)' stroke-linecap='round'%3E%3Cpath d='M-20 140C80 60 160 200 250 110S380 60 420 120' stroke-width='64' stroke-opacity='.42'/%3E%3Cpath d='M-20 90C90 30 190 150 270 70S380 30 420 60' stroke-width='20' stroke-opacity='.3'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(70% 42% at 16% 3%, rgb(31 209 176 / 0.3), rgb(31 209 176 / 0.12) 45%, transparent 75%),
    radial-gradient(62% 44% at 92% 12%, rgb(123 92 255 / 0.3), rgb(123 92 255 / 0.12) 45%, transparent 75%),
    radial-gradient(48% 30% at 46% 28%, rgb(43 123 255 / 0.17), transparent 72%),
    radial-gradient(120% 60% at 50% 0, #0f2a5c, #081633 45%, #040a19);
  background-repeat: no-repeat, repeat-x, repeat-x, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: auto, auto, auto, 100% min(420px, 60vh), auto, auto, auto, auto;
  background-position: right 2px top 18px, 0 0, 170px 26px, 0 0, 0 0, 0 0, 0 0, 0 0;
}
#splash .sp-glow { background: radial-gradient(circle, rgb(62 230 200 / 0.3), rgb(154 131 255 / 0.14) 45%, transparent 66%); }
#splash .sp-ring circle { stroke: rgb(182 255 240 / 0.75); filter: drop-shadow(0 0 6px rgb(62 230 200 / 0.75)); }
#splash .sp-logo { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 30px 60px -20px rgb(0 0 0 / 0.6); }
#splash .sp-bubbles span {
  background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16);
  color: #f3f7ff; font: 600 15px/1 var(--display); letter-spacing: -0.01em;
}
#splash .sp-by { color: #bccbe8; font: 600 12px/1 var(--font); letter-spacing: 0.18em; }
#splash .sp-by b { font: 700 18px/1 var(--display); letter-spacing: 0; color: #f3f7ff; }
#splash .sp-skip { border-color: rgb(255 255 255 / 0.16); background: rgb(255 255 255 / 0.1); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16); color: #f3f7ff; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { #splash .sp-skip:hover { background: rgb(255 255 255 / 0.18); } }
#splash .sp-skip:focus-visible { outline-color: #3ee6c8; }

/* =================== the account =================== */

/* The way in, and who is behind it: glass pills in the bar. */
.btn.acc-in, .btn.acc-me {
  min-height: 38px; border-radius: 999px; color: var(--ink);
  background: linear-gradient(var(--au-glass-flat) 0 0), linear-gradient(var(--au-glass-base) 0 0);
  box-shadow: inset 0 1px 0 var(--au-highlight), inset 0 0 0 1px var(--line-hi);
}
.btn.acc-in { padding: 0 14px; gap: 7px; }
.btn.acc-in .i { width: 17px; height: 17px; color: var(--au-teal); }
.btn.acc-me { padding: 3px 14px 3px 3px; gap: 8px; max-width: 220px; }
.btn.acc-me .tb-label { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .btn.acc-in { width: 38px; padding: 0; }
  .btn.acc-me { padding: 3px; }
}
.acc-avatar {
  width: 32px; height: 32px; color: #04261f;
  background: linear-gradient(135deg, #3ee6c8, #9a83ff);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.45);
  font: 700 14px/1 var(--display);
}
.acc-avatar.big { width: 46px; height: 46px; font-size: 19px; }

.acc-menu {
  inset: calc(var(--hm-nav-h) + 6px) 12px auto auto; width: min(300px, calc(100vw - 24px));
  gap: 10px; padding: 16px; border: 0; border-radius: var(--au-r-card); color: var(--ink);
  background: var(--au-sheet);
  box-shadow: inset 0 1px 0 var(--au-highlight), inset 0 0 0 1px var(--au-edge), 0 24px 60px -18px rgba(0, 0, 0, 0.55);
}
.acc-menu:popover-open { animation: hm-pop-in var(--dur-3) var(--ease-out); }
.acc-menu::backdrop { background: rgb(4 10 25 / 0.3); }
.acc-head { gap: 12px; }
.acc-head b { font: 600 16px/1.2 var(--display); letter-spacing: -0.01em; }
.acc-head .muted { font-size: 12.5px; }
.acc-note {
  gap: 8px; padding: 10px 12px; border-radius: var(--au-r-small);
  background: var(--au-glass-flat); color: var(--ink-2); font-size: 12.5px; font-weight: 600;
}
.acc-note .i { flex: none; color: var(--au-teal); }
.acc-menu .btn { min-height: 42px; border-radius: 12px; }
.acc-menu .acc-delete { color: var(--bad); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 30%, transparent); }

/* In the deck: this many words live only in this browser. */
.acc-offer.card {
  gap: 14px; padding: 16px; border-radius: var(--au-r-card);
  background-image: radial-gradient(160px 140px at calc(100% - 6px) 0, color-mix(in srgb, var(--au-violet) 32%, transparent), transparent 72%), var(--au-glass);
}
.acc-offer b { font: 600 16px/1.25 var(--display); letter-spacing: -0.01em; }
.acc-offer .muted { font-size: 13px; line-height: 1.45; }
.acc-offer-icon {
  width: 46px; height: 46px; border-radius: 16px; color: var(--ink);
  background: linear-gradient(135deg, color-mix(in srgb, var(--au-teal) 45%, transparent), color-mix(in srgb, var(--au-violet) 42%, transparent));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3);
}

/* Once, after the first sign-in: Linguino, happy, on his floe, and what came along. */
.modal.acc-welcome { max-width: 420px; gap: 12px; padding-top: 18px; }
.acc-welcome-art { position: relative; width: 210px; height: 168px; margin: 0 auto -2px; }
.acc-welcome-art::before {
  content: ''; position: absolute; left: 50%; top: 46%; width: 190px; height: 190px; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid var(--line-hi);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--au-teal) 30%, transparent), color-mix(in srgb, var(--au-teal) 8%, transparent) 60%, transparent 85%);
}
.acc-floe {
  position: absolute; left: 50%; bottom: 4px; width: 164px; height: 34px; transform: translateX(-50%);
  border-radius: 50%; background: var(--au-ice);
  box-shadow: 0 0 30px 6px color-mix(in srgb, var(--au-teal) 28%, transparent), inset 0 -4px 8px rgb(40 90 150 / 0.35);
}
.acc-floe::after { content: ''; position: absolute; left: 14%; right: 14%; top: 17%; height: 26%; border-radius: 50%; background: rgb(244 251 255 / 0.6); }
.acc-welcome-art .penguin { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); }
.acc-welcome h2 { margin: 0; color: var(--ink); text-wrap: balance; }
.acc-welcome > p.muted { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.acc-kept.au-rows { gap: 0; margin: 4px 0 2px; padding: 2px 14px; }
.acc-kept li { gap: 12px; padding: 12px 2px; border-radius: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.acc-kept li + li { border-top: 1px solid var(--line-hi); }
.acc-kept .i { width: 20px; height: 20px; flex: none; color: var(--au-teal); }
.acc-welcome .acc-welcome-go { width: 100%; }

/* Clerk's own sheet (sign in, create an account), dressed by client/account.ts
   through its appearance variables; these add what variables cannot say. */
.acc-clerk-backdrop { background: var(--au-backdrop) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.acc-clerk-card { border-radius: var(--au-r-card) !important; box-shadow: inset 0 1px 0 var(--au-highlight), 0 40px 80px -24px rgba(0, 0, 0, 0.7) !important; }
.acc-clerk-title { font-family: var(--display) !important; font-weight: 700 !important; letter-spacing: -0.02em; }

/* =================== motion =================== */

@media (prefers-reduced-motion: reduce) {
  .site-nav.au-topbar { animation: none; }
  :is(.hero, .band, .home) [data-reveal].watch:not(.in) { animation: none; opacity: 1; transform: none; }
  .ui-pop:popover-open, .acc-menu:popover-open { animation: none; }
  .home .how-step.card, .home .vt-chip { transition: none; }
}
