@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,700&display=swap");

:root {
  --bg: #f5efe4;
  --paper: rgba(255, 250, 244, 0.88);
  --paper-strong: #fffaf4;
  --ink: #201911;
  --muted: #6b6258;
  --line: rgba(32, 25, 17, 0.1);
  --accent: #ef6c32;
  --accent-deep: #bf4420;
  --teal: #1f8a7b;
  --gold: #f2b544;
  --shadow: 0 28px 80px rgba(32, 25, 17, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(239, 108, 50, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(31, 138, 123, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf5ea 0%, #f4ecdf 42%, #efe6d9 100%);
  font: 400 16px/1.6 "Space Grotesk", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 239, 228, 0.8);
  border-bottom: 1px solid var(--line);
}

.site-header .shell,
.nav-links,
.hero-actions,
.hero-stats,
.feature-grid,
.detail-grid,
.footer-links,
.doc-links,
.cta-row {
  display: flex;
  gap: 16px;
}

.site-header .shell {
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(239, 108, 50, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy small,
.eyebrow,
.stat-label,
.section-kicker,
.doc-meta,
.mini-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-copy small,
.eyebrow,
.stat-label,
.section-kicker,
.doc-meta,
.mini-label,
.muted {
  color: var(--muted);
}

.nav-links {
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover,
.footer-links a:hover,
.doc-links a:hover {
  color: var(--accent-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff8f2;
  background: linear-gradient(135deg, var(--accent) 0%, #d64d22 100%);
  box-shadow: 0 14px 28px rgba(239, 108, 50, 0.22);
}

.button-secondary {
  background: rgba(255, 250, 244, 0.86);
  border-color: var(--line);
}

.hero {
  padding: 64px 0 48px;
}

.hero-wrap,
.trust-panel,
.feature-card,
.detail-card,
.doc-shell,
.cta-strip,
.footer-shell {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius-xl);
}

.eyebrow {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.hero h1,
.doc-shell h1 {
  margin: 18px 0 14px;
  font: 700 clamp(2.6rem, 5vw, 4.8rem)/0.95 "Space Grotesk", sans-serif;
  letter-spacing: -0.07em;
}

.hero p,
.doc-intro,
.cta-strip p,
.feature-card p,
.detail-card p {
  color: var(--muted);
}

.hero-copy {
  max-width: 42rem;
}

.hero-actions,
.hero-stats,
.doc-links,
.cta-row {
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 24px;
}

.stat {
  min-width: 156px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.phone-stage {
  position: relative;
  min-height: 560px;
  padding: 18px;
  border-radius: calc(var(--radius-xl) - 4px);
  background:
    radial-gradient(circle at top right, rgba(239, 108, 50, 0.42), transparent 26%),
    radial-gradient(circle at bottom left, rgba(31, 138, 123, 0.4), transparent 28%),
    linear-gradient(180deg, #2e2016 0%, #1f1712 100%);
  overflow: hidden;
}

.phone-shell {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: min(100%, 340px);
  padding: 16px;
  border-radius: 34px;
  background: rgba(255, 248, 240, 0.94);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(239, 108, 50, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
}

.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
}

.phone-card,
.bubble,
.voice-card,
.doc-card {
  border: 1px solid var(--line);
}

.phone-card {
  padding: 18px;
  border-radius: 24px;
  background: #fffaf3;
}

.persona-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(239, 108, 50, 0.18), rgba(31, 138, 123, 0.18));
}

.rating-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(31, 138, 123, 0.1);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
}

.message-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.bubble.user {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(239, 108, 50, 0.12), rgba(239, 108, 50, 0.2));
}

.voice-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(32, 25, 17, 0.96);
  color: #fffaf4;
}

.wave {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
  align-items: end;
  height: 46px;
  margin-top: 14px;
}

.wave span {
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd58f 0%, #ef6c32 100%);
  animation: pulse 1.4s ease-in-out infinite;
}

.wave span:nth-child(2n) {
  animation-delay: 120ms;
}

.wave span:nth-child(3n) {
  animation-delay: 240ms;
}

.wave span:nth-child(4n) {
  animation-delay: 360ms;
}

.section {
  padding: 18px 0 10px;
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 50rem;
  margin-bottom: 22px;
}

.section-head h2,
.cta-strip h2 {
  margin: 0;
  font: 700 clamp(2rem, 4vw, 3rem)/0.98 "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
}

.feature-grid,
.detail-grid {
  flex-wrap: wrap;
}

.feature-grid > *,
.detail-grid > * {
  flex: 1 1 260px;
}

.feature-card,
.detail-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.detail-card h3,
.doc-card h2,
.doc-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.trust-panel {
  margin-top: 18px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.doc-page {
  padding: 46px 0 72px;
}

.doc-shell {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.doc-intro {
  max-width: 48rem;
  margin-bottom: 22px;
}

.doc-card {
  padding: 22px;
  margin-top: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.doc-card ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.doc-card li + li {
  margin-top: 8px;
}

.cta-strip {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.site-footer {
  padding: 30px 0 60px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 24px;
}

.footer-links {
  flex-wrap: wrap;
}

@keyframes pulse {
  0%, 100% {
    height: 18%;
    opacity: 0.55;
  }
  50% {
    height: 100%;
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .hero-wrap,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .site-header .shell,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-wrap,
  .doc-shell,
  .trust-panel,
  .cta-strip {
    padding: 22px;
  }

  .phone-shell {
    position: static;
    width: 100%;
    margin-top: 30px;
  }

  .phone-stage {
    min-height: 0;
  }
}
