/* Nama marketing page. Design tokens match frontend/src/styles/theme.css
   (fidelity programme palette: rose/blush/ivory/gold/lavender/plum, 16px radii,
   flat surfaces, no shadows). Fonts self-hosted (no CDN at runtime). */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --rose: #d73e75;
  --rose-deep: #b82f61;
  --blush: #f5dfe8;
  --ivory: #fdf9f2;
  --gold: #7a5c2b;
  --gold-soft: #b18b47;
  --lavender: #9786b5;
  --plum: #372b40;
  --plum-line: rgba(55, 43, 64, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--plum);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; color: var(--plum); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.15s ease;
}
.btn-primary { background: var(--rose-deep); color: #fff; }
.btn-primary:hover { background: #9e2853; }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum-line); }
.btn-ghost:hover { border-color: var(--plum); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rose-deep); outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(253, 249, 242, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--plum-line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.brand img { width: 36px; height: 36px; }
.brand .word { font-family: "Fraunces", serif; font-size: 1.45rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--plum); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--rose-deep); }
.nav .btn { padding: 10px 22px; font-size: 0.95rem; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .sub { font-size: 1.22rem; line-height: 1.6; color: rgba(55, 43, 64, 0.85); max-width: 34em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 16px; }
.hero .micro { font-size: 0.92rem; color: rgba(55, 43, 64, 0.7); margin: 0; }
.hero-art {
  background: var(--blush); border: 1px solid rgba(215, 62, 117, 0.1);
  border-radius: 16px; padding: 22px;
}
.hero-art img { border-radius: 10px; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 42em; margin-bottom: 36px; }
.section-head .lede { font-size: 1.15rem; color: rgba(55, 43, 64, 0.8); }

/* Why (benefits) */
#why { background: var(--blush); border-top: 1px solid rgba(215, 62, 117, 0.1); border-bottom: 1px solid rgba(215, 62, 117, 0.1); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: var(--ivory); border: 1px solid var(--plum-line); border-radius: 16px;
  padding: 26px;
}
.benefit h3 { margin-bottom: 8px; }
.benefit p { margin: 0; color: rgba(55, 43, 64, 0.85); font-size: 0.98rem; }
.benefit.wide { grid-column: span 1; }

/* How it works */
.how-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 30px 0;
}
.how-row:nth-child(even) .how-art { order: -1; }
.how-art img { border-radius: 16px; border: 1px solid var(--plum-line); }
.how-copy .step {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.how-copy p { color: rgba(55, 43, 64, 0.85); margin: 0; }

/* Beta band */
.beta-band { background: var(--plum); color: var(--ivory); border-radius: 16px; padding: 48px; margin: 20px 0 56px; }
.beta-band h2 { color: var(--ivory); }
.beta-band p { color: rgba(253, 249, 242, 0.85); max-width: 40em; }
.beta-band .btn-primary { background: var(--rose-deep); }
.beta-band .btn-primary:hover { background: #9e2853; }

/* FAQ */
.faq details {
  border: 1px solid var(--plum-line); border-radius: 16px;
  padding: 0 22px; margin-bottom: 12px; background: var(--ivory);
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--rose-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; margin: 0; color: rgba(55, 43, 64, 0.85); }

/* Footer */
.site-footer { border-top: 1px solid var(--plum-line); padding: 40px 0 32px; margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.site-footer .tag { font-family: "Fraunces", serif; font-style: italic; color: rgba(55, 43, 64, 0.75); margin: 6px 0 0; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--plum); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--rose-deep); }
.footer-note { width: 100%; font-size: 0.85rem; color: rgba(55, 43, 64, 0.78); margin: 18px 0 0; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal p, .legal li { font-size: 1rem; color: rgba(55, 43, 64, 0.9); }


/* ------------------------------------------------ request access form --- */
.ra-lede { font-size: 1.12rem; color: rgba(55, 43, 64, 0.82); max-width: 36em; }
.ra-progress {
  display: flex; gap: 22px; list-style: none; padding: 0; margin: 26px 0 22px;
  font-size: 0.92rem; font-weight: 500; color: rgba(55, 43, 64, 0.55);
}
.ra-progress li { display: flex; align-items: center; gap: 8px; }
.ra-progress span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px;
  border: 1px solid var(--plum-line); font-size: 0.8rem;
}
.ra-progress li.is-current { color: var(--plum); }
.ra-progress li.is-current span { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.ra-progress li.is-done span { background: var(--blush); border-color: rgba(215, 62, 117, 0.35); color: var(--rose-deep); }
.ra-card {
  background: var(--ivory); border: 1px solid var(--plum-line); border-radius: 16px;
  padding: 30px; max-width: 560px;
}
.ra-step { border: 0; padding: 0; margin: 0; }
.ra-field { margin-bottom: 20px; }
.ra-field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.ra-optional { font-weight: 400; color: rgba(55, 43, 64, 0.55); }
.ra-field input[type="text"],
.ra-field input[type="email"] {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--plum-line); background: #fff;
  font-family: "Inter", sans-serif; font-size: 1rem; color: var(--plum);
}
.ra-field input:focus-visible {
  outline: 2px solid var(--rose-deep); outline-offset: 2px; border-color: var(--rose-deep);
}
.ra-check { display: flex; gap: 10px; align-items: flex-start; }
.ra-check input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--rose-deep); }
.ra-check label { font-weight: 400; font-size: 0.95rem; margin: 0; }
.ra-error { color: var(--rose-deep); font-size: 0.88rem; margin: 6px 0 0; }
.ra-form-error { margin: 0 0 16px; }
.ra-review {
  background: var(--blush); border-radius: 12px; padding: 16px 18px;
  margin-bottom: 18px; font-size: 0.98rem;
}
.ra-review p { margin: 0; }
.ra-actions { display: flex; gap: 12px; margin-top: 22px; }
.ra-honeypot {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.ra-success h2 { margin-bottom: 12px; }
.ra-success p { color: rgba(55, 43, 64, 0.85); }


/* --------------------------------------------------- app screens strip --- */
/* One clean row on wide screens; a tidy scroll strip on smaller ones. */
.screens {
  display: flex; flex-wrap: nowrap; gap: 22px; justify-content: center;
  align-items: flex-start;
}
.phone {
  margin: 0; width: 190px; background: #fff;
  border: 1.5px solid var(--plum-line); border-radius: 28px; padding: 9px 8px 14px;
}
@media (max-width: 1119px) {
  .screens {
    justify-content: flex-start; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 6px 24px 20px; margin: 0 -24px;
  }
  .phone { flex: 0 0 auto; scroll-snap-align: center; }
  .phone:last-child { margin-right: 24px; }
}
.phone img { border-radius: 20px; width: 100%; height: auto; display: block; }
.phone figcaption {
  text-align: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-top: 12px;
}

/* Gentle motion: one-shot scroll reveals + a slow hero float. Reduced motion
   is fully respected (see the media query at the end of this file). */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.js .reveal.reveal-in { opacity: 1; transform: none; }
.float-slow { animation: namaFloat 8s ease-in-out infinite; }
@keyframes namaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-slow { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 24px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .how-row { grid-template-columns: 1fr; gap: 20px; padding: 22px 0; }
  .how-row:nth-child(even) .how-art { order: 0; }
  .beta-band { padding: 32px 24px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .benefit-grid { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
}
