/* ANA public site. Colours come from the logo: red, blue, green, orange. */
:root {
  --red: #f41f22;
  --blue: #27a8ea;
  --green: #24b24c;
  --orange: #f7941e;
  --blue-600: #0b78b6;   /* blue dark enough for white text and links */
  --blue-700: #095f91;
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #5b6779;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --navy: #0d1626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px -12px rgba(15, 27, 45, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
.icon { flex-shrink: 0; vertical-align: -.18em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(39, 168, 234, .55); outline-offset: 2px; border-radius: 6px; }

/* Four-colour stripe: the logo's signature, used once at the very top. */
.topstripe { display: flex; height: 4px; }
.topstripe i { flex: 1; }
.topstripe i:nth-child(1) { background: var(--red); }
.topstripe i:nth-child(2) { background: var(--blue); }
.topstripe i:nth-child(3) { background: var(--green); }
.topstripe i:nth-child(4) { background: var(--orange); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .97rem;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .15s, border-color .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 120, 182, .7); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c5cfdc; background: var(--bg-soft); }
.btn-danger { background: #fff; color: #c4161a; border-color: #f3c2c3; }
.btn-danger:hover { background: #fdeeee; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eaf1f8; }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---- Navigation ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { color: var(--ink-2); font-weight: 600; font-size: .96rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links > a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav-links > a.is-active { color: var(--ink); border-bottom-color: var(--blue); }
.nav-sep { width: 1px; height: 22px; background: var(--line); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 72px 0 120px;
  background:
    radial-gradient(600px 320px at 12% 0%, rgba(39, 168, 234, .13), transparent 70%),
    radial-gradient(520px 300px at 95% 12%, rgba(247, 148, 30, .12), transparent 70%),
    radial-gradient(520px 320px at 70% 100%, rgba(36, 178, 76, .10), transparent 70%),
    var(--bg-soft); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--bg); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--orange); }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue-600); }
.lead { font-size: 1.14rem; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .93rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--green); }

/* Product mock-up, drawn in CSS so it stays sharp at any size */
.mock { background: var(--navy); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(13, 22, 38, .55), 0 0 0 1px rgba(13, 22, 38, .08); overflow: hidden; color: #cdd6e4; font-size: 12px; transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #152238; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar i:nth-child(1) { background: var(--red); }
.mock-bar i:nth-child(2) { background: var(--orange); }
.mock-bar i:nth-child(3) { background: var(--green); }
.mock-url { margin-left: 10px; flex: 1; background: #0d1626; border-radius: 6px; padding: 4px 10px; color: #7f8ba0; font-family: var(--mono); font-size: 11px; }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 330px; }
.mock-side { background: #111c2f; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.mock-side b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; padding: 0 6px 12px; }
.mock-side b img { width: 20px; height: 20px; }
.mock-side span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; color: #8f9bb0; }
.mock-side span.on { background: rgba(39, 168, 234, .16); color: #fff; }
.mock-side span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mock-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-tile { background: #16233a; border-radius: 8px; padding: 10px; border-top: 3px solid var(--c); }
.mock-tile small { display: block; color: #8f9bb0; font-size: 10px; }
.mock-tile strong { font-size: 19px; color: #fff; letter-spacing: -.02em; }
.mock-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; flex: 1; }
.mock-card { background: #16233a; border-radius: 8px; padding: 12px; min-width: 0; }
.mock-card h5 { margin: 0 0 10px; font-size: 11px; color: #8f9bb0; font-weight: 600; letter-spacing: 0; }
.mock-bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; }
.mock-bars i { flex: 1; background: var(--blue); border-radius: 4px 4px 0 0; height: var(--h); opacity: .9; }
.mock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mock-list li { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.mock-list li span { overflow: hidden; text-overflow: ellipsis; }
.mock-list li i { flex-shrink: 0; margin-left: auto; font-style: normal; font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 20px; color: #0d1626; background: var(--c); }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head .eyebrow { justify-content: center; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature h3 { font-size: 1.06rem; font-weight: 700; margin: 16px 0 8px; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.6; }
.tile { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); }
.c-red { --c: var(--red); } .c-blue { --c: var(--blue-600); } .c-green { --c: #1a9a3f; } .c-orange { --c: #e07f08; }

/* Alternating text + picture blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip .split-text { order: 2; }
.split h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
.split-text > p { color: var(--ink-2); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks .icon { color: var(--green); margin-top: 4px; }
.ticks b { color: var(--ink); }
.visual { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 34px; position: relative; }

.lic-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.lic-card header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.lic-card header strong { display: block; font-size: .98rem; }
.lic-card header small { color: var(--muted); font-family: var(--mono); font-size: .78rem; }
.lic-card header .badge { margin-left: auto; }
.lic-card dl { margin: 0; padding: 8px 20px 14px; }
.lic-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.lic-card dl div:last-child { border-bottom: 0; }
.lic-card dt { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.lic-card dd { margin: 0; font-family: var(--mono); font-size: .86rem; font-weight: 600; }

.sec-list { display: grid; gap: 12px; }
.sec-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(15, 27, 45, .04); }
.sec-item strong { display: block; font-size: .95rem; }
.sec-item small { color: var(--muted); }
.sec-item .tile { width: 40px; height: 40px; border-radius: 10px; }

.chat { display: grid; gap: 12px; }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: .94rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 27, 45, .04); }
.bubble small { display: block; color: var(--muted); font-size: .76rem; margin-bottom: 2px; font-weight: 600; }
.bubble.me { justify-self: end; background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.bubble.me small { color: rgba(255, 255, 255, .8); }
.chat-status { justify-self: center; font-size: .8rem; font-weight: 700; color: #1a9a3f; background: #e6f6eb; padding: 4px 12px; border-radius: 20px; }

/* Numbers band */
.band { background: var(--navy); color: #fff; padding: 64px 0; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.band-grid strong { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--c); }
.band-grid span { color: #a9b5c8; font-size: .95rem; }
.band .c-blue { --c: var(--blue); } .band .c-green { --c: #3fcf68; } .band .c-orange { --c: var(--orange); } .band .c-red { --c: #ff5a5c; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; font-weight: 700; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Call to action */
.cta { background: linear-gradient(120deg, #0b78b6, #0f5f93 60%, #0d4f7c); color: #fff; border-radius: 24px; padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 34em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }

/* ---- Footer ---- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 0; margin-top: 88px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 30em; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid > div > a:not(.brand) { display: block; color: var(--ink-2); padding: 4px 0; overflow-wrap: anywhere; }
.footer-bottom { margin-top: 44px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ---- Page header (pricing, docs, forms) ---- */
.page-head { background: var(--bg-soft); padding: 60px 0 56px; text-align: center; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0 auto; }

/* ---- Pricing ---- */
.billing { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-top: 26px; }
.billing button { font: inherit; font-weight: 700; font-size: .93rem; border: 0; background: none; padding: 9px 20px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: stretch; margin-top: 48px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.price.featured { border: 2px solid var(--blue-600); box-shadow: var(--shadow); }
.price .flag { position: absolute; top: -13px; left: 28px; background: var(--orange); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.price h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.price .tagline { color: var(--muted); font-size: .94rem; min-height: 3em; margin: 0; }
.price .amount { font-size: 2.7rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 18px 0 4px; }
.price .per { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.price .limits { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.price li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.price li .icon { color: var(--green); margin-top: 4px; }
[data-billing="lifetime"] .only-yearly, [data-billing="yearly"] .only-lifetime { display: none; }
.note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 28px; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-600); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }

/* ---- Documentation ---- */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 48px; align-items: start; }
.docs-nav { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; font-size: .93rem; padding-right: 8px; }
.docs-nav h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin: 20px 0 8px; }
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav a { display: block; padding: 5px 12px; color: var(--ink-2); border-left: 2px solid var(--line); }
.docs-nav a:hover { color: var(--ink); text-decoration: none; border-left-color: #b9c4d3; }
.docs-nav a.is-active { color: var(--blue-600); border-left-color: var(--blue-600); font-weight: 700; }
.docs-body { max-width: 780px; min-width: 0; }
.docs-body section { padding-bottom: 20px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.docs-body section:last-child { border-bottom: 0; }
.docs-body h2 { font-size: 1.65rem; font-weight: 800; margin-bottom: .6em; }
.docs-body h3 { font-size: 1.12rem; font-weight: 700; margin: 1.6em 0 .5em; }
.docs-body p, .docs-body li { color: var(--ink-2); }
.docs-body li { margin-bottom: 6px; }
.docs-body ol, .docs-body ul { padding-left: 22px; margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: #eef2f7; padding: 2px 6px; border-radius: 5px; overflow-wrap: anywhere; }
pre { background: var(--navy); color: #dbe4f0; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: .86rem; line-height: 1.6; margin: 0 0 1.2em; }
pre code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }
.callout { border-left: 4px solid var(--c, var(--blue)); background: color-mix(in srgb, var(--c, var(--blue)) 8%, #fff); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 1.2em; }
.callout p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg-soft); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* ---- Forms ---- */
.form-page { padding: 56px 0 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.auth { max-width: 430px; margin: 0 auto; }
.auth .card { box-shadow: var(--shadow); padding: 34px 32px; }
.auth-logo { display: block; margin: 0 auto 14px; }
.auth h1 { font-size: 1.5rem; font-weight: 800; text-align: center; }
.auth .sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.auth-foot { text-align: center; color: var(--muted); font-size: .93rem; margin-top: 18px; }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: .85rem; margin-top: 5px; }
.input, select.input, textarea.input { width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: #fff; border: 1px solid #cdd6e2; border-radius: 10px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(39, 168, 234, .18); }
textarea.input { min-height: 110px; resize: vertical; }
.input.mono { font-family: var(--mono); font-size: .92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.check input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--blue-600); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: .95rem; border: 1px solid; overflow-wrap: anywhere; }
.alert-success { background: #e9f7ee; border-color: #b9e4c6; color: #136b2c; }
.alert-error { background: #fdeeee; border-color: #f6c5c6; color: #a11215; }
.alert-info { background: #e9f5fd; border-color: #bfe1f6; color: #095f91; }
.alert-warn { background: #fef4e5; border-color: #f9d9a8; color: #8a4d02; }

.badge { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .03em; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.badge-ok { background: #e6f6eb; color: #136b2c; }
.badge-warn { background: #fef1dc; color: #8a4d02; }
.badge-bad { background: #fde8e8; color: #a11215; }
.badge-info { background: #e3f3fc; color: #095f91; }
.badge-muted { background: #edf1f6; color: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .split.flip .split-text { order: 0; }
  .mock { transform: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav { position: static; max-height: none; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.btn) { padding: 10px 4px; border-bottom: 0; }
  .nav-sep { display: none; }
  .hero { padding: 48px 0 96px; }
  .section { padding: 64px 0; }
  .features, .steps, .form-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-tiles { grid-template-columns: 1fr 1fr; }
  .mock-row { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .visual { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .split + .split { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
