@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Anton"; src: url("/assets/fonts/Anton_400Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/Montserrat_900Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --bg: #050811; --surface: #0A1222; --surface-2: #0D1930; --line: #19304A; --text: #F4F7FF; --muted: #9AAAC4; --faint: #667792;
  --cyan: #00E5FF; --blue: #1677FF; --purple: #762BFF; --magenta: #E62BFF;
  --grad: linear-gradient(100deg, #00E5FF 0%, #1677FF 38%, #762BFF 72%, #E62BFF 100%);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 Poppins, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line);
  font: 600 1rem Poppins, sans-serif; color: var(--text); background: rgba(255, 255, 255, .04); cursor: pointer; transition: transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 16px 40px -14px rgba(22, 119, 255, .9); }
.btn svg { width: 20px; height: 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(5, 8, 17, .72); border-bottom: 1px solid rgba(25, 48, 74, .6); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 26%; box-shadow: 0 6px 18px -8px rgba(61, 123, 255, .8); }
.top nav { display: flex; gap: 22px; margin-left: auto; color: var(--muted); font-size: .95rem; }
.top nav a:hover { color: var(--text); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.lang { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: 600 .8rem Poppins; cursor: pointer; }
@media (max-width: 760px) { .top nav { display: none; } .top .lang { margin-left: auto; } }

/* hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(40% 40% at 20% 30%, rgba(0, 229, 255, .18), transparent 70%), radial-gradient(35% 40% at 80% 20%, rgba(230, 43, 255, .2), transparent 70%),
  radial-gradient(40% 50% at 60% 70%, rgba(118, 43, 255, .18), transparent 70%); filter: blur(10px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(0, 30px, 0) scale(1.05); } }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  color: var(--muted); font-size: .85rem; font-weight: 600; }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 12px #22C55E; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); line-height: 1.04; margin: 18px 0 16px; font-weight: 800; letter-spacing: -.02em; }
.hero p.lead { color: var(--muted); font-size: 1.12rem; max-width: 30em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--faint); font-size: .88rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--cyan); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* hero: the real Claude demo (recorded by tests/e2e/mcp_demo.mjs) in a phone, with the request and the live tool list */
.demo { position: relative; justify-self: center; display: grid; justify-items: center; }
.device { position: relative; width: min(300px, 74vw); aspect-ratio: 1 / 2; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #1a2a46, #0a1222); box-shadow: 0 50px 90px -40px rgba(22, 119, 255, .75), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #070c18; }
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat { position: absolute; left: -150px; bottom: 34px; width: 262px; padding: 14px 16px; border-radius: 18px; background: rgba(13, 25, 48, .92);
  border: 1px solid #23415F; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); backdrop-filter: blur(10px); }
.chat .who { display: flex; align-items: center; gap: 7px; font-size: .82rem; }
.chat .who .dot { width: 9px; height: 9px; border-radius: 50%; background: #d97757; box-shadow: 0 0 10px #d97757; }
.chat .real { margin-left: auto; font-size: .66rem; color: var(--faint); font-weight: 600; }
.chat .ask { margin: 8px 0 10px; padding: 9px 11px; border-radius: 12px 12px 4px 12px; background: rgba(255, 255, 255, .06); font-size: .84rem; line-height: 1.4; }
.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.tools li { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--faint); transition: color .2s; }
.tools li code { font: 600 .72rem ui-monospace, Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: var(--muted); }
.tools li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #2a4566; flex: none; transition: .2s; }
.tools li.done { color: var(--text); }
.tools li.done code { color: var(--cyan); background: rgba(0, 229, 255, .1); }
.tools li.done::before { border-color: transparent; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23051018' stroke-width='4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
@media (max-width: 1100px) { .chat { left: -110px; } }
/* phones and tablets: the demo comes first, the phone and the request side by side */
@media (max-width: 900px) {
  .demo { order: -1; grid-template-columns: auto 1fr; align-items: center; gap: 12px; justify-self: stretch; }
  .device { width: min(176px, 44vw); border-radius: 28px; padding: 7px; }
  .screen { border-radius: 22px; }
  .chat { position: relative; left: 0; bottom: 0; width: auto; padding: 11px 12px; }
  .chat .ask { font-size: .76rem; margin: 6px 0 8px; }
  .chat .real { display: none; }
  .tools li { font-size: .7rem; gap: 6px; }
  .tools li code { display: none; }
  .demo::after { content: attr(data-real); grid-column: 1 / -1; justify-self: center; font-size: .72rem; color: var(--faint); }
}

/* sections */
section { padding: 70px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12; margin: 0 0 12px; font-weight: 800; letter-spacing: -.01em; }
.sec-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { position: relative; padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  border: 1px solid var(--line); overflow: hidden; }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 229, 255, .1); color: var(--cyan); margin-bottom: 14px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card .tag { position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(230, 43, 255, .14); color: #f0a6ff; }
.steps { counter-reset: s; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; right: 18px; top: 8px; font: 900 3.4rem Montserrat; color: rgba(255, 255, 255, .05); }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.plan.hot { border: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.plan h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.plan .ptag { font-size: .7rem; padding: 2px 9px; border-radius: 999px; background: linear-gradient(90deg, #d97757, #e62bff); color: #fff; }
.plan.ultra { border-color: rgba(230, 43, 255, .55); box-shadow: 0 20px 50px -30px rgba(230, 43, 255, .8); } .plan .price { font: 800 2rem Poppins; margin: 8px 0 2px; } .plan small { color: var(--faint); }
.plan ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: .93rem; }
.plan li::before { content: "✓"; color: var(--cyan); font-weight: 800; margin-right: 8px; }
.band { border-radius: 26px; padding: 40px; background: radial-gradient(60% 120% at 0 0, rgba(0, 229, 255, .16), transparent), radial-gradient(60% 120% at 100% 100%, rgba(230, 43, 255, .16), transparent), var(--surface);
  border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.band p { margin: 0; color: var(--muted); }
footer { padding: 36px 0 50px; color: var(--faint); font-size: .88rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 18px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* feature cards: a real recording of the editor doing it (tests/e2e/web_demos.mjs) */
.card.has-demo { padding-top: 0; }
.card .demo-vid { display: block; width: calc(100% + 48px); margin: 0 -24px 16px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top;
  background: #070c18 center / cover; border-bottom: 1px solid var(--line); }
.card.has-demo .ic { position: absolute; top: 12px; left: 12px; margin: 0; background: rgba(5, 8, 17, .75); backdrop-filter: blur(6px); z-index: 1; }
.steps .card.has-demo::before { z-index: 1; top: auto; bottom: 8px; }
