/* Zorya Astro, modern landing: the product as the artwork, its data as the
   texture. The hero is Зоря's own chart wheel (its SVG, taken from the app);
   the ephemeris of the same chart runs under it as a slow strip. The palette
   is the night sky: deep indigo and violet with the warm gold of a dawn star
   (Зоря) for the few highlights; the wheel keeps its own colours. Headings
   are set in Wix Madefor Display, body text in the system SF Pro, data in SF Mono.
   Light and dark are separate palettes. */

@font-face {
  font-family: "Wix Madefor Display";
  src: url("assets/fonts/wix-madefor-display-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Wix Madefor Display";
  src: url("assets/fonts/wix-madefor-display-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The angle of the animated AI borders; browsers without @property keep a still gradient. */
@property --glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* The app's astrological glyphs, cut down to the planets, signs and aspects. */
@font-face {
  font-family: "Noto Sans Symbols";
  src: url("assets/fonts/noto-sans-symbols-zoria.woff2") format("woff2");
  font-weight: 100 900;
  font-display: block;
}

@font-face {
  font-family: "Noto Sans Symbols 2";
  src: url("assets/fonts/noto-sans-symbols2-zoria.woff2") format("woff2");
  font-display: block;
}

:root {
  color-scheme: light dark;

  --display: "Wix Madefor Display", -apple-system, BlinkMacSystemFont, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --sym: "Noto Sans Symbols", "Noto Sans Symbols 2", "Apple Symbols", sans-serif;

  --paper: #f5f4f9;
  --surface: #ffffff;
  --tint: #ecebf4;
  --ink: #15122f;
  --text: #24213f;
  --muted: #4c4966;
  --line: rgba(21, 18, 47, 0.12);
  --line-strong: rgba(21, 18, 47, 0.22);
  /* Night indigo for actions, a violet for the second voice, the gold of a dawn star for highlights. */
  --brand: #3a2e9c;
  --brandHover: #2e2482;
  --onBrand: #ffffff;
  --brandText: #4535c0;
  --violet: #6a3fc8;
  --dawn: #9a5306;
  --dawnFill: #f0aa3c;
  --dawnSoft: rgba(240, 170, 60, 0.16);
  --accentSoft: rgba(69, 53, 192, 0.09);
  --focus: #4535c0;
  --night: #0e0b2a;
  --night-2: #17134a;
  --on-night: #ece9ff;
  --on-night-muted: #b6b1d8;
  --on-night-link: #f4c063;
  --g1: #4f3fd0;
  --g2: #a084f5;
  --g3: #f0aa3c;
  /* One restrained accent per price card. */
  --plan-m: #6a3fc8;
  --plan-a: #3a2e9c;
  --plan-l: #9a5306;
  --plan-on: #ffffff;
  --keycap: #ffffff;
  --shadow: 0 1px 2px rgba(21, 18, 47, 0.05), 0 12px 32px -16px rgba(21, 18, 47, 0.22);
  --shadow-window: 0 2px 6px rgba(21, 18, 47, 0.08), 0 40px 90px -30px rgba(14, 11, 42, 0.55);

  /* The wheel's own tokens, as in src/renderer/styles.css. */
  --accent: #0a5fd1;
  --sel: #e1e9f8;
  --z0: hsl(6 78% 86%);
  --z1: hsl(28 85% 85%);
  --z2: hsl(54 90% 82%);
  --z3: hsl(78 70% 82%);
  --z4: hsl(110 55% 84%);
  --z5: hsl(150 22% 74%);
  --z6: hsl(190 75% 84%);
  --z7: hsl(208 78% 86%);
  --z8: hsl(234 75% 87%);
  --z9: hsl(266 65% 87%);
  --z10: hsl(296 60% 86%);
  --z11: hsl(330 70% 87%);
  --band: #e6edf6;
  --inner: #ffffff;
  --ring: #7f9dc4;
  --tick: #9db2cf;
  --sg: #1f2a5c;
  --cusp: #eaa1ae;
  --clbl: #3a3e49;
  --asc: #d4402a;
  --mc: #1f2b6b;
  --ic: #4b5cc2;
  --pb: #2140b8;
  --pg: #1d7a34;
  --pd: #2a3048;
  --hard: #d63d2b;
  --soft: #1f8a3c;
  --minor: #6c7280;
  --dot: #2a3350;
  --lum: #c93636;
  --zc: #5f636d;
  --ring1: #2140b8;

  --r: 10px;
  --r-lg: 16px;
  --wrap: 1240px;
  --gutter: 40px;
  --section: 128px;
  --bar: 60px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b0a1c;
    --surface: #161430;
    --tint: #100e25;
    --ink: #f4f2ff;
    --text: #dfdcf3;
    --muted: #aaa6c6;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);
    --brand: #f2b84f;
    --brandHover: #f7c76f;
    --onBrand: #1a1433;
    --brandText: #c4bdff;
    --violet: #b8a2ff;
    --dawn: #f4c063;
    --dawnFill: #f2b84f;
    --dawnSoft: rgba(242, 184, 79, 0.14);
    --accentSoft: rgba(196, 189, 255, 0.12);
    --focus: #f2b84f;
    --night: #070616;
    --night-2: #110e33;
    --g1: #7b6af0;
    --g2: #c4b4ff;
    --g3: #f2b84f;
    --plan-m: #b8a2ff;
    --plan-a: #f2b84f;
    --plan-l: #f2a08f;
    --plan-on: #1a1433;
    --keycap: #221f40;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 36px -18px rgba(0, 0, 0, 0.9);
    --shadow-window: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 100px -30px rgba(0, 0, 0, 0.95);

    --accent: #4d8eff;
    --sel: #2b3650;
    --z0: hsl(6 40% 32%);
    --z1: hsl(28 45% 31%);
    --z2: hsl(54 40% 29%);
    --z3: hsl(78 35% 28%);
    --z4: hsl(110 30% 28%);
    --z5: hsl(150 14% 30%);
    --z6: hsl(190 40% 28%);
    --z7: hsl(208 42% 31%);
    --z8: hsl(234 38% 34%);
    --z9: hsl(266 34% 33%);
    --z10: hsl(296 30% 31%);
    --z11: hsl(330 36% 32%);
    --band: #1d2530;
    --inner: #131619;
    --ring: #4d6788;
    --tick: #3f5573;
    --sg: #eef1ff;
    --cusp: #b0626f;
    --clbl: #c9cdd8;
    --asc: #ff6d52;
    --mc: #a5b4ff;
    --ic: #8494ff;
    --pb: #93a8ff;
    --pg: #62cf7d;
    --pd: #dfe3f2;
    --hard: #ff6b57;
    --soft: #55c470;
    --minor: #9aa0ae;
    --dot: #c8d0e6;
    --lum: #ff7a72;
    --zc: #b9bcc6;
    --ring1: #93a8ff;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --section: 80px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--bar) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
}

h3 {
  color: var(--ink);
  font: 650 19px/1.3 var(--ui);
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--brandText);
}

code,
kbd {
  font-family: var(--mono);
  font-size: 0.86em;
}

kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--keycap);
  color: var(--ink);
  line-height: 1.5;
  text-align: center;
}

/* Interface icons (the app's Lucide set); the chart wheel and the drawn course index keep their own paint. */
svg:not(.classic):not(.course-index):not(.ephem-range) {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.sym {
  font-family: var(--sym);
  font-style: normal;
  font-variant-emoji: text;
}

/* Elements waiting for a release (video, trial) stay out until they exist. */
[hidden] {
  display: none !important;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: var(--r);
  background: var(--brand);
  color: var(--onBrand);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Buttons: the app's push buttons, at page size. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  font: 600 15px/1.2 var(--ui);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  border-color: var(--ink);
}

.btn.primary {
  border-color: transparent;
  background: var(--brand);
  color: var(--onBrand);
}

.btn.primary:hover {
  background: var(--brandHover);
}

.btn.lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.btn.sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brandText);
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Top bar. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--bar);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

svg.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-word {
  display: grid;
  justify-items: center;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
}

.brand-name {
  font-size: 21px;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}

.brand-sub {
  margin-top: 3px;
  font-size: 8.5px;
  letter-spacing: 0.45em;
  margin-right: -0.45em;
}

.nav {
  flex: 1;
}

.nav ul {
  display: flex;
  gap: 4px;
}

.nav a {
  display: block;
  padding: 8px 10px;
  color: var(--text);
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--brandText);
}

.topbar-cta {
  gap: 0;
  margin-left: auto;
}

.menu-btn {
  display: none;
}

@media (max-width: 1040px) {
  .topbar-in {
    flex-wrap: wrap;
    gap: 8px;
  }

  .menu-btn {
    display: grid;
    margin-right: -10px;
  }

  .nav {
    order: 4;
    flex-basis: 100%;
  }

  .js .nav {
    display: none;
  }

  .js .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 4px 0 12px;
  }

  .nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .topbar-cta .full {
    display: none;
  }
}

/* Hero: a tower of type on the left, the wheel large on the right, past the edge. */
.hero {
  position: relative;
  overflow: clip;
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.6fr) minmax(0, 6.4fr);
  gap: 32px;
  align-items: start;
}

.hero-text {
  position: relative;
  z-index: 1;
  padding-top: 24px;
}

.kicker {
  color: var(--dawn);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin-top: 18px;
  font-size: clamp(38px, 3.9vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 34em;
  color: var(--text);
  font-size: 19px;
  line-height: 1.55;
}

.sub {
  max-width: 38em;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero .lead {
  margin-top: 26px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.terms {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

/* The wheel's SVG keeps empty room above its top labels; the figure rises into it,
   so the wheel and its caption both fit a 900px-high first screen. */
.hero-wheel {
  position: relative;
  width: min(780px, 55vw);
  margin-top: -44px;
  margin-right: calc(-1 * var(--gutter) - 60px);
  justify-self: end;
}

.hero-wheel .classic {
  max-width: none;
}

/* The chart's data under the wheel, never over it. */
.plate {
  display: grid;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  margin: -6% 0 0 6%;
  padding: 6px 14px;
  border-left: 2px solid var(--dawnFill);
  color: var(--muted);
  font: 12.5px/1.45 var(--mono);
}

.plate-src {
  margin-top: 4px;
  font: 11.5px/1.4 var(--ui);
}

.plate-title {
  color: var(--ink);
  font: 600 13px/1.4 var(--ui);
}

/* The chart's positions as a slow strip under the hero: two copies of the
   list, the track moves by one copy, so the loop has no seam. */
.ephem {
  overflow: hidden;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ephem:focus-visible {
  outline-offset: -2px;
}

.ephem-track {
  display: flex;
  width: max-content;
  animation: ephem-run 54s linear infinite;
}

.ephem:hover .ephem-track,
.ephem:focus-within .ephem-track {
  animation-play-state: paused;
}

@keyframes ephem-run {
  to {
    transform: translateX(-50%);
  }
}

.ephem-list {
  display: flex;
  gap: 40px;
  padding: 14px 40px 14px 0;
  color: var(--muted);
  font: 13px/1.4 var(--mono);
  white-space: nowrap;
}

.ephem-list b {
  margin-right: 8px;
  color: var(--ink);
  font-weight: 600;
}

.ephem-list b.sym,
.ephem-list i.sym {
  font-size: 15px;
}

.ephem-list b.sym {
  color: var(--dawn);
}

.ephem-list abbr {
  text-decoration: none;
}

.ephem-list em {
  margin-left: 6px;
  font-style: normal;
  opacity: 0.75;
}

/* Perks. */
.perks-wrap {
  padding: 56px 0 0;
}

.perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.perks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 4px 28px 4px 0;
}

.perks li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.perks svg {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--violet);
}

.perk-title {
  color: var(--ink);
  font-weight: 650;
}

.perks p:not(.perk-title) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

/* Sections. */
.section {
  padding: var(--section) 0;
}

.section.tinted {
  background: var(--tint);
}

.head {
  margin-bottom: 56px;
}

.head.center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.head.center .sub {
  margin-inline: auto;
}

/* Heading on the left, its paragraph pushed right: an asymmetric start. */
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 64px;
  align-items: end;
}

h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.head .sub,
.wide-title + * {
  margin-top: 0;
}

.head.center .sub {
  margin-top: 20px;
}

.wide-title {
  max-width: 16em;
  margin-bottom: 56px;
}

/* Bento of real crops. */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tile > p,
.tile-text p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.tile-text {
  display: grid;
  gap: 10px;
  max-width: 34em;
}

.t-analysis { grid-column: 1 / 6; grid-row: 1 / 3; }
.t-zet { grid-column: 6 / 13; }
.t-ai { grid-column: 6 / 9; }
.t-export { grid-column: 9 / 13; }
.t-forecast { grid-column: 1 / 9; }
.t-courses { grid-column: 9 / 13; }

/* Crops sit at the app's own size, as small windows inside the tile. */
.crop {
  margin-top: auto;
  padding-top: 16px;
}

.crop img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line), 0 10px 28px -14px rgba(12, 20, 36, 0.35);
}

.crop-dign img {
  margin: 0 auto;
}

.crop-pal {
  margin-right: -28px;
  margin-bottom: -28px;
}

.crop-pal img {
  border-radius: 8px 0 0 0;
}

.crop-exp {
  align-self: flex-end;
  margin-right: -6px;
}

.crop-tr {
  margin-right: -28px;
  margin-bottom: -28px;
}

.crop-tr img {
  border-radius: 8px 0 0 0;
}

.t-ai {
  --glow-bg: var(--night);
  background: var(--night);
  color: var(--on-night);
}

.t-ai h3 {
  color: #ffffff;
}

.t-ai > p {
  color: var(--on-night-muted);
}

.t-ai .quote {
  margin-top: auto;
  padding-top: 12px;
  color: #ffffff;
  font: 500 23px/1.25 var(--display);
}

.t-ai .link {
  color: var(--on-night-link);
}

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font: 500 12px/1.6 var(--ui);
  vertical-align: 2px;
}

.flow {
  display: grid;
  gap: 0;
  padding-top: 12px;
  counter-reset: flow;
}

.flow li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  counter-increment: flow;
}

.flow li::before {
  content: counter(flow);
  color: var(--brandText);
  font: 500 13px/1.6 var(--mono);
}

.also {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 40px;
}

.also-title {
  color: var(--ink);
  font-weight: 650;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
}

.chips.soon li {
  border-style: dashed;
  color: var(--muted);
}

.chips.soon span {
  margin-right: 4px;
  color: var(--brandText);
  font-weight: 650;
}

/* Night band. */
.night {
  position: relative;
  overflow: clip;
  padding: 120px 0;
  background-color: var(--night);
  background-image:
    radial-gradient(1100px 600px at 78% 30%, rgba(110, 86, 240, 0.26), transparent 70%),
    radial-gradient(520px 220px at 6% 108%, rgba(240, 170, 60, 0.12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  color: var(--on-night);
}

.night-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: center;
}

.night h2 {
  color: #ffffff;
}

.night-text p {
  margin-top: 24px;
  color: var(--on-night-muted);
  font-size: 17px;
}

.spec {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.spec div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font: 13.5px/1.4 var(--mono);
}

.spec dt {
  color: var(--on-night-muted);
}

.spec dd {
  color: #ffffff;
  text-align: right;
}

.window {
  position: relative;
  container-type: inline-size;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-window);
}

.window img {
  width: 100%;
}

.lights {
  position: absolute;
  top: 1.6cqw;
  left: 1.4cqw;
  display: flex;
  gap: 0.6cqw;
}

.lights i {
  width: 0.9cqw;
  height: 0.9cqw;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background: #ff5f57;
}

.lights i:nth-child(2) {
  background: #febc2e;
}

.lights i:nth-child(3) {
  background: #28c840;
}

.night-window {
  width: 118%;
  padding-top: 3.2%;
  background: #1e1e21;
}

.night-window img {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ZET with the live search. */
.zet-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 32px 72px;
  align-items: start;
}

.zet-text .sub {
  margin-top: 24px;
}

.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 40px;
}

.points li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.points h3 {
  font-size: 17px;
}

.points p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.zet-demo {
  position: sticky;
  top: calc(var(--bar) + 24px);
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.zet-demo label {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

.zs-field {
  position: relative;
  margin-top: 10px;
}

.zs-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transform: translateY(-50%);
}

.zs-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.2 var(--ui);
}

.zs-field input::placeholder {
  color: var(--muted);
}

.zs-field input:focus-visible {
  outline: 2px solid var(--brandText);
  outline-offset: 1px;
}

.zs-try {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.zs-try button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 14px/1 var(--ui);
  cursor: pointer;
}

.zs-try button:hover {
  border-color: var(--brandText);
  color: var(--brandText);
}

.zs-status {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.zs-results {
  display: grid;
  margin-top: 8px;
}

.zs-results li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.zs-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 650;
}

.zs-zet {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.zs-where {
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
}

.zs-results mark {
  background: var(--accentSoft);
  color: inherit;
  border-radius: 3px;
}

.notice {
  display: flex;
  margin-top: 48px;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-left: 3px solid var(--brandText);
  background: var(--accentSoft);
}

.notice > svg {
  color: var(--brandText);
}

.notice p {
  flex: 1;
  color: var(--text);
  font-size: 15px;
}

.notice strong {
  color: var(--ink);
}

/* Audience as a ledger: each row has its icon, its text and a real crop of the app. */
.ledger li {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: 24px 40px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line-strong);
}

.ledger li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.aud-pro { --aud: var(--plan-m); }
.aud-student { --aud: var(--plan-a); }
.aud-teacher { --aud: var(--plan-l); }

.aud-head {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.aud-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--aud) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--aud) 35%, transparent);
  color: var(--aud);
}

.aud-tile svg {
  width: 24px;
  height: 24px;
}

.ledger h3 {
  font: 600 clamp(22px, 2.2vw, 30px)/1.2 var(--display);
  letter-spacing: -0.015em;
}

.aud-body p {
  color: var(--text);
}

.aud-body .link {
  margin-top: 8px;
}

.aud-shot {
  display: grid;
  gap: 10px;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 3px 0 var(--aud), var(--shadow);
}

.aud-shot img {
  width: 100%;
  border-radius: 8px;
}

.aud-stack {
  align-content: center;
  padding: 16px 12px;
}

.aud-stack picture:last-child img {
  width: 100%;
}

/* AI: the sticky story. */
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
}

.story-steps {
  display: grid;
  gap: 12px;
  align-content: start;
}

.story-steps li {
  --glow-bg: var(--surface);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: opacity 300ms ease, border-color 300ms ease;
}

.story-steps .step-n {
  grid-row: span 2;
  color: var(--violet);
  font: 600 28px/1 var(--display);
}

.story-steps h3 {
  font-size: 19px;
}

.story-steps p:not(.step-n) {
  color: var(--muted);
  font-size: 15.5px;
}

.js .story-steps li:not(.active) {
  opacity: 0.6;
}

.story-stage {
  position: sticky;
  top: calc(var(--bar) + 24px);
  align-self: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* The panel at the top left, the wheel below and to the right, overlapping its corner. */
.assistant {
  --glow-bg: var(--surface);
  position: relative;
  z-index: 1;
  width: min(410px, 100%);
  padding: 18px 20px 20px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-window);
  font-size: 14.5px;
}

.ai-wheel {
  width: min(470px, 100%);
  margin: -150px 0 0 auto;
}

.ai-wheel .classic {
  max-width: none;
}

.as-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.as-title {
  color: var(--ink);
  font-weight: 650;
}

.as-modes {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: var(--tint);
  font-size: 12.5px;
}

.as-modes span {
  padding: 2px 9px;
  border-radius: 6px;
  color: var(--muted);
}

.as-modes .on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 0.5px var(--line-strong);
}

.as-chart {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

.as-chart svg {
  width: 14px;
  height: 14px;
  color: var(--brandText);
}

.as-q {
  justify-self: end;
  width: fit-content;
  max-width: 85%;
  margin: 14px 0 0 auto;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--accentSoft);
  color: var(--ink);
}

.as-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.as-tools li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.as-tools svg {
  width: 13px;
  height: 13px;
}

.as-typed {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: var(--text);
  line-height: 1.5;
}

.as-typed strong {
  color: var(--ink);
}

.as-src {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.as-src-n {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--accentSoft);
  color: var(--brandText);
  font: 600 12px/1 var(--ui);
}

.stage-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
}

.replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-left: 8px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 500 13px/1 var(--ui);
  cursor: pointer;
}

.replay svg {
  width: 14px;
  height: 14px;
}

/* States of the story; without scripts the stage stays at its last state. */
.as-tools li,
.as-answer,
.as-src,
.as-q {
  transition: opacity 400ms ease, transform 400ms ease;
}

.story-stage[data-state="0"] .as-q,
.story-stage[data-state="0"] .as-tools li,
.story-stage[data-state="1"] .as-tools li,
.story-stage[data-state="0"] .as-answer,
.story-stage[data-state="1"] .as-answer,
.story-stage[data-state="0"] .as-src,
.story-stage[data-state="1"] .as-src,
.story-stage[data-state="2"] .as-src,
.story-stage[data-state="3"] .as-src {
  opacity: 0;
  transform: translateY(6px);
}

.story-stage[data-state="2"] .as-tools li:nth-child(5) {
  opacity: 0.3;
}

/* Before step 3 the wheel shows the chart without the assistant's highlight. */
.wheel-ai .dim,
.wheel-ai .house-lit,
.wheel-ai .lit {
  transition: opacity 600ms ease, fill-opacity 600ms ease, fill 600ms ease;
}

.story-stage:is([data-state="0"], [data-state="1"], [data-state="2"]) .wheel-ai .dim {
  opacity: 1;
}

.story-stage:is([data-state="0"], [data-state="1"], [data-state="2"]) .wheel-ai .house-lit {
  fill-opacity: 0;
}

.story-stage:is([data-state="0"], [data-state="1"], [data-state="2"]) .wheel-ai .lit {
  fill: var(--clbl);
}

.ai-foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 64px;
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.chips.quotes {
  margin-top: 12px;
}

.chips.quotes li {
  border-radius: var(--r);
  background: var(--surface);
}

.ai-privacy {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

/* Courses. */
.courses-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 32px 72px;
  align-items: start;
}

.courses-side {
  position: sticky;
  top: calc(var(--bar) + 32px);
  display: grid;
  gap: 48px;
}

/* The index, drawn: the lesson's sound track and the PDF's pages, with what search found in gold. */
svg.course-index {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  color: var(--violet);
  font-family: var(--mono);
}

.course-index .ci-label {
  fill: var(--muted);
  font: 600 12px var(--ui);
}

.course-index .ci-bar {
  fill: currentColor;
  opacity: 0.32;
}

.course-index .ci-bar.hit {
  fill: var(--dawn);
  opacity: 1;
}

.course-index .ci-band {
  fill: var(--dawnSoft);
}

.course-index .ci-axis,
.course-index .ci-tick {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.course-index .ci-time,
.course-index .ci-num {
  fill: var(--muted);
  font-size: 11px;
}

.course-index .ci-pin rect {
  fill: var(--dawnFill);
}

.course-index .ci-pin text {
  fill: #1a1433;
  font-size: 11px;
  font-weight: 600;
}

.course-index .ci-page rect:first-child {
  fill: var(--surface);
  stroke: var(--line-strong);
}

.course-index .ci-line {
  fill: var(--line-strong);
}

.course-index .ci-page.hit rect:first-child {
  stroke: var(--dawnFill);
  stroke-width: 2;
}

.course-index .ci-line.mark {
  fill: var(--dawnFill);
}

.course-index .ci-page.hit .ci-num {
  fill: var(--dawn);
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: 40px;
  padding-left: 32px;
  counter-reset: tl;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 1px;
  background: var(--line-strong);
}

.timeline li {
  position: relative;
  counter-increment: tl;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -32px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--tint);
  border-radius: 50%;
  background: var(--brandText);
}

.timeline h3 {
  font-size: 18px;
}

.timeline p {
  margin-top: 4px;
  color: var(--muted);
}

.privacy {
  margin-top: 40px;
  padding: 18px 20px;
  border-left: 3px solid var(--brandText);
  background: var(--accentSoft);
  color: var(--text);
  font-size: 15px;
}

/* Comparison as a ledger table. */
.table-card {
  overflow: hidden;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.compare th,
.compare td {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  padding-top: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.compare thead th:last-child {
  color: var(--brandText);
  font-weight: 650;
}

.compare tbody th {
  width: 28%;
  color: var(--ink);
  font: 600 19px/1.3 var(--display);
  letter-spacing: -0.01em;
}

.compare td {
  width: 36%;
  color: var(--muted);
}

.compare td:last-child {
  color: var(--ink);
}

/* Trust. */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px 72px;
  align-items: start;
}

.trust-side {
  position: sticky;
  top: calc(var(--bar) + 32px);
  display: grid;
  gap: 40px;
}

/* The years Swiss Ephemeris covers in Зоря, with the demo chart and today on it. */
svg.ephem-range {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  overflow: visible;
  font-family: var(--mono);
}

.ephem-range .er-band {
  fill: color-mix(in srgb, var(--violet) 30%, transparent);
  stroke: var(--violet);
  stroke-width: 1;
}

.ephem-range .er-out {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.ephem-range .er-hatch-line {
  stroke: var(--line-strong);
  stroke-width: 2;
}

.ephem-range .er-mark line {
  stroke: var(--dawn);
  stroke-width: 1.5;
}

.ephem-range .er-mark circle {
  fill: var(--dawnFill);
  stroke: var(--surface);
  stroke-width: 2;
}

.ephem-range .er-mark text {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.ephem-range .er-mark.now line {
  stroke: var(--violet);
}

.ephem-range .er-mark.now circle {
  fill: var(--violet);
}

.ephem-range .er-year {
  fill: var(--muted);
  font-size: 14px;
}

.ephem-range .er-note {
  fill: var(--violet);
  font: 600 15px var(--ui);
}

.ephem-range .er-note.muted {
  fill: var(--muted);
  font-weight: 500;
}

/* The demo chart's data tab: the numbers a result can be checked against. */
.check-plate {
  max-width: 480px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 3px 0 var(--violet), var(--shadow);
}

.check-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.check-plate dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

.check-plate dt {
  color: var(--muted);
}

.check-plate dd {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  text-align: right;
}

.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.trust li {
  padding: 22px 0 24px;
  border-top: 1px solid var(--line-strong);
}

.trust li.wide {
  grid-column: 1 / -1;
}

.trust h3 {
  font-size: 18px;
}

.trust p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15.5px;
}

/* Pricing. */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 36px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan {
  --pc: var(--brand);
  --pcOn: var(--onBrand);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 4px 0 var(--pc), var(--shadow);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.plan-m {
  --pc: var(--plan-m);
  --pcOn: var(--plan-on);
}

.plan-a {
  --pc: var(--plan-a);
  --pcOn: var(--plan-on);
}

.plan-l {
  --pc: var(--plan-l);
  --pcOn: var(--plan-on);
}

.plan:has(input:checked) {
  box-shadow: inset 0 4px 0 var(--pc), 0 0 0 2px var(--pc), 0 24px 48px -24px color-mix(in srgb, var(--pc) 60%, transparent);
  transform: translateY(-4px);
}

.plan:has(input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.plan.addon {
  --glow-bg: var(--night);
  --pc: var(--g3);
  --pcOn: #1a1433;
  box-shadow: var(--shadow);
  color: var(--on-night);
}

.plan.addon:has(input:checked) {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--g3) 55%, transparent), 0 24px 48px -24px rgba(240, 170, 60, 0.5);
}

.plan.addon h3,
.plan.addon .amount {
  color: #ffffff;
}

.plan.addon .per,
.plan.addon .for {
  color: var(--on-night-muted);
}

.plan.addon .checks li {
  color: var(--on-night);
}

.flag {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--pc);
  color: var(--pcOn);
  font-size: 12px;
  font-weight: 650;
}

.plan h3 {
  font-size: 17px;
}

.price {
  margin-top: 12px;
}

.price .amount {
  color: var(--ink);
  font: 700 42px/1 var(--display);
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}

.price .per {
  color: var(--muted);
  font-size: 14.5px;
}

.plan .for {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

.checks {
  display: grid;
  gap: 8px;
}

.plan .checks {
  flex: 1;
  align-content: start;
  margin: 18px 0 20px;
  font-size: 14.5px;
}

.checks li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
}

.checks svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--pc, var(--brandText));
  stroke-width: 2.4;
}

.pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.plan:has(input:checked) .pick {
  border-color: transparent;
  background: var(--pc);
  color: var(--pcOn);
}

.addon .pick {
  border-color: rgba(255, 255, 255, 0.3);
}

.pick::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
}

.pick input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.pick input:focus-visible {
  outline: none;
}

.plan:has(input:checked) .pick input {
  accent-color: var(--pcOn);
}

.link-plus {
  display: grid;
  place-items: center;
  color: var(--ink);
}

.link-plus svg {
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  stroke-width: 2.2;
}

.summary {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary .rows {
  flex: 1;
}

.summary dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
}

.summary dl > div {
  display: grid;
}

.summary dt {
  color: var(--muted);
  font-size: 13px;
}

.summary dd {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.summary .total dd {
  font: 700 30px/1 var(--display);
}

.today-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
}

.summary .next {
  margin-top: 10px;
  font-size: 14.5px;
}

.summary .note {
  color: var(--muted);
}

.price-notes {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.trial {
  margin-top: 16px;
  color: var(--text);
  font-size: 14.5px;
  text-align: center;
}

/* FAQ. */
.faq {
  columns: 2;
  column-gap: 48px;
}

.faq details {
  break-inside: avoid;
  border-top: 1px solid var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: 17px;
}

.faq summary svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 15.5px;
}

/* Final CTA in the night colour. */
.final {
  padding: 120px 0;
  background-color: var(--night);
  background-image:
    radial-gradient(900px 500px at 20% 0%, rgba(110, 86, 240, 0.24), transparent 70%),
    radial-gradient(520px 240px at 96% 112%, rgba(240, 170, 60, 0.12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  color: var(--on-night);
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 64px;
  align-items: start;
}

.final h2 {
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.08;
}

.final-body p {
  color: var(--on-night-muted);
  font-size: 17px;
}

.final .btn:not(.primary) {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.final .btn:not(.primary):hover {
  border-color: #ffffff;
}

.final .small {
  margin-top: 16px;
  font-size: 14px;
}

/* Footer. */
.waitlist-form { margin-top: 28px; }
.waitlist-form > label { display: block; margin-bottom: 10px; font-weight: 600; }
.waitlist-row { display: flex; gap: 10px; align-items: stretch; }
.waitlist-row input {
  min-width: 0; flex: 1; width: 100%; padding: 15px 16px;
  border: 1px solid rgba(236,233,255,.4); border-radius: 8px;
  background: rgba(255,255,255,.08); color: var(--on-night); font: inherit;
}
.waitlist-row input::placeholder { color: var(--on-night-muted); }
.waitlist-row input:focus-visible { outline: 2px solid var(--on-night-link); outline-offset: 3px; }
.waitlist-row button { white-space: nowrap; }
.waitlist-row button:disabled { opacity: .65; cursor: wait; }
.waitlist-form .waitlist-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-weight: 400; font-size: 14px; line-height: 1.6; color: var(--on-night-muted); }
.waitlist-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--g2); }
.waitlist-consent a, .waitlist-unsubscribe { color: var(--on-night-link); text-decoration: underline; text-underline-offset: 3px; }
.final-body .waitlist-status { margin-top: 16px; font-size: 15px; }
.waitlist-status:empty { display: none; }
.final-body .waitlist-status[data-state="success"] { color: #b8ecd1; }
.final-body .waitlist-status[data-state="error"] { color: #ffc8bf; }
.waitlist-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-unsubscribe { font-size: 14px; }
.waitlist-privacy { margin-top: 24px; color: var(--on-night-muted); }
.waitlist-privacy summary { cursor: pointer; font-size: 14px; }
.final-body .waitlist-privacy p { font-size: 14px; margin-top: 12px; }
.unsubscribe-page { min-height: 100svh; display: grid; align-items: center; }
.unsubscribe-page h1 { color: var(--on-night); font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; }
@media (max-width: 600px) {
  .waitlist-row { flex-direction: column; }
  .waitlist-row button { width: 100%; }
}

.footer {
  padding: 40px 0 48px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer .brand {
  color: var(--ink);
}

.footer-links a,
.footer-legal a {
  display: inline-block;
  padding: 6px 0;
}

.footer a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p a {
  text-decoration: underline;
}

/* The wheel, as Зоря draws it: rules of ClassicWheel.vue, taken from the app. */
.pb { fill: var(--pb); color: var(--pb); }
.pg { fill: var(--pg); color: var(--pg); }
.pd { fill: var(--pd); color: var(--pd); }
.hard { fill: var(--hard); color: var(--hard); }

.zf0[data-v-040f25ae] { fill: var(--z0); }
.zf1[data-v-040f25ae] { fill: var(--z1); }
.zf2[data-v-040f25ae] { fill: var(--z2); }
.zf3[data-v-040f25ae] { fill: var(--z3); }
.zf4[data-v-040f25ae] { fill: var(--z4); }
.zf5[data-v-040f25ae] { fill: var(--z5); }
.zf6[data-v-040f25ae] { fill: var(--z6); }
.zf7[data-v-040f25ae] { fill: var(--z7); }
.zf8[data-v-040f25ae] { fill: var(--z8); }
.zf9[data-v-040f25ae] { fill: var(--z9); }
.zf10[data-v-040f25ae] { fill: var(--z10); }
.zf11[data-v-040f25ae] { fill: var(--z11); }
.band[data-v-040f25ae] { fill: var(--band); }
.inner[data-v-040f25ae] { fill: var(--inner); }
.ring[data-v-040f25ae] { fill: none; stroke: var(--ring); stroke-width: 1; }
.tick[data-v-040f25ae] { fill: none; stroke: var(--tick); stroke-width: 0.8; }
.sg[data-v-040f25ae] { fill: var(--sg); font-family: var(--sym); font-size: 21px; font-variant-emoji: text; }
.cusp[data-v-040f25ae] { stroke: var(--cusp); stroke-width: 1; }
.cusp.ring1[data-v-040f25ae] { stroke: var(--ring1); stroke-opacity: 0.6; }
.clbl[data-v-040f25ae] { fill: var(--clbl); font-family: var(--ui); font-size: 12.5px; font-weight: 500; letter-spacing: 0.4px; }
.ax-asc[data-v-040f25ae] { stroke: var(--asc); stroke-width: 1.8; }
.ax-asc-head[data-v-040f25ae] { fill: none; stroke: var(--asc); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ax-dsc[data-v-040f25ae] { stroke: var(--asc); stroke-width: 1; }
.ax-mc[data-v-040f25ae] { stroke: var(--mc); stroke-width: 1.8; }
.ax-mc-end[data-v-040f25ae] { fill: var(--inner); stroke: var(--mc); stroke-width: 1.6; }
.ax-ic[data-v-040f25ae] { stroke: var(--ic); stroke-width: 1.2; }
.albl[data-v-040f25ae] { fill: var(--clbl); font-family: var(--ui); font-size: 13px; font-weight: 600; }
.outer.faded[data-v-040f25ae] { opacity: 0.5; }
.house-lit[data-v-040f25ae] { fill: var(--accent); fill-opacity: 0.13; }
.albl.lit[data-v-040f25ae], .clbl.lit[data-v-040f25ae] { fill: var(--accent); font-weight: 700; }
.asp[data-v-040f25ae] { fill: none; stroke-linecap: round; transition: opacity 120ms; }
.asp.hard[data-v-040f25ae] { stroke: var(--hard); }
.asp.soft[data-v-040f25ae] { stroke: var(--soft); }
.am[data-v-040f25ae] { fill: var(--inner); stroke-width: 1.2; }
.am.hard[data-v-040f25ae] { stroke: var(--hard); }
.am.soft[data-v-040f25ae] { stroke: var(--soft); }
.am-x[data-v-040f25ae] { fill: none; stroke-width: 1.2; }
.am-x.soft[data-v-040f25ae] { stroke: var(--soft); }
.am-x.hard[data-v-040f25ae] { stroke: var(--hard); }
.dim[data-v-040f25ae] { opacity: 0.15; }
.center[data-v-040f25ae] { fill: var(--inner); stroke: var(--ring); stroke-width: 1; }
.ptick[data-v-040f25ae] { stroke: var(--dot); stroke-width: 1; }
.pdot[data-v-040f25ae] { fill: var(--dot); }
.planet[data-v-040f25ae] { cursor: pointer; transition: opacity 120ms; }
.planet.dim[data-v-040f25ae] { opacity: 0.35; }
.hit[data-v-040f25ae] { fill: transparent; }
.planet.on .hit[data-v-040f25ae] { fill: var(--sel); }
.pl[data-v-040f25ae] { font-family: var(--sym); font-size: 23px; font-variant-emoji: text; }
.rx[data-v-040f25ae] { font-family: var(--ui); font-size: 9px; font-weight: 700; }
.gl-path[data-v-040f25ae] { fill: none; stroke: currentcolor; stroke-width: 1.9; stroke-linecap: round; }
.ring1[data-v-040f25ae] { color: var(--ring1); fill: var(--ring1); }
.ring2[data-v-040f25ae] { color: var(--ring2); fill: var(--ring2); }
.ring3[data-v-040f25ae] { color: var(--ring3); fill: var(--ring3); }
.ring4[data-v-040f25ae] { color: var(--ring4); fill: var(--ring4); }
.ring5[data-v-040f25ae] { color: var(--ring5); fill: var(--ring5); }
.ring6[data-v-040f25ae] { color: var(--ring6); fill: var(--ring6); }
.outer-band[data-v-040f25ae] { fill: none; stroke: currentcolor; stroke-opacity: 0.07; }
.opl[data-v-040f25ae] { font-family: var(--sym); font-size: 20px; font-variant-emoji: text; }
.otick[data-v-040f25ae] { stroke: currentcolor; stroke-width: 1.2; }
.opointer[data-v-040f25ae] { stroke: currentcolor; stroke-width: 0.6; stroke-opacity: 0.6; }
.opoint[data-v-040f25ae] { fill: var(--inner); stroke: currentcolor; stroke-width: 1.2; }
.outer-angle line[data-v-040f25ae] { stroke: currentcolor; stroke-width: 1.6; }
.outer-angle text[data-v-040f25ae] { font-family: var(--ui); font-size: 9.5px; font-weight: 650; }

.classic {
  display: block;
  width: 100%;
  height: auto;
}

.classic .planet {
  cursor: default;
}

/* The one orchestrated moment: the hero wheel assembles itself once. */
@media (prefers-reduced-motion: no-preference) {
  .wheel-hero .zodiac {
    transform-box: view-box;
    transform-origin: 50% 50%;
    animation: z-turn 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .wheel-hero .planet {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: p-in 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(700ms + var(--i) * 90ms);
  }

  .wheel-hero .asp {
    stroke-dasharray: 1;
    animation: a-draw 900ms ease-out both;
    animation-delay: calc(1.6s + var(--a, 0) * 70ms);
  }


  .wheel-hero .am,
  .wheel-hero .am-x {
    animation: m-in 400ms ease both;
    animation-delay: 2.9s;
  }
}

@keyframes z-turn {
  from {
    opacity: 0;
    transform: rotate(-24deg);
  }

  35% {
    opacity: 1;
  }

  to {
    transform: none;
  }
}

@keyframes p-in {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes a-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes m-in {
  from {
    opacity: 0;
  }
}

/* A gradient edge that turns slowly around AI blocks (needs @property; see the
   has-property class set in the page head). Reduced motion keeps it still. */
.glow,
.js .story-steps li.active {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--glow-bg), var(--glow-bg)) padding-box,
    conic-gradient(from var(--glow-angle), var(--g1), var(--g2), var(--g3), var(--g2), var(--g1)) border-box;
}

.has-property .glow,
.has-property .story-steps li.active {
  animation: glow-turn 7s linear infinite;
}

@keyframes glow-turn {
  to {
    --glow-angle: 360deg;
  }
}

/* Narrower windows. */
@media (max-width: 1200px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-plus {
    display: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-head,
  .night-grid,
  .zet-grid,
  .story,
  .courses-grid,
  .trust-grid,
  .final-grid,
  .ai-foot {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-wheel {
    width: 100%;
    margin: 0;
    justify-self: stretch;
  }

  .perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .perks li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }



  .t-analysis,
  .t-zet,
  .t-ai,
  .t-export,
  .t-forecast,
  .t-courses {
    grid-column: span 12;
    grid-row: auto;
  }

  .t-ai,
  .t-export {
    grid-column: span 6;
  }

  .night-window {
    width: 100%;
  }

  .zet-demo,
  .courses-side,
  .trust-side {
    position: static;
  }

  .js .story-steps li:not(.active) {
    opacity: 1;
  }

  .story-stage {
    position: static;
    min-height: 0;
  }

  .summary {
    flex-direction: column;
    align-items: stretch;
  }

  .ledger li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .aud-shot {
    grid-column: 2;
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding-top: 40px;
  }

  .lead,
  .sub {
    font-size: 17px;
  }

  .actions .btn {
    flex: 1 1 100%;
  }

  .hero-wheel {
    width: calc(100% + 2 * var(--gutter));
    margin: 24px calc(-1 * var(--gutter)) 0;
  }

  .plate {
    margin: 0 var(--gutter);
  }

  .ephem-list {
    gap: 28px;
    padding-right: 28px;
  }

  .perks,
  .points,
  .plans,
  .trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .perks li + li {
    padding-left: 0;
    border-left: 0;
  }



  .tile {
    padding: 22px;
  }

  .t-ai,
  .t-export {
    grid-column: span 12;
  }

  .crop-pal,
  .crop-tr {
    margin-right: -22px;
    margin-bottom: -22px;
  }

  /* On a phone the crops keep the app's size and run off the tile's edge. */
  .crop-pal img {
    width: 560px;
    max-width: none;
  }

  .crop-tr img {
    width: 620px;
    max-width: none;
  }

  .night-window {
    width: 190%;
  }

  .ledger li {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
  }

  .aud-shot {
    justify-self: stretch;
    max-width: none;
  }

  .assistant {
    width: 100%;
  }

  .story-steps li {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 16px;
  }

  .ai-wheel {
    width: 100%;
  }

  .story-stage {
    gap: 16px;
  }

  .ai-wheel {
    margin-top: 16px;
  }

  .notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq {
    columns: 1;
  }

  .final .btn {
    white-space: normal;
    text-align: center;
  }

  /* The comparison table reads as one card per task on a phone. */
  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td,
  .compare tbody th {
    display: block;
    width: auto;
  }

  .compare tr {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }

  .compare th,
  .compare td {
    padding: 0;
    border: 0;
  }

  .compare td {
    margin-top: 10px;
  }

  .compare td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
  }
}

/* The demo video's player: a modal over the dimmed page, night sky in either theme. */
.player {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #0e0b2a;
  color: #ece9ff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 100px -30px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.player::backdrop {
  background: rgba(7, 6, 22, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.player :focus-visible {
  outline-color: #f4c063;
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 6px 6px 20px;
}

.player-title {
  margin: 0;
  color: inherit;
  font: 500 17px/1.3 var(--display);
  letter-spacing: 0;
}

.player-close {
  color: inherit;
}

.player-close svg {
  width: 20px;
  height: 20px;
}

.player-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 140px);
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-note {
  margin: 0;
  padding: 10px 20px 14px;
  color: #b6b1d8;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
