/* Tymos, by Thymos Software.
   Layout: Apple-style product page on obsidian. Big, tight SF headlines,
   centred hero with the app's own screenshots, then calm sections that each
   say one thing. Brass marks the one thing to act on in each view. */
:root {
  /* Color: the app's own dark palette (ios/Kairos/Theme/Theme.swift). */
  --obsidian: #080808;
  --surface: #141414;
  --surface-high: #1c1c1c;
  --hairline: #252525;
  --brass: #b8863b;
  --brass-bright: #c9974b;
  --brass-dim: #7a5c2a;
  --brass-soft: rgba(184, 134, 59, 0.16);
  --text: #f2f3f5;
  --text-2: #9aa2b3;
  --text-3: #5f6879;

  /* Type: Apple's San Francisco. -apple-system resolves to SF Pro Display at
     large sizes and SF Pro Text at small ones on iPhone, iPad and Mac. Inter
     stands in everywhere else. */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --text-face: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Helvetica Neue", Arial, sans-serif;

  --size-hero: clamp(3.25rem, 1.6rem + 7.4vw, 7.5rem);
  --size-h2: clamp(2.375rem, 1.4rem + 4.2vw, 4.75rem);
  --size-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --size-lede: clamp(1.1875rem, 1rem + 0.8vw, 1.5rem);
  --size-body: 1.0625rem;
  --size-small: 0.875rem;

  --gutter: clamp(16px, 5vw, 44px);
  --measure: 36rem;

  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--text);
  font-family: var(--text-face);
  font-size: var(--size-body);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 8px;
}

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

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--size-hero); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: var(--size-h2); line-height: 1.02; letter-spacing: -0.04em; }
h3 { font-size: var(--size-h3); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; }

.accent { color: var(--brass); }
.muted { color: var(--text-3); }

.eyebrow {
  font-family: var(--text-face);
  font-size: var(--size-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.lede {
  font-size: var(--size-lede);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--text-2);
  max-width: var(--measure);
  text-wrap: pretty;
}

.lede strong { color: var(--text); font-weight: 600; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: rgba(8, 8, 8, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.28em;
  padding-right: 0.28em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.4vw, 2rem);
  font-size: var(--size-small);
  font-weight: 500;
}

.nav a { text-decoration: none; color: var(--text-2); white-space: nowrap; }
.nav a:hover { color: var(--text); }

.nav .nav-cta {
  color: var(--obsidian);
  background: var(--brass);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav .nav-cta:hover { color: var(--obsidian); background: var(--brass-bright); }

@media (max-width: 400px) {
  .wordmark { font-size: 0.9375rem; letter-spacing: 0.2em; padding-right: 0.2em; }
  .nav { gap: 0.75rem; font-size: 0.8125rem; }
  .nav .nav-cta { padding: 0.45rem 0.75rem; }
}

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

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(184, 134, 59, 0.10), transparent 70%),
    var(--obsidian);
}

.hero .wrap {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(1.25rem, 2.4vw, 1.75rem);
  padding-block: clamp(3.5rem, 9vw, 7rem) 0;
}

.hero .lede { margin-inline: auto; }

.hero .waitlist { margin-top: 0.5rem; justify-self: center; width: 100%; }

.hero-shots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  width: 100%;
}

.hero-shots .shot { flex: 0 1 260px; min-width: 0; }
.hero-shots .shot--side { transform: translateY(14%); opacity: 0.9; }

@media (max-width: 640px) {
  .hero-shots .shot--side { display: none; }
  .hero-shots .shot { flex-basis: 74%; }
}

/* A real screenshot in a phone-shaped frame. */
.shot {
  margin: 0;
  border-radius: clamp(26px, 4vw, 44px);
  padding: clamp(6px, 0.8vw, 10px);
  background: linear-gradient(160deg, #2a2a2a, #0f0f0f 40%, #1b1b1b);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  max-width: 100%;
}
.shot img {
  width: 100%;
  border-radius: clamp(20px, 3.4vw, 36px);
  background: var(--surface);
}

/* ---------- Waitlist form ---------- */

.waitlist { display: grid; gap: 0.6rem; max-width: 30rem; }

.waitlist-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
}
.waitlist-row:focus-within { border-color: var(--brass-dim); }

.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 1rem;
}
.waitlist input[type="email"]::placeholder { color: var(--text-3); }
.waitlist input[type="email"]:focus { outline: none; }

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--brass);
  color: var(--obsidian);
  font: 600 1rem/1 var(--text-face);
  padding: 0.9rem 1.35rem;
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { background: var(--brass-bright); }
.button[disabled] { opacity: 0.6; cursor: default; }

.waitlist-note { font-size: var(--size-small); color: var(--text-3); }
.waitlist-status { font-size: var(--size-small); color: var(--text-2); min-height: 1.3em; }
.waitlist-status.is-done { color: var(--brass); }
.waitlist-status.is-error { color: #d9a07a; }

@media (max-width: 420px) {
  .waitlist-row { flex-direction: column; border-radius: 20px; }
  .button { width: 100%; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(4.5rem, 11vw, 9rem); border-bottom: 1px solid var(--hairline); }

.section-head { display: grid; gap: 1.1rem; max-width: 50rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--center { justify-items: center; text-align: center; margin-inline: auto; }
.section-head--center .lede { margin-inline: auto; }

/* How it works: a real sequence, so it's numbered. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.step { display: grid; gap: 0.9rem; align-content: start; min-width: 0; }
.step-number {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 2rem + 2.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.step p { color: var(--text-2); }

@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Screenshot gallery: swipes sideways inside its own track. */
.gallery {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}
.gallery figure {
  flex: 0 0 clamp(210px, 26vw, 280px);
  scroll-snap-align: start;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.gallery figcaption { color: var(--text-2); font-size: var(--size-small); padding-inline: 0.25rem; }
.gallery figcaption strong { display: block; color: var(--text); font-size: 1rem; font-weight: 600; }

/* Two big feature panels side by side. */
.panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.panel {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  min-width: 0;
}
.panel h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.035em; }
.panel p { color: var(--text-2); }
.panel .quote { color: var(--text); font-weight: 600; font-size: 1.125rem; }

@media (max-width: 860px) { .panels { grid-template-columns: minmax(0, 1fr); } }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.facts li { display: flex; gap: 0.7rem; color: var(--text-2); }
.facts li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- Privacy promises ---------- */

.promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.promise { display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.promise h3 { font-size: 1.25rem; }
.promise p { color: var(--text-2); }

@media (max-width: 900px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 48rem;
  margin-inline: auto;
}
.plan {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 2rem;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: var(--surface);
  min-width: 0;
}
.plan--best { border-color: var(--brass-dim); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.plan-name { font-weight: 600; color: var(--text-2); }
.price {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 2.2rem + 2vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.per { color: var(--text-2); }
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  background: var(--brass-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}
.pricing-note { margin: 1.5rem auto 0; color: var(--text-3); font-size: var(--size-small); max-width: 48rem; text-align: center; }

@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */

.faq { display: grid; max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-2); padding-bottom: 1.4rem; max-width: 42rem; }

/* ---------- Closing call ---------- */

.closing .wrap { display: grid; justify-items: center; text-align: center; gap: 1.5rem; }

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

.site-footer { padding-block: 2.5rem 3rem; color: var(--text-3); font-size: var(--size-small); }
.site-footer .wrap { display: grid; gap: 1.1rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { text-decoration: none; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }
.legal-line { max-width: 56rem; }

/* ---------- Document pages (privacy, terms, support) ---------- */

.doc .wrap { max-width: 46rem; padding-block: clamp(3rem, 7vw, 5rem); }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 0.75rem; }
.doc h2 { font-size: 1.625rem; letter-spacing: -0.03em; margin-top: 2.75rem; margin-bottom: 0.75rem; }
.doc h3 { font-size: 1.1875rem; letter-spacing: -0.02em; margin-top: 1.75rem; margin-bottom: 0.4rem; }
.doc p, .doc li { color: var(--text-2); }
.doc p { margin-block: 0.75rem; }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.doc hr { border: 0; border-top: 1px solid var(--hairline); margin-block: 2rem; }
.doc a { color: var(--brass); }
.table-scroll { overflow-x: auto; margin-block: 1rem; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--hairline); color: var(--text-2); }
.doc th { color: var(--text); font-weight: 600; }

.label { font-size: var(--size-small); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.label--quiet { color: var(--text-2); }

.contact-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: var(--surface);
  margin-block: 1.5rem 2rem;
}
.contact-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: break-all;
}
.copy-button {
  appearance: none;
  border: 1px solid var(--hairline);
  background: var(--surface-high);
  color: var(--text);
  border-radius: 999px;
  font: 600 0.8125rem/1 var(--text-face);
  padding: 0.6rem 0.95rem;
  cursor: pointer;
}
.copy-button:hover { border-color: var(--brass-dim); }

/* ---------- Scroll motion (motion.js) ----------
   Everything below applies only under html.motion, which is set unless the
   visitor prefers reduced motion. Progress values arrive as custom
   properties: --hero, --story, --arrive and --lit, each 0 to 1. Loading
   moves use `translate` and scrolling moves use `transform`, so the two
   never fight over the same property. */

.story-phone { display: none; }

@keyframes rise-in {
  from { opacity: 0; translate: 0 64px; }
  to { opacity: 1; translate: 0 0; }
}

/* Hero: the copy settles in, then the phones rise one after another. */
.motion .hero .wrap > * { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.motion .hero .wrap > :nth-child(2) { animation-delay: 0.08s; }
.motion .hero .wrap > :nth-child(3) { animation-delay: 0.16s; }
.motion .hero .wrap > :nth-child(4) { animation-delay: 0.24s; }
.motion .hero .wrap > .hero-shots { animation: none; }
.motion .hero-shots .shot { animation: rise-in 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.3s; }
.motion .hero-shots .shot--side { animation-delay: 0.5s; }

/* As the hero scrolls away, the side phones swing outward and the centre one lifts. */
.motion .hero-shots { perspective: 1600px; }
.motion .hero-shots .shot { will-change: transform; }
.motion .hero-shots .shot:not(.shot--side) {
  transform: translateY(calc(var(--hero, 0) * -48px)) scale(calc(1 + var(--hero, 0) * 0.05));
}
.motion .hero-shots .shot--side:first-child {
  transform: translateY(calc(14% + var(--hero, 0) * 40px)) translateX(calc(var(--hero, 0) * -80px)) rotateY(calc(var(--hero, 0) * 24deg));
  transform-origin: 100% 50%;
}
.motion .hero-shots .shot--side:last-child {
  transform: translateY(calc(14% + var(--hero, 0) * 40px)) translateX(calc(var(--hero, 0) * 80px)) rotateY(calc(var(--hero, 0) * -24deg));
  transform-origin: 0% 50%;
}
.motion [data-hero-copy] {
  transform: translateY(calc(var(--hero, 0) * -36px));
  opacity: calc(1 - var(--hero, 0) * 0.7);
}

/* How it works: the stage pins while you scroll, one step and one screen at a time. */
.motion .story { height: 330vh; height: 330svh; }
.motion .story-stage {
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  height: calc(100svh - 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.motion .story-steps {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vh, 2.75rem);
  position: relative;
  padding-left: 1.75rem;
}
/* The rail fills with brass as the story runs. */
.motion .story-steps::before,
.motion .story-steps::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 2px;
  border-radius: 2px;
}
.motion .story-steps::before { bottom: 0.4rem; background: var(--hairline); }
.motion .story-steps::after {
  height: calc((100% - 0.8rem) * var(--story, 0));
  background: linear-gradient(var(--brass-bright), var(--brass));
  box-shadow: 0 0 14px rgba(201, 151, 75, 0.55);
}
.motion .story-steps .step {
  opacity: 0.26;
  transform: translateX(-8px);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion .story-steps .step.is-past { opacity: 0.42; transform: none; }
.motion .story-steps .step.is-active { opacity: 1; transform: none; }

.motion .story-phone {
  display: block;
  position: relative;
  perspective: 1400px;
  justify-self: center;
  width: min(100%, 300px, calc((100svh - 56px) * 0.36));
}
/* A brass glow behind the phone, brighter as the story runs. */
.motion .story-phone::before {
  content: "";
  position: absolute;
  inset: 10% -30%;
  background: radial-gradient(closest-side, rgba(184, 134, 59, 0.28), transparent);
  opacity: calc(0.35 + var(--story, 0) * 0.65);
  filter: blur(20px);
  z-index: -1;
}
.motion .story-phone .shot {
  transform-origin: 50% 100%;
  transform:
    translateY(calc((1 - var(--arrive, 1)) * 80px))
    rotateX(calc((1 - var(--arrive, 1)) * 22deg))
    scale(calc(0.9 + var(--arrive, 1) * 0.1));
  will-change: transform;
}
.story-screens {
  position: relative;
  aspect-ratio: 736 / 1600;
  overflow: hidden;
  border-radius: clamp(20px, 3.4vw, 36px);
  background: var(--surface);
}
.motion .story-screens img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(8px);
  transition: opacity 0.7s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s ease;
}
.motion .story-screens img.is-active { opacity: 1; transform: none; filter: none; }

/* On a phone: the screen above, the step it belongs to below. */
@media (max-width: 860px) {
  .motion .story-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    gap: 1.5rem;
  }
  .motion .story-phone { order: -1; width: min(62vw, calc((100svh - 56px) * 0.25)); }
  .motion .story-steps .step { grid-area: 1 / 1; opacity: 0; }
  .motion .story-steps .step.is-past { opacity: 0; transform: translateX(-8px); }
  .motion .story-steps .step.is-active { opacity: 1; }
  .motion .story-steps .step-number { font-size: 2.25rem; }
}

/* Headlines light up word by word as they scroll in. */
.motion .scrub-word { opacity: calc(0.16 + var(--lit, 0) * 0.84); }

/* Cards and screenshots rise into view, siblings one after another. */
.motion [data-reveal] {
  opacity: 0;
  translate: 0 40px;
  filter: blur(6px);
  transition:
    opacity 0.9s ease var(--delay, 0ms),
    translate 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms),
    filter 0.9s ease var(--delay, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; translate: 0 0; filter: none; }

/* ---------- A little Greek ---------- */

/* Greek key (meander) rule, drawn as a repeating tile. */
.meander {
  display: block;
  width: min(100%, 15rem);
  height: 14px;
  margin-inline: auto;
  opacity: 0.5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M0 13H20M4 13V1H16V9H8V5H12' fill='none' stroke='%23b8863b' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x left center / 20px 14px;
}
.meander--wide { width: 100%; opacity: 0.18; margin-bottom: 0.5rem; }

.greek-note { padding-block: clamp(3.5rem, 8vw, 6rem); border-bottom: 1px solid var(--hairline); }
.greek-note .wrap { display: grid; justify-items: center; text-align: center; gap: 1rem; max-width: 40rem; }
.greek-note h2 { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.greek-note p { color: var(--text-2); margin: 0; max-width: 34rem; }
.greek-note em { font-style: normal; color: var(--text); font-weight: 600; }
.greek-note .greek-words { font-family: "Iowan Old Style", "Palatino", Georgia, serif; font-size: 1.125rem; letter-spacing: 0.04em; color: var(--brass); margin-top: 0.75rem; }
.greek-words span { color: var(--text-3); margin-inline: 0.35em; }

.step-number { font-family: "Iowan Old Style", "Palatino", Georgia, serif; font-weight: 400; letter-spacing: 0; }

.eyebrow--laurel { display: inline-flex; align-items: center; gap: 0.6rem; }
.laurel { width: 0.95rem; height: 1.6rem; color: var(--brass); opacity: 0.7; flex: none; }
.laurel--flip { transform: scaleX(-1); }

/* ---------- Waitlist: the hyperspace jump ---------- */

.jump-open, .jump-open body { overflow: hidden; }
.jump { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; padding: var(--gutter); }
.jump-stars { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jump-flash { position: absolute; inset: 0; background: #fff8e6; opacity: 0; pointer-events: none; }
.jump-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
  max-width: 36rem;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.jump-card.is-in { opacity: 1; transform: none; }
/* A soft dark halo so the message reads over any star. */
.jump-card::before { content: ""; position: absolute; inset: -18% -22%; z-index: -1; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.55) 60%, transparent); pointer-events: none; }
.jump-card .meander { margin-bottom: 0.4rem; }
.jump-eyebrow { margin: 0; font-size: var(--size-small); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.jump-title { margin: 0; font-family: var(--display); font-size: clamp(2.6rem, 1.4rem + 6vw, 5rem); line-height: 1; letter-spacing: -0.045em; color: var(--text); }
.jump-email {
  margin: 0.4rem 0 0;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--brass-dim);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.6);
  color: var(--text);
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem);
  font-weight: 600;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.jump-note { margin: 0; color: var(--text-2); }
.jump-close { margin-top: 0.8rem; }

/* Circle invite page (invite.html, served at /i/<username>) */
.invite { overflow: hidden; }
.invite .wrap { max-width: 34rem; padding-top: clamp(2.5rem, 8vw, 4.5rem); }
.invite-from { color: var(--text-2); font-size: var(--size-small); margin: 0 0 1.1rem; }
.invite-from b { color: var(--text); font-weight: 600; }
.invite h1 { font-family: var(--display); font-size: clamp(2.6rem, 1.8rem + 4vw, 4rem); line-height: 1; letter-spacing: -0.045em; margin: 0 0 1.1rem; }
.invite p.invite-body { color: var(--text-2); font-size: var(--size-body); line-height: 1.55; margin: 0 0 1.75rem; max-width: 30rem; }
.invite p.invite-body b { color: var(--text); font-weight: 600; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
.invite-actions .button { display: inline-flex; text-decoration: none; color: var(--obsidian); }
.invite-actions a:not(.button) { color: var(--text-2); font-size: var(--size-small); text-underline-offset: 3px; }
.invite-shot { margin: clamp(2.5rem, 7vw, 3.5rem) auto 0; width: min(78%, 290px); height: clamp(300px, 70vw, 380px); overflow: hidden; }
.invite-shot .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.invite-shot img { display: block; width: 100%; height: auto; }
.invite-caption { text-align: center; color: var(--text-3); font-size: var(--size-small); margin: 1rem 0 0; padding-bottom: 2.5rem; border-top: 1px solid var(--hairline); padding-top: 1rem; }
