/* ============================================================
   GudClass — Teaser Website
   Editorial-Swiss. Oversized display serif × Inter × Mono.
   ============================================================ */

:root {
  /* Warm near-white + deep ink */
  --bg: oklch(97.5% 0.008 75);
  --bg-2: oklch(95% 0.010 75);
  --bg-raised: oklch(99% 0.004 75);
  --line: oklch(88% 0.010 75);
  --line-strong: oklch(80% 0.012 75);
  --ink: oklch(18% 0.015 260);
  --ink-2: oklch(38% 0.012 260);
  --ink-3: oklch(55% 0.010 260);
  --ink-4: oklch(70% 0.008 260);

  --accent: oklch(55% 0.17 258);
  --accent-2: oklch(65% 0.16 258);
  --accent-bg: oklch(94% 0.035 258);
  --accent-line: oklch(82% 0.08 258);

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --e-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --maxw: 1360px;

  --sh-1: 0 1px 2px oklch(18% 0.015 260 / 0.05), 0 0 0 1px oklch(18% 0.015 260 / 0.04);
  --sh-2: 0 4px 18px oklch(18% 0.015 260 / 0.08), 0 0 0 1px oklch(18% 0.015 260 / 0.05);
  --sh-3: 0 20px 50px oklch(18% 0.015 260 / 0.12), 0 0 0 1px oklch(18% 0.015 260 / 0.06);
}

[data-theme="dark"] {
  --bg: oklch(15% 0.012 260);
  --bg-2: oklch(12% 0.010 260);
  --bg-raised: oklch(20% 0.014 260);
  --line: oklch(27% 0.014 260);
  --line-strong: oklch(40% 0.016 260);
  --ink: oklch(96% 0.006 75);
  --ink-2: oklch(78% 0.010 75);
  --ink-3: oklch(62% 0.010 75);
  --ink-4: oklch(48% 0.010 75);
  --accent: oklch(74% 0.14 258);
  --accent-2: oklch(82% 0.13 258);
  --accent-bg: oklch(30% 0.08 258);
  --accent-line: oklch(42% 0.12 258);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent-bg); color: var(--accent); }

/* ====== Layout primitives ====== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 700px) { .wrap { padding: 0 18px; } }

.mono {
  font-family: var(--f-mono);
  font-feature-settings: "zero", "ss01";
  letter-spacing: 0.02em;
}
.label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.hr { height: 1px; background: var(--line); margin: 0; }

/* ====== Top bar ====== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line);
}
.topbar .inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
  padding: 0 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg-raised);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark .g, .brand-mark .c {
  position: absolute;
  font-family: var(--f-sans);
  line-height: 1;
}
.brand-mark .g {
  top: 2px; left: 4px;
  font-size: 11px; font-weight: 400;
  color: oklch(98% 0 0);
}
.brand-mark .c {
  bottom: 2px; right: 4px;
  font-size: 11px; font-weight: 700;
  letter-spacing: -0.02em;
  color: oklch(98% 0 0);
}
.brand-mark .sep {
  position: absolute;
  left: 50%; top: 50%;
  width: 140%; height: 1.5px;
  background: var(--accent);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.brand-text {
  font-size: 15px;
  letter-spacing: -0.015em;
  line-height: 1;
  display: inline-flex; align-items: baseline;
}
.brand-text .gud { color: var(--ink-2); font-weight: 400; }
.brand-text .bar {
  display: inline-block;
  width: 1.5px; height: 11px;
  background: var(--accent);
  margin: 0 5px;
  transform: translateY(1px);
}
.brand-text .product { font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }

.topbar nav {
  display: flex;
  gap: 24px;
  margin-left: 36px;
}
.topbar nav a {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 450;
  transition: color 120ms;
}
.topbar nav a:hover { color: var(--ink); }

.topbar .grow { flex: 1; }

.topbar .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 160ms var(--e-out), background 160ms;
}
.topbar .cta:hover { transform: translateY(-1px); }
.topbar .cta .arrow { width: 14px; height: 14px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raised);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.status-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px oklch(55% 0.17 258 / 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px oklch(55% 0.17 258 / 0.2); }
  50% { box-shadow: 0 0 0 6px oklch(55% 0.17 258 / 0); }
}

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .topbar .status-pill { display: none; }
}

/* ====== Hero ====== */
.hero {
  padding: 80px 0 60px;
  position: relative;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-eyebrow .ticker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow .ticker::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--ink-3);
  display: inline-block;
}

.hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.93;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero h1 .amp {
  color: var(--ink-3);
  font-style: italic;
  padding: 0 0.1em;
}

.hero-layout-left h1 { text-align: left; }
.hero-layout-center h1 { text-align: center; }
.hero-layout-center .hero-eyebrow { justify-content: center; }
.hero-layout-center .hero-below { justify-content: center; }

.hero-below {
  margin-top: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-description {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero-description strong { color: var(--ink); font-weight: 600; }

/* Waitlist form inline */
.waitlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 360px;
}
.waitlist-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px;
  transition: box-shadow 200ms, border-color 200ms;
}
.waitlist-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-bg);
}
.waitlist-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 18px;
  font-family: var(--f-sans);
  font-size: 14.5px;
  color: var(--ink);
  min-width: 0;
}
.waitlist-form input::placeholder { color: var(--ink-3); }
.waitlist-form button {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 160ms, transform 160ms var(--e-out);
}
.waitlist-form button:hover { transform: translateX(2px); }
.waitlist-form button .arrow {
  width: 14px; height: 14px;
  transition: transform 160ms var(--e-out);
}

.waitlist-hint {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding-left: 18px;
}

.waitlist-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  color: var(--accent);
  font-size: 14px;
  animation: rise 300ms var(--e-out);
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Hero corner marks (Swiss) */
.corner-marks {
  position: absolute;
  inset: 24px 28px auto auto;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-align: right;
  pointer-events: none;
}
.corner-marks div + div { margin-top: 4px; }

/* ====== Section frame ====== */
section {
  padding: 96px 0;
  position: relative;
}
@media (max-width: 700px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
}
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.section-head .label { padding-top: 6px; }
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
@media (max-width: 700px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
}

/* ====== Product peek ====== */
.peek {
  background: var(--bg-2);
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.peek-head {
  max-width: var(--maxw);
  margin: 0 auto 48px;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}
.peek-head h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
  max-width: 18ch;
}
.peek-frame {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.peek-window {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh-3);
  transform-style: preserve-3d;
  transition: transform 400ms var(--e-out);
}
.peek-window:hover { transform: translateY(-4px); }
.peek-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg-raised) 96%, var(--ink) 4%);
}
.peek-chrome .dots { display: flex; gap: 6px; }
.peek-chrome .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-strong);
}
.peek-chrome .url {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg);
  text-align: center;
  border: 1px solid var(--line);
  max-width: 360px;
  margin: 0 auto;
}
.peek-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 440px;
}
@media (max-width: 760px) {
  .peek-body { grid-template-columns: 1fr; min-height: 0; }
  .peek-side { display: none; }
}
.peek-side {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  font-size: 12.5px;
}
.peek-side .peek-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--ink-2);
}
.peek-side .peek-nav-item.active {
  background: var(--bg-raised);
  color: var(--ink);
  box-shadow: var(--sh-1);
  font-weight: 500;
}
.peek-side .peek-nav-item .kbd {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-4);
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg);
}
.peek-side-label {
  padding: 16px 10px 6px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.peek-main {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
.peek-main .day-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.peek-main .day-name {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.peek-main .day-date {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.peek-lesson {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  padding: 10px 0;
}
.peek-lesson .time {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-2);
}
.peek-lesson h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 550;
  display: flex; align-items: center; gap: 8px;
}
.peek-lesson h4 .typedot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.peek-lesson p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.45;
}
.peek-lesson .space {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 5px;
  background: oklch(95% 0.04 295);
  color: oklch(42% 0.16 295);
  font-weight: 500;
  height: fit-content;
}
[data-theme="dark"] .peek-lesson .space { background: oklch(28% 0.06 295); color: oklch(80% 0.12 295); }
.peek-lesson .space.outdoor { background: oklch(95% 0.05 150); color: oklch(42% 0.14 150); }
[data-theme="dark"] .peek-lesson .space.outdoor { background: oklch(28% 0.06 150); color: oklch(80% 0.13 150); }

/* ====== Philosophy / manifest ====== */
.manifest {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .manifest { grid-template-columns: 1fr; }
}
.manifest-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
@media (max-width: 700px) {
  .manifest-body { grid-template-columns: 1fr; gap: 32px; }
}
.manifest-block h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.manifest-block h3 em { font-style: italic; color: var(--accent); }
.manifest-block p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
  margin: 0;
}
.manifest-block .label { display: block; margin-bottom: 14px; font-size: 10.5px; }
.manifest-pullquote {
  grid-column: 1 / -1;
  margin: 24px 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 22ch;
  color: var(--ink);
}
.manifest-pullquote em { font-style: italic; color: var(--accent); }
.manifest-pullquote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ====== Features grid ====== */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }

.feature {
  padding: 40px 36px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 400px;
  background: var(--bg);
  transition: background 200ms;
}
.feature:hover { background: var(--bg-raised); }
.feature .feature-num {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.feature h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16ch;
}
.feature h3 em { font-style: italic; color: var(--accent); }
.feature p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 42ch;
  text-wrap: pretty;
}
.feature-demo {
  margin-top: auto;
  padding-top: 24px;
  min-height: 140px;
}

/* Specific demos */
.demo-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-timeline .row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  padding: 7px 10px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  align-items: center;
}
.demo-timeline .row .time {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
}
.demo-timeline .row h5 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 550;
  display: flex; align-items: center; gap: 6px;
}
.demo-timeline .row h5 .tdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.demo-timeline .row .chip {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent-bg);
  color: var(--accent);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-voice {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.demo-voice .mic {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
  position: relative;
  animation: pulse-mic 2s infinite;
}
@keyframes pulse-mic {
  0%, 100% { box-shadow: 0 0 0 0 oklch(55% 0.17 258 / 0.4); }
  50% { box-shadow: 0 0 0 10px oklch(55% 0.17 258 / 0); }
}
.demo-voice .wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}
.demo-voice .wave span {
  flex: 1;
  background: var(--ink-3);
  border-radius: 2px;
  animation: wave 1.1s infinite ease-in-out;
}
@keyframes wave {
  0%, 100% { height: 6px; opacity: 0.5; }
  50% { height: 100%; opacity: 1; }
}
.demo-voice .wave span:nth-child(1) { animation-delay: 0.0s; }
.demo-voice .wave span:nth-child(2) { animation-delay: 0.08s; }
.demo-voice .wave span:nth-child(3) { animation-delay: 0.16s; }
.demo-voice .wave span:nth-child(4) { animation-delay: 0.24s; }
.demo-voice .wave span:nth-child(5) { animation-delay: 0.32s; }
.demo-voice .wave span:nth-child(6) { animation-delay: 0.4s; }
.demo-voice .wave span:nth-child(7) { animation-delay: 0.48s; }
.demo-voice .wave span:nth-child(8) { animation-delay: 0.56s; }
.demo-voice .wave span:nth-child(9) { animation-delay: 0.64s; }
.demo-voice .wave span:nth-child(10) { animation-delay: 0.72s; }
.demo-voice .wave span:nth-child(11) { animation-delay: 0.8s; }
.demo-voice .wave span:nth-child(12) { animation-delay: 0.88s; }
.demo-voice .wave span:nth-child(13) { animation-delay: 0.96s; }
.demo-voice .wave span:nth-child(14) { animation-delay: 1.04s; }

.demo-tasks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-tasks .task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  transition: background 160ms;
}
.demo-tasks .task:hover { background: var(--bg-raised); }
.demo-tasks .cb {
  width: 15px; height: 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.demo-tasks .task.done .cb {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.demo-tasks .task.done .t { text-decoration: line-through; color: var(--ink-4); }
.demo-tasks .t { flex: 1; }
.demo-tasks .week {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-4);
}

.demo-year {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 3px;
}
.demo-year .cell {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform 120ms;
}
.demo-year .cell:hover { transform: scale(1.3); z-index: 2; }
.demo-year .cell.planned { background: var(--accent-bg); border-color: var(--accent-line); }
.demo-year .cell.filled { background: var(--accent); border-color: var(--accent); }
.demo-year .cell.hot { background: oklch(62% 0.16 25); border-color: oklch(62% 0.16 25); }
.demo-year .cell.cool { background: oklch(62% 0.16 145); border-color: oklch(62% 0.16 145); }
.demo-year .cell.now { background: var(--ink); border-color: var(--ink); }
.demo-year .cell.hol { background: transparent; border: 1px dashed var(--line); opacity: 0.5; }

/* ====== FAQ ====== */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-align: left;
  color: var(--ink);
  transition: color 160ms;
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-3);
  transition: transform 280ms var(--e-out), background 200ms, border-color 200ms, color 200ms;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms var(--e-out);
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}

/* ====== Final waitlist CTA ====== */
.final-cta {
  padding: 120px 0;
  text-align: center;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.final-cta .eyebrow-row {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}
.final-cta .count {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.final-cta h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 auto 40px;
  max-width: 14ch;
  text-wrap: balance;
}
.final-cta h2 em { font-style: italic; color: var(--accent); }
.final-cta .waitlist {
  margin: 0 auto;
  max-width: 480px;
}
.final-cta .perks {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.final-cta .perks .perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.final-cta .perks .perk::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* ====== Footer ====== */
footer {
  padding: 64px 0 32px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 500;
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: var(--ink-2);
  transition: color 120ms;
}
.footer-col a:hover { color: var(--accent); }

.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--ink-3);
  max-width: 28ch;
  line-height: 1.5;
  margin: 0;
}

.footer-meta {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

/* ====== Tweaks panel ====== */
.tweaks-panel {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 280px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh-3);
  padding: 14px;
  z-index: 90;
  font-size: 13px;
  animation: rise 260ms var(--e-out);
}
.tweaks-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.tweaks-head h5 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.tweak-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  gap: 10px;
}
.tweak-label { font-size: 12px; color: var(--ink-2); }
.tweak-pills {
  display: flex;
  gap: 3px;
  background: var(--bg-2);
  padding: 2px;
  border-radius: 6px;
}
.tweak-pills button {
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 4px;
  color: var(--ink-3);
  font-weight: 500;
}
.tweak-pills button.active {
  background: var(--bg-raised);
  color: var(--ink);
  box-shadow: var(--sh-1);
}
.tweak-swatches {
  display: flex;
  gap: 6px;
}
.tweak-swatches button {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 120ms, transform 160ms;
}
.tweak-swatches button:hover { transform: scale(1.1); }
.tweak-swatches button.active { border-color: var(--ink); }

/* ====== Bilingual ======
   Content marked data-de / data-en is shown/hidden by root class */
[data-lang="de"] [data-en] { display: none; }
[data-lang="en"] [data-de] { display: none; }

/* Small screens: collapse section heads */
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(52px, 13vw, 96px); }
}

/* ====== Year viz v2 — month rows with week bars ====== */
.year-viz {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.year-viz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 8px;
}
.yv-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.yv-legend span { display: inline-flex; align-items: center; gap: 5px; }
.sw { width: 10px; height: 10px; border-radius: 2px; background: var(--bg-2); border: 1px solid var(--line); display: inline-block; }
.sw-filled { background: var(--ink); border-color: var(--ink); }
.sw-planned { background: var(--accent-bg); border-color: var(--accent-line); }
.sw-now { background: var(--accent); border-color: var(--accent); }

.year-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}
@media (max-width: 900px) {
  .year-bars { grid-template-columns: 1fr; }
}
.yrow {
  display: grid;
  grid-template-columns: 34px 1fr 38px;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.yrow-label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.yrow-cells {
  display: flex;
  gap: 3px;
  height: 14px;
}
.yrow-count {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-4);
  text-align: right;
}
.yb {
  flex: 1;
  border-radius: 2px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transform: scaleY(0.4);
  transform-origin: bottom;
  opacity: 0;
  animation: ybRise 500ms var(--e-out) var(--d, 0ms) forwards;
}
@keyframes ybRise {
  to { transform: scaleY(1); opacity: 1; }
}
.yb.done { background: var(--ink); border-color: var(--ink); }
.yb.plan { background: var(--accent-bg); border-color: var(--accent-line); }
.yb.now  { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-bg); animation: ybRise 500ms var(--e-out) var(--d, 0ms) forwards, nowGlow 1.8s infinite; }
.yb.exam { background: oklch(62% 0.16 25); border-color: oklch(62% 0.16 25); }
.yb.hol  { background: transparent; border: 1px dashed var(--line-strong); opacity: 0.5; animation: none; transform: none; }
@keyframes nowGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

/* Heart */
.heart {
  color: oklch(58% 0.20 25);
  font-style: normal;
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes heartbeat {
  0%, 40%, 100% { transform: scale(1); }
  10% { transform: scale(1.18); }
  20% { transform: scale(0.98); }
  30% { transform: scale(1.1); }
}

/* ===== Minimal entrance animations ===== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--e-out), transform 700ms var(--e-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .heart { animation: none; }
  .marquee-track { animation: none; }
}

/* Hero headline subtle letter reveal */
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  animation: wRise 700ms var(--e-out) forwards;
}
.hero h1 .w:nth-child(1) { animation-delay: 80ms; }
.hero h1 .w:nth-child(2) { animation-delay: 160ms; }
.hero h1 .w:nth-child(3) { animation-delay: 240ms; }
.hero h1 .w:nth-child(4) { animation-delay: 320ms; }
.hero h1 .w:nth-child(5) { animation-delay: 400ms; }
.hero h1 .w:nth-child(6) { animation-delay: 480ms; }
@keyframes wRise {
  to { opacity: 1; transform: none; }
}

/* Hover lift on feature tiles */
.feature h3, .feature p { transition: transform 400ms var(--e-out); }
.feature:hover h3 { transform: translateX(3px); }

/* FAQ item slight hover */
.faq-item { transition: background 200ms; }
.faq-item:hover { background: color-mix(in oklch, var(--bg-raised) 70%, transparent); }

/* Marquee scroll for ticker */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span::after {
  content: '◆';
  font-size: 10px;
  color: var(--accent);
  font-style: normal;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
