/* Astrally landing page. Tokens follow the AstroPath "Deep Ink & Ember" design
   system: serif carries the dominant information, Inter the structure, there is
   no bold (500 is the heaviest weight), Ember marks one action per screen and
   gold only appears around the cards. */

/* Variable fonts with an optical-size axis, so large serif headings draw with
   the finer display cut. Polish letters live in the latin-ext files. */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin-normal.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin-italic.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/source-serif-4-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin-normal.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  --canvas: #161311;
  --surface-1: #1f1b18;
  --surface-2: #272220;
  --surface-elevated: #302a26;
  --surface-well: #221d1a;
  --surface-pressed: #1a1614;
  --hairline: #2c2622;
  --border-strong: #3a322c;

  --text: #f4ede5;
  --text-light: #c0b4a8;
  --text-muted: #9c9084;
  --text-faint: #5c544d;

  --ember: #d2703c;
  --ember-strong: #e58347;
  --ember-pressed: #b4592b;
  --ember-selected-bg: #2e1e14;
  --ember-selected-border: #6b3a1f;
  --on-ember: #17130f;
  --gold: #c9a35b;
  --caution: #b9a15a;
  --destructive: #bc4b4b;
  --wash: #241c2b;

  /* Ember into gold, as on the OG image: the accent phrase carries the brand colour
     instead of the grey bone it had, which read as disabled text. */
  --accent: linear-gradient(100deg, var(--ember-strong) 15%, var(--gold) 95%);

  --font-serif: 'Source Serif 4', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max-width: 1320px;
  --section-pad: clamp(80px, 10vw, 144px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.3, 1);

  --toplight: inset 0 1px 0 rgba(255, 244, 235, 0.08);
  --surface-shadow: 0 12px 24px -20px rgba(0, 0, 0, 0.65);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.i18n-pending body {
  visibility: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
blockquote,
dl,
dd {
  margin: 0;
}

a {
  color: var(--ember);
  text-decoration: none;
}

a:hover {
  color: var(--ember-strong);
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(210, 112, 60, 0.35);
}

:focus-visible {
  outline: 2px solid var(--ember-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--ember);
  color: var(--on-ember);
  font-weight: 500;
}

.skip-link:focus {
  top: 12px;
  color: var(--on-ember);
}

/* As in the design, the gutter sits outside the 1320px content width; only the
   header and the hero grid count it inside. */
.wrap {
  box-sizing: content-box;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header.wrap,
.hero-grid.wrap {
  box-sizing: border-box;
  width: 100%;
}

.section {
  position: relative;
  border-top: 1px solid var(--hairline);
}

.section-pad {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.spin {
  transform-origin: 400px 400px;
  animation: ap-orbit var(--spin, 90s) linear infinite;
}

.spin--rev {
  animation-direction: reverse;
}

.stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes ap-orbit { to { transform: rotate(360deg); } }
@keyframes ap-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ap-marquee { to { transform: translateX(-50%); } }
@keyframes ap-marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes ap-sweep { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes ap-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ap-spin { to { transform: rotate(360deg); } }

/* ---------- Type ---------- */

.label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.label--light {
  color: var(--text-light);
}

.label--gold {
  color: var(--gold);
}

.meta {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.h-xl,
.h-lg {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h-xl {
  font-size: clamp(40px, 5.6vw, 80px);
}

.h-lg {
  font-size: clamp(40px, 5vw, 72px);
}

.h-md {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.soft {
  font-style: italic;
}

/* The negative margin cancels the padding that keeps the italic overhang of the
   last letter inside the clipped background. */
.soft,
.hero-title span,
.cta-title span {
  padding-right: 0.08em;
  margin-right: -0.08em;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.body-lg {
  max-width: 30em;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
  text-wrap: pretty;
}

.small-lead {
  max-width: 22em;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ---------- Controls ---------- */

.btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 120ms ease-out;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--ember);
  color: var(--on-ember);
}

.btn-primary:hover {
  color: var(--on-ember);
}

.btn-primary:active {
  background: var(--ember-pressed);
}

.btn-secondary {
  height: 48px;
  padding: 0 16px;
  background: var(--surface-2);
  color: var(--text);
}

.btn-secondary:active {
  background: var(--surface-pressed);
}

.btn-ghost {
  height: 44px;
  padding: 0 12px;
  background: transparent;
  color: var(--text-light);
}

.btn-ghost:active {
  background: var(--surface-pressed);
}

.btn:disabled {
  cursor: default;
}

.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  animation: ap-spin 900ms linear infinite;
}

.btn .spinner circle {
  opacity: 0.3;
}

.btn.is-loading .spinner {
  display: block;
}

.panel {
  border-radius: 24px;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  box-shadow: var(--toplight), var(--surface-shadow);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(100vh, 1000px);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 70% at 70% -10%, var(--wash) 0%, rgba(36, 28, 43, 0) 60%),
    radial-gradient(60% 60% at calc(50% + min(35vw, 640px)) 70%, rgba(210, 112, 60, 0.12) 0%, rgba(210, 112, 60, 0) 70%),
    var(--canvas);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: none;
}

.brand-symbol,
.brand-wordmark {
  flex: none;
}

.site-header .brand-wordmark {
  margin-top: 8px;
}

.header-end {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  font-size: 14px;
}

.site-nav a {
  color: var(--text-light);
}

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

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
}

.lang-switch button {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-switch button[aria-pressed='true'] {
  background: var(--surface-2);
  color: var(--text);
}

.hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  animation: ap-rise 700ms var(--ease-out) both;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ember-strong);
  box-shadow: 0 0 0 4px rgba(229, 131, 71, 0.18);
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-title span {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 30em;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-light);
  text-wrap: pretty;
}

/* Waitlist */

.waitlist {
  position: relative;
  max-width: 540px;
}

.waitlist:focus {
  outline: none;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  box-shadow: var(--toplight), 0 24px 48px -24px rgba(0, 0, 0, 0.8);
}

.form-pill .field {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  caret-color: var(--ember-strong);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color 120ms ease;
}

.input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.input:focus {
  border-color: var(--ember-strong);
}

.input[aria-invalid='true'] {
  border-color: var(--destructive);
}

.field-error {
  margin-top: 8px;
  padding-left: 4px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--caution);
}

.form-proof {
  margin-top: -4px;
  padding-left: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

.form-below {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 4px;
}

.checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  cursor: pointer;
}

.checkbox-box {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--on-ember);
  transition: background-color 120ms ease-out;
}

.checkbox-box svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.checkbox input:checked + .checkbox-box {
  background: var(--ember);
  border-color: var(--ember);
}

.checkbox input:checked + .checkbox-box svg {
  opacity: 1;
}

.checkbox input[aria-invalid='true'] + .checkbox-box {
  border-color: var(--destructive);
}

.checkbox input:focus-visible + .checkbox-box {
  outline: 2px solid var(--ember-strong);
  outline-offset: 2px;
}

.checkbox-label {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-light);
}

.form-note {
  margin: 0 0 0 36px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--caution);
}

.form-note[role='alert'] {
  margin-top: 4px;
}

.privacy-link {
  align-self: flex-start;
  margin-left: 36px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  cursor: pointer;
}

.privacy-link:hover {
  color: var(--text-light);
}

.noscript-note {
  font-size: 15px;
  color: var(--text-light);
}

.waitlist-success {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: var(--ember-selected-bg);
  border: 1px solid var(--ember-selected-border);
  animation: ap-rise 400ms ease-out both;
}

.waitlist-success:focus {
  outline: none;
}

.success-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.success-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.success-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.success-text strong {
  font-weight: 400;
  color: var(--text);
}

.success-platform {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.success-q {
  margin-right: 4px;
  font-size: 13px;
  color: var(--text-light);
}

.chip {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--ember-selected-border);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}

.chip[aria-pressed='true'] {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--on-ember);
}

.success-share {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--ember-selected-border);
}

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

.success-reset {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--ember);
  cursor: pointer;
}

/* Hero cards */

/* The stage follows the screen: width when the columns stack, and on wide screens
   also the height, so the cards never outgrow a short laptop or landscape phone. */
.hero-visual {
  --stage: clamp(280px, 82vw, 460px);
  position: relative;
  min-width: 0;
  height: var(--stage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbits {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(150%, 900px, var(--stage) * 1.4);
  max-width: none;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
  fill: none;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(201, 163, 91, 0.26), rgba(201, 163, 91, 0));
  pointer-events: none;
}

.fan {
  position: relative;
  width: calc(var(--stage) * 0.344);
  aspect-ratio: 768 / 1312;
  transition: transform 300ms ease-out;
  -webkit-tap-highlight-color: transparent;
}

/* Closed: 11° apart, the Star lifted 14px. Open (hover, tap, or on its own on
   touch screens): 17° apart, the Star lifted 30px. */
.fan-card {
  --rot: calc(var(--i) * var(--spread-closed, 11deg));
  --lift: calc(max(var(--i), -1 * var(--i)) * 4px);
  position: absolute;
  inset: 0;
  z-index: calc(5 - max(var(--i), -1 * var(--i)));
  transform-origin: 50% 170%;
  transform: rotate(var(--rot)) translateY(var(--lift));
  transition: transform 700ms var(--ease-out);
}

.fan.is-open .fan-card {
  --rot: calc(var(--i) * var(--spread-open, 17deg));
  --lift: calc(max(var(--i), -1 * var(--i)) * 6px);
}

.fan-card--center {
  z-index: 10;
  --lift: -14px;
}

.fan.is-open .fan-card--center {
  --lift: -30px;
}

.fan-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.6));
  animation: ap-float 8s ease-in-out calc(var(--k) * -1.6s) infinite;
}

/* Two columns from tablets up, and on phones held sideways. */
@media (min-width: 900px), (min-width: 640px) and (max-height: 540px) and (orientation: landscape) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    --stage: clamp(300px, min(52vw, 100svh - 120px), 640px);
  }
}

/* Between tablet and laptop the right column is narrow: a smaller, tighter fan. */
@media (min-width: 900px) and (max-width: 1279px) {
  .hero-visual {
    --stage: clamp(300px, min(44vw, 100svh - 120px), 640px);
  }

  .fan {
    --spread-closed: 9deg;
    --spread-open: 12deg;
  }
}

/* Laptops: the full-size fan closed, a slightly tighter spread when it opens. */
@media (min-width: 1280px) and (max-width: 1679px) {
  .hero-visual {
    --stage: clamp(300px, min(46vw, 100svh - 120px), 640px);
  }

  .fan {
    --spread-open: 14deg;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .fan {
    --spread-open: 12deg;
  }
}

/* Ultrawide: 1320px left two thirds of a 3440px screen empty, so the column and
   the fan grow with it, and the hero fills the taller viewport instead of cutting
   the next heading in half at the fold. */
@media (min-width: 2000px) {
  :root {
    --max-width: 1600px;
    --gutter: 64px;
  }

  .hero {
    min-height: min(100vh, 1400px);
  }

  .hero-visual {
    --stage: clamp(300px, min(40vw, 100svh - 120px), 760px);
  }
}

/* Headline scales with the height too, so the form stays near the fold. */
@media (min-width: 900px) and (max-height: 820px), (orientation: landscape) and (max-height: 540px) {
  .hero-title {
    font-size: clamp(36px, min(5.2vw, 7.6svh), 84px);
  }
}

/* A narrower fan on phones, so the outer cards stay on screen. */
@media (max-width: 699px) {
  .fan {
    --spread-closed: 7deg;
    --spread-open: 10deg;
  }
}

/* "Niebo dziś" strip */

.sky-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(44, 38, 34, 0.8);
}

.sky-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 1.4;
}

@media (min-width: 900px) {
  .sky-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
  }
}

.sky-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sky-grid dt {
  line-height: 1.6;
}

.sky-grid dd {
  font-size: 14px;
  color: var(--text);
}

/* ---------- Rytuał ---------- */

.ritual {
  overflow: hidden;
  background: radial-gradient(70% 50% at 50% 60%, rgba(201, 163, 91, 0.07), rgba(201, 163, 91, 0) 70%), var(--canvas);
}

.ritual-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.ritual-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.ritual-head .h-xl {
  max-width: 720px;
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.ritual-cards {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  perspective: 1600px;
}

.ritual-card {
  position: relative;
  width: clamp(96px, 12vw, 180px);
  aspect-ratio: 768 / 1312;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 600ms var(--ease-out), opacity 500ms ease-out;
  -webkit-tap-highlight-color: transparent;
}

.ritual-cards:not(.has-pick) .ritual-card:hover {
  transform: translateY(-12px);
}

.ritual-card.is-picked {
  transform: translateY(-16px);
  cursor: default;
}

.ritual-card.is-other {
  opacity: 0.22;
  transform: translateY(12px);
  cursor: default;
}

.ritual-flip {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  transition: transform 1000ms cubic-bezier(0.3, 0.7, 0.2, 1);
}

.ritual-card.is-picked .ritual-flip {
  transform: rotateY(180deg);
}

.ritual-back,
.ritual-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ritual-back {
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.55));
}

.ritual-front {
  display: block;
  overflow: hidden;
  border-radius: 6%;
  transform: rotateY(180deg);
}

.ritual-front img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.ritual-sweep {
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(105deg, rgba(201, 163, 91, 0) 38%, rgba(201, 163, 91, 0.5) 50%, rgba(201, 163, 91, 0) 62%);
  transform: translateX(-130%);
}

.ritual-card.is-picked .ritual-sweep {
  animation: ap-sweep 1.4s 700ms ease-out both;
}

.ritual-panel {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(20px, 2.4vw, 32px);
}

.ritual-empty {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ritual-empty-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-light);
}

.ritual-empty-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.ritual-reading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: ap-rise 500ms 500ms ease-out both;
}

.ritual-reading > div:first-of-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reading-name {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.reading-meta {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}

.reading-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.4;
  text-wrap: pretty;
}

.reading-question {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.reading-question p:last-child {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-light);
}

.reading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* ---------- Aplikacja ---------- */

.app {
  overflow: hidden;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.phone-stage {
  --phone-scale: 0.78;
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 24px 0;
}

.phone-orbits {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  max-width: 900px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  fill: none;
}

.phone-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80%;
  height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(210, 112, 60, 0.14), rgba(210, 112, 60, 0));
  pointer-events: none;
}

/* The phone is drawn at the app's real size (430 × 876 screen) and scaled to fit;
   main.js sets --phone-scale from the column width. */
.phone-box {
  position: relative;
  width: calc(454px * var(--phone-scale));
  height: calc(900px * var(--phone-scale));
}

.phone {
  position: absolute;
  left: 0;
  top: 0;
  width: 454px;
  height: 900px;
  padding: 12px;
  border-radius: 68px;
  transform: scale(var(--phone-scale));
  transform-origin: 0 0;
  background: linear-gradient(160deg, #3a322c 0%, #15110f 30%, #0c0a09 100%);
  box-shadow: inset 0 0 0 1px rgba(244, 237, 229, 0.12), inset 0 0 0 3px #0b0908, 0 60px 100px -40px rgba(0, 0, 0, 0.9);
}

.phone-screen {
  position: relative;
  width: 430px;
  height: 876px;
  overflow: hidden;
  border-radius: 56px;
  background: var(--canvas);
  line-height: normal;
}

.phone-status {
  width: 414px;
  height: 44px;
  margin: 8px 8px 0;
}

.app-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 16px 0;
}

.app-header .ap-label {
  line-height: 1.4;
}

.app-greeting {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.modules {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 16px 0;
}

.module-row {
  display: flex;
  gap: 12px;
}

/* Surface "normal" and "selected" from the design system: fill, 1px inside
   border, top light and a falloff gradient. Selected never lifts. */
.module {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  width: 398px;
  height: 193px;
  padding: 20px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, rgba(255, 244, 235, 0.08) 0%, rgba(255, 244, 235, 0) 38%, rgba(0, 0, 0, 0.09) 100%),
    var(--surface-1);
  box-shadow: var(--toplight), 0 1px 1px rgba(0, 0, 0, 0.2), var(--surface-shadow);
  cursor: pointer;
  transition: background 120ms ease-out, box-shadow 120ms ease-out, border-color 120ms ease-out;
}

.module--small {
  width: 193px;
}

.module.is-selected {
  border-color: var(--ember-selected-border);
  background:
    linear-gradient(180deg, rgba(255, 244, 235, 0.08) 0%, rgba(255, 244, 235, 0) 40%, rgba(0, 0, 0, 0.1) 100%),
    var(--ember-selected-bg);
  box-shadow: var(--toplight);
}

.module-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.module-body {
  position: relative;
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: stretch;
  min-width: 0;
}

.module-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.module-label-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.module-dot {
  width: 6px;
  height: 6px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--ember);
  flex: none;
}

.module-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-top: 20px;
}

.module-spacer {
  flex: 1;
}

.module-supporting {
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-meta {
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-well {
  flex: none;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background-color: var(--surface-well);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.module-well--96 {
  width: 96px;
}

.module-well--64 {
  width: 64px;
}

.module-well--44 {
  width: 44px;
  height: 44px;
}

.ap-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ap-voice-l {
  font-family: var(--font-serif);
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.ap-figure {
  font-size: 60px;
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.ap-module-primary-sm {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}

.ap-supporting {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-light);
}

.ap-descriptor {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-light);
  text-wrap: pretty;
}

.ap-meta {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

.dock-area {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 148px;
  background: linear-gradient(180deg, rgba(22, 19, 17, 0) 0%, rgba(22, 19, 17, 0.55) 46%, rgba(22, 19, 17, 0.92) 78%, #161311 100%);
}

.dock {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 24px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 244, 235, 0.14), 0 8px 16px -8px rgba(0, 0, 0, 0.5), 0 24px 40px -20px rgba(0, 0, 0, 0.85);
}

.dock-tab {
  width: 99px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.dock-tab span {
  color: var(--text-light);
}

.dock-tab svg {
  width: 22px;
  height: 22px;
}

.dock-tab.is-active,
.dock-tab.is-active span {
  color: var(--ember-strong);
  font-weight: 500;
}

.app-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.mod-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  border-top: 1px solid var(--hairline);
}

.mod-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: none;
  text-align: left;
  cursor: pointer;
}

.mod-num {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  /* Muted, not faint: dimmer than the titles but still 5.4:1 on the canvas. */
  color: var(--text-muted);
  transition: color 180ms ease-out;
}

.mod-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mod-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-light);
  transition: color 180ms ease-out;
}

.mod-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  text-wrap: pretty;
}

.mod-row.is-active .mod-num {
  color: var(--ember-strong);
}

.mod-row.is-active .mod-title {
  color: var(--text);
}

/* ---------- Tradycje ---------- */

.traditions-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 96px);
}

.split-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.split-title {
  max-width: 12em;
}

.split-head .small-lead {
  max-width: 24em;
}

.tradition {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

/* Stacked, every tradition shows its picture first; side by side they alternate. */
.tradition--flip .tradition-art {
  order: -1;
}

@media (min-width: 860px) {
  .tradition {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tradition--flip .tradition-art {
    order: 0;
  }
}

.tradition-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roman {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text-muted);
}

.tradition-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  background-color: var(--surface-1);
  background-position: center;
  border: 1px solid var(--hairline);
}

.tradition-art--horoscope {
  display: grid;
  place-items: center;
  background-image: url('../img/modules/home-daily-horoscope-field.png');
  background-size: cover;
}

.tradition-art--horoscope svg {
  position: absolute;
  width: 90%;
  height: 90%;
  fill: none;
  pointer-events: none;
}

.tradition-art--horoscope img {
  position: relative;
  width: 44%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(210, 112, 60, 0.25));
}

.tradition-art--tarot {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(closest-side, rgba(201, 163, 91, 0.18), rgba(201, 163, 91, 0)), url('../img/modules/home-card-of-day-field.png');
  background-size: 80% 90%, cover;
  background-repeat: no-repeat;
}

.tradition-art--tarot img {
  position: absolute;
  width: 26%;
  height: auto;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.6));
}

.tradition-art--tarot .tarot-l {
  transform: translateX(-72%) rotate(-10deg);
}

.tradition-art--tarot .tarot-r {
  transform: translateX(72%) rotate(10deg);
}

.tradition-art--tarot .tarot-c {
  position: relative;
  width: 29%;
  transform: translateY(-4%);
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.65));
}

.number-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  background: radial-gradient(60% 60% at 50% 42%, rgba(210, 112, 60, 0.1), rgba(210, 112, 60, 0) 70%), var(--surface-1);
}

.number-top {
  align-self: stretch;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.number-dial {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.number-dial svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
}

.number-figure {
  position: relative;
  font-size: clamp(96px, 12vw, 136px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.number-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.number-desc {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.daily {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--hairline);
}


.daily-note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}



.split-title-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.daily-card.daily-card--wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
}

.daily-card--wide .daily-copy {
  gap: 12px;
}

.daily-card--wide .daily-title {
  font-size: clamp(24px, 2.6vw, 32px);
}

.daily-card--wide .daily-copy p:last-child {
  max-width: 34em;
  font-size: 15px;
}

.daily-samples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px 24px;
}

@media (min-width: 860px) {
  .daily-card.daily-card--wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 32px;
  }
}

.daily-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  box-shadow: var(--toplight);
}

.daily-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.daily-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.daily-copy p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-light);
  text-wrap: pretty;
}

.daily-sample {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
}

.daily-value {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

/* ---------- Talia ---------- */

.deck {
  overflow: hidden;
  background: radial-gradient(80% 60% at 50% 50%, rgba(201, 163, 91, 0.06), rgba(201, 163, 91, 0) 70%), var(--canvas);
}

.deck-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: var(--section-pad);
  padding-bottom: 48px;
}

.deck-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.deck-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: var(--section-pad);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.deck-row {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: ap-marquee 180s linear infinite;
}

.deck-row--rev {
  animation: ap-marquee-rev 220s linear infinite;
}

.deck.is-paused .deck-row {
  animation-play-state: paused;
}

.deck-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.deck-card img {
  width: clamp(140px, 13vw, 190px);
  height: auto;
  aspect-ratio: 400 / 683;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.5));
  transition: transform 400ms var(--ease-out);
}

.deck-card img:hover {
  transform: translateY(-10px);
}

.deck-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--text-light);
  white-space: nowrap;
}

.deck-card figcaption::before,
.deck-card figcaption::after {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--border-strong);
}

/* ---------- Zasada ---------- */

.principle-inner {
  box-sizing: content-box;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.principle-quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.principle-quote span {
  color: var(--text-muted);
}

/* ---------- Pytania ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.faq-list details {
  border-bottom: 1px solid var(--hairline);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

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

.chev {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease-out;
}

.faq-list details[open] .chev {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 38em;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  text-wrap: pretty;
}

/* ---------- Zapis ---------- */

.cta {
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 110%, rgba(210, 112, 60, 0.18), rgba(210, 112, 60, 0) 60%),
    radial-gradient(100% 60% at 50% -10%, var(--wash), rgba(36, 28, 43, 0) 60%),
    var(--canvas);
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: clamp(96px, 12vw, 176px);
  padding-bottom: clamp(96px, 12vw, 176px);
  text-align: center;
}

.cta-mark {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.cta-mark svg {
  position: absolute;
  inset: -60px;
  width: 240px;
  height: 240px;
  max-width: none;
  fill: none;
  pointer-events: none;
}

.cta-title {
  max-width: 14em;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.cta-title span {
  font-style: italic;
  font-weight: 400;
}

.cta .body-lg {
  max-width: 28em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 40px;
}

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

.brand--footer {
  gap: 12px;
}

.brand--footer .brand-wordmark {
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-light);
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text);
}

.footer-fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* ---------- Privacy dialog ---------- */

.privacy {
  width: min(560px, calc(100% - 32px));
  max-height: 84vh;
  padding: 0;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 244, 235, 0.14), 0 24px 40px -20px rgba(0, 0, 0, 0.85);
}

.privacy::backdrop {
  background: rgba(22, 19, 17, 0.86);
}

.privacy-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 24px;
}

.privacy-title {
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.privacy-inner p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

.privacy-inner form {
  margin-top: 12px;
}

/* ---------- Small screens ---------- */

@media (max-width: 719px) {
  .site-nav {
    display: none;
  }
}


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  /* Without the marquee the rows become a strip you scroll yourself. */
  .deck-rows {
    overflow-x: auto;
  }

  .deck-row {
    padding: 0 var(--gutter);
  }

  .deck-row [aria-hidden='true'] {
    display: none;
  }
}
