*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --deep: #0A1628; --navy: #12284B; --slate: #1E3A5F;
  --mid: #2D5F8A; --sky: #4A90C4; --light: #7BB8E0;
  --pale: #B8D9F0; --wash: #E8F2FA;
  --warm: #F5E6D3; --sand: #E8D4BD; --copper: #C49A6C;
  --amber: #B07D4F; --bronze: #8B5E3C;
  --charcoal: #2A2A2A; --smoke: #6B6B6B; --fog: #9E9E9E;
  --cloud: #D4D4D4; --white: #FAFAF8;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Instrument Serif', Georgia, serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }

.label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fog);
}
.label-copper { color: var(--copper); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Nav ──────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}
nav.scrolled { padding: 14px 0; border-bottom-color: var(--cloud); }
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-text { font-weight: 300; font-size: 22px; letter-spacing: 0.06em; color: var(--deep); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--smoke); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--deep); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 10px 24px; border-radius: 8px;
  background: var(--navy); color: var(--white) !important;
  font-size: 14px !important; font-weight: 500 !important;
  text-decoration: none !important; transition: background 0.2s;
}
.nav-cta:hover { background: var(--slate) !important; }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px;
  background: var(--navy); color: var(--white);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--slate); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px;
  background: transparent; color: var(--navy);
  font-size: 15px; font-weight: 500; text-decoration: none;
  border: 1.5px solid var(--cloud); transition: border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -30%; right: -15%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(196,154,108,0.06) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero h1 {
  font-weight: 300; font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: 0.02em; line-height: 1.1;
  color: var(--deep); max-width: 800px; margin: 0 auto;
  animation: fadeUp 0.8s ease 0.15s both;
}
.hero h1 em {
  font-family: var(--font-accent); font-style: italic; color: var(--copper);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65; color: var(--smoke);
  max-width: 600px; margin: 24px auto 0;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.45s both;
}
.hero-label { animation: fadeUp 0.8s ease both; margin-bottom: 20px; }
.hero-trust {
  margin-top: 20px;
  font-size: 12.5px; color: var(--fog); letter-spacing: 0.02em;
  animation: fadeUp 0.8s ease 0.6s both;
}

/* ── Voice profile anchor ─────────────────────────────── */
.voice-anchor {
  padding: 100px 0;
  background: var(--deep);
  color: var(--pale);
  position: relative; overflow: hidden;
}
.voice-anchor::before {
  content: ''; position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,108,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.voice-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; gap: 40px; } }
.voice-copy h2 {
  font-weight: 300; font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 0.02em; line-height: 1.15;
  color: var(--white); margin-top: 14px; margin-bottom: 20px;
}
.voice-copy h2 em { font-family: var(--font-accent); font-style: italic; color: var(--copper); }
.voice-copy p {
  font-size: 16px; line-height: 1.7; color: var(--pale); opacity: 0.85;
  max-width: 520px;
}
.voice-milestones {
  display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap;
}
.milestone-num {
  font-family: var(--font-accent); font-style: italic;
  font-size: 26px; color: var(--copper); line-height: 1;
}
.milestone-title {
  font-size: 14px; font-weight: 500; color: var(--white);
  margin-top: 6px;
}
.milestone-sub {
  font-size: 12.5px; color: var(--pale); opacity: 0.75; margin-top: 2px;
}
.voice-glyph { display: flex; justify-content: center; align-items: center; }
.voice-glyph svg { max-width: 100%; height: auto; }

/* ── Features (rhythm strip) ──────────────────────────── */
.feat-rhythm {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--cloud);
}
@media (max-width: 720px) { .feat-rhythm { grid-template-columns: 1fr; } }
.feat-row {
  padding: 32px 0;
  border-bottom: 1px solid var(--cloud);
}
.feat-rhythm .feat-row:nth-child(odd) {
  border-right: 1px solid var(--cloud);
  padding-right: 40px;
}
.feat-rhythm .feat-row:nth-child(even) {
  padding-left: 40px;
}
@media (max-width: 720px) {
  .feat-rhythm .feat-row:nth-child(odd) { border-right: 0; padding-right: 0; }
  .feat-rhythm .feat-row:nth-child(even) { padding-left: 0; }
}
.feat-row-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.feat-area {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--copper);
}
.feat-rule { flex: 1; height: 1px; background: var(--cloud); }
.feat-num {
  font-family: var(--font-accent); font-style: italic;
  font-size: 16px; color: var(--fog);
}
.feat-row h3 {
  font-weight: 400; font-size: 22px; color: var(--deep);
  margin-bottom: 10px; line-height: 1.3; letter-spacing: -0.005em;
}
.feat-row p {
  font-size: 14px; line-height: 1.65; color: var(--smoke);
}

/* ── Features ─────────────────────────────────────────── */
.features { padding: 100px 0; }
.features-header {
  text-align: center; max-width: 600px; margin: 0 auto 64px;
}
.features-header h2 {
  font-weight: 300; font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.02em; line-height: 1.15;
  color: var(--deep); margin-top: 16px;
}
.features-header h2 em {
  font-family: var(--font-accent); font-style: italic; color: var(--copper);
}

/* ── Pricing ──────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: var(--deep);
  color: var(--pale);
  position: relative; overflow: hidden;
}
.pricing::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(196,154,108,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(74,144,196,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.pricing-header {
  text-align: center; max-width: 600px; margin: 0 auto 64px;
  position: relative; z-index: 1;
}
.pricing-header h2 {
  font-weight: 300; font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.02em; line-height: 1.15;
  color: var(--white); margin-top: 16px;
}
.pricing-header h2 em {
  font-family: var(--font-accent); font-style: italic; color: var(--copper);
}
.pricing-header p {
  font-size: 17px; line-height: 1.65; color: var(--pale); opacity: 0.8; margin-top: 16px;
}

.price-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative; z-index: 1;
}
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

.price-card {
  background: var(--navy); border: 1px solid var(--slate);
  border-radius: 16px; padding: 32px 24px;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.price-card.featured {
  border-color: var(--copper);
  background: linear-gradient(180deg, var(--navy) 0%, #162e52 100%);
  position: relative;
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--copper); color: var(--white);
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.price-name {
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pale); opacity: 0.7;
  margin-bottom: 8px;
}
.price-amount {
  font-size: 44px; font-weight: 300; color: var(--white);
  letter-spacing: -0.02em; line-height: 1;
}
.price-amount span { font-size: 16px; color: var(--pale); opacity: 0.6; font-weight: 400; }
.price-users {
  font-size: 14px; color: var(--copper); font-weight: 500;
  margin-top: 8px; margin-bottom: 24px;
}
.price-divider {
  width: 100%; height: 1px; background: var(--slate); margin-bottom: 20px;
}
.price-limits { list-style: none; margin-bottom: 24px; flex: 1; }
.price-limits li {
  font-size: 13px; color: var(--pale); opacity: 0.75;
  padding: 6px 0; display: flex; justify-content: space-between;
}
.price-limits li span:last-child { font-weight: 500; color: var(--white); opacity: 1; }
.price-features {
  font-size: 13px; color: var(--copper); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
}
.price-features svg { width: 14px; height: 14px; stroke: var(--copper); fill: none; stroke-width: 2; }
.price-cta {
  display: block; text-align: center;
  padding: 12px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.price-cta-primary {
  background: var(--copper); color: var(--white);
}
.price-cta-primary:hover { background: var(--amber); transform: translateY(-1px); }
.price-cta-outline {
  background: transparent; color: var(--pale);
  border: 1px solid var(--slate);
}
.price-cta-outline:hover { border-color: var(--pale); transform: translateY(-1px); }
.pkg-btn.pkg-active { background: var(--copper); color: var(--white); }

/* ── Trust strip ─────────────────────────────────────── */
.trust {
  padding: 80px 0;
  background: var(--wash);
}
.trust-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 768px) { .trust-inner { grid-template-columns: 1fr; gap: 40px; } }
.trust h2 {
  font-weight: 300; font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: 0.02em; line-height: 1.2; color: var(--deep);
}
.trust h2 em { font-family: var(--font-accent); font-style: italic; color: var(--copper); }
.trust-points { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.trust-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.6; color: var(--smoke);
}
.trust-points li svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  stroke: var(--copper); fill: none; stroke-width: 2;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq { padding: 100px 0; }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq h2 {
  font-weight: 300; font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: 0.02em; line-height: 1.2; color: var(--deep); margin-top: 16px;
}
.faq h2 em { font-family: var(--font-accent); font-style: italic; color: var(--copper); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--cloud); }
.faq-item:first-child { border-top: 1px solid var(--cloud); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; cursor: pointer; width: 100%; background: none; border: none;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  color: var(--deep); text-align: left; line-height: 1.4;
}
.faq-q:hover { color: var(--copper); }
.faq-q svg {
  width: 20px; height: 20px; flex-shrink: 0;
  stroke: var(--fog); fill: none; stroke-width: 2;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15px; line-height: 1.65; color: var(--smoke);
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 20px; }
.faq-a .compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.faq-a .compare-col h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.faq-a .compare-col ul { list-style: none; padding: 0; margin: 0; }
.faq-a .compare-col li { font-size: 14px; line-height: 1.6; padding-left: 18px; position: relative; }
.faq-a .compare-col li::before { content: '\2713'; position: absolute; left: 0; color: var(--copper); font-size: 13px; }
.faq-a .compare-col li.not-included { opacity: 0.4; }
.faq-a .compare-col li.not-included::before { content: '\2013'; color: var(--smoke); }
@media (max-width: 600px) { .faq-a .compare-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ── Contact ─────────────────────────────────────────── */
.contact { padding: 100px 0; background: var(--wash); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
@media (max-width: 768px) { .contact-inner { grid-template-columns: 1fr; gap: 40px; } }
.contact h2 {
  font-weight: 300; font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: 0.02em; line-height: 1.2; color: var(--deep); margin-top: 16px;
}
.contact h2 em { font-family: var(--font-accent); font-style: italic; color: var(--copper); }
.contact-text { font-size: 16px; line-height: 1.65; color: var(--smoke); margin-top: 16px; }
.contact-text a { color: var(--copper); text-decoration: none; }
.contact-text a:hover { text-decoration: underline; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 13px; font-weight: 500; color: var(--deep); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--cloud); border-radius: 8px;
  font-family: var(--font-body); font-size: 14px; color: var(--charcoal);
  background: var(--white); transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--copper);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border: none; border-radius: 8px;
  background: var(--copper); color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}
.contact-submit:hover { background: var(--amber); transform: translateY(-1px); }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-success {
  padding: 20px; border-radius: 8px; background: var(--white);
  border: 1px solid var(--copper); color: var(--deep);
  font-size: 15px; line-height: 1.5;
}
.contact-error { color: #c0392b; font-size: 13px; margin-top: -8px; }

/* ── Footer ──────────────────────────────────────────── */
footer { padding: 48px 0; border-top: 1px solid var(--cloud); }
footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-text { font-weight: 300; font-size: 18px; letter-spacing: 0.06em; color: var(--deep); }
.footer-right { font-size: 13px; color: var(--fog); }
.footer-right a { color: var(--smoke); text-decoration: none; transition: color 0.2s; }
.footer-right a:hover { color: var(--deep); }

/* ── Pricing toggle classes (extracted from inline style=""/onclick=
   attributes blocked by the strict CSP introduced in Phase 3). The
   visual rules are identical to the original inline styles. */
.package-toggle {
  display: flex; justify-content: center; margin-bottom: 40px;
  position: relative; z-index: 1;
}
.package-toggle-inner {
  display: inline-flex; background: var(--navy);
  border: 1px solid var(--slate); border-radius: 10px; padding: 4px;
}
.pkg-btn {
  padding: 10px 24px; border-radius: 8px; font-size: 14px;
  font-weight: 500; border: none; cursor: pointer; transition: all 0.2s;
  background: transparent; color: var(--pale);
}
.pkg-desc-wrap {
  text-align: center; margin-bottom: 32px;
  position: relative; z-index: 1;
}
.pkg-desc {
  font-size: 14px; color: var(--pale); opacity: 0.7;
}
.pkg-desc[hidden], .contact-error[hidden], .contact-success[hidden] {
  display: none;
}
.contact-text-spaced { margin-top: 24px; }
