:root {
  --ink: #0B1F24;
  --lagoon: #0E7C74;
  --lagoon-dark: #0B5F59;
  --sunrise: #F08A3C;
  --mist: #F4F7F5;
  --slate: #3D5257;
  --line: #DDE6E2;
  --line-strong: #B9CBC6;
  --tint: #E2EFEC;
  --on-dark-muted: #A9C4BF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.5;
}
a { color: var(--lagoon); }
a:hover { color: var(--lagoon-dark); }
img, svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lagoon); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; }
p { margin: 0; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--slate); max-width: 600px; }
.muted { color: var(--slate); }
.small { font-size: 12px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--mist); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.brand em { font-style: normal; font-weight: 500; color: var(--lagoon); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--lagoon); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--lagoon); color: #fff; }
.btn-primary:hover { background: var(--lagoon-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--mist); }
.btn-dark:hover { background: #16343A; color: var(--mist); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); font-weight: 600; }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.nav .btn-dark, .nav .btn-dark:hover { color: var(--mist); }

/* hero */
.hero .wrap { padding-top: 96px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--lagoon); background: var(--tint); padding: 8px 14px; border-radius: 999px; }
.pill i { width: 8px; height: 8px; border-radius: 4px; background: var(--sunrise); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.call { flex: 1 1 380px; min-width: 0; background: var(--ink); color: var(--mist); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.call .label { font-size: 13px; color: var(--on-dark-muted); font-weight: 600; }
.bubbles { display: flex; flex-direction: column; gap: 12px; }
.bubble { padding: 12px 16px; font-size: 16px; line-height: 1.5; max-width: 85%; }
.bubble.caller { align-self: flex-start; background: #1C3438; border-radius: 16px 16px 16px 4px; }
.bubble.agent { align-self: flex-end; background: var(--lagoon); border-radius: 16px 16px 4px 16px; }
.wave { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.wave span { width: 6px; border-radius: 3px; background: var(--lagoon); animation: pulse 1.6s ease-in-out infinite; transform-origin: bottom; }
.wave span:nth-child(1) { height: 12px } .wave span:nth-child(2) { height: 24px } .wave span:nth-child(3) { height: 36px }
.wave span:nth-child(4) { height: 20px } .wave span:nth-child(5) { height: 30px } .wave span:nth-child(6) { height: 14px }
.wave span:nth-child(7) { height: 26px } .wave span:nth-child(8) { height: 18px } .wave span:nth-child(9) { height: 10px }
form .btn[type=submit] { align-self: flex-start; }
.wave span:nth-child(odd) { background: #2F5A57; }
.wave span:nth-child(8) { background: var(--sunrise); }
.wave span:nth-child(2) { animation-delay: .1s } .wave span:nth-child(3) { animation-delay: .2s } .wave span:nth-child(4) { animation-delay: .3s }
.wave span:nth-child(5) { animation-delay: .4s } .wave span:nth-child(6) { animation-delay: .5s } .wave span:nth-child(7) { animation-delay: .6s }
.wave span:nth-child(8) { animation-delay: .7s } .wave span:nth-child(9) { animation-delay: .8s }
@keyframes pulse { 0%,100% { transform: scaleY(1) } 50% { transform: scaleY(.55) } }
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; } html { scroll-behavior: auto; } }
.call .note { font-size: 12px; color: var(--on-dark-muted); }

/* sections */
.section { padding: 88px 0; }
.section .wrap { display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.band-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: var(--mist); }
.band-dark .eyebrow { color: var(--sunrise); }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.product { background: var(--mist); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.product .tag { font-size: 13px; font-weight: 700; color: var(--lagoon); letter-spacing: .02em; }
.product h3 { font-size: 28px; font-weight: 800; }
.product p { font-size: 17px; line-height: 1.6; color: var(--slate); }
.product ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.9; }
.code { margin: 0; background: var(--ink); color: var(--tint); border-radius: 16px; padding: 20px; font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre; }

.langs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lang { border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); }
.lang b { font-size: 22px; font-weight: 800; }
.lang small { font-size: 12px; font-weight: 700; color: var(--lagoon); letter-spacing: .04em; }
.lang span { font-size: 14px; color: var(--slate); }
.lang.first { background: var(--ink); color: var(--mist); border-color: var(--ink); }
.lang.first small { color: var(--sunrise); }
.lang.first span { color: var(--on-dark-muted); }
.lang.later { border-style: dashed; border-color: var(--line-strong); }
.lang.later small { color: var(--slate); }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why div { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #2F5A57; padding-top: 20px; }
.why h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.why p { font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }

.cta { padding: 96px 0; text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta h2 { max-width: 760px; }
.cta p { font-size: 18px; line-height: 1.6; color: var(--slate); max-width: 600px; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--slate); }

/* request access */
.access .wrap { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; }
.access-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.access-intro h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.access-intro ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 2; }
.card { flex: 999 1 560px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
@media (max-width: 560px) { .card { padding: 24px; } }
form { display: flex; flex-direction: column; gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, legend { font-size: 14px; font-weight: 600; }
input[type=text], input[type=email], select, textarea {
  padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); width: 100%;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--sunrise); outline-offset: 2px; }
textarea { resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 15px; min-height: 44px; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--lagoon); background: var(--tint); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--slate); }
.consent input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #B42318; font-size: 15px; font-weight: 600; }
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.done h2 { font-size: 32px; }
.done p { font-size: 17px; line-height: 1.6; color: var(--slate); max-width: 520px; }
[hidden] { display: none !important; }

/* phones */
@media (max-width: 600px) {
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
  .nav { gap: 16px; font-size: 14px; width: 100%; justify-content: space-between; }
  .nav .btn { padding: 8px 14px; min-height: 44px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .section { padding: 56px 0; }
  .section .wrap { gap: 28px; }
  .product { padding: 24px; border-radius: 20px; }
  .product h3 { font-size: 24px; }
  .call { padding: 20px; border-radius: 20px; }
  .cta { padding: 64px 0; }
  .actions .btn { flex: 1 1 100%; }
  .lead { font-size: 1.1rem; }
}
