:root {
  --bg: #a899c7;
  --field: #948ac2;
  --paper: #e6e0f5;
  --mist: #c7bde0;
  --ink: #292447;
  --muted: #5c577a;
  --dusk: #4a578c;
  --ember: #c76b47;
  --sage: #478570;
  --dock-h: 64px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(145deg, var(--field) 0%, var(--bg) 48%, #8cb0b8 100%);
  padding-bottom: calc(var(--dock-h) + 28px);
}

.wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(199, 107, 71, 0.28), transparent 42%),
    radial-gradient(circle at 12% 18%, rgba(82, 72, 200, 0.28), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(71, 133, 112, 0.22), transparent 45%);
}

main {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dusk);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

p {
  line-height: 1.55;
}

/* —— Hero: window_frame —— */
.hero {
  display: grid;
  gap: 22px;
  margin-bottom: 56px;
}

.hero-copy .tagline {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.window-frame {
  margin: 0;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(41, 36, 71, 0.22),
    inset 0 0 0 1px rgba(74, 87, 140, 0.2);
}

.window-chrome {
  display: flex;
  gap: 7px;
  padding: 10px 14px;
  background: var(--mist);
  border-bottom: 1px solid rgba(74, 87, 140, 0.18);
}

.window-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dusk);
  opacity: 0.55;
}

.window-chrome span:nth-child(2) {
  background: var(--ember);
  opacity: 0.7;
}

.window-chrome span:nth-child(3) {
  background: var(--sage);
  opacity: 0.7;
}

.window-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* —— Section intros: staggered_mixed —— */
.intro {
  margin-bottom: 22px;
}

.intro-left {
  text-align: left;
}

.intro-right {
  text-align: right;
  margin-left: auto;
}

.intro-center {
  text-align: center;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

/* —— Features: stripe_list —— */
.features {
  margin-bottom: 64px;
}

.stripe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(41, 36, 71, 0.22);
}

.stripe-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 18px 8px;
  border-bottom: 1px solid rgba(41, 36, 71, 0.18);
  background: rgba(230, 224, 245, 0.28);
}

.stripe-list li:nth-child(even) {
  background: rgba(199, 189, 224, 0.35);
}

.stripe-code {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ember);
  padding-top: 3px;
}

.stripe-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Screens: film_strip —— */
.screens {
  margin-bottom: 64px;
}

.film-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.film-strip figure {
  flex: 0 0 min(72vw, 280px);
  margin: 0;
  scroll-snap-align: start;
  background: #1c1830;
  padding: 10px 10px 14px;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(28, 24, 48, 0.28);
}

.film-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
}

.film-strip figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c7bde0;
  text-align: center;
}

/* —— About —— */
.about {
  margin-bottom: 64px;
}

.about-prose {
  max-width: 48ch;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

/* —— Legal: single_column_dropcap —— */
.legal {
  background: rgba(230, 224, 245, 0.72);
  border-radius: 20px;
  padding: 28px 22px 32px;
  border: 1px solid rgba(74, 87, 140, 0.2);
  margin-bottom: 28px;
}

.legal article + article {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(74, 87, 140, 0.18);
}

.legal h2 {
  margin-bottom: 14px;
}

.dropcap-lead::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.1rem;
  line-height: 0.85;
  padding-right: 10px;
  padding-top: 6px;
  color: var(--dusk);
}

.legal p {
  margin: 0 0 12px;
  color: var(--muted);
}

.legal .effective {
  font-size: 0.85rem;
  color: var(--dusk);
}

.mail {
  color: var(--ember);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-foot {
  text-align: center;
  font-size: 0.82rem;
  color: var(--dusk);
  opacity: 0.85;
}

/* —— Nav: bottom_dock —— */
.bottom-dock {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(41, 36, 71, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(41, 36, 71, 0.35);
}

.bottom-dock a {
  min-width: 64px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #e6e0f5;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.bottom-dock a.is-active,
.bottom-dock a:hover {
  background: rgba(199, 107, 71, 0.92);
  color: #fff;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
    gap: 36px;
  }

  .stripe-list li {
    grid-template-columns: 72px 1fr;
    padding: 20px 16px;
  }

  .legal {
    padding: 36px 40px 40px;
  }
}
