/* ─────────────────────────────────────────────
   Haynoi — Editorial Calm (final, juried build)
   Typeface: Lora (serif display) + system sans
   Ground: warm paper #F7F4EE
   Accent: ember amber #C8622A (text/rules)
   Orb: aurora cyan→blue→violet→pink (product identity)
   Hairlines: #D6CFBF
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ── Reset & Tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper:   #F7F4EE;
  --ink:     #1C1814;
  --muted:   #6B6257;
  --line:    #D6CFBF;
  --ember:   #C8622A;
  --ember-lt:#E8833D;
  --ember-dk:#9E4518;
  --white:   #FFFFFF;

  /* Aurora palette — sampled from real app icon */
  --aurora-cyan:   #00C8F0;
  --aurora-blue:   #7B8FF5;
  --aurora-violet: #9B79F5;
  --aurora-pink:   #E879C5;

  --serif:   'Lora', Georgia, 'Times New Roman', serif;
  --sans:    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --max:     1200px;
  --gutter:  clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography Scale ── */
.serif { font-family: var(--serif); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

/* ── Layout Utilities ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white) !important;
  background: var(--ink);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--ember-dk) !important;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
  text-align: center;
  position: relative;
}

/* Orb — aurora identity */
.orb-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.orb-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer glow rings — aurora tint */
.orb-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px solid var(--aurora-violet);
  opacity: 0.30;
  animation: ring-breathe 3.2s ease-in-out infinite;
}

.orb-ring-2 {
  position: absolute;
  inset: -36px;
  border-radius: 50%;
  border: 1px solid var(--aurora-blue);
  opacity: 0.16;
  animation: ring-breathe 3.2s ease-in-out infinite 0.8s;
}

/* Wave bars — aurora colored, 2× more prominent */
.wave-bars {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.wave-bar {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 4px;
  border-radius: 3px;
  /* aurora gradient per bar via conic-like distribution */
  background: linear-gradient(to top, var(--aurora-cyan), var(--aurora-violet));
  transform-origin: bottom center;
  opacity: 0.75;
}

/* 12 bars: longer heights (2× original), aurora-colored */
.wave-bar:nth-child(1)  { transform: translateX(-50%) rotate(0deg)   translateY(-62px); height: 20px; animation: bar-pulse 1.2s ease-in-out infinite 0.0s;  background: linear-gradient(to top, var(--aurora-cyan),  var(--aurora-blue)); }
.wave-bar:nth-child(2)  { transform: translateX(-50%) rotate(30deg)  translateY(-62px); height: 32px; animation: bar-pulse 1.2s ease-in-out infinite 0.1s;  background: linear-gradient(to top, var(--aurora-cyan),  var(--aurora-violet)); }
.wave-bar:nth-child(3)  { transform: translateX(-50%) rotate(60deg)  translateY(-62px); height: 44px; animation: bar-pulse 1.2s ease-in-out infinite 0.2s;  background: linear-gradient(to top, var(--aurora-blue),  var(--aurora-violet)); }
.wave-bar:nth-child(4)  { transform: translateX(-50%) rotate(90deg)  translateY(-62px); height: 28px; animation: bar-pulse 1.2s ease-in-out infinite 0.3s;  background: linear-gradient(to top, var(--aurora-violet),var(--aurora-pink)); }
.wave-bar:nth-child(5)  { transform: translateX(-50%) rotate(120deg) translateY(-62px); height: 40px; animation: bar-pulse 1.2s ease-in-out infinite 0.4s;  background: linear-gradient(to top, var(--aurora-violet),var(--aurora-pink)); }
.wave-bar:nth-child(6)  { transform: translateX(-50%) rotate(150deg) translateY(-62px); height: 24px; animation: bar-pulse 1.2s ease-in-out infinite 0.5s;  background: linear-gradient(to top, var(--aurora-pink),  var(--aurora-violet)); }
.wave-bar:nth-child(7)  { transform: translateX(-50%) rotate(180deg) translateY(-62px); height: 20px; animation: bar-pulse 1.2s ease-in-out infinite 0.6s;  background: linear-gradient(to top, var(--aurora-pink),  var(--aurora-violet)); }
.wave-bar:nth-child(8)  { transform: translateX(-50%) rotate(210deg) translateY(-62px); height: 36px; animation: bar-pulse 1.2s ease-in-out infinite 0.7s;  background: linear-gradient(to top, var(--aurora-violet),var(--aurora-blue)); }
.wave-bar:nth-child(9)  { transform: translateX(-50%) rotate(240deg) translateY(-62px); height: 48px; animation: bar-pulse 1.2s ease-in-out infinite 0.8s;  background: linear-gradient(to top, var(--aurora-blue),  var(--aurora-cyan)); }
.wave-bar:nth-child(10) { transform: translateX(-50%) rotate(270deg) translateY(-62px); height: 28px; animation: bar-pulse 1.2s ease-in-out infinite 0.9s;  background: linear-gradient(to top, var(--aurora-cyan),  var(--aurora-blue)); }
.wave-bar:nth-child(11) { transform: translateX(-50%) rotate(300deg) translateY(-62px); height: 38px; animation: bar-pulse 1.2s ease-in-out infinite 1.0s;  background: linear-gradient(to top, var(--aurora-cyan),  var(--aurora-violet)); }
.wave-bar:nth-child(12) { transform: translateX(-50%) rotate(330deg) translateY(-62px); height: 22px; animation: bar-pulse 1.2s ease-in-out infinite 1.1s;  background: linear-gradient(to top, var(--aurora-cyan),  var(--aurora-blue)); }

/* The aurora core orb — cyan→blue→violet→pink sphere */
.orb-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%,
    #5DEAFF 0%,
    #7B8FF5 35%,
    #9B79F5 60%,
    #C060E8 80%,
    #E879C5 100%
  );
  box-shadow:
    0 0 0 6px rgba(123, 143, 245, 0.14),
    0 0 24px rgba(155, 121, 245, 0.38),
    0 0 56px rgba(93, 234, 255, 0.18),
    inset 0 -4px 12px rgba(0,0,0,0.15),
    inset 0 2px 8px rgba(200,220,255,0.30);
  position: relative;
  z-index: 2;
  animation: orb-glow 3.2s ease-in-out infinite;
  overflow: hidden;
}

/* Inner highlight */
.orb-core::before {
  content: '';
  position: absolute;
  top: 14%;
  left: 20%;
  width: 38%;
  height: 24%;
  background: rgba(200, 230, 255, 0.35);
  border-radius: 50%;
  filter: blur(4px);
  transform: rotate(-20deg);
}

/* Icon inside orb */
.orb-icon {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-icon svg {
  width: 32px;
  height: 32px;
  fill: rgba(255,255,255,0.92);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Mic key badge */
.key-badge {
  position: absolute;
  bottom: -12px;
  right: -14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.2rem 0.55rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  white-space: nowrap;
  z-index: 10;
  animation: key-pop 3.2s ease-in-out infinite;
}

@keyframes orb-glow {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(123,143,245,0.14),
      0 0 24px rgba(155,121,245,0.38),
      0 0 56px rgba(93,234,255,0.18),
      inset 0 -4px 12px rgba(0,0,0,0.15),
      inset 0 2px 8px rgba(200,220,255,0.30);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(123,143,245,0.22),
      0 0 36px rgba(155,121,245,0.55),
      0 0 72px rgba(93,234,255,0.28),
      inset 0 -4px 12px rgba(0,0,0,0.15),
      inset 0 2px 8px rgba(200,220,255,0.30);
  }
}

@keyframes ring-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.30; }
  50%       { transform: scale(1.08); opacity: 0.52; }
}

@keyframes bar-pulse {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) rotate(var(--r, 0deg)) translateY(-62px) scaleY(0.55); }
  50%       { opacity: 0.92; transform: translateX(-50%) rotate(var(--r, 0deg)) translateY(-62px) scaleY(1.25); }
}

@keyframes key-pop {
  0%, 45%, 100% { transform: scale(1); }
  50%            { transform: scale(1.08); }
}

/* ── prefers-reduced-motion (fix #11) ── */
@media (prefers-reduced-motion: reduce) {
  .orb-core,
  .orb-ring,
  .orb-ring-2,
  .wave-bar,
  .key-badge,
  .wv-bar,
  .cursor {
    animation: none !important;
  }
  .wave-bar { opacity: 0.7; transform: translateX(-50%) rotate(var(--r, 0deg)) translateY(-62px); }
  .orb-core { box-shadow: 0 0 0 6px rgba(123,143,245,0.14), 0 0 24px rgba(155,121,245,0.38); }
  html { scroll-behavior: auto; }
}

/* ── Hero trust chips (graft #2) ── */
.hero-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ember);
  background: rgba(200, 98, 42, 0.07);
  border: 1px solid rgba(200, 98, 42, 0.18);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

.hero-chip-sep {
  color: var(--line);
  font-size: 0.75rem;
}

/* Hero type */
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  color: var(--ember);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.75rem;
  line-height: 1.6;
  font-family: var(--sans);
}

/* Inline keycap (graft #3) */
.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 5px;
  padding: 0.05em 0.4em 0.1em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10);
  vertical-align: baseline;
  line-height: 1.3;
  letter-spacing: 0;
  user-select: none;
}

/* CTA cluster */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(28,24,20,0.18);
  letter-spacing: -0.01em;
}

.btn-primary svg { flex-shrink: 0; }

.btn-primary:hover {
  background: var(--ember-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,98,42,0.28);
}

.cta-fine {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Kyma pill near CTA (graft #9) */
.kyma-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.kyma-pill:hover {
  color: var(--ink);
  border-color: var(--ember);
}

.kyma-pill svg {
  flex-shrink: 0;
  stroke: var(--ember);
}

/* ════════════════════════════════════════
   HOW IT WORKS — inline diagram strip
════════════════════════════════════════ */
.how {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.how-header {
  text-align: center;
  margin-bottom: 4rem;
}

.how-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.how-header p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  gap: 0;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.step:hover {
  border-color: rgba(123,143,245,0.5);
  box-shadow: 0 4px 24px rgba(123,143,245,0.10);
}

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}

.step-visual {
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step 1 — Key */
.key-vis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 1.5rem;
  font-family: var(--sans);
  font-weight: 600;
  box-shadow: 0 4px 0 rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.15);
  position: relative;
  top: 0;
  transition: top 0.15s, box-shadow 0.15s;
}

.step:hover .key-vis {
  top: 3px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.12);
}

/* Step 2 — mini waveform bars */
.waveform-vis {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
}

.wv-bar {
  width: 5px;
  background: var(--aurora-violet);
  border-radius: 3px;
  animation: wv-anim 0.9s ease-in-out infinite alternate;
}

.wv-bar:nth-child(1) { height: 14px; animation-delay: 0.0s;  background: var(--aurora-cyan); }
.wv-bar:nth-child(2) { height: 26px; animation-delay: 0.1s;  background: var(--aurora-blue); }
.wv-bar:nth-child(3) { height: 38px; animation-delay: 0.2s;  background: var(--aurora-violet); }
.wv-bar:nth-child(4) { height: 22px; animation-delay: 0.3s;  background: var(--aurora-violet); }
.wv-bar:nth-child(5) { height: 32px; animation-delay: 0.15s; background: var(--aurora-pink); }
.wv-bar:nth-child(6) { height: 18px; animation-delay: 0.05s; background: var(--aurora-pink); }
.wv-bar:nth-child(7) { height: 28px; animation-delay: 0.25s; background: var(--aurora-violet); }

@keyframes wv-anim {
  from { transform: scaleY(0.4); opacity: 0.5; }
  to   { transform: scaleY(1);   opacity: 1; }
}

/* Step 3 — text cursor blink */
.text-vis {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.55;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  position: relative;
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
}

.text-vis-inner {
  display: inline;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--aurora-violet);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Arrow connectors */
.arrow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--line);
}

.arrow-connector svg {
  width: 28px;
  height: 28px;
  stroke: var(--aurora-blue);
  stroke-width: 1.5;
  opacity: 0.5;
  fill: none;
}

.step-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Timer badge */
.timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  background: rgba(155,121,245,0.08);
  border: 1px solid rgba(155,121,245,0.22);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--aurora-violet);
  letter-spacing: 0.03em;
}

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.features-header {
  margin-bottom: 3.5rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.75rem;
}

.features-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 520px;
  line-height: 1.2;
}

.features-header p {
  color: var(--muted);
  max-width: 480px;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--line);
}

.feature-card {
  background: var(--paper);
  padding: 2.25rem 2rem;
  transition: background 0.2s;
  position: relative;
}

.feature-card:hover {
  background: var(--white);
}

.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(123, 143, 245, 0.08);
  border: 1px solid rgba(123, 143, 245, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--aurora-violet);
}

.feat-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   NAME STORY
════════════════════════════════════════ */
.name-story {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.name-story-inner {
  max-width: 740px;
  margin: 0 auto;
}

.story-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 2rem;
  text-align: center;
}

/* Semantic dl for triple meanings (fix #12) */
.triple-meanings {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}

.triple-meanings .meaning-cell {
  flex: 1;
  padding: 1.5rem 1.75rem;
  text-align: center;
  transition: background 0.2s;
}

.triple-meanings:hover .meaning-cell { background: #FDFBF7; }
.triple-meanings .meaning-cell:hover { background: var(--white); }

.triple-meanings .meaning-divider {
  width: 1px;
  background: var(--line);
  align-self: stretch;
  flex-shrink: 0;
}

.meaning-vn {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ember);
  margin-bottom: 0.3rem;
  line-height: 1.2;
  display: block;
}

.meaning-en {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

.story-body {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: var(--ink);
  text-align: center;
}

.story-body p + p { margin-top: 1.25em; }

.story-body em { font-style: italic; color: var(--ember); }

/* founder note */
.founder-note {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.founder-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}

.founder-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

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

/* ════════════════════════════════════════
   OSS BAND (graft #7)
════════════════════════════════════════ */
.oss-band {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.oss-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.oss-text .section-label {
  margin-bottom: 0.75rem;
}

.oss-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.oss-text p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 420px;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  padding: 0.65rem 1.5rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.oss-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem 2.5rem;
  text-align: center;
}

.oss-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

.oss-badge-mit {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.oss-badge-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* ════════════════════════════════════════
   PRICING TRANSPARENCY STRIP (graft #1)
════════════════════════════════════════ */
.pricing-strip {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.pricing-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.pricing-item {
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--white);
  transition: background 0.2s;
}

.pricing-item:hover { background: #FDFBF7; }

.pricing-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.pricing-value {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.pricing-sub {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.pricing-divider {
  width: 1px;
  height: 100%;
  min-height: 80px;
  background: var(--line);
  align-self: stretch;
}

/* ════════════════════════════════════════
   BOTTOM CTA
════════════════════════════════════════ */
.bottom-cta {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* App icon moment (graft #8) */
.cta-app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.bottom-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.bottom-cta h2 em {
  font-style: italic;
  color: var(--ember);
}

.bottom-cta .sub {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
}

.kyma-note {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.kyma-note a {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200,98,42,0.35);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-left img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  opacity: 0.75;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

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

.footer-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.mit-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

/* Desktop/tablet nav — keep Download visible, hide text links on small nav */
@media (max-width: 720px) {
  /* Hide text nav links but KEEP the Download CTA visible (fix #15) */
  .nav-links li:not(:last-child) { display: none; }
  .nav-links { gap: 0; }

  .how-steps {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
    max-width: 360px;
  }

  .arrow-connector { transform: rotate(90deg); margin: 0.25rem auto; }

  .triple-meanings {
    flex-direction: column;
  }

  .triple-meanings .meaning-divider {
    width: 100%;
    height: 1px;
    min-height: unset;
  }

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

  .oss-band-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .oss-text p { max-width: 100%; }
  .oss-badge { flex-direction: row; gap: 1rem; padding: 1.25rem 1.5rem; justify-content: center; }

  .pricing-strip-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .pricing-divider {
    width: 100%;
    height: 1px;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .orb-wrap { width: 96px; height: 96px; }
  .orb-core { width: 72px; height: 72px; }
  .features-grid { grid-template-columns: 1fr; }
  .bottom-cta h2 { font-size: 1.9rem; }
}

/* 360px micro-breakpoint (fix #5) */
@media (max-width: 360px) {
  :root { --gutter: 1rem; }
  .hero-title { font-size: 2rem; }
  .orb-wrap { width: 80px; height: 80px; }
  .orb-core { width: 60px; height: 60px; }
  .wave-bar { width: 3px; }
  .hero-sub { font-size: 0.95rem; }
  .btn-primary { padding: 0.75rem 1.4rem; font-size: 0.9rem; }
  .bottom-cta h2 { font-size: 1.65rem; }
  .cta-app-icon { width: 68px; height: 68px; }
}

/* ── Pure-CSS entrance fade — content visible without JS (no opacity:0 gate) ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fade-up 0.7s ease both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.25s; }
.fade-up-4 { animation-delay: 0.35s; }
.fade-up-5 { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none !important; opacity: 1 !important; transform: none !important; }
}
