/* TalkNet homepage */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #0b0c0f;
  --ink-2: #33363d;
  --muted: #6b7079;
  --line: #e7e8ec;
  --line-strong: #d6d8de;
  --brand: #2563eb;
  --brand-2: #0ea5e9;
  --brand-3: #7c5cff;
  --ok: #16a34a;
  --dark: #0b0c0f;
  --dark-2: #15171c;
  --dark-line: #262932;
  --dark-muted: #9aa0ab;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 24, 0.06);
  --shadow: 0 1px 2px rgba(16, 18, 24, 0.04), 0 12px 32px -12px rgba(16, 18, 24, 0.16);
  --shadow-lg: 0 2px 4px rgba(16, 18, 24, 0.04), 0 40px 80px -24px rgba(16, 18, 24, 0.22);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  margin: 0;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 14px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: progress;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #2a2d35;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-text {
  color: var(--ink-2);
  padding: 0 12px;
}

.btn-text:hover {
  color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #e9ecf2;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 28px;
  width: auto;
}

.nav-cluster {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  display: flex;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- Shared section bits ---------- */

.section {
  padding: 112px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2,
.builder-copy h2,
.faq-head h2,
.cta h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.section-dark .kicker {
  color: #7fb1ff;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin-top: 16px;
}

.lead a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -200px 0 auto;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(40% 36% at 30% 38%, rgba(37, 99, 235, 0.16), transparent 70%),
    radial-gradient(34% 30% at 70% 34%, rgba(14, 165, 233, 0.16), transparent 70%),
    radial-gradient(30% 30% at 52% 60%, rgba(124, 92, 255, 0.12), transparent 70%);
  filter: blur(8px);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-sub {
  max-width: 640px;
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* Call console */

.console {
  width: 100%;
  max-width: 980px;
  margin-top: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  text-align: left;
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.console-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.console-bar p {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.console-body {
  display: grid;
  grid-template-columns: 300px 1fr;
}

.call-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.orb {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 0deg, var(--brand), var(--brand-2), var(--brand-3), var(--brand));
  animation: spin 8s linear infinite;
  box-shadow: 0 20px 50px -12px rgba(37, 99, 235, 0.55);
}

.orb::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.25);
  animation: pulse 2.4s ease-out infinite;
}

.orb-core {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, rgba(255, 255, 255, 0.35) 45%, transparent 70%);
  filter: blur(2px);
}

.call-name {
  margin-top: 24px;
  font-weight: 500;
}

.call-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: blink 1.4s ease-in-out infinite;
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  margin-top: 20px;
}

.wave i {
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  transform-origin: center;
  animation: wave 1.1s ease-in-out infinite;
}

.wave i:nth-child(2n) { animation-delay: -0.2s; }
.wave i:nth-child(3n) { animation-delay: -0.45s; }
.wave i:nth-child(4n) { animation-delay: -0.7s; }
.wave i:nth-child(5n) { animation-delay: -0.9s; }

.call-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.call-tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: var(--ink-2);
}

.transcript {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
}

.msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  animation: rise 0.5s ease forwards;
}

.msg b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.msg.caller {
  align-self: flex-start;
  background: var(--bg-soft);
  border-bottom-left-radius: 4px;
}

.msg.agent {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg.agent b {
  color: #9fb8ff;
}

.msg:nth-child(1) { animation-delay: 0.3s; }
.msg:nth-child(2) { animation-delay: 1.1s; }
.msg:nth-child(3) { animation-delay: 1.9s; }
.msg:nth-child(4) { animation-delay: 2.7s; }

.booked {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 14px;
  background: rgba(22, 163, 74, 0.06);
  opacity: 0;
  animation: rise 0.5s ease 3.5s forwards;
}

.booked-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok);
  color: #fff;
  font-size: 15px;
}

.booked strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
}

.booked span:not(.booked-icon) {
  font-size: 13px;
  color: var(--muted);
}

/* Metrics */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 780px;
  margin: 64px 0 0;
}

.metrics div {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.metrics div:first-child {
  border-left: 0;
}

.metrics dt {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin-top: 20px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.service p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Products (dark) ---------- */

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

.product {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
}

.product:hover {
  border-color: #3a3e4a;
  transform: translateY(-3px);
}

.product-visual {
  height: 180px;
  margin-bottom: 28px;
  border-radius: 16px;
  border: 1px solid var(--dark-line);
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(37, 99, 235, 0.22), transparent 70%),
    #101217;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  overflow: hidden;
}

.product-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dark-muted);
}

.product h3 {
  margin-top: 8px;
  font-size: 26px;
}

.product > p:not(.product-index) {
  margin-top: 12px;
  color: var(--dark-muted);
  font-size: 15px;
  flex: 1;
}

.product-link {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.product-link span {
  display: inline-block;
  transition: transform 0.2s;
}

.product:hover .product-link span {
  transform: translateX(4px);
}

.visual-outbound .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.visual-outbound .av {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #262a35;
  font-size: 10px;
  font-weight: 600;
  color: #c9d1e0;
}

.visual-outbound .bar {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #2d3240, #20242e);
}

.visual-outbound em {
  font-style: normal;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dark-muted);
}

.visual-outbound em.ok {
  background: rgba(22, 163, 74, 0.18);
  color: #6ee7a0;
}

.visual-inbound {
  align-items: center;
}

.visual-inbound .ring {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px -8px rgba(37, 99, 235, 0.7);
}

.visual-inbound .ring b {
  font-weight: 400;
  font-size: 26px;
  color: #fff;
}

.visual-inbound .ring span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.6);
  animation: ripple 2.4s ease-out infinite;
}

.visual-inbound .ring span:nth-child(2) {
  animation-delay: 1.2s;
}

.visual-inbound p {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dark-muted);
}

.bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
}

.bubble.in {
  align-self: flex-start;
  background: #232733;
  color: #dfe4ee;
  border-bottom-left-radius: 4px;
}

.bubble.out {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble.typing {
  display: inline-flex;
  gap: 4px;
  padding: 11px 12px;
}

.bubble.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a93a6;
  animation: typing 1.2s ease-in-out infinite;
}

.bubble.typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing i:nth-child(3) { animation-delay: 0.3s; }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
}

.steps h3 {
  margin-top: 28px;
  font-size: 22px;
}

.steps p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Script Builder ---------- */

.builder {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.builder-copy {
  position: sticky;
  top: 108px;
}

.builder-copy .btn {
  margin-top: 32px;
}

.builder-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.panel-head h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.field-label {
  display: block;
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.panel-head + .field-label {
  margin-top: 0;
}

.builder-panel textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 15px/1.55 var(--font);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.builder-panel textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.builder-panel textarea[readonly] {
  background: var(--bg-soft);
}

.builder-panel textarea.mono {
  font: 13px/1.6 var(--mono);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.script-preview {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.07);
  color: #1d4ed8;
  font-size: 14px;
}

.script-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  text-align: center;
  padding: 24px;
}

.spinner {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
}

.loading-title {
  font-weight: 500;
}

.loading-sub {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Testimonials ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.quote blockquote {
  margin: 0;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.quote figcaption b {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbe6ff, #d7f0fb);
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 64px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  transition: transform 0.25s;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 44px 24px 0;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 64px;
  border-radius: 32px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(37, 99, 235, 0.45), transparent 70%),
    radial-gradient(40% 60% at 80% 100%, rgba(14, 165, 233, 0.25), transparent 70%);
}

.cta-copy,
.cta-actions {
  position: relative;
}

.cta .kicker {
  color: #7fb1ff;
}

.cta-copy > p:not(.kicker) {
  margin-top: 16px;
  max-width: 520px;
  color: #c3c8d2;
  font-size: 18px;
}

.cta .checks li {
  color: #c3c8d2;
}

.cta .checks b {
  color: #fff;
  font-weight: 500;
}

.cta .checks li::before {
  background-color: rgba(127, 177, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb1ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E");
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.cta-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--dark-muted);
}

.cta-phone a {
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.cta-phone a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, auto));
  gap: 48px;
}

.footer-cols h4 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}

.footer-cols a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-cols a:hover {
  color: var(--ink);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-base a {
  text-decoration: none;
}

/* ---------- Inner pages ---------- */

.site-nav a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--ink);
}

.page-hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  text-align: center;
}

.page-hero .hero-glow {
  height: 640px;
  inset: -260px 0 auto;
}

.page-hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 24px;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-hero .hero-sub {
  margin-top: 20px;
}

.hero-sub a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.page-hero + .section:not(.section-dark):not(.section-soft) {
  padding-top: 24px;
}

.narrow {
  max-width: 820px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.contact-card > * {
  position: relative;
}

.contact-card h2 {
  font-size: 28px;
}

.contact-card .checks li {
  color: #c3c8d2;
}

.contact-card .checks b {
  color: #fff;
  font-weight: 500;
}

.contact-card .checks li::before {
  background-color: rgba(127, 177, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb1ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E");
}

.contact-card .cta-phone {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--dark-line);
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 28px;
}

.form-card label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 15px/1.5 var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-card textarea {
  resize: vertical;
}

.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-card .btn {
  justify-self: start;
}

.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.form-status.success {
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
}

.form-status.error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

/* Blog index */

.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-card h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.blog-card p {
  color: var(--muted);
}

.blog-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  text-align: center;
  color: var(--muted);
}

/* Blog article */

.blog-article {
  max-width: 720px;
  margin: 0 auto;
}

.blog-kicker a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.blog-kicker a:hover {
  color: var(--ink);
}

.blog-article > h1 {
  margin-top: 24px;
  font-size: clamp(36px, 5.4vw, 56px);
  letter-spacing: -0.04em;
}

.blog-article > .blog-meta,
.blog-article > h1 + p {
  margin-top: 16px;
}

.blog-excerpt {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
}

.blog-content {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}

.blog-content > * + * {
  margin-top: 1.1em;
}

.blog-content h1,
.blog-content h2,
.blog-content h3 {
  margin-top: 1.8em;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.blog-content h1 { font-size: 32px; }
.blog-content h2 { font-size: 26px; }
.blog-content h3 { font-size: 20px; }

.blog-content ul,
.blog-content ol {
  padding-left: 1.3em;
}

.blog-content li + li {
  margin-top: 0.4em;
}

.blog-content a {
  color: var(--brand);
  text-underline-offset: 3px;
}

.blog-content strong {
  color: var(--ink);
  font-weight: 600;
}

.blog-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-soft);
  font: 0.88em var(--mono);
}

.blog-content pre {
  padding: 20px;
  border-radius: 14px;
  background: var(--dark);
  color: #e6e8ee;
  overflow-x: auto;
}

.blog-content pre code {
  padding: 0;
  background: none;
  color: inherit;
}

/* ---------- Reveal on scroll ---------- */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(0.92); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

@keyframes blink {
  50% { opacity: 0.3; }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .wave i {
    transform: scaleY(0.6);
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .builder,
  .faq,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .builder-copy {
    position: static;
  }
  .cta {
    grid-template-columns: 1fr;
    padding: 48px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  /* The header's backdrop-filter makes it the containing block for this fixed
     panel, so size it to the viewport explicitly instead of with inset. */
  .nav-cluster {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding: 24px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-open .nav-cluster {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav {
    flex-direction: column;
    gap: 0;
  }
  .site-nav a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .site-nav a:hover {
    background: none;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-actions .btn {
    height: 48px;
  }
  .nav-actions .btn-text {
    border: 1px solid var(--line-strong);
  }
  .console-body {
    grid-template-columns: 1fr;
  }
  .call-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 20px;
  }
  .orb {
    width: 88px;
    height: 88px;
  }
  .product-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    padding: 0 16px;
  }
  .section {
    padding: 80px 0;
  }
  .hero {
    padding: 56px 0 72px;
  }
  .hero-actions {
    flex-direction: column;
    align-self: stretch;
  }
  .console {
    margin-top: 48px;
  }
  .transcript {
    padding: 20px 16px;
  }
  .msg {
    max-width: 92%;
    font-size: 14px;
  }
  .metrics {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }
  .metrics div {
    padding: 0;
    border-left: 0;
  }
  .service-grid,
  .quote-grid,
  .blog-list,
  .form-row {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 56px 0 48px;
  }
  .contact-card,
  .form-card,
  .blog-card {
    padding: 28px 20px;
  }
  .quote {
    padding: 24px;
  }
  .cta {
    padding: 36px 24px;
    border-radius: 24px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-base {
    flex-direction: column;
    gap: 8px;
  }
}
