/* ===== Fonts ===== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/inter-800.woff2") format("woff2"); }

/* ===== Tokens ===== */
:root {
  --cream: #f7f0e8;
  --cream-2: #f1e7db;
  --ink: #262626;
  --ink-soft: #5b544c;
  --white: #ffffff;
  --terra: #bd6440;
  --terra-dark: #a5502f;
  --terra-tint: #ecd9cd;
  --line: #e6dccf;
  --shadow: 0 1px 2px rgba(38,38,38,.04), 0 12px 34px rgba(38,38,38,.07);
  --shadow-soft: 0 10px 40px rgba(38,38,38,.10);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== Reset-ish ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--terra); color: var(--white); }
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); }
.btn-lg { padding: 16px 28px; font-size: 17px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a:not(.btn) { padding: 10px 14px; border-radius: 10px; color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--cream-2); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }
.site-header .btn-primary { border-radius: 10px; }

/* ===== Hero ===== */
.hero { padding: 68px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--terra-dark); background: var(--terra-tint);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(33px, 4.3vw, 48px); }
.hero .lede { font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-soft); margin: 22px 0 30px; max-width: 46ch; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--ink-soft); margin-top: 16px; }
.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { max-width: 248px; }

/* ===== Berry divider ===== */
.berries { display: flex; justify-content: center; gap: 8px; padding: 8px 0; }
.berries span { width: 9px; height: 9px; border-radius: 50%; background: var(--terra); opacity: .85; }
.berries span:nth-child(2) { transform: translateY(7px); }

/* ===== Section heading ===== */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 8px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { color: var(--ink-soft); font-size: 18px; margin-top: 14px; }

/* ===== Phone frame ===== */
.phone {
  width: 100%; max-width: 252px; background: #111214;
  border-radius: 44px; padding: 9px;
  box-shadow: 0 22px 48px rgba(38,38,38,.20);
}
.phone img { display: block; width: 100%; border-radius: 36px; }

/* ===== Feature showcase ===== */
.feature-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--terra-tint); color: var(--terra-dark); font-weight: 700; font-size: 14px;
}
.showcase { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; margin-top: 38px; }
.showcase-list { display: flex; flex-direction: column; gap: 8px; }
.showcase-item {
  width: 100%; text-align: left; font: inherit; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 16px 20px;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.showcase-item:hover { background: var(--cream-2); }
.showcase-item.is-active { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.showcase-item.is-active:hover { background: var(--white); }
.showcase-item-head { display: flex; align-items: center; gap: 12px; }
.showcase-item-title { font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.showcase-item-desc {
  display: block; color: var(--ink-soft); font-size: 15px; line-height: 1.55;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .28s ease, opacity .2s ease, margin-top .28s ease;
}
.showcase-item.is-active .showcase-item-desc { max-height: 160px; opacity: 1; margin-top: 10px; }
.showcase-phone { display: flex; justify-content: center; }
.showcase-phone .phone { max-width: 288px; }

/* ===== Waitlist ===== */
.waitlist { text-align: center; }
.waitlist-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow); padding: 52px 32px; max-width: 640px; margin: 0 auto;
}
.waitlist-card h2 { font-size: clamp(26px, 3.2vw, 36px); }
.waitlist-card p { color: var(--ink-soft); font-size: 18px; margin: 14px auto 26px; max-width: 44ch; }
.waitlist-fine { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 17px; color: var(--ink);
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { flex: none; width: 20px; height: 20px; position: relative; transition: transform .2s ease; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--terra); border-radius: 2px; }
.faq-q .plus::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq-q .plus::after { left: 9px; top: 0; width: 2px; height: 20px; transition: opacity .2s ease; }
.faq-item[open] .plus::after { opacity: 0; }
.faq-a { padding: 0 22px 22px; color: var(--ink-soft); font-size: 16px; }
.faq-a a { color: var(--terra-dark); text-decoration: underline; text-underline-offset: 3px; }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; padding: 32px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: nowrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); flex: none; }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--ink-soft); font-size: 15px; }

/* ===== Legal pages ===== */
.legal { padding: 56px 0 24px; }
.legal .wrap { max-width: 740px; }
.legal .back { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-weight: 500; font-size: 15px; margin-bottom: 28px; }
.legal .back:hover { color: var(--terra-dark); }
.legal h1 { font-size: clamp(32px, 4.4vw, 46px); }
.legal .updated { color: var(--ink-soft); font-size: 15px; margin-top: 12px; }
.legal .intro { font-size: 19px; color: var(--ink-soft); margin-top: 20px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal h2 + p, .legal h2 + ul { margin-top: 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 20px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--terra-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal .contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-top: 20px; box-shadow: var(--shadow);
}
.legal .contact-card p { margin-top: 6px; }
.legal .contact-card a { font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero { padding: 40px 0 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-phone { order: -1; margin-bottom: 12px; }
  .hero-phone .phone { max-width: 240px; }
  .showcase { grid-template-columns: 1fr; gap: 24px; }
  .showcase-phone { order: -1; position: sticky; top: 84px; }
  .showcase-phone .phone { max-width: 250px; }
}

@media (max-width: 680px) {
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 24px 24px;
    transform: translateY(-120%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 17px; }
  .nav-links .btn { margin-top: 6px; }
  .nav-toggle { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
