/* Sensory Beats — homepage
   Aesthetic: warm "paper & pulse" — editorial warmth, sensory-considerate motion.
   Fraunces (display) + Atkinson Hyperlegible (body, chosen for its accessibility mission). */

:root {
  --paper: #FBF3E6;
  --paper-deep: #F3E7D3;
  --sand: #EEE0C4;
  --ink: #241B12;
  --ink-soft: #5B4E3D;
  --teal: #2E4F45;
  --teal-deep: #1E362E;
  --teal-mist: #E7EFE9;
  --clay: #C4592C;
  --clay-deep: #9E441F;
  --gold: #D3A03E;
  --line: rgba(36, 27, 18, 0.14);
  --line-on-teal: rgba(251, 243, 230, 0.22);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 48px -28px rgba(30, 22, 12, 0.35);
  --shadow-card: 0 14px 30px -18px rgba(30, 22, 12, 0.25);
  --ease: cubic-bezier(0.22, 0.9, 0.32, 1);
  --container: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1B1712;
    --paper-deep: #221C15;
    --sand: #2A231A;
    --ink: #F3E9D8;
    --ink-soft: #C9BBA4;
    --teal: #24413A;
    --teal-deep: #172A25;
    --teal-mist: #1E2C27;
    --line: rgba(243, 233, 216, 0.14);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-optical-sizing: auto; color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--clay-deep);
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(196, 89, 44, 0.16);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-primary {
  background: var(--clay);
  color: #FBF3E6;
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--sand); }
.btn-on-teal {
  background: var(--gold);
  color: var(--teal-deep);
}
.btn-on-teal:hover { transform: translateY(-2px); background: #E3B457; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateY(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
}
.logo .pulse-dot {
  width: 30px; height: 30px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a:not(.btn) { position: relative; padding: 4px 0; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--clay);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }
.mobile-panel { display: none; }

@media (max-width: 860px) {
  .nav-links-desktop { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: none; cursor: pointer;
  }
  .mobile-panel {
    position: fixed; inset: 76px 0 0 0;
    background: var(--paper);
    z-index: 49;
    padding: 30px 28px;
    flex-direction: column; gap: 22px;
    font-family: "Fraunces", Georgia, serif; font-size: 1.4rem;
  }
  .mobile-panel.open { display: flex; }
}

/* ---------- Wave dividers ---------- */
.wave { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 1; pointer-events: none; }
.wave svg { width: 100%; height: 90px; display: block; }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; transform: scaleY(-1); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 120px; overflow: hidden; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 {
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-art .blot {
  position: absolute;
  inset: 4%;
  border-radius: 44% 56% 58% 42% / 48% 42% 58% 52%;
  background: linear-gradient(155deg, var(--teal-mist), var(--paper-deep));
  border: 1px solid var(--line);
}
.hero-art .ripple {
  position: absolute;
  border: 1.5px solid rgba(46, 79, 69, 0.28);
  border-radius: 50%;
  animation: ripple 6s var(--ease) infinite;
}
.hero-art .ripple:nth-child(2) { animation-delay: 2s; }
.hero-art .ripple:nth-child(3) { animation-delay: 4s; }
@keyframes ripple {
  0% { width: 20%; height: 20%; opacity: 0.7; }
  100% { width: 92%; height: 92%; opacity: 0; }
}
.hero-art .pulse-wire { position: relative; width: 72%; z-index: 2; }
.hero-art .pulse-wire path {
  stroke: var(--clay);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: dash 3.6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -160; } }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .hero { padding: 48px 0 80px; }
}

/* ---------- Band sections (teal) ---------- */
.band-teal {
  background: var(--teal);
  color: #F6EEDF;
  padding: 128px 0 136px;
}
.band-teal h2, .band-teal p { color: inherit; }
.band-teal .container { position: relative; z-index: 2; max-width: 780px; text-align: center; margin: 0 auto; }
.band-teal .eyebrow { color: var(--gold); }
.band-teal .eyebrow::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(211, 160, 62, 0.22); }
.band-teal h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500; margin: 18px 0 26px; }
.band-teal p.lede { font-size: 1.08rem; color: #D9CEB8; max-width: 60ch; margin: 0 auto 16px; }

/* ---------- Method section ---------- */
.method { padding: 118px 0; }
.method .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.method .eyebrow { margin-bottom: 18px; }
.method h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 500; margin-bottom: 22px; }
.method p { color: var(--ink-soft); max-width: 52ch; margin-bottom: 16px; font-size: 1.03rem; }
.note-card {
  margin-top: 26px;
  background: var(--sand);
  border-left: 3px dashed var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 50ch;
}
.principles { display: flex; flex-direction: column; gap: 16px; }
.principle {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.principle:hover { transform: translateX(4px); box-shadow: var(--shadow-card); }
.principle .icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  display: grid; place-items: center;
}
.principle strong { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.05rem; display: block; margin-bottom: 4px; }
.principle span.desc { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 860px) {
  .method .container { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Who it's for ---------- */
.who { padding: 40px 0 130px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { justify-content: center; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 500; }
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.who-card {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.who-card:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-soft); }
.who-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--clay);
}
.who-card:nth-child(2)::before { background: var(--teal); }
.who-card .icon-badge {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--sand);
  margin-bottom: 22px;
  color: var(--clay-deep);
}
.who-card:nth-child(2) .icon-badge { color: var(--teal); }
.who-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.who-card p { color: var(--ink-soft); margin-bottom: 20px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.82rem; font-weight: 700;
  padding: 6px 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* ---------- Roadmap ---------- */
.roadmap { padding: 20px 0 130px; }
.roadmap-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.roadmap-track::before {
  content: "";
  position: absolute; top: 34px; left: 6%; right: 6%; height: 2px;
  background-image: linear-gradient(to right, var(--line) 0 10px, transparent 10px 20px);
  background-size: 20px 2px;
  z-index: 0;
}
.pillar {
  position: relative; z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}
.pillar .num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem; font-weight: 600;
  color: var(--teal);
  display: block;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal-mist);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.pillar h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.pillar p { font-size: 0.92rem; color: var(--ink-soft); }
.roadmap-note { text-align: center; margin-top: 40px; color: var(--ink-soft); font-style: italic; font-family: "Fraunces", Georgia, serif; }

@media (max-width: 900px) {
  .roadmap-track { grid-template-columns: 1fr 1fr; }
  .roadmap-track::before { display: none; }
}
@media (max-width: 560px) {
  .roadmap-track { grid-template-columns: 1fr; }
}

/* ---------- Founder ---------- */
.founder { padding: 30px 0 130px; }
.founder .container { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: 56px; align-items: center; }
.founder-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--teal), var(--teal-deep));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.founder-photo .monogram {
  font-family: "Fraunces", Georgia, serif;
  font-size: 5.5rem; font-weight: 500; font-style: italic;
  color: rgba(251, 243, 230, 0.92);
}
.founder-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(251,243,230,0.14), transparent 55%);
}
.founder-copy .eyebrow { margin-bottom: 16px; }
.founder-copy h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); font-weight: 500; margin-bottom: 20px; }
.founder-copy p { color: var(--ink-soft); margin-bottom: 16px; max-width: 54ch; }
.credential-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sand);
  font-weight: 700; font-size: 0.9rem;
  color: var(--teal-deep);
}

@media (max-width: 780px) {
  .founder .container { grid-template-columns: 1fr; }
  .founder-photo { max-width: 260px; margin: 0 auto; }
}

/* ---------- Credibility ---------- */
.credibility { padding: 0 0 130px; }
.credibility .container { text-align: center; }
.proof-point {
  max-width: 560px; margin: 0 auto;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}
.proof-point .icon { width: 46px; height: 46px; margin: 0 auto 20px; color: var(--clay); }
.proof-point p.statement { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 500; margin-bottom: 10px; }
.proof-point p.sub { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 130px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 26px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.08rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--clay);
  transition: transform 0.3s var(--ease);
}
.faq-item summary .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-item summary .plus::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item[open] summary .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item .faq-body { padding: 0 26px 22px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Early access repeat ---------- */
.early-access .container { max-width: 620px; }
.early-form {
  display: flex; gap: 10px; margin-top: 30px;
  background: #F6EEDF; border-radius: 999px; padding: 6px;
}
.early-form input {
  flex: 1; border: none; background: transparent;
  padding: 14px 20px; font-size: 1rem; font-family: inherit; color: var(--ink);
}
.early-form input::placeholder { color: var(--ink-soft); }
.early-form input:focus { outline: none; }
.early-form .btn { flex-shrink: 0; }
.early-note { margin-top: 16px; font-size: 0.85rem; color: #C9BBA0; }

@media (max-width: 560px) {
  .early-form { flex-direction: column; border-radius: var(--radius-md); }
  .early-form input { text-align: center; }
}

/* ---------- Simple content pages (contact / privacy / terms) ---------- */
.page-hero { padding: 72px 0 8px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; margin-bottom: 14px; }
.page-hero .updated { color: var(--ink-soft); font-size: 0.88rem; }

.page-content { padding: 32px 0 120px; }
.page-content .container { max-width: 720px; }
.page-content .lede { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 8px; }
.page-content h2 { font-size: 1.35rem; font-weight: 600; margin: 46px 0 14px; }
.page-content h2:first-of-type { margin-top: 40px; }
.page-content p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.02rem; }
.page-content ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink-soft); }
.page-content li { margin-bottom: 8px; }
.page-content a.inline-link { color: var(--clay-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.page-content .fine-note {
  margin-top: 44px;
  padding: 18px 22px;
  background: var(--sand);
  border-left: 3px dashed var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.contact-card {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 8px 0 36px;
}
.contact-card .icon-badge {
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--sand);
  color: var(--clay-deep);
}
.contact-card .label { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 4px; }
.contact-card .value { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-weight: 600; }
.contact-card .value a:hover { color: var(--clay); }

@media (max-width: 560px) {
  .contact-card { flex-direction: column; text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  padding: 44px 0;
}
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 22px; font-size: 0.9rem; color: var(--ink-soft); }
.footer-links a:hover { color: var(--clay); }
.footer-copy { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.pricing-group { padding: 0 0 76px; }
.pricing-group:first-of-type { padding-top: 8px; }
.pricing-group-head { max-width: 640px; margin: 0 0 32px; }
.pricing-group-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; margin-bottom: 8px; }
.pricing-group-head p { color: var(--ink-soft); font-size: 0.98rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pricing-card {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pricing-card .audience { font-size: 0.82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.pricing-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.pricing-card .price { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; font-weight: 600; color: var(--clay-deep); margin-bottom: 16px; }
.pricing-card .price span { font-family: inherit; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }
.pricing-card ul { list-style: none; margin: 0 0 22px; padding: 0; color: var(--ink-soft); font-size: 0.92rem; flex-grow: 1; }
.pricing-card li { position: relative; padding-left: 20px; margin-bottom: 9px; }
.pricing-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.pricing-card .btn { align-self: flex-start; }
.pricing-note {
  background: var(--teal-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .pricing-grid, .pricing-grid.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pricing-grid, .pricing-grid.cols-2 { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
