/* ---------- Zenthfit web styles ---------- */
:root {
  --bg: #ffffff;
  --bg-1: #f5f6fb;
  --card: #eef0f8;
  --card-2: #e6e9f4;
  --line: rgba(0, 0, 0, 0.07);
  --line-2: rgba(0, 0, 0, 0.12);
  --fg: #0d0d14;
  --fg-muted: #6b6b80;
  --fg-dim: #9a9ab0;
  --peach: #d4854a;
  --peach-bright: #e8955a;
  --peach-deep: #b06830;
  --orange: #e07010;
  --blue: #2a8fd4;
  --green: #1ea862;
  --purple: #8040d8;

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --shadow-glow: 0 0 60px rgba(212, 133, 74, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* legacy: kept as a no-op so old markup still renders cleanly */
.serif { font-family: inherit; font-weight: inherit; font-style: inherit; }

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h1 { font-size: clamp(48px, 7vw, 92px); }
h2 { font-size: clamp(36px, 4.5vw, 60px); }
h3 { font-size: clamp(24px, 2.5vw, 32px); }
h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0; line-height: 1.55; color: var(--fg-muted); font-size: 17px; }

.accent-dot { color: var(--peach); }
.text-peach { color: var(--peach); }
.text-muted { color: var(--fg-muted); }
.text-dim   { color: var(--fg-dim); }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---------- Layout ---------- */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 120px 0; position: relative; }
section.tight { padding: 80px 0; }

/* ---------- Nav (Archain-style: top utility + centered wordmark) ---------- */
.top-bar {
  position: relative;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.top-socials { display: flex; gap: 22px; align-items: center; color: var(--fg-muted); }
.top-socials a { transition: color 0.15s; line-height: 0; }
.top-socials a:hover { color: var(--fg); }
.top-utility { display: flex; gap: 28px; align-items: center; color: var(--fg-muted); }
.top-utility a { transition: color 0.15s; }
.top-utility a:hover { color: var(--fg); }
.ios-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(232, 165, 116, 0.3);
  background: rgba(232, 165, 116, 0.06);
  color: var(--peach);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ios-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 8px var(--peach);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  gap: 48px;
}
.wordmark-left {
  font-size: 22px;
  letter-spacing: -0.025em;
}
.wordmark-left img { width: 32px; height: 32px; border-radius: 8px; }
.menu-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(0,0,0,0.04);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  transition: background 0.15s, border-color 0.15s;
}
.menu-btn:hover {
  background: rgba(0,0,0,0.08);
  border-color: var(--line-2);
}
.menu-btn .bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.menu-btn .bars span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 1px;
}

.wordmark {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-transform: uppercase;
}
.wordmark img { width: 30px; height: 30px; border-radius: 7px; }
.wordmark .accent { color: var(--peach); font-style: italic; }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #0d0d14;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.header-cta:hover {
  background: #2a2a3a;
  transform: translateY(-1px);
}
.header-cta svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .top-bar { padding: 10px 18px; font-size: 12px; }
  .top-utility a:not(.ios-badge) { display: none; }
  .main-header { padding: 14px 18px; gap: 12px; }
  .menu-btn .menu-label { display: none; }
  .menu-btn { padding: 10px 12px; }
  .wordmark { font-size: 22px; }
  .header-cta { padding: 10px 16px; font-size: 13px; }
  .header-cta .cta-label-long { display: none; }
}

/* ---------- Simple nav (used on auth & legal pages) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1240px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-mark { color: var(--peach); }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-muted);
}
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; }
  .wrap { padding: 0 20px; }
  section { padding: 60px 0; }
  section.tight { padding: 48px 0; }
  #faq { padding-bottom: 40px; }
  #download { padding-top: 40px; padding-bottom: 40px; }
}

/* ---------- Menu overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 24px 32px 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}
.menu-close {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
}
.menu-close:hover { background: rgba(255,255,255,0.04); }
.menu-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 8px;
}
.menu-items a {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s, transform 0.2s;
  opacity: 0;
  transform: translateY(20px);
}
.menu-overlay.open .menu-items a {
  animation: menuItemReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.menu-items a:nth-child(1) { animation-delay: 0.1s; }
.menu-items a:nth-child(2) { animation-delay: 0.18s; }
.menu-items a:nth-child(3) { animation-delay: 0.26s; }
.menu-items a:nth-child(4) { animation-delay: 0.34s; }
.menu-items a:nth-child(5) { animation-delay: 0.42s; }
.menu-items a:nth-child(6) { animation-delay: 0.5s; }
.menu-items a:hover { color: var(--peach); transform: translateY(0) translateX(8px); }
@keyframes menuItemReveal {
  to { opacity: 1; transform: translateY(0); }
}
.menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-dim);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.menu-foot a { color: var(--fg-muted); }
.menu-foot a:hover { color: var(--fg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--peach);
  color: #1a1004;
}
.btn-primary:hover {
  background: var(--peach-bright);
  box-shadow: 0 8px 30px rgba(232, 165, 116, 0.35);
}
.btn-ghost {
  background: rgba(0,0,0,0.06);
  color: var(--fg);
}
.btn-ghost:hover { background: rgba(0,0,0,0.10); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--fg-muted); }

.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
}
.card-2 { background: var(--card-2); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(212,133,74,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-centered {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px 40px;
  position: relative;
}
.hero-centered .hero-eyebrow { margin-bottom: 32px; }
.hero-centered h1 {
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 32px;
}
.hero-centered h1 .serif {
  display: inline-block;
  font-size: 0.95em;
}
.hero-centered .hero-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 19px;
}
.hero-centered .hero-cta { justify-content: center; }
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--fg-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232,165,116,0.1);
  border: 1px solid rgba(232,165,116,0.25);
  color: var(--peach);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 26px;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero h1 .stack {
  display: block;
}
.hero-sub {
  font-size: 19px;
  max-width: 540px;
  margin-bottom: 36px;
}
@media (max-width: 980px) {
  .hero-sub { margin-left: auto; margin-right: auto; }
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 980px) {
  .hero-cta { justify-content: center; }
}

/* ---------- Phone mock ---------- */
.phone {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  border-radius: 48px;
  background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.12),
    0 40px 80px rgba(0,0,0,0.18),
    0 0 60px rgba(212,133,74,0.10);
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}

.phone-stack {
  position: relative;
  height: 700px;
}
.phone-stack .phone {
  position: absolute;
  width: 280px;
}
.phone-stack .phone:nth-child(1) {
  top: 0; left: 10%; transform: rotate(-6deg);
  z-index: 1;
}
.phone-stack .phone:nth-child(2) {
  top: 40px; left: 50%; transform: translateX(-50%);
  z-index: 3;
}
.phone-stack .phone:nth-child(3) {
  top: 0; right: 10%; transform: rotate(6deg);
  z-index: 1;
}

@media (max-width: 980px) {
  .phone-stack { height: auto; display: flex; justify-content: center; }
  .phone-stack .phone:not(:nth-child(2)) { display: none; }
  .phone-stack .phone { position: relative; top: 0; left: 0; right: 0; transform: none; }
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 22px;
}
.feature h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.feature p { font-size: 15px; }

.icon-peach   { background: rgba(232,165,116,0.16); color: var(--peach); }
.icon-blue    { background: rgba(95,184,255,0.16);  color: var(--blue); }
.icon-green   { background: rgba(108,210,154,0.16); color: var(--green); }
.icon-purple  { background: rgba(185,125,240,0.16); color: var(--purple); }
.icon-orange  { background: rgba(245,135,31,0.16);  color: var(--orange); }
.icon-white   { background: rgba(0,0,0,0.07); color: var(--fg); }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 19px; }

/* ---------- Showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.showcase.reverse { grid-template-columns: 0.9fr 1.1fr; }
.showcase.reverse .showcase-text { order: 2; }
@media (max-width: 900px) {
  .showcase, .showcase.reverse { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-text { order: 0; }
}
.showcase h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 18px;
}
.showcase p { font-size: 17px; max-width: 460px; }
.showcase-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.showcase-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--fg-muted);
}
.showcase-bullets li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--peach);
  flex-shrink: 0;
  margin-top: 9px;
}

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(212,133,74,0.08) 0%, transparent 70%),
    var(--card);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { font-size: 19px; margin: 0 auto 36px; max-width: 540px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  margin-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer h5 {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 700;
}
.footer-col a {
  display: block;
  color: var(--fg-muted);
  font-size: 15px;
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Auth pages ---------- */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,133,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px;
  position: relative;
}
.auth-card .brand {
  justify-content: center;
  margin-bottom: 30px;
}
.auth-card h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .sub {
  text-align: center;
  font-size: 15px;
  margin-bottom: 32px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg-muted);
  letter-spacing: -0.005em;
}
.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: #f8f8fc;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--fg);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus {
  border-color: var(--peach);
}
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 26px;
  font-size: 14px;
}
.form-row a { color: var(--peach); font-weight: 500; }
.checkbox {
  display: flex; align-items: center; gap: 8px;
  color: var(--fg-muted);
  user-select: none; cursor: pointer;
}
.checkbox input { accent-color: var(--peach); }

.form-btn {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  background: var(--peach);
  color: #1a1004;
  transition: background 0.15s, box-shadow 0.15s;
}
.form-btn:hover {
  background: var(--peach-bright);
  box-shadow: 0 8px 30px rgba(232,165,116,0.3);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--fg-muted);
}
.auth-footer a { color: var(--peach); font-weight: 500; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--fg-dim);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.divider::before, .divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line-2);
}

.oauth-btn {
  width: 100%;
  padding: 13px;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.15s;
}
.oauth-btn:hover { background: rgba(0,0,0,0.08); }

/* ---------- Account / Dashboard ---------- */
.dash-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 73px);
}
@media (max-width: 880px) {
  .dash-shell { grid-template-columns: 1fr; }
}
.dash-side {
  border-right: 1px solid var(--line);
  padding: 32px 20px;
}
@media (max-width: 880px) {
  .dash-side {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    display: flex; gap: 8px; overflow-x: auto;
  }
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--card);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
@media (max-width: 880px) { .dash-user { display: none; } }
.dash-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--peach-deep));
  display: grid; place-items: center;
  font-weight: 700; color: #1a1004;
  flex-shrink: 0;
}
.dash-user-info { min-width: 0; }
.dash-user-info .name { font-weight: 600; font-size: 14px; }
.dash-user-info .plan { font-size: 12px; color: var(--peach); font-weight: 500; }

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 880px) { .dash-nav { flex-direction: row; } }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dash-nav a:hover { background: rgba(0,0,0,0.05); color: var(--fg); }
.dash-nav a.active {
  background: rgba(232,165,116,0.12);
  color: var(--peach);
}
.dash-nav .nav-icon { width: 18px; height: 18px; opacity: 0.9; }

.dash-main {
  padding: 48px 56px;
  max-width: 900px;
}
@media (max-width: 880px) { .dash-main { padding: 32px 20px; } }
.dash-main h1 {
  font-size: 38px;
  margin-bottom: 8px;
}
.dash-main .page-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

.dash-section {
  margin-bottom: 40px;
}
.dash-section h2 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 700;
  margin-bottom: 14px;
}

.setting-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--line);
}
.setting-row .label {
  flex: 1;
  min-width: 0;
}
.setting-row .label .key { font-size: 12px; color: var(--fg-dim); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.setting-row .label .val { font-size: 16px; font-weight: 500; }
.setting-row .edit {
  color: var(--peach);
  font-size: 14px;
  font-weight: 600;
}
.setting-row .edit:hover { text-decoration: underline; }

.toggle {
  position: relative;
  width: 44px; height: 26px;
  background: rgba(0,0,0,0.14);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s ease;
}
.toggle.on { background: var(--peach); }
.toggle.on::after { transform: translateX(18px); }

.btn-danger {
  background: rgba(255,90,90,0.1);
  color: #ff7a7a;
  border: 1px solid rgba(255,90,90,0.25);
}
.btn-danger:hover { background: rgba(255,90,90,0.18); }

/* legal page */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.legal h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--fg-dim);
  font-size: 14px;
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 48px 0 14px;
  letter-spacing: -0.01em;
}
.legal p {
  font-size: 16px;
  margin-bottom: 14px;
  color: #b9b9b9;
}
.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #b9b9b9;
}
.legal ul li { margin-bottom: 6px; line-height: 1.6; }
.legal a { color: var(--peach); }

/* misc */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 36px;
  max-width: 440px;
  width: 100%;
}
.modal h3 { font-size: 24px; margin-bottom: 10px; }
.modal p { font-size: 15px; color: var(--fg-muted); margin-bottom: 26px; }
.modal .modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

.success-toast {
  position: fixed;
  bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 14px;
  display: flex;
  align-items: center; gap: 10px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  pointer-events: none;
}
.success-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.success-toast .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
  transition: color 0.2s;
}
.faq-item:hover .faq-q { color: var(--peach); }
.faq-q .plus {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.2s, background 0.2s;
}
.faq-item:hover .faq-q .plus {
  border-color: var(--peach);
  background: rgba(232,165,116,0.08);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.3s ease;
}
.faq-q .plus::before { width: 12px; height: 1.5px; }
.faq-q .plus::after  { width: 1.5px; height: 12px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); border-color: var(--peach); background: rgba(232,165,116,0.08); }
.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after { background: var(--peach); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-a p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  padding: 0 8px 28px;
  max-width: 680px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-up { opacity: 0; transform: translateY(60px); }
.reveal-fade { opacity: 0; }

.word-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.15em; margin-bottom: -0.15em; }
.word-wrap .word { display: inline-block; transform: translateY(110%); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-fade { opacity: 1; transform: none; }
  .word-wrap .word { transform: none; }
  .scroll-cue .line { animation: none; }
}

/* ====================================================
   NEW SIMPLE HEADER (overrides earlier archain-style)
   ==================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 32px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-family: 'Inter', sans-serif;
}
.brand-logo img { width: 36px; height: 36px; border-radius: 9px; }
.brand-logo .mark { color: var(--peach); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-muted);
}
.site-nav a { transition: color 0.15s; }
.site-nav a:hover { color: var(--fg); }
.site-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ios-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 165, 116, 0.3);
  background: rgba(232, 165, 116, 0.08);
  color: var(--peach);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ios-badge-new .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 8px var(--peach);
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .ios-badge-new { display: none; }
  .site-cta .btn-sign { display: none; }
  .site-header-inner { padding: 14px 20px; gap: 12px; }
}

/* Hide the new simple header (restoring the prior archain-style chrome) */
.site-header { display: none !important; }

/* App-matching font for accents (no serif italic anymore) */
.serif {
  font-family: inherit !important;
  font-weight: 800 !important;
  font-style: normal !important;
  letter-spacing: -0.01em;
  color: var(--peach);
}

/* Wordmark uses the app's bold sans (matches SF Pro / Inter) */
.wordmark {
  font-family: inherit;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--fg);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wordmark .accent { color: var(--peach); font-style: normal; }
.wordmark img { width: 32px; height: 32px; border-radius: 8px; }

/* Re-enable the archain chrome (legacy: top-bar/menu-overlay no longer used, but rule kept harmless) */
.top-bar, .menu-overlay { display: revert !important; }
.top-bar { display: flex !important; }
.menu-overlay { display: none !important; }
header.main-header { display: flex !important; align-items: center; justify-content: space-between; }

/* ---------- Hero two-column (text left, phone right) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  position: relative;
}
.hero-split .hero-text { text-align: left; }
.hero-split h1 {
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  text-align: left;
}
.hero-split .hero-eyebrow { margin-bottom: 26px; }
.hero-split .hero-sub { font-size: 19px; margin: 0 0 36px; max-width: 540px; }
.hero-split .hero-cta { justify-content: flex-start; }
.hero-split .scroll-cue { align-items: flex-start; margin-top: 56px; }
.hero-split .scroll-cue .line { height: 36px; }

.hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-phone-wrap .phone {
  width: 340px;
}
.hero-phone-wrap::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(232,165,116,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 880px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 60px 24px 40px;
  }
  .hero-split .hero-text { text-align: center; }
  .hero-split h1 { text-align: center; }
  .hero-split .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-split .hero-cta { justify-content: center; }
  .hero-split .scroll-cue { align-items: center; }
  .hero-phone-wrap .phone { width: 280px; }
}

