/* Highfield. One accent (lime), neutral greys, Geist.
   Shapes: buttons are pills, surfaces 20px, inputs 12px. */

@font-face { font-family: Geist; src: url(/fonts/Geist-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/GeistMono-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f5f5f3;
  --surface: #ffffff;
  --surface-2: #ececea;
  --ink: #121412;
  --muted: #5b605c;
  --line: #e0e1de;
  --accent: #c6f04a;
  --accent-ink: #11160a;
  --shadow: 0 1px 0 rgb(18 20 18 / .04), 0 24px 60px -24px rgb(18 20 18 / .22);
  --r: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e0d;
    --surface: #151715;
    --surface-2: #1c1f1c;
    --ink: #ecedea;
    --muted: #9ca19d;
    --line: #262926;
    --shadow: 0 1px 0 rgb(255 255 255 / .03), 0 24px 60px -24px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Geist, system-ui, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 999px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { height: 68px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 19px; letter-spacing: -.025em; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.top .actions { display: flex; align-items: center; gap: 18px; }
.login { font-size: 15px; color: var(--muted); text-decoration: none; }
.login:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 600 15.5px/1 Geist, system-ui, sans-serif; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; transition: transform .18s cubic-bezier(.2,.8,.2,1), background-color .18s, box-shadow .18s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: inset 0 0 0 100px rgb(0 0 0 / .06); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--muted); }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 640; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 76px); letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.sub { color: var(--muted); font-size: 19px; max-width: 44ch; }
.muted { color: var(--muted); }

section { padding: 120px 0; }
.head { max-width: 680px; margin-bottom: 56px; }
.head p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 56ch; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding: 0 .04em; }
@media (prefers-color-scheme: dark) { .hero h1 em { background: none; color: var(--accent); } }

/* Compare slider */
.compare { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 1280 / 900; --pos: 50%; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.compare .after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .25); pointer-events: none; transition: transform .2s; }
.compare .knob svg { width: 20px; height: 20px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input:focus-visible ~ .knob { outline: 2px solid var(--ink); outline-offset: 3px; }
.compare:active .knob { transform: scale(.94); }
.caption { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; color: var(--muted); }
.caption a { color: var(--ink); }

/* Phones */
.phones { display: grid; grid-template-columns: 1fr auto auto 1fr; gap: 48px; align-items: start; }
.phone { width: 300px; }
.phone .screen { border-radius: 36px; overflow: hidden; border: 8px solid var(--ink); background: var(--surface-2); aspect-ratio: 390 / 844; box-shadow: var(--shadow); }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone h3 { font-size: 17px; margin-top: 20px; }
.phone p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; align-self: center; }
.changes li { max-width: 30ch; }
.changes b { display: block; font-weight: 600; letter-spacing: -.01em; }
.changes span { color: var(--muted); font-size: 15px; }
.changes.left { justify-self: end; text-align: right; }
.changes.left li { margin-left: auto; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { border-radius: var(--r); padding: 36px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 300px; position: relative; overflow: hidden; }
.tile p { color: var(--muted); max-width: 46ch; }
.tile .price { margin-top: auto; font-weight: 600; font-size: 15px; }
.tile-web { grid-column: span 6; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 44px; align-items: center; }
.tile-web .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-1.2deg) translateY(8px); }
.tile-web ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.tile-web li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); }
.tile-web li svg { width: 14px; height: 14px; flex: none; transform: translateY(2px); color: var(--ink); }
.tile-chat { grid-column: span 3; background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.tile-chat p { color: rgb(17 22 10 / .72); }
.tile-agent { grid-column: span 3; background: var(--ink); border-color: transparent; color: var(--bg); }
.tile-agent p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.tile .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .55); }
.tile-agent .icon { background: rgb(255 255 255 / .1); color: var(--accent); }
@media (prefers-color-scheme: dark) { .tile-agent { background: var(--surface-2); color: var(--ink); border-color: var(--line); } .tile-agent p { color: var(--muted); } }
.tile .icon svg { width: 22px; height: 22px; }
.tile .examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tile .examples span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgb(0 0 0 / .07); }
.tile-agent .examples span { background: rgb(255 255 255 / .1); }
@media (prefers-color-scheme: dark) { .tile-agent .examples span { background: rgb(255 255 255 / .06); } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { list-style: none; border-top: 1px solid var(--line); padding-top: 22px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.steps h3::before { counter-increment: s; content: counter(s); font: 500 13px/1 "Geist Mono", monospace; color: var(--muted); }
.steps p { color: var(--muted); font-size: 16px; }
.steps { padding: 0; margin: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: stretch; }
.plan { border-radius: var(--r); padding: 40px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.main { box-shadow: var(--shadow); }
.plan .amount { font-size: 64px; font-weight: 640; letter-spacing: -.05em; line-height: 1; margin: 22px 0 6px; font-feature-settings: "tnum"; }
.plan .amount small { font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); margin-left: 4px; }
.plan .note { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li svg { width: 16px; height: 16px; flex: none; transform: translateY(3px); }
.plan.main li svg { color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 3px; width: 20px; height: 20px; transform: translateY(4px); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans-foot { margin-top: 24px; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform .25s cubic-bezier(.2,.8,.2,1); margin-top: 4px; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; max-width: 62ch; }

/* Contact */
.contact { background: var(--ink); color: var(--bg); border-radius: 28px; padding: 72px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
@media (prefers-color-scheme: dark) { .contact { background: var(--surface); color: var(--ink); border: 1px solid var(--line); } }
.contact h2 { font-size: clamp(34px, 4.2vw, 56px); }
.contact .lead { margin-top: 20px; opacity: .72; font-size: 18px; max-width: 38ch; }
.contact .mail { display: inline-block; margin-top: 32px; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-weight: 400; opacity: .7; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: inherit; width: 100%;
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); border-radius: 12px; padding: 13px 14px;
  transition: border-color .15s, background-color .15s;
}
@media (prefers-color-scheme: dark) { .field input, .field select, .field textarea { background: var(--bg); border-color: var(--line); } }
.field select option { color: #121412; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgb(255 255 255 / .09); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #ffb4a8; font-size: 14px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #ffb4a8; }
.form .send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form .status { font-size: 15px; opacity: .85; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.foot { padding: 56px 0 64px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Reveal on scroll (only when motion is welcome and JS is running) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .hero-in > * { animation: rise .9s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i, 0) * 80ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}

/* Legal pages */
.doc { padding: 72px 0 40px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.doc h2 { font-size: 24px; letter-spacing: -.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }

/* Responsive */
@media (max-width: 1080px) {
  .phones { grid-template-columns: 1fr 1fr; justify-items: center; }
  .changes { grid-column: span 2; grid-template-columns: 1fr 1fr; text-align: left !important; justify-self: stretch !important; }
  .changes.left { order: 3; }
  .changes:not(.left) { order: 4; }
  .changes li { margin: 0 !important; max-width: none; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .top .actions { margin-left: auto; }
  section { padding: 80px 0; }
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .tile-web { grid-template-columns: 1fr; padding: 32px; }
  .tile-chat, .tile-agent { grid-column: span 6; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans, .faq, .contact { grid-template-columns: 1fr; }
  .faq { gap: 24px; }
  .contact { padding: 40px 24px; gap: 40px; border-radius: 22px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .phones { grid-template-columns: 1fr 1fr; gap: 16px; }
  .phone { width: 100%; }
  .phone .screen { border-width: 5px; border-radius: 24px; }
  .changes { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .tile { padding: 28px; min-height: 0; }
  .plan { padding: 28px; }
  .plan .amount { font-size: 52px; }
  .form .row { grid-template-columns: 1fr; }
  .login { display: none; }
  .head { margin-bottom: 40px; }
}
