:root {
  --bg: #121316;
  --bg-2: #17191d;
  --card: #1b1d22;
  --card-2: #20232a;
  --line: #2a2d35;
  --line-2: #363a44;
  --text: #979eaf;
  --text-2: #c3c8d4;
  --white: #ffffff;
  --cyan: #00fff7;
  --cyan-dim: rgba(0, 255, 247, 0.12);
  --cyan-glow: rgba(0, 255, 247, 0.35);
  --green: #3ee08f;
  --amber: #ffbe55;
  --red: #ff6b6b;
  --radius: 14px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.6 "Nunito Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(0, 255, 247, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(80, 120, 255, 0.05), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--cyan); color: #000; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Poppins, system-ui, sans-serif; color: var(--white); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(18, 19, 22, 0.72); border-bottom: 1px solid rgba(255,255,255,0.04); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font: 600 20px Poppins, sans-serif; letter-spacing: -0.01em; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan-glow); }
.brand small { font: 400 13px "Nunito Sans", sans-serif; color: var(--text); margin-left: 2px; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.nav-links a:hover { color: var(--white); }

/* buttons & inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px Poppins, sans-serif; border: 0; cursor: pointer; border-radius: 10px;
  padding: 13px 20px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
}
.btn-primary { background: var(--cyan); color: #04211f; box-shadow: 0 0 0 0 var(--cyan-glow); }
.btn-primary:hover { box-shadow: 0 6px 30px -6px var(--cyan-glow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; }

label { display: block; font-size: 13px; color: var(--text-2); margin: 0 0 6px; font-weight: 600; }
.field { margin-bottom: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=url], textarea {
  width: 100%; font: 400 16px "Nunito Sans", sans-serif; color: var(--white);
  background: #121418; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }
input::placeholder, textarea::placeholder { color: #5d6474; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text); line-height: 1.45; font-weight: 400; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--cyan); width: 16px; height: 16px; flex: none; }
.err { color: var(--red); font-size: 14px; min-height: 1.4em; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 18px; }
.eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--cyan-glow); } 70% { box-shadow: 0 0 0 10px rgba(0,255,247,0); } 100% { box-shadow: 0 0 0 0 rgba(0,255,247,0); } }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.03em; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lede { font-size: 19px; color: var(--text-2); margin: 22px 0 28px; max-width: 560px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--text-2); }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--cyan); }

.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); }
.form-card { padding: 28px; position: relative; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.form-card::before { content: ""; position: absolute; inset: -1px; border-radius: var(--radius); padding: 1px; background: linear-gradient(140deg, rgba(0,255,247,.5), transparent 40%, transparent 70%, rgba(0,255,247,.2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-card h3 { font-size: 21px; margin-bottom: 4px; }
.form-card .sub { font-size: 14px; margin-bottom: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fine { font-size: 12.5px; color: #6c7383; text-align: center; margin-top: 12px; }

/* call demo strip */
.callstrip { margin-top: 56px; padding: 22px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.callmeta { display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #2bfff8, #009b96); color: #032; font: 700 20px Poppins; box-shadow: 0 0 24px var(--cyan-glow); flex: none; }
.callmeta b { color: var(--white); font-family: Poppins; display: block; }
.callmeta small { color: var(--green); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.wave i { width: 2px; background: var(--green); border-radius: 2px; animation: wave 1s infinite ease-in-out; }
.wave i:nth-child(2) { animation-delay: .1s } .wave i:nth-child(3) { animation-delay: .2s } .wave i:nth-child(4) { animation-delay: .3s }
@keyframes wave { 0%,100% { height: 3px } 50% { height: 12px } }
.lines { font-size: 15px; min-height: 96px; }
.lines p { margin: 0 0 6px; opacity: 0; transform: translateY(4px); transition: all .35s ease; }
.lines p.on { opacity: 1; transform: none; }
.lines .who { font-weight: 700; color: var(--white); margin-right: 6px; }
.lines .otto .who { color: var(--cyan); }

/* sections */
section { padding: 80px 0; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.02em; margin-bottom: 14px; }
.sec-head p { font-size: 18px; }
.kicker { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 12px; display: block; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 24px; position: relative; }
.step .n { font: 600 13px var(--mono); color: var(--cyan); margin-bottom: 18px; display: block; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 26px; }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--cyan-dim); color: var(--cyan); margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; margin: 0; }

.builder { padding: 48px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.builder h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; letter-spacing: -0.02em; }
.builder p { font-size: 17px; color: var(--text-2); }
.stack { font: 13px/1.9 var(--mono); color: var(--text); }
.stack div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line-2); padding: 4px 0; }
.stack div span:last-child { color: var(--cyan); }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; color: var(--white); font: 500 17px Poppins, sans-serif; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }

.cta-final { text-align: center; padding: 90px 0 100px; }
.cta-final h2 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-final p { font-size: 18px; margin-bottom: 28px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a:hover { color: var(--white); }

/* ---------- build page ---------- */
.build-head { padding: 44px 0 24px; }
.build-head h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; }
.build-head p { font-size: 17px; color: var(--text-2); margin-top: 10px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 26px; }
.progress .p { font-size: 13px; color: #6c7383; font-weight: 600; }
.progress .p i { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; overflow: hidden; position: relative; }
.progress .p.active { color: var(--white); }
.progress .p.active i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--cyan); animation: slide 1.1s infinite ease-in-out; border-radius: 4px; }
.progress .p.done { color: var(--text-2); }
.progress .p.done i { background: var(--cyan); }
@keyframes slide { 0% { transform: translateX(-100%) } 100% { transform: translateX(250%) } }

.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 40px; }
.panel { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 600 14px Poppins, sans-serif; color: var(--white); }
.panel-h small { font: 400 12px var(--mono); color: var(--text); }
.term { font: 13px/1.65 var(--mono); padding: 14px 18px; height: 460px; overflow-y: auto; color: var(--text-2); }
.lanes { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.lane { padding: 10px 14px; border-right: 1px solid var(--line); min-width: 0; position: relative; }
.lane:last-child { border-right: 0; }
.lane .ln { font: 800 11px "Nunito Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--text); }
.lane .lc { display: block; font: 600 20px Poppins, sans-serif; color: var(--white); line-height: 1.3; }
.lane .ll { display: block; font: 12px var(--mono); color: #5d6474; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane.on .ln { color: var(--cyan); }
.lane.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); background-size: 50% 100%;
  background-repeat: no-repeat; animation: sweep 1.1s linear infinite; }
@keyframes sweep { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.lanes + .term { height: 398px; }
@media (max-width: 640px) {
  .lanes { grid-template-columns: repeat(2, 1fr); }
  .lane:nth-child(2) { border-right: 0; }
  .lane:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .lane.on::after { animation: none; background-position: 50% 0; } }
.term .l { display: flex; gap: 10px; animation: fadein .3s ease; }
.term .t { color: #5d6474; flex: none; }
.term .k { color: var(--cyan); flex: none; width: 64px; }
.term .k.fact { color: var(--green); }
.term .k.warn { color: var(--amber); }
.term .k.bad { color: var(--red); }
.term .m { word-break: break-word; min-width: 0; }
.term .cursor { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0 } }
@keyframes fadein { from { opacity: 0; transform: translateY(3px) } to { opacity: 1; transform: none } }

.kb { padding: 18px; height: 460px; overflow-y: auto; }
.kb .empty { color: #5d6474; font-size: 14px; display: grid; place-items: center; height: 100%; text-align: center; }
.kb h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); margin: 18px 0 8px; font-family: "Nunito Sans"; font-weight: 800; }
.kb h4:first-child { margin-top: 0; }
.kb .one { color: var(--white); font-size: 17px; font-family: Poppins; margin-bottom: 4px; }
.kb ul { margin: 0; padding: 0; list-style: none; }
.kb li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; }
.kb li b { color: var(--text-2); font-weight: 600; }
.kb li span.price { color: var(--cyan); white-space: nowrap; }
.kb .q { color: var(--text-2); font-weight: 600; display: block; }
.kb .gap li { color: var(--amber); }

.ready { padding: 34px; margin-bottom: 28px; display: none; }
.ready.show { display: block; animation: fadein .5s ease; }
.ready-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ready h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; margin-bottom: 10px; }
.ready h2 em { color: var(--cyan); font-style: normal; }
.ready .insight { border-left: 3px solid var(--cyan); padding: 4px 0 4px 14px; color: var(--text-2); font-size: 15px; margin: 18px 0 0; }
.phone-row { display: flex; gap: 10px; }
.phone-row input { flex: 1; }

.callstate { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #121418; border: 1px solid var(--line-2); font-size: 15px; color: var(--white); align-items: center; gap: 12px; }
.callstate.show { display: flex; }
.ring { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); animation: pulse 1.4s infinite; flex: none; }
.ring.live { background: var(--green); }
.ring.end { background: #6c7383; animation: none; }

.chat { display: flex; flex-direction: column; height: 460px; }
.msgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; animation: fadein .25s ease; word-wrap: break-word; }
.msg.otto { background: var(--card-2); border: 1px solid var(--line-2); color: var(--text-2); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--cyan); color: #04211f; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 600; }
.msg.phone { border-style: dashed; }
.msg .tag { display: block; font: 600 11px var(--mono); color: var(--cyan); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .06em; }
.msg.me .tag { color: #035a56; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--text); margin-right: 3px; animation: bounce 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s } .typing span:nth-child(3) { animation-delay: .3s }
@keyframes bounce { 0%,100% { transform: translateY(0); opacity: .4 } 50% { transform: translateY(-4px); opacity: 1 } }
.callmsgs { height: 460px; }
.empty-note { color: #5d6474; font-size: 14px; margin: auto; text-align: center; max-width: 280px; }
.composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.composer input { flex: 1; }
.icon-btn { width: 46px; height: 46px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); background: #121418; color: var(--text-2); cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.icon-btn.on { background: var(--cyan); color: #04211f; border-color: var(--cyan); }
.icon-btn.rec { background: var(--red); border-color: var(--red); color: #fff; animation: pulse 1.4s infinite; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; }
.suggest button { font: 13px "Nunito Sans"; background: transparent; border: 1px solid var(--line-2); color: var(--text-2); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.suggest button:hover { border-color: var(--cyan); color: var(--cyan); }

.booked { display: none; padding: 26px; margin-bottom: 28px; border-color: rgba(62,224,143,.5); }
.booked.show { display: flex; gap: 18px; align-items: center; animation: fadein .5s ease; }
.booked .chk { width: 44px; height: 44px; border-radius: 50%; background: rgba(62,224,143,.15); color: var(--green); display: grid; place-items: center; flex: none; }
.booked h3 { font-size: 20px; margin-bottom: 4px; }
.booked p { margin: 0; }

.bookform { padding: 26px; margin-bottom: 60px; }
.bookform .row3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.failed { display: none; padding: 26px; margin-bottom: 28px; border-color: rgba(255,107,107,.5); }
.failed.show { display: block; }

.hidden { display: none !important; }

@media (max-width: 960px) {
  .hero-grid, .ready-grid, .builder, .build-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .callstrip { grid-template-columns: 1fr; }
  .bookform .row3 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 40px 0 32px; }
  .steps, .features, .row2 { grid-template-columns: 1fr; }
  .builder, .ready { padding: 24px; }
  section { padding: 56px 0; }
  .phone-row { flex-direction: column; }
  .term, .kb, .chat, .callmsgs { height: 380px; }
  .progress .p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
