:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #64717a;
  --line: #d8e1e7;
  --paper: #f5f7f8;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-2: #67c3ad;
  --dark: #162226;
  --container: 1180px;
  --shadow: 0 24px 70px rgba(20, 33, 40, 0.14);
  --soft-shadow: 0 14px 34px rgba(20, 33, 40, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 248, 0.99)),
    var(--paper);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px max(clamp(18px, 4vw, 54px), calc((100vw - var(--container)) / 2 + 24px));
  border-bottom: 1px solid rgba(220, 227, 232, 0.84);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  text-decoration: none;
  min-width: 0;
}

.brand > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(135deg, var(--dark), color-mix(in srgb, var(--accent) 44%, var(--dark)));
  color: #fff;
  font-size: 0.82rem;
  box-shadow: 0 10px 20px rgba(24, 37, 44, 0.16);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a:not(.btn) {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  color: #465762;
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-links a:not(.btn):hover {
  border-bottom-color: var(--accent);
  color: var(--ink);
}

.btn:hover {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  box-shadow: var(--soft-shadow);
  transform: translateY(-1px);
}

.btn.primary {
  border-color: color-mix(in srgb, var(--accent) 84%, #000);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--accent));
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 25%, transparent);
}

.btn.dark {
  border-color: var(--dark);
  background: linear-gradient(180deg, #253137, var(--dark));
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 4.2vw, 60px);
  align-items: center;
  min-height: min(820px, calc(100svh - 68px));
  padding: clamp(44px, 7vw, 96px) max(clamp(18px, 4vw, 54px), calc((100vw - var(--container)) / 2 + 24px)) clamp(38px, 5vw, 70px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 247, 248, 0.98) 0%, rgba(245, 247, 248, 0.9) 42%, rgba(245, 247, 248, 0.2) 100%),
    var(--hero-image) center/cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 4vw, 54px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 32, 38, 0.18), transparent);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 5.5vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy > p {
  max-width: 680px;
  color: #3d4c55;
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.proof-pill {
  border: 1px solid color-mix(in srgb, var(--accent) 20%, white);
  border-radius: 8px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.88);
  color: #34464d;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(24, 37, 44, 0.06);
}

.voice-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: 500px;
}

.voice-card {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 92px;
  border: 1px solid rgba(220, 227, 232, 0.96);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 30px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 82% 0%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 34%),
    #fff;
  box-shadow: var(--shadow);
}

.voice-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.voice-card h2 {
  max-width: 460px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  line-height: 1.08;
}

.voice-card p {
  color: var(--muted);
  line-height: 1.45;
}

.voice-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.voice-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
  padding: 11px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.64)),
    color-mix(in srgb, var(--accent) 7%, white);
  color: #33444c;
  font-size: 0.79rem;
  font-weight: 850;
  line-height: 1.25;
  box-shadow: 0 8px 18px rgba(24, 37, 44, 0.05);
}

.voice-meta span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, white);
}

.widget-frame {
  margin: 0;
  padding: 0;
}

.widget-frame::before {
  content: none;
}

.widget-mount {
  display: block;
  min-height: 0;
}

.band {
  padding: clamp(44px, 6vw, 84px) max(clamp(18px, 4vw, 54px), calc((100vw - var(--container)) / 2 + 24px));
}

.band.dark {
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%),
    linear-gradient(180deg, #17242a, var(--dark));
  color: #f7fbf9;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1.05;
}

.section-head p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.dark .section-head p {
  color: #b8c9c8;
}

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

.tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 22px);
  background: var(--panel);
  min-height: 150px;
  box-shadow: 0 8px 24px rgba(24, 37, 44, 0.05);
}

.tile strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.02rem;
}

.tile p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.48;
}

.dark .tile {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.dark .tile strong {
  color: #fff;
}

.dark .tile p {
  color: #b8c9c8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.script-card,
.demo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 2.5vw, 32px);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.script-card p,
.demo-card p {
  color: var(--muted);
  line-height: 1.52;
}

.call-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.call-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.call-list span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  font-weight: 900;
}

.demo-card {
  display: grid;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.94)),
    var(--demo-image) center/cover no-repeat;
  min-height: 420px;
}

.mock-window {
  align-self: end;
  display: grid;
  gap: 10px;
  max-width: 620px;
  border: 1px solid rgba(220, 227, 232, 0.92);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.mock-window strong {
  display: block;
}

.mock-window span,
.mock-window p {
  color: var(--muted);
  line-height: 1.45;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px max(clamp(18px, 4vw, 54px), calc((100vw - var(--container)) / 2 + 24px));
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
}

.directory {
  padding: clamp(38px, 6vw, 78px) max(clamp(18px, 4vw, 54px), calc((100vw - var(--container)) / 2 + 24px));
}

.directory h1 {
  max-width: 980px;
}

.directory .hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.52;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin-top: 26px;
}

.directory-card {
  min-height: 280px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.96) 74%),
    var(--card-image) center/cover no-repeat;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(24, 37, 44, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.directory-card:hover {
  border-color: color-mix(in srgb, var(--accent) 26%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.directory-card strong {
  font-size: 1.18rem;
}

.directory-card span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 980px) {
  .split,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .voice-panel {
    min-height: auto;
  }

  .section-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(245, 247, 248, 0.98) 0%, rgba(245, 247, 248, 0.82) 56%, rgba(245, 247, 248, 0.95) 100%),
      var(--hero-image) center/cover no-repeat;
  }
}

@media (max-width: 640px) {
  .top-nav {
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    flex: 0 0 auto;
    gap: 10px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .nav-links .btn {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .hero {
    padding: 32px 16px 320px;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
    line-height: 1.02;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-actions,
  .section-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn,
  .section-actions .btn {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .voice-card {
    padding: 18px;
  }

  .voice-panel {
    margin-top: 168px;
    padding-top: 78px;
  }

  .voice-meta {
    grid-template-columns: 1fr;
  }

  .band,
  .directory {
    padding-left: 16px;
    padding-right: 16px;
  }

  .script-card,
  .demo-card,
  .tile,
  .mock-window {
    padding: 16px;
  }

  .demo-card {
    min-height: 340px;
  }

  .footer {
    padding: 22px 16px calc(104px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .brand > span:last-child {
    max-width: 150px;
  }

  .nav-links .btn {
    max-width: 150px;
  }

  .directory-card {
    min-height: 240px;
  }
}
