@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=IBM+Plex+Mono:wght@300;400&display=swap');

/* ══════════════════════════════════════
   TOKENS
══════════════════════════════════════ */
:root {
  --cream:       #F2EDE8;
  --cream-mid:   #E8E3D9;
  --cream-deep:  #C4BFB3;
  --bone:        #A09B8F;
  --ink:         #2C2A25;
  --ink-soft:    #4A4540;
  --muted:       #A09B8F;
  --dark:        #1C1A17;
  --dark-mid:    #33302B;
  --dark-soft:   #4A4540;
  --terra:       #C4845A;
  --terra-d:     #A86D47;
  --success:     #4A7C59;
  --danger:      #B5453A;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:   1200px;
}

/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
}

h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }

.section-label {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

/* ══════════════════════════════════════
   DRAGON BACKGROUND
══════════════════════════════════════ */
#dragon-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#dragon-lottie {
  height: 100vh;
  width: auto;
  max-width: none;
  opacity: 0.09;
  transition: opacity 0.8s ease;
  will-change: opacity;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(242, 237, 232, 0.94);
  border-bottom: 1px solid rgba(44, 42, 37, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.nav-links a.nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 20px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  border-radius: 0;
  transition: background var(--transition);
}

.nav-links a.nav-cta:hover { background: var(--terra); }

/* ══════════════════════════════════════
   HAMBURGER + MOBILE NAV
══════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--transition);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(242, 237, 232, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--terra); }

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 30px;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 100px;
  background: transparent;
}

.hero-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(60px, 9.5vw, 120px);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0;
  animation: heroFadeUp 1s 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--terra);
}

.hero-explainer {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.85;
  margin-top: 28px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: heroFadeUp 0.8s 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeUp 0.7s 1.6s ease forwards;
}

.scroll-cue-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-deep);
}

.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--terra), transparent);
  animation: linePulse 2.2s ease-in-out infinite;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes linePulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 0.9; transform: scaleY(1);   transform-origin: top; }
}

/* ══════════════════════════════════════
   BUTTONS — single definition, no conflicts
══════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--terra);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  border-bottom: 1px solid var(--cream-deep);
  padding-bottom: 2px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--terra);
  border-color: var(--terra);
}

.btn-pricing-ghost {
  display: block;
  text-align: center;
  width: 100%;
  padding: 13px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(44, 42, 37, 0.15);
  transition: border-color 0.2s, color 0.2s;
}

.btn-pricing-ghost:hover {
  border-color: var(--terra);
  color: var(--terra);
}

/* ══════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════ */
.features {
  position: relative;
  z-index: 10;
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}

.features-header {
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.feature-card {
  background: var(--cream-mid);
  padding: 44px 32px;
  text-align: left;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.16,1,0.3,1),
    transform 0.7s cubic-bezier(0.16,1,0.3,1),
    background 0.25s,
    border-color 0.25s;
}

.feature-card.visible { opacity: 1; transform: none; }
.feature-card:hover { background: var(--cream); border-color: var(--cream-deep); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cream);
}

.feature-icon.icon-record,
.feature-icon.icon-notes,
.feature-icon.icon-playback { background: var(--terra); }

.feature-icon.icon-transcript,
.feature-icon.icon-share,
.feature-icon.icon-cloud { background: var(--ink-soft); }

.feature-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}

.feature-card p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
}

/* ══════════════════════════════════════
   OUR STORY
══════════════════════════════════════ */
.story {
  position: relative;
  z-index: 10;
  background: var(--cream);
  padding: 110px 52px;
  border-top: 1px solid var(--cream-mid);
}

.story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.story-card {
  background: var(--cream-mid);
  padding: 48px 40px;
  position: relative;
}

.story-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--bone);
  line-height: 1.55;
}

.story-accent-line {
  width: 40px;
  height: 2px;
  background: var(--terra);
  margin-top: 28px;
}

.story-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 24px;
}

.story-text p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.story-highlight {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 400;
  color: var(--terra);
  border-left: 2px solid var(--terra);
  padding-left: 20px;
  margin-top: 28px;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   PRICING
══════════════════════════════════════ */
.pricing {
  position: relative;
  z-index: 10;
  background: var(--dark);
  padding: 110px 52px;
  border-top: 1px solid var(--cream-mid);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s, transform 0.7s;
}

.pricing-header.visible { opacity: 1; transform: none; }

.pricing-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}

.pricing-header .section-label { color: var(--terra); }

.pricing-header .section-subtitle {
  color: rgba(160, 155, 143, 0.6);
  margin-top: 10px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  background: #161209;
  padding: 52px 44px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s;
}

.pricing-card.visible { opacity: 1; transform: none; }
.pricing-card.featured { background: #1C140A; }

.plan-name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(160, 155, 143, 0.5);
  margin-bottom: 20px;
}

.pricing-card.featured .plan-name { color: var(--terra); }

.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-currency {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--cream);
  align-self: flex-start;
  margin-top: 6px;
}

.price-amount {
  font-family: "Cormorant Garamond", serif;
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
  color: var(--cream);
}

.price-period {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 300;
  color: rgba(160, 155, 143, 0.5);
  margin-left: 4px;
}

.plan-description {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 300;
  color: rgba(160, 155, 143, 0.5);
  line-height: 1.8;
  margin-bottom: 28px;
  margin-top: 6px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.plan-features li {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 300;
  color: rgba(184, 168, 152, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.plan-features li svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--terra);
}

.pricing-btn-subtext {
  display: block;
  margin-top: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 300;
  color: rgba(160, 155, 143, 0.4);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq {
  position: relative;
  z-index: 10;
  background: var(--cream-mid);
  padding: 110px 52px;
  border-top: 1px solid var(--cream-deep);
}

.faq .container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 12px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--cream-deep);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  gap: 20px;
  transition: color var(--transition);
}

.faq-item.open .faq-question { color: var(--terra); }

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  color: var(--muted);
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--terra); }

.faq-icon svg { width: 100%; height: 100%; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  padding-bottom: 24px;
}

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-section {
  position: relative;
  z-index: 10;
  background: var(--dark);
  padding: 130px 52px 140px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(196,132,90,0.09), transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 14px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s, transform 0.85s;
}

.cta-section h2 em { font-style: italic; color: var(--terra); }
.cta-section h2.visible { opacity: 1; transform: none; }

.cta-section p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  color: rgba(160, 155, 143, 0.5);
  margin-bottom: 48px;
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s 0.1s, transform 0.7s 0.1s;
}

.cta-section p.visible { opacity: 1; transform: none; }

.cta-section .btn-primary {
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s 0.2s, transform 0.7s 0.2s, background 0.2s;
}

.cta-section .btn-primary.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 10;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 28px;
  width: 28px;
  object-fit: contain;
}

.footer-logo span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  color: rgba(160, 155, 143, 0.4);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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

.footer-bottom {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  color: rgba(160, 155, 143, 0.3);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════ */
.legal-page {
  padding: 140px 0 80px;
  background: var(--cream);
}

.legal-page .container { max-width: 780px; }

.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.legal-page .last-updated {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.legal-page ul {
  padding-left: 24px;
  list-style: disc;
}

.legal-page ul li { margin-bottom: 8px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .story .container { grid-template-columns: 1fr; gap: 48px; }
  .story-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 28px 80px; }
  .hero-headline { font-size: clamp(48px, 12vw, 72px); }
  .hero-explainer { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 16px; }
  #dragon-lottie { height: 80vh; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 32px 24px; }

  .story { padding: 72px 24px; }
  .story-card { padding: 32px 24px; }

  .pricing { padding: 80px 24px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card { padding: 40px 32px; }

  .faq { padding: 72px 24px; }

  .cta-section { padding: 80px 24px 100px; }

  .footer { padding: 32px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-primary { padding: 12px 22px; font-size: 12px; }
}
/* =========================================
   Dragon Notes - Global Styles
   Palette: beige monochrome + purple/orange accents
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=IBM+Plex+Mono:wght@300;400&display=swap');

/* ---------- custom properties ---------- */
:root {
  /* ── Light surfaces ── */
  --cream:       #F2EDE8;
  --cream-mid:   #E8E3D9;
  --cream-deep:  #C4BFB3;
  --bone:        #A09B8F;

  /* ── Typography ── */
  --ink:         #2C2A25;
  --ink-soft:    #4A4540;
  --muted:       #A09B8F;

  /* ── Obsidian (dark surfaces) ── */
  --dark:        #1C1A17;
  --dark-mid:    #33302B;
  --dark-soft:   #4A4540;

  /* ── Accent ── */
  --terra:       #C4845A;
  --terra-d:     #A86D47;

  /* ── Semantic ── */
  --success:     #4A7C59;
  --danger:      #B5453A;
}

:root {
  --bg-primary: var(--cream);
  --bg-secondary: var(--cream-mid);
  --bg-tertiary: var(--cream-deep);
  --bg-white: rgba(242, 237, 232, 0.88);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --text-muted: var(--muted);
  --accent-purple: var(--dark);
  --accent-orange: var(--terra);
  --accent-purple-light: var(--dark-mid);
  --accent-gradient: linear-gradient(135deg, var(--dark) 0%, var(--terra) 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(196,132,90,.08) 0%, rgba(28,26,23,.03) 100%);
  --border-light: rgba(28,26,23,.08);
  --shadow-sm: 0 1px 2px rgba(28,26,23,.06);
  --shadow-md: 0 10px 24px rgba(28,26,23,.08);
  --shadow-lg: 0 18px 46px rgba(28,26,23,.12);
  --shadow-xl: 0 28px 72px rgba(28,26,23,.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-body: "IBM Plex Mono", monospace;
  --font-heading: "Cormorant Garamond", serif;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

p, li, small, label, .nav-links a, .mobile-nav a {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- typography ---------- */
h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.04;
}
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}
h1 { font-size: clamp(3rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }

.section-label {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.9;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 2px;
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .08em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: none;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
}
.btn-primary:hover {
  background: var(--terra);
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid rgba(28,26,23,.16);
}
.btn-secondary:hover {
  background: rgba(28,26,23,.04);
  color: var(--ink);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ---------- navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(242,237,232,.94);
  border-bottom: 1px solid rgba(28,26,23,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(242,237,232,.96);
  padding: 12px 0;
  box-shadow: none;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  padding-left: 24px;
  padding-right: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--ink);
}
.nav-logo span {
  white-space: nowrap;
}
.nav-logo img {
  height: 40px;
  width: 40px;
  min-width: 40px;
  object-fit: contain;
  object-position: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  display: none;
}
.nav-links a:hover { color: var(--terra); }

.nav-links a.nav-cta {
  padding: 12px 18px;
  font-size: .66rem;
  color: var(--cream);
  background: var(--ink);
  border-radius: 2px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  box-shadow: none;
  transition: all var(--transition);
}
.nav-links a.nav-cta::after {
  display: none;
}
.nav-links a.nav-cta:hover {
  color: var(--cream);
  background: var(--terra);
  transform: none;
  box-shadow: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(242,237,232,.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: "IBM Plex Mono", monospace;
  font-size: .95rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--terra); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 100px;
  background: transparent;
}

.hero-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C4845A;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(60px, 9.5vw, 120px);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: #2C2A25;
  opacity: 0;
  animation: heroFadeUp 1s 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-headline em {
  font-style: italic;
  color: #C4845A;
}

.hero-explainer {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 300;
  color: #A09B8F;
  max-width: 480px;
  line-height: 1.85;
  margin-top: 28px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: heroFadeUp 0.8s 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2C2A25;
  color: #F2EDE8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #C4845A;
  transform: translateY(-1px);
}

.btn-ghost {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 300;
  color: #A09B8F;
  text-decoration: none;
  border-bottom: 1px solid #C4BFB3;
  padding-bottom: 2px;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s;
  background: none;
}
.btn-ghost:hover {
  color: #C4845A;
  border-color: #C4845A;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeUp 0.7s 1.6s ease forwards;
}

.scroll-cue-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C4BFB3;
}

.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, #C4845A, transparent);
  animation: linePulse 2.2s ease-in-out infinite;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes linePulse {
  0%, 100% { 
    opacity: 0.3; 
    transform: scaleY(0.6); 
    transform-origin: top; 
  }
  50% { 
    opacity: 0.9; 
    transform: scaleY(1); 
    transform-origin: top; 
  }
}

#dragon-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#dragon-lottie {
  height: 100vh;
  width: auto;
  max-width: none;
  opacity: 0.09;
  will-change: opacity;
  flex-shrink: 0;
}

/* ---------- story ---------- */
.story {
  padding: 120px 0;
  background: var(--bg-white);
  position: relative;
}
.story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-visual {
  position: relative;
}
.story-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 1;
  color: rgba(61,28,79,.06);
  pointer-events: none;
}
.story-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.story-accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
  margin-top: 28px;
}
.story-content h2 {
  margin-bottom: 24px;
}
.story-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
}
.story-text p + p {
  margin-top: 20px;
}
.story-highlight {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--accent-gradient-soft);
  border-left: 3px solid var(--accent-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  color: var(--accent-purple);
  font-size: 1.05rem;
}

/* ---------- features ---------- */
.features {
  padding: 120px 0;
  background: var(--bg-primary);
  text-align: center;
}
.features-header {
  margin-bottom: 72px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 44px 32px 40px;
  text-align: left;
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.feature-icon.icon-record  { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-transcript { background: rgba(61,28,79,.08); color: var(--accent-purple); }
.feature-icon.icon-notes   { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-share   { background: rgba(61,28,79,.08); color: var(--accent-purple); }
.feature-icon.icon-playback { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-cloud   { background: rgba(61,28,79,.08); color: var(--accent-purple); }

.feature-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}

/* ---------- pricing ---------- */
.pricing {
  padding: 120px 0;
  background: var(--bg-white);
  text-align: center;
}
.pricing-header {
  margin-bottom: 48px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  font-size: .95rem;
  font-weight: 500;
}
.pricing-toggle span { color: var(--text-muted); transition: color var(--transition); }
.pricing-toggle span.active { color: var(--text-primary); font-weight: 600; }

.toggle-track {
  width: 56px;
  height: 30px;
  background: var(--bg-tertiary);
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-track.annual { background: var(--accent-purple); }
.toggle-thumb {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-track.annual .toggle-thumb {
  transform: translateX(26px);
}

.save-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(232,115,74,.1);
  color: var(--accent-orange);
  font-size: .75rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: .5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition);
}
.save-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: left;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured .plan-name { color: rgba(255,255,255,.7); }
.pricing-card.featured .price-currency,
.pricing-card.featured .price-amount,
.pricing-card.featured .price-period { color: #fff; }
.pricing-card.featured .plan-description { color: rgba(255,255,255,.6); }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,.8); }
.pricing-card.featured .plan-features li svg { color: var(--accent-orange); }
.pricing-card.featured .btn-primary {
  background: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(232,115,74,.3);
}
.pricing-card.featured .popular-tag {
  position: absolute;
  top: -1px;
  right: 32px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.plan-name {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  min-height: 56px;
}
.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 6px;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  transition: all .3s ease;
}
.price-period {
  font-size: .9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-description {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-bottom: 32px;
  min-height: 44px;
}

.plan-features {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-secondary);
}
.plan-features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-purple);
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.annual-note {
  display: block;
  margin-top: 8px;
  font-size: .8rem;
  color: var(--text-muted);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all var(--transition);
}
.annual-note.visible {
  opacity: 1;
  height: auto;
  margin-top: 8px;
}
.pricing-card.featured .annual-note { color: rgba(255,255,255,.5); }

.pricing-btn-subtext {
  display: block;
  margin-top: 14px;
  padding-top: 4px;
  font-size: .85rem;
  color: var(--text-muted);
  text-align: center;
}
.pricing-card.featured .pricing-btn-subtext { color: #64748b; }

/* ---------- faq ---------- */
.faq {
  padding: 120px 0;
  background: var(--bg-primary);
}
.faq-header {
  text-align: center;
  margin-bottom: 64px;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(61,28,79,.15);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--accent-purple); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--accent-purple);
  color: #fff;
  transform: rotate(45deg);
}
.faq-icon svg {
  width: 14px;
  height: 14px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.8;
}

/* ---------- cta ---------- */
.cta-section {
  padding: 100px 0;
  background: var(--text-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(232,115,74,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  color: rgba(255,255,255,.6);
  font-size: 1.1rem;
  margin-bottom: 40px;
  position: relative;
}
.cta-section .btn-primary {
  position: relative;
  background: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(232,115,74,.3);
}

/* ---------- footer ---------- */
.footer {
  padding: 60px 0 36px;
  background: #1a1216;
  color: rgba(255,255,255,.5);
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  height: 36px;
  width: 36px;
  min-width: 36px;
  object-fit: contain;
  object-position: center;
}
.footer-logo span {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.3px;
  color: rgba(255,255,255,.8);
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  font-size: .8rem;
  opacity: .6;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ---------- legal pages ---------- */
.legal-page {
  padding: 140px 0 80px;
  background: var(--bg-primary);
}
.legal-page .container {
  max-width: 780px;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.legal-page .last-updated {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.legal-page ul {
  padding-left: 24px;
  list-style: disc;
}
.legal-page ul li {
  margin-bottom: 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .story .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .story-visual { order: -1; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 28px 80px; }
  .hero-headline { font-size: clamp(48px, 12vw, 72px); }
  .hero-explainer { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 16px; }
  #dragon-lottie { height: 80vh; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-card { padding: 32px 24px; }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pricing-card { padding: 36px 28px; }

  .footer .container {
    flex-direction: column;
  }
  .story-card { padding: 36px 28px; }
}

@media (max-width: 480px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
  .btn { padding: 12px 20px; font-size: .78rem; }
}
/* Legacy styles are intentionally layered below the active homepage design.
   Migrate or delete them section by section instead of editing in place. */
@layer legacy {
:root {
  --cream:      #F2EDE8;
  --cream-mid:  #E8E1D9;
  --cream-deep: #DDD4C8;
  --ink:        #1E1A16;
  --ink-soft:   #3A3028;
  --terra:      #C4845A;
  --terra-d:    #A86D47;
  --muted:      #8C7C6E;
  --bone:       #B8A898;
  --dark:       #141009;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  overflow-x: hidden;
}

/* ──────────────────────────────────────
   DRAGON — fixed watermark on cream
────────────────────────────────────── */
#dragon-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#dragon-lottie {
  height: 100vh;
  width: auto;
  max-width: none;
  opacity: 0.09;
  transition: opacity 0.8s ease;
  will-change: opacity;
  flex-shrink: 0;
}

/* ──────────────────────────────────────
   NAV — always cream, always clear
────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  padding: 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(242,237,232,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-mid);
}

.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--ink); }

.nav-cta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 9px 22px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--terra); }

/* ──────────────────────────────────────
   HERO — cream, dragon watermark behind
────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 48px 80px;
  background: transparent;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
  opacity: 0;
  animation: up 0.8s 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(60px, 9.5vw, 120px);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0;
  animation: up 1s 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-headline em {
  font-style: italic;
  color: var(--terra);
}

/* the plain explainer — answers "what is this?" immediately */
.hero-explainer {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.85;
  margin-top: 28px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: up 0.9s 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  opacity: 0;
  animation: up 0.8s 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  padding: 15px 30px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--terra); transform: translateY(-1px); }

.btn-ghost {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--cream-deep);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--terra); border-color: var(--terra); }

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: up 0.7s 1.6s ease forwards;
}
.scroll-cue-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
}
.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--terra), transparent);
  animation: linepulse 2.2s ease-in-out infinite;
}
@keyframes linepulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 0.9; transform: scaleY(1);   transform-origin: top; }
}

/* ──────────────────────────────────────
   DIVIDER
────────────────────────────────────── */
.divider {
  position: relative;
  z-index: 10;
  height: 1px;
  background: var(--cream-mid);
}

/* ──────────────────────────────────────
   STATEMENT — one powerful sentence
────────────────────────────────────── */
.statement-section {
  position: relative;
  z-index: 10;
  background: var(--cream);
  padding: 110px 52px;
  text-align: center;
}

.statement-text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 300;
  font-style: italic;
  color: var(--bone);
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.statement-text em {
  font-style: normal;
  color: var(--ink);
}
.statement-text.visible { opacity: 1; transform: none; }

/* ──────────────────────────────────────
   HOW IT WORKS — 3 steps, very readable
────────────────────────────────────── */
.steps-section {
  position: relative;
  z-index: 10;
  background: var(--cream);
  border-top: 1px solid var(--cream-mid);
  border-bottom: 1px solid var(--cream-mid);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.step-item {
  padding: 72px 52px;
  border-right: 1px solid var(--cream-mid);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1),
              background 0.25s;
}
.step-item:last-child { border-right: none; }
.step-item:hover { background: rgba(196,132,90,0.04); }
.step-item.visible { opacity: 1; transform: none; }

.step-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 300;
  margin-bottom: 24px;
  display: block;
}

.step-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 14px;
}

.step-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* ──────────────────────────────────────
   FEATURE DETAIL — what you actually get
────────────────────────────────────── */
.feature-section {
  position: relative;
  z-index: 10;
  background: var(--cream-mid);
  padding: 100px 52px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 960px;
  margin: 0 auto;
  background: var(--cream-deep);
}

.feature-card {
  background: var(--cream-mid);
  padding: 48px 44px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.feature-card.visible { opacity: 1; transform: none; }
.feature-card:hover { background: var(--cream); }

.feature-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-card-body {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* ──────────────────────────────────────
   NUMBERS STRIP
────────────────────────────────────── */
.numbers-strip {
  position: relative;
  z-index: 10;
  background: var(--cream);
  border-top: 1px solid var(--cream-mid);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.number-item {
  padding: 60px 0;
  text-align: center;
  border-right: 1px solid var(--cream-mid);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s;
}
.number-item:last-child { border-right: none; }
.number-item.visible { opacity: 1; transform: none; }

.number-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.number-value span { color: var(--terra); }

.number-label {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────
   PRICING — dark, one moment of drama
────────────────────────────────────── */
.pricing-section {
  position: relative;
  z-index: 10;
  background: var(--dark);
  padding: 110px 52px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s, transform 0.7s;
}
.pricing-header.visible { opacity: 1; transform: none; }

.pricing-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}
.pricing-header p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(184,168,152,0.55);
  margin-top: 10px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: #161209;
  padding: 52px 44px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s;
}
.pricing-card.visible { opacity: 1; transform: none; }
.pricing-card.featured { background: #1C140A; }

.pricing-tier {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184,168,152,0.45);
  margin-bottom: 20px;
  font-weight: 300;
}
.pricing-card.featured .pricing-tier { color: var(--terra); }

.pricing-amount {
  font-family: "Cormorant Garamond", serif;
  font-size: 58px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-cadence {
  font-size: 12px;
  font-weight: 300;
  color: rgba(184,168,152,0.4);
  margin-bottom: 28px;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.pricing-list li {
  font-size: 12px;
  font-weight: 300;
  color: #B8A898;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.pricing-list li::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--terra);
  flex-shrink: 0;
  opacity: 0.5;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 13px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.2s;
}
.pricing-btn.outlined {
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(184,168,152,0.5);
}
.pricing-btn.outlined:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--cream);
}
.pricing-btn.filled {
  background: var(--terra);
  color: var(--cream);
}
.pricing-btn.filled:hover { background: var(--terra-d); }

/* ──────────────────────────────────────
   FINAL CTA — dark, large
────────────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 10;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 130px 52px 140px;
  text-align: center;
}

.cta-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s, transform 0.85s;
}
.cta-headline em { font-style: italic; color: var(--terra); }
.cta-headline.visible { opacity: 1; transform: none; }

.cta-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(184,168,152,0.5);
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s 0.1s, transform 0.7s 0.1s;
}
.cta-sub.visible { opacity: 1; transform: none; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(196,132,90,0.35);
  padding: 18px 34px;
  text-decoration: none;
  color: var(--cream);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s 0.2s, transform 0.7s 0.2s, background 0.2s, border-color 0.2s;
}
.cta-btn.visible { opacity: 1; transform: none; }
.cta-btn:hover { background: var(--terra); border-color: var(--terra); }
.cta-btn-text small {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B8A898;
  margin-bottom: 2px;
}
.cta-btn-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 400;
}

/* ──────────────────────────────────────
   FOOTER
────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 10;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 26px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 300;
  color: rgba(184,168,152,0.3);
  letter-spacing: 0.05em;
}
.site-footer a {
  color: rgba(184,168,152,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--terra); }
.footer-links { display: flex; gap: 24px; }

/* ──────────────────────────────────────
   ANIMATION
────────────────────────────────────── */
@keyframes up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ──────────────────────────────────────
   RESPONSIVE
────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { padding: 0 24px; }
  .site-nav .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 100px 28px 80px; }
  .statement-section { padding: 80px 28px; }
  .steps-section { grid-template-columns: 1fr; }
  .step-item { border-right: none; border-bottom: 1px solid var(--cream-mid); padding: 56px 28px; }
  .feature-section { padding: 64px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .numbers-strip { grid-template-columns: 1fr 1fr; }
  .number-item:nth-child(2) { border-right: none; }
  .pricing-section { padding: 80px 24px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .cta-section { padding: 80px 24px 100px; }
  .site-footer { flex-direction: column; gap: 14px; padding: 24px; text-align: center; }
  #dragon-lottie { height: 85vh; }
}

/* Our Story */
.story { background: #F2EDE8; padding: 110px 52px; }
.story .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1100px; margin: 0 auto; }
.story-quote { font-family: "Cormorant Garamond", serif; font-size: clamp(24px, 3vw, 40px); font-weight: 300; font-style: italic; color: #B8A898; line-height: 1.55; }
.story-content h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(32px, 3.5vw, 48px); font-weight: 300; color: #1E1A16; margin-bottom: 24px; }
.story-text p { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 300; color: #8C7C6E; line-height: 1.9; margin-bottom: 18px; }
.story-highlight { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 400; color: #C4845A; border-left: 2px solid #C4845A; padding-left: 20px; margin-top: 28px; line-height: 1.8; }

/* FAQ */
.faq { background: #E8E1D9; padding: 110px 52px; }
.faq .container { max-width: 760px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-header h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(32px, 3.5vw, 48px); font-weight: 300; color: #1E1A16; margin-bottom: 12px; }
.faq-item { border-bottom: 1px solid #DDD4C8; }
.faq-question { width: 100%; background: none; border: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 300; color: #1E1A16; cursor: pointer; text-align: left; gap: 20px; }
.faq-answer-inner { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 300; color: #8C7C6E; line-height: 1.9; padding-bottom: 24px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Mobile nav */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 1.5px; background: #1E1A16; display: block; transition: all 0.3s; }
.mobile-nav { position: fixed; inset: 0; background: #F2EDE8; z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.mobile-nav.open { transform: none; }
.mobile-nav a { font-family: "Cormorant Garamond", serif; font-size: 32px; font-weight: 300; color: #1E1A16; text-decoration: none; }
.mobile-nav-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 32px; cursor: pointer; color: #1E1A16; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .site-nav .nav-links { display: none; }
  .story .container { grid-template-columns: 1fr; gap: 40px; }
  .story, .faq { padding: 72px 24px; }
}
/* =========================================
   Dragon Notes — Global Styles
   Palette: beige monochrome + purple/orange accents
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=IBM+Plex+Mono:wght@300;400&display=swap');

/* ---------- custom properties ---------- */
:root {
  --bg-primary:   #F5F0EB;
  --bg-secondary: #EDE8E3;
  --bg-tertiary:  #E5DED8;
  --bg-white:     #FAF8F5;
  --text-primary: #2D2026;
  --text-secondary: #5C4F54;
  --text-muted:   #8A7E82;
  --accent-purple: #3D1C4F;
  --accent-orange: #E8734A;
  --accent-purple-light: #5E3470;
  --accent-gradient: linear-gradient(135deg, #3D1C4F 0%, #E8734A 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(61,28,79,.08) 0%, rgba(232,115,74,.08) 100%);
  --border-light: rgba(45, 32, 38, .1);
  --shadow-sm:  0 1px 3px rgba(45,32,38,.06);
  --shadow-md:  0 4px 20px rgba(45,32,38,.08);
  --shadow-lg:  0 12px 40px rgba(45,32,38,.12);
  --shadow-xl:  0 20px 60px rgba(45,32,38,.15);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(61,28,79,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(61,28,79,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-purple);
  border: 2px solid var(--accent-purple);
}
.btn-secondary:hover {
  background: var(--accent-purple);
  color: #fff;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ---------- navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(245,240,235,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  padding-left: 24px;
  padding-right: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--accent-purple);
}
.nav-logo span {
  white-space: nowrap;
}
.nav-logo img {
  height: 40px;
  width: 40px;
  min-width: 40px;
  object-fit: contain;
  object-position: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent-purple); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-cta {
  padding: 10px 24px;
  font-size: .85rem;
  color: #ffffff;
  background: var(--accent-purple);
  border-radius: 60px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(61,28,79,.25);
  transition: all var(--transition);
}
.nav-links a.nav-cta::after {
  display: none;
}
.nav-links a.nav-cta:hover {
  color: #ffffff;
  background: var(--accent-purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(61,28,79,.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(245,240,235,.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent-purple); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--text-primary);
  line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(61,28,79,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,115,74,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero h1 em {
  font-style: italic;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes waveAnim {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(.4); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ---------- story ---------- */
.story {
  padding: 120px 0;
  background: var(--bg-white);
  position: relative;
}
.story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-visual {
  position: relative;
}
.story-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 8rem;
  line-height: 1;
  color: rgba(61,28,79,.06);
  pointer-events: none;
}
.story-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.story-accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
  margin-top: 28px;
}
.story-content h2 {
  margin-bottom: 24px;
}
.story-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
}
.story-text p + p {
  margin-top: 20px;
}
.story-highlight {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--accent-gradient-soft);
  border-left: 3px solid var(--accent-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 500;
  color: var(--accent-purple);
  font-size: 1.05rem;
}

/* ---------- features ---------- */
.features {
  padding: 120px 0;
  background: var(--bg-primary);
  text-align: center;
}
.features-header {
  margin-bottom: 72px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 44px 32px 40px;
  text-align: left;
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.feature-icon.icon-record  { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-transcript { background: rgba(61,28,79,.08); color: var(--accent-purple); }
.feature-icon.icon-notes   { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-share   { background: rgba(61,28,79,.08); color: var(--accent-purple); }
.feature-icon.icon-playback { background: rgba(232,115,74,.1); color: var(--accent-orange); }
.feature-icon.icon-cloud   { background: rgba(61,28,79,.08); color: var(--accent-purple); }

.feature-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}

/* ---------- pricing ---------- */
.pricing {
  padding: 120px 0;
  background: var(--bg-white);
  text-align: center;
}
.pricing-header {
  margin-bottom: 48px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  font-size: .95rem;
  font-weight: 500;
}
.pricing-toggle span { color: var(--text-muted); transition: color var(--transition); }
.pricing-toggle span.active { color: var(--text-primary); font-weight: 600; }

.toggle-track {
  width: 56px;
  height: 30px;
  background: var(--bg-tertiary);
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-track.annual { background: var(--accent-purple); }
.toggle-thumb {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-track.annual .toggle-thumb {
  transform: translateX(26px);
}

.save-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(232,115,74,.1);
  color: var(--accent-orange);
  font-size: .75rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: .5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition);
}
.save-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: left;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured .plan-name { color: rgba(255,255,255,.7); }
.pricing-card.featured .price-currency,
.pricing-card.featured .price-amount,
.pricing-card.featured .price-period { color: #fff; }
.pricing-card.featured .plan-description { color: rgba(255,255,255,.6); }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,.8); }
.pricing-card.featured .plan-features li svg { color: var(--accent-orange); }
.pricing-card.featured .btn-primary {
  background: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(232,115,74,.3);
}
.pricing-card.featured .popular-tag {
  position: absolute;
  top: -1px;
  right: 32px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.plan-name {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  min-height: 56px;
}
.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 6px;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  transition: all .3s ease;
}
.price-period {
  font-size: .9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-description {
  color: var(--text-secondary);
  font-size: .9rem;
  margin-bottom: 32px;
  min-height: 44px;
}

.plan-features {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-secondary);
}
.plan-features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-purple);
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.annual-note {
  display: block;
  margin-top: 8px;
  font-size: .8rem;
  color: var(--text-muted);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all var(--transition);
}
.annual-note.visible {
  opacity: 1;
  height: auto;
  margin-top: 8px;
}
.pricing-card.featured .annual-note { color: rgba(255,255,255,.5); }

.pricing-btn-subtext {
  display: block;
  margin-top: 14px;
  padding-top: 4px;
  font-size: .85rem;
  color: var(--text-muted);
  text-align: center;
}
.pricing-card.featured .pricing-btn-subtext { color: #64748b; }

/* ---------- faq ---------- */
.faq {
  padding: 120px 0;
  background: var(--bg-primary);
}
.faq-header {
  text-align: center;
  margin-bottom: 64px;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(61,28,79,.15);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--accent-purple); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--accent-purple);
  color: #fff;
  transform: rotate(45deg);
}
.faq-icon svg {
  width: 14px;
  height: 14px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.8;
}

/* ---------- cta ---------- */
.cta-section {
  padding: 100px 0;
  background: var(--text-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(232,115,74,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  color: rgba(255,255,255,.6);
  font-size: 1.1rem;
  margin-bottom: 40px;
  position: relative;
}
.cta-section .btn-primary {
  position: relative;
  background: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(232,115,74,.3);
}

/* ---------- footer ---------- */
.footer {
  padding: 60px 0 36px;
  background: #1a1216;
  color: rgba(255,255,255,.5);
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  height: 36px;
  width: 36px;
  min-width: 36px;
  object-fit: contain;
  object-position: center;
}
.footer-logo span {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.3px;
  color: rgba(255,255,255,.8);
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  font-size: .8rem;
  opacity: .6;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ---------- legal pages ---------- */
.legal-page {
  padding: 140px 0 80px;
  background: var(--bg-primary);
}
.legal-page .container {
  max-width: 780px;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.legal-page .last-updated {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.legal-page ul {
  padding-left: 24px;
  list-style: disc;
}
.legal-page ul li {
  margin-bottom: 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .story-visual { order: -1; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-nav .nav-links,
  .navbar .nav-links,
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-headline,
  .hero h1 { font-size: clamp(48px, 10vw, 72px); }

  .steps-section {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .numbers-strip {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card { padding: 32px 24px; }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pricing-card { padding: 36px 28px; }

  .site-footer,
  .footer .container {
    flex-direction: column;
  }
  .story-card { padding: 36px 28px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
  .hero { padding: 100px 0 60px; }
  .btn { padding: 12px 24px; font-size: .88rem; }
}
}
