:root {
  --ink: #0a0f1c;
  --muted: #5a6175;
  --line: #e4e7ee;
  --bg: #ffffff;
  --soft: #f2f4f7;
  --blue: #2563ff;
  --g1: #4f6bff;
  --g2: #89c6ff;
  --grad: linear-gradient(135deg, var(--g1), var(--g2));
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: #1b2236; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-light { background: #fff; color: var(--ink); word-break: break-all; }
.btn-light:hover { background: #f4f7ff; }
:focus-visible { outline: 3px solid var(--g1); outline-offset: 3px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(228,231,238,.7); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.top .btn { margin-left: auto; }
@media (min-width: 820px) { .nav { display: flex; } .top .btn { margin-left: 0; } }

.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g1); }
.eyebrow-light { color: var(--g2); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 10%, #eef2ff 0%, rgba(238,242,255,0) 70%), #fff; }
.hero-in { display: grid; gap: 40px; padding: 56px 16px 64px; }
@media (min-width: 720px) { .hero-in { padding: 72px 28px 88px; } }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 96px; padding-bottom: 112px; } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; margin: 22px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-art { position: relative; min-height: 340px; max-width: 440px; width: 100%; justify-self: center; }
.hero-iso { width: 72%; margin: 18px auto 0; filter: drop-shadow(0 30px 60px rgba(79,107,255,.28)); }
.chip { position: absolute; display: flex; flex-direction: column; gap: 2px; max-width: 250px; padding: 12px 16px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(10,15,28,.10); backdrop-filter: blur(6px); }
.chip-k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chip-v { font-size: 14px; font-weight: 500; line-height: 1.4; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.chip-1 { left: 0; top: 4px; }
.chip-2 { right: 0; top: 46%; }
.chip-3 { left: 6%; bottom: 0; }
@media (max-width: 420px) { .chip { max-width: 210px; } .chip-v { font-size: 13px; } }

.press-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.press-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 32px; padding: 18px 16px; }
.press-strip span { font-size: 13px; color: var(--muted); }
.press-strip a { color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; opacity: .75; }
.press-strip a:hover { opacity: 1; }

.sec { padding: 80px 0; }
@media (min-width: 720px) { .sec { padding: 112px 0; } }
.sec-alt { background: var(--soft); }
.sec h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 700; max-width: 20em; }
.sub { color: var(--muted); max-width: 44em; margin: 18px 0 0; font-size: 1.05rem; }

.services { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(4, 1fr); } }
.svc { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.svc svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #eef2ff; fill: none; stroke: var(--g1); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.15rem; margin: 20px 0 8px; font-weight: 600; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; }

.ai { display: grid; gap: 28px; margin-top: 24px; padding: 36px 28px; border-radius: 24px; background: radial-gradient(600px 300px at 100% 0%, rgba(79,107,255,.45), rgba(79,107,255,0) 70%), var(--ink); color: #fff; }
@media (min-width: 900px) { .ai { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 48px; } }
.ai h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; }
.ai ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ai li { position: relative; padding-left: 30px; color: #d7dcea; }
.ai li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }

.works { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 640px) { .works { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .works { grid-template-columns: repeat(3, 1fr); } }
.work { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.work-logo { height: 96px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 20px; }
.work-logo img { max-height: 76px; max-width: 70%; width: auto; object-fit: contain; }
.work-logo img.tall { max-height: 96px; }
.tag { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--g1); }
.work h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.work p:last-child { margin: 0; color: var(--muted); font-size: 15px; }
.work a { font-weight: 600; }

.press { display: grid; gap: 24px; margin-top: 44px; }
@media (min-width: 960px) { .press { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.press-photo { margin: 0; }
.press-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.press-photo figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.press-list { display: grid; gap: 12px; }
.note { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.note:hover { border-color: var(--g1); transform: translateY(-1px); }
.note-src { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g1); }
.note-t { font-weight: 600; line-height: 1.4; }
.note-d { font-size: 13px; color: var(--muted); }

.steps { list-style: none; counter-reset: s; margin: 48px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.steps li::before { content: "0" counter(s); font-weight: 700; font-size: 14px; color: var(--g1); }
.steps b { font-weight: 600; font-size: 1.1rem; }
.steps span { color: var(--muted); font-size: 15px; }

.contact { text-align: center; padding: 56px 24px; border-radius: 28px; background: var(--grad); color: #fff; }
@media (min-width: 720px) { .contact { padding: 80px 48px; } }
.contact h2 { margin: 0 auto; color: #fff; }
.contact p { margin: 14px auto 28px; font-size: 1.1rem; opacity: .95; }

.foot { border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 16px; padding: 36px 16px 44px; font-size: 14px; color: var(--muted); }
@media (min-width: 720px) { .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 36px 28px 44px; } }
.foot img { height: 28px; width: auto; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 760px; padding: 48px 16px 80px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; font-weight: 600; margin: 36px 0 10px; }
.legal p, .legal li { color: #2b3245; margin: 0 0 10px; }
.legal ul { padding-left: 22px; }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal .box { background: var(--soft); border-radius: 14px; padding: 18px 22px; }
.legal .small { font-size: 14px; color: var(--muted); }
