* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); overflow-x: hidden; }
::selection { background: var(--sun-100); }

a { color: var(--earth); border-bottom: none; }
a:hover { opacity: 0.75; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 500; font-size: 16px;
  padding: 14px 24px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid transparent; text-decoration: none; line-height: 1;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}
.btn:hover { opacity: 1; transform: translateY(-1px); }
.btn-primary { background: var(--earth); color: var(--paper); box-shadow: 0 6px 18px rgba(182,69,31,0.28); }
.btn-primary:hover { background: var(--earth-700); box-shadow: 0 10px 26px rgba(182,69,31,0.34); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--edge-strong); }
.btn-secondary:hover { border-color: var(--stone-2); }
.btn-ghost { background: transparent; color: var(--ink); padding: 10px 14px; }
.btn-dark { background: var(--vault); color: var(--fg-on-dark); }
.btn-dark:hover { background: var(--vault-700); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(150%) blur(10px);
  background: rgba(245,239,230,0.78);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), background var(--dur-base);
}
header.nav.scrolled { border-color: var(--edge); background: rgba(245,239,230,0.9); }
.nav-inner { display: flex; align-items: center; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); border: none; }
.brand .glyph { width: 32px; height: 32px; border-radius: 8px; background: var(--earth); position: relative; flex-shrink: 0; }
.brand .glyph::after { content: ""; position: absolute; top: 0; right: 0; width: 13px; height: 13px; background: var(--sun); }
.brand .name { font-family: var(--font-serif); font-style: italic; font-size: 26px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 30px; margin-left: 52px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; border: none; }
.nav-links a:hover { color: var(--earth); opacity: 1; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 900px 460px at 72% -60px, rgba(201,152,69,0.28), transparent 62%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; background: var(--white); border: 1px solid var(--edge);
  border-radius: var(--r-pill); font-size: 13.5px; color: var(--ink-2); margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vault); }
h1.hero-title {
  font-family: var(--font-serif); font-weight: 400; font-style: normal;
  font-size: 82px; line-height: 0.98; letter-spacing: -0.025em; margin: 0; color: var(--ink);
}
h1.hero-title em { font-style: italic; }
h1.hero-title .accent { color: var(--earth); font-style: italic; }
.hero-sub { font-size: 20px; line-height: 1.55; color: var(--ink-2); margin: 28px 0 0; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--stone); margin-top: 16px; }


.device-col { display: flex; justify-content: center; align-items: center; position: relative; }



/* ---------- Section frame ---------- */
section.block { padding: 96px 0; }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--earth); margin-bottom: 16px; }
h2.sec-title { font-family: var(--font-serif); font-weight: 400; font-size: 52px; line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
h2.sec-title em { font-style: italic; color: var(--earth); }
.sec-lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 22px 0 0; }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat {
  background: var(--white); border: 1px solid var(--edge); border-radius: var(--r-lg);
  padding: 32px 30px; box-shadow: var(--shadow-1);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-std);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.feat .ficon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 22px; }
.feat h3 { font-size: 21px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.feat p { font-size: 16px; line-height: 1.55; color: var(--stone); margin: 0; }
.fi-earth { background: var(--earth-50); }
.fi-vault { background: var(--vault-50); }
.fi-sun { background: var(--sun-100); }
.fi-river { background: var(--river-100); }
.feat.wide { grid-column: span 1; }

/* ---------- How it works ---------- */
.how { background: var(--vault); color: var(--fg-on-dark); }
.how h2.sec-title { color: var(--fg-on-dark); }
.how h2.sec-title em { color: var(--sun); }
.how .kicker { color: var(--sun); }
.how .sec-lede { color: var(--vault-100); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 12px; }
.step { position: relative; padding-top: 34px; border-top: 2px solid rgba(245,239,230,0.24); }
.step .n { position: absolute; top: -20px; left: 0; font-family: var(--font-serif); font-style: italic; font-size: 46px; color: var(--sun); line-height: 1; background: var(--vault); padding-right: 14px; }
.step h3 { font-size: 23px; font-weight: 600; margin: 0 0 12px; color: var(--fg-on-dark); }
.step p { font-size: 16px; line-height: 1.55; color: var(--vault-100); margin: 0; }

/* ---------- Agents split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.agent-card { background: var(--white); border: 1px solid var(--edge); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: 8px; }
.agent-inner { background: var(--paper-dim); border-radius: 22px; padding: 26px; }
.role-row { display: flex; align-items: center; gap: 14px; padding: 15px 16px; background: var(--white); border: 1px solid var(--edge); border-radius: 14px; margin-bottom: 12px; }
.role-row:last-child { margin-bottom: 0; }
.role-row .av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--paper); flex-shrink: 0; }
.role-row .who { flex: 1; }
.role-row .who b { display: block; font-size: 15px; font-weight: 600; }
.role-row .who span { font-size: 13px; color: var(--stone); }
.role-row .badge { font-family: var(--font-mono); font-size: 11px; padding: 5px 11px; border-radius: 999px; letter-spacing: 0.03em; }
.b-owner { background: var(--earth-50); color: var(--earth-800); }
.b-admin { background: var(--river-100); color: var(--river); }
.b-member { background: var(--paper-dim); color: var(--stone); }
.b-agent { background: var(--sun-100); color: var(--vault); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--ink-2); margin-bottom: 16px; }
.check-list .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--vault-50); color: var(--vault); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper-dim); }
.toggle { display: inline-flex; background: var(--white); border: 1px solid var(--edge); border-radius: var(--r-pill); padding: 4px; margin-top: 28px; }
.toggle button { border: none; background: transparent; font-family: var(--font-sans); font-size: 14.5px; font-weight: 500; color: var(--stone); padding: 9px 20px; border-radius: var(--r-pill); cursor: pointer; transition: all var(--dur-base) var(--ease-std); }
.toggle button.on { background: var(--ink); color: var(--paper); }
.toggle .save { font-size: 11.5px; color: var(--vault); margin-left: 5px; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
.plan { background: var(--white); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--earth); box-shadow: var(--shadow-2); position: relative; }
.plan.featured .flag { position: absolute; top: -13px; left: 26px; background: var(--earth); color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan .pname { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--stone); }
.plan .price { font-family: var(--font-serif); font-style: italic; font-size: 46px; line-height: 1; margin: 16px 0 4px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price .cur { font-size: 26px; }
.plan .per { font-size: 13.5px; color: var(--stone); min-height: 20px; }
.plan .pdesc { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 16px 0 22px; min-height: 44px; }
.plan .btn { width: 100%; justify-content: center; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan ul li { font-size: 14px; color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--edge); display: flex; gap: 9px; align-items: baseline; }
.plan ul li .ck { color: var(--vault); font-weight: 700; }
.plan ul li b { font-variant-numeric: tabular-nums; color: var(--ink); }
.plan ul li:first-child { border-top: none; }


/* ---------- Final CTA ---------- */
.cta { background: var(--earth); color: var(--paper); position: relative; overflow: hidden; }
.cta::before { content:""; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: rgba(201,152,69,0.3); }
.cta-inner { position: relative; text-align: center; }
.cta h2 { font-family: var(--font-serif); font-weight: 400; font-size: 60px; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.cta h2 em { font-style: italic; }
.cta p { font-size: 20px; line-height: 1.5; color: rgba(245,239,230,0.88); margin: 24px auto 0; max-width: 560px; }
.cta .hero-actions { justify-content: center; margin-top: 40px; }
.cta .btn-primary { background: var(--paper); color: var(--earth); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.cta .btn-primary:hover { background: var(--white); }
.cta .btn-secondary { background: transparent; color: var(--paper); border-color: rgba(245,239,230,0.4); }
.cta .btn-secondary:hover { border-color: var(--paper); }

/* ---------- Footer ---------- */
footer.foot { background: var(--vault-800); color: var(--fg-on-dark); padding: 72px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.foot .brand .name { color: var(--fg-on-dark); }
.foot .fdesc { font-size: 15px; line-height: 1.6; color: rgba(245,239,230,0.6); margin: 18px 0 0; max-width: 280px; }
.foot h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,239,230,0.5); margin: 0 0 18px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 12px; }
.foot ul li a { font-size: 15px; color: rgba(245,239,230,0.82); text-decoration: none; border: none; }
.foot ul li a:hover { color: var(--sun); opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(245,239,230,0.14); font-size: 13.5px; color: rgba(245,239,230,0.5); }
.foot-bottom .made { font-family: var(--font-mono); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  h1.hero-title { font-size: 60px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  h2.sec-title { font-size: 40px; }
  .cta h2 { font-size: 42px; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  h1.hero-title { font-size: 48px; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Added: local bar / mobile / faq ---------- */
.localbar { border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); background: var(--paper-dim); }
.localbar-inner { display: flex; align-items: center; gap: 28px; padding: 20px 0; flex-wrap: wrap; }
.localbar .lead { font-size: 13px; color: var(--stone); font-weight: 500; white-space: nowrap; }
.localbar .chips { display: flex; gap: 12px; flex-wrap: wrap; }
.localbar .chips span { font-size: 13.5px; color: var(--ink-2); background: var(--white); border: 1px solid var(--edge); border-radius: var(--r-pill); padding: 7px 14px; }

.mobile-wrap { text-align: center; max-width: 720px; margin: 0 auto 48px; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq { background: var(--white); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-1); }
.faq h3 { font-size: 18px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.faq p { font-size: 15.5px; line-height: 1.55; color: var(--stone); margin: 0; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } }
/* ---------- Screenshots ---------- */
.shots { background: var(--paper-dim); }
.browser { background: var(--white); border: 1px solid var(--edge); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.browser .bar { display: flex; gap: 7px; align-items: center; padding: 12px 15px; border-bottom: 1px solid var(--edge); background: var(--paper); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--edge-strong); }
.browser img { display: block; width: 100%; height: auto; }
.shot-item { display: flex; flex-direction: column; align-items: center; }
.shot-cap { font-size: 13.5px; color: var(--stone); margin-top: 14px; text-align: center; }
.shot-phone { background: #1B1714; border-radius: 34px; padding: 9px; width: 258px; box-shadow: 0 34px 70px rgba(27,23,20,0.2); }
.shot-phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
@media (max-width: 960px) { .shots-web { grid-template-columns: 1fr; } }
/* ---------- Hero phone + carousels ---------- */
.hero-phone { background: #1B1714; border-radius: 42px; padding: 11px; width: 320px; margin: 0 auto; box-shadow: 0 50px 90px rgba(27,23,20,0.22); }
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.carousel { position: relative; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; justify-content: center; padding: 4px; }
.carousel-slide .shot-phone { width: 320px; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.cbtn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--edge-strong); background: var(--white); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std); }
.cbtn:hover { border-color: var(--stone-2); background: var(--paper); }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; background: var(--edge-strong); cursor: pointer; }
.carousel-dots button.on { background: var(--earth); }
