:root {
  --bg: #F9F4E1;
  --bg-band: #f2ebd1;
  --bg-trust: #f2ebd1;
  --text: #1c1917;
  --muted: #57534e;
  --accent: #FD7C67;
  --accent-hover: #fa644d;
  --accent-text: #ffffff;
  --accent-link: #C2412D;
  --accent-soft: #fcd5ce;
  --border: #e7e5e4;
  --card: #ffffff;
  --tag: #9a3412;
  --tag-bg: #ffedd5;
  --focus: #FD7C67;
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-phone: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1917;
    --bg-band: #292524;
    --bg-trust: #292524;
    --text: #fafaf9;
    --muted: #a8a29e;
    --accent: #FD7C67;
    --accent-hover: #fa644d;
    --accent-text: #ffffff;
    --accent-link: #FD7C67;
    --accent-soft: #44403c;
    --border: #44403c;
    --card: #292524;
    --tag: #fcd34d;
    --tag-bg: #78350f;
    --focus: #FD7C67;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-phone: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html { -webkit-text-size-adjust: 100%; }

body {
  overflow-wrap: break-word;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: var(--accent-link); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--card); padding: 12px 16px; z-index: 1000; }
.skip:focus { left: 8px; top: 8px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.max-w-lg { max-width: 32rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-large { margin-top: 64px; }
.mt-medium { margin-top: 32px; }

.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: var(--tag-bg); color: var(--tag); border-radius: 6px; padding: 2px 8px; vertical-align: middle; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(15, 23, 42, 0.9); }
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
@media (max-width: 760px) {
  .header-row { padding: 12px 0; }
  .header-row nav { order: 3; flex-basis: 100%; display: flex; justify-content: center; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
  .nav { gap: 20px; font-size: 0.95rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-link);
  color: var(--accent-text);
  border: 2px solid var(--accent-link);
  padding: 0.75em 1.5em;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  min-height: 44px;
  min-width: 44px;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-text);
}
.btn-ghost {
  background: transparent;
  color: var(--accent-link);
}
.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-link);
  border-color: var(--accent-soft);
}
.btn-large {
  padding: 0.9em 2em;
  font-size: 1.125rem;
}
.btn-small {
  padding: 0.5em 1.2em;
  font-size: 0.95rem;
}

/* Layout */
.section-spacing { padding: 96px 0; }
@media (max-width: 768px) { .section-spacing { padding: 64px 0; } }
.band { background: var(--bg-band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.5em;
  letter-spacing: -0.02em;
}

/* Hero */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .cta-row { justify-content: center; }
}

.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--accent-link); font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .eyebrow { justify-content: center; } }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 0.4em; }
.lead { font-size: 1.25rem; color: var(--muted); line-height: 1.5; margin-bottom: 1.5em; max-width: 560px; }
.lead-small { font-size: 1.1rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .lead { margin-left: auto; margin-right: auto; } }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.fine { font-size: 0.88rem; color: var(--muted); }

/* Phone Frame */
.hero-visual { display: flex; justify-content: center; align-items: center; perspective: 1000px; }
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: var(--card);
  border: 12px solid #1e293b;
  border-radius: 40px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  margin: 0;
  transform: rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}
@media (prefers-color-scheme: dark) { .phone-frame { border-color: #000; } }
@media (max-width: 900px) { .phone-frame { transform: none; } }

.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 28px; background: #1e293b; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; z-index: 10; }
@media (prefers-color-scheme: dark) { .phone-notch { background: #000; } }

.phone-screen { padding: 48px 16px 24px; background: var(--bg); min-height: 560px; display: flex; flex-direction: column; }

/* Bubbles */
.bubble { padding: 12px 16px; border-radius: 20px; font-size: 0.95rem; margin-bottom: 12px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.bubble .who { display: block; font-size: 0.75rem; font-weight: 700; margin-bottom: 4px; }
.bubble-ai { background: var(--accent-soft); color: var(--text); margin-right: 32px; border-bottom-left-radius: 4px; }
.bubble-ai .who { color: var(--accent-link); }
.bubble-caller { background: var(--bg-band); color: var(--text); margin-left: 32px; border-bottom-right-radius: 4px; }
.bubble-caller .who { color: var(--muted); }

@media (prefers-color-scheme: dark) {
  .bubble-caller { background: #1e293b; border: 1px solid var(--border); }
  .bubble-ai { border: 1px solid var(--border); }
}

.ring-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 20px; font-size: 0.95rem; margin: auto 0 0; box-shadow: var(--shadow-lg); text-align: center; line-height: 1.4; }
.ring-card strong { display: block; font-size: 1.1rem; margin-bottom: 4px; color: var(--text); }
.ring-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; justify-content: center; background: var(--accent-link); color: var(--accent-text); border-radius: 99px; padding: 10px 20px; font-size: 0.9rem; font-weight: 600; min-height: 44px; }
.pill-muted { background: var(--bg-band); color: var(--text); }
@media (prefers-color-scheme: dark) { .pill-muted { background: #334155; } }

/* Trust Strip */
.trust-strip { padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-trust); }
.trust-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; list-style: none; padding: 0; margin: 0; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--muted); }
.trust-list svg { width: 24px; height: 24px; color: var(--accent-link); flex-shrink: 0; }
.trust-list strong { color: var(--text); font-weight: 600; }
@media (max-width: 768px) { .trust-list { flex-direction: column; gap: 20px; align-items: flex-start; } }

/* How It Works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps li { background: transparent; padding: 0; text-align: center; }
.step-num { width: 64px; height: 64px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-link); font-size: 1.5rem; font-weight: 800; border-radius: 50%; }
.steps h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 700; }
.steps p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; gap: 48px; } .steps li { text-align: left; } .step-num { margin: 0 0 16px 0; width: 48px; height: 48px; font-size: 1.25rem; } }

/* Features */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 768px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 48px; height: 48px; margin-bottom: 24px; color: var(--accent-link); display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border-radius: 12px; padding: 10px; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card p { color: var(--muted); flex-grow: 1; margin: 0; font-size: 1.05rem; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.tier { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px 32px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm); }
.tier-featured { border: 2px solid var(--accent-link); box-shadow: var(--shadow-lg); transform: scale(1.03); z-index: 2; }
@media (max-width: 900px) { .tier-featured { transform: none; } }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent-link); color: var(--accent-text); font-size: 0.8rem; font-weight: 700; padding: 4px 16px; border-radius: 999px; margin: 0; white-space: nowrap; }
.tier h3 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.tier .price { text-align: center; margin-bottom: 4px; }
.tier .amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; color: var(--text); }
.tier .period { color: var(--muted); font-weight: 600; font-size: 1.1rem; }
.feature-list { list-style: none; padding: 0; margin: 32px 0; flex-grow: 1; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { position: relative; padding-left: 32px; color: var(--muted); line-height: 1.4; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: -2px; color: var(--accent-link); font-weight: 800; font-size: 1.2rem; }
.tier-action { margin-top: auto; text-align: center; }
.tier-action .btn { width: 100%; }

/* Form status */
.status { margin: 16px 0 0; font-weight: 600; min-height: 1.6em; }
.status.error { color: #dc2626; }
@media (prefers-color-scheme: dark) { .status.error { color: #ef4444; } }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 0 24px; transition: box-shadow 0.2s; box-shadow: var(--shadow-sm); }
details:hover { box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; padding: 24px 0; min-height: 48px; outline: none; list-style: none; position: relative; padding-right: 40px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 24px; color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg-band); }
.footer-content { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone-frame { transition: none; transform: none; }
  .card, .tier-featured { transition: none; }
  .card:hover { transform: none; }
}

/* footer logo (was an inline style, which the CSP blocks) */
.footer-mark { margin-bottom: 16px; border-radius: 20%; }
