@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/space-grotesk-var.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-var.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-500.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #0b0f19;
  --text: #3f4654;
  --muted: #4b5263;
  --line: #e5e7eb;
  --line-strong: #cfd3dc;
  --soft: #f6f7fb;
  --white: #ffffff;
  --accent: #3546e8;
  --accent-hover: #2a39c9;
  --accent-soft: #3546e81a;
  --link: #2f3fd6;
  --on-dark: #e7e9ef;
  --on-dark-muted: #b9bfcc;
  --on-dark-accent: #9aa6ff;
  --dark-card: #121827;
  --dark-line: #262c3b;
  --star: #c2410c;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { 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(--white); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #1d2aa8; }
:focus-visible { outline: 3px solid #9aa6ff; outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.03em; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 16px; }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--text); max-width: 600px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.nav .nav-cta { margin-left: 8px; background: var(--ink); color: var(--white); font-weight: 600; padding: 11px 18px; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: #232a3b; color: var(--white); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); cursor: pointer; }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: #eef0ff; border-color: #eef0ff; }
.badge-link { display: inline-block; line-height: 0; border-radius: 10px; }
.badge-link img { height: 52px; width: auto; }

/* Hero */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 88px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 68px; font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.stats { display: flex; flex-wrap: wrap; gap: 20px 36px; margin: 48px 0 0; padding: 0; list-style: none; }
.stats strong { display: block; font-family: var(--display); font-size: 32px; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; display: flex; justify-content: center; gap: 20px; align-items: flex-start; }
.hero-visual > img { width: 46%; border-radius: 26px; box-shadow: 0 24px 60px rgba(11,15,25,.18); }
.hero-visual > img + img { margin-top: 56px; }
.float-card { position: absolute; left: -8px; bottom: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 30px rgba(11,15,25,.12); line-height: 1.3; color: var(--ink); text-decoration: none; }
.float-card:hover { color: var(--ink); border-color: var(--line-strong); }
.float-card img { width: 40px; height: 40px; border-radius: 10px; }
.float-card b { display: block; font-size: 14px; font-weight: 600; }
.float-card span { font-size: 13px; color: var(--muted); }
.stars { color: var(--star); letter-spacing: 1px; }

/* Sections */
.section { padding-top: 112px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2, .h2 { font-size: 44px; line-height: 1.08; margin-bottom: 16px; }
.section-head p { font-size: 19px; color: var(--text); margin: 0; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }
.more-link { font-weight: 600; text-decoration: none; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--white); display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 24px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--text); }
.card ul { margin: 0; padding-left: 20px; color: var(--text); font-size: 16px; }
.icon-box { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-box svg { width: 24px; height: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; align-items: center; padding: 0; list-style: none; }
.chips li { font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--soft); }
.chips .chips-label { font-family: var(--body); font-size: 15px; color: var(--muted); border: 0; background: none; padding: 0 6px 0 0; }

/* Featured apps */
.feature-app { border-radius: 24px; background: var(--soft); border: 1px solid var(--line); padding: 32px 32px 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: end; }
.feature-app .body { padding-bottom: 32px; }
.feature-app .icon { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 18px; }
.feature-app h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 6px; }
.feature-app h3 a { color: var(--ink); text-decoration: none; }
.feature-app h3 a:hover { text-decoration: underline; }
.feature-app .rating { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.feature-app p { color: var(--text); }
.feature-app .shot { width: 100%; border-radius: 20px 20px 0 0; }
.app-tile { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-decoration: none; color: var(--ink); background: var(--white); }
.app-tile:hover { border-color: var(--line-strong); color: var(--ink); }
.app-tile img { width: 52px; height: 52px; border-radius: 12px; border: 1px solid #eef0f4; }
.app-tile b { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.25; }
.app-tile .cat { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.app-tile .line { font-size: 15px; color: var(--text); line-height: 1.5; }

/* Dark AI band */
.dark { margin-top: 112px; background: var(--ink); color: var(--on-dark); }
.dark .wrap { padding-top: 96px; padding-bottom: 96px; }
.dark h2 { color: var(--white); }
.dark .eyebrow { color: var(--on-dark-accent); }
.dark .lead { color: var(--on-dark-muted); margin-bottom: 28px; }
.ai-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.ai-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ai-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; border: 1px solid var(--dark-line); border-radius: 18px; padding: 18px 20px; background: var(--dark-card); }
.ai-list img { width: 52px; height: 52px; border-radius: 12px; }
.ai-list code { display: block; font-family: var(--mono); font-size: 13px; color: var(--on-dark-accent); }

/* Steps and values */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.steps .num { font-family: var(--mono); font-size: 14px; color: var(--accent); margin-bottom: 10px; display: block; }
.steps h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--text); font-size: 16px; }
.value { background: var(--soft); border-radius: 20px; padding: 28px; }
.value h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.02em; }
.value p { margin: 0; color: var(--text); font-size: 16px; }

/* CTA band */
.cta { border-radius: 28px; background: var(--accent); color: var(--white); padding: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta h2 { color: var(--white); font-size: 40px; line-height: 1.1; margin-bottom: 10px; }
.cta p { margin: 0; font-size: 18px; max-width: 620px; }

/* Page head and breadcrumbs */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 64px; padding-bottom: 64px; }
.page-head h1 { font-size: 56px; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); }

/* App list page */
.app-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.app-row:first-child { border-top: 1px solid var(--line); }
.app-row > img { width: 96px; height: 96px; border-radius: 22px; border: 1px solid #eef0f4; }
.app-row h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 6px; }
.app-row h2 a { color: var(--ink); text-decoration: none; }
.app-row h2 a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); margin: 0 0 12px; padding: 0; list-style: none; }
.app-row p { color: var(--text); max-width: 760px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; margin: 0; padding: 0; list-style: none; }

/* Product page */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }
.product-hero .big-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 30px rgba(11,15,25,.14); margin-bottom: 24px; }
.product-hero h1 { font-size: 60px; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 18px; }
.product-hero .phone { border-radius: 30px; box-shadow: 0 24px 60px rgba(11,15,25,.18); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.product-meta strong { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-media { order: -1; }
.split h2 { font-size: 38px; line-height: 1.1; margin-bottom: 16px; }
.split p, .split li { color: var(--text); }
.split ul { padding-left: 20px; }
.split-media { display: flex; justify-content: center; gap: 18px; }
.split-media img { width: 48%; max-width: 280px; border-radius: 26px; box-shadow: 0 20px 50px rgba(11,15,25,.14); }
.split-media img:only-child { width: 62%; }
.split-media img + img { margin-top: 48px; }
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0; list-style: none; }
.gallery li { flex: none; scroll-snap-align: start; }
.gallery img { width: 236px; border-radius: 24px; border: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
.plan { border: 1px solid var(--line); border-radius: 22px; padding: 30px; background: var(--white); }
.plan.highlight { border: 2px solid var(--accent); }
.plan h3 { font-size: 24px; margin-bottom: 6px; }
.plan .price { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--text); }
.plan li { margin-bottom: 6px; }
.lang-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.lang-list li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; background: var(--white); }
.disclaimer { font-size: 14px; color: var(--muted); max-width: 820px; }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--text); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: var(--ink); text-decoration: none; }
a.contact-item:hover { border-color: var(--line-strong); color: var(--ink); }
.contact-item b { display: block; font-weight: 600; }
.contact-item span span { color: var(--text); }
.form-card { border: 1px solid var(--line); border-radius: 24px; padding: 36px; background: var(--soft); }
.form { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-weight: 600; font-size: 15px; cursor: pointer; }
.choice input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--white); }
.choice input:focus-visible + label { outline: 3px solid #9aa6ff; outline-offset: 2px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted); }
.input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.input:focus { outline: 3px solid #9aa6ff; outline-offset: 1px; border-color: var(--accent); }
textarea.input { resize: vertical; min-height: 150px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot p { margin: 0; font-size: 14px; color: var(--muted); max-width: 380px; }

/* Legal and prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .6em; letter-spacing: -0.02em; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--text); }
.prose li { margin-bottom: .4em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

/* Footer */
.site-footer { margin-top: 112px; border-top: 1px solid var(--line); background: var(--soft); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.footer-brand svg { width: 30px; height: 30px; }
.site-footer p { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.site-footer h2 { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 2; }
.site-footer ul a { color: var(--text); text-decoration: none; }
.site-footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .hero h1 { font-size: 46px; }
  .page-head h1, .product-hero h1 { font-size: 44px; }
  .section-head h2, .h2 { font-size: 36px; }
  .hero-grid, .ai-grid, .grid-2, .contact-grid, .product-hero, .split, .plans { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-media { order: 0; }
  .product-hero .phone { max-width: 280px; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .nav .nav-cta { margin-left: 0; }
  .hero .wrap, .page-head .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: 38px; }
  .page-head h1, .product-hero h1 { font-size: 36px; }
  .section { padding-top: 80px; }
  .section-head h2, .h2, .split h2 { font-size: 30px; }
  .grid-3, .grid-4, .footer-grid, .row-2 { grid-template-columns: minmax(0, 1fr); }
  .feature-app { grid-template-columns: minmax(0, 1fr) 120px; padding: 24px 20px 0; }
  .feature-app .body { padding-bottom: 24px; }
  .cta { padding: 32px 24px; }
  .cta h2 { font-size: 30px; }
  .form-card { padding: 22px; }
  .app-row { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .app-row > img { width: 64px; height: 64px; border-radius: 15px; }
  .dark { margin-top: 80px; }
  .dark .wrap { padding-top: 64px; padding-bottom: 64px; }
  .site-footer { margin-top: 80px; }
  .gallery img { width: 200px; }
}

/* Helpers */
.section-gap { margin-top: 20px; }
.h1-page { font-size: 56px; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 20px; }
.lead-center { margin-left: auto; margin-right: auto; }
.actions-center { justify-content: center; margin-top: 8px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); font-weight: 500; }
.dark .btn-light { margin-top: 4px; }
@media (max-width: 960px) { .h1-page { font-size: 44px; } }
@media (max-width: 600px) { .h1-page { font-size: 36px; } }
.prose { overflow-wrap: anywhere; }
.prose table { display: block; overflow-x: auto; }
@media (max-width: 600px) { .site-header { position: static; } html { scroll-padding-top: 0; } }
