/* shopify.kaviolabs.com: Kavio Labs sales site for Shopify apps.
   Brand kit: website/brand/kavio-logo/BRAND.md (Ink / Module Orange / Paper). Type and tokens follow the platform
   landings (website/landings/src/styles/landings.css): Instrument Sans + Geist Mono, self-hosted.
   Shopify line accent: "Lagoon" teal, the Catalog family tint of the Kavio icon system (#0E4A4F), with a mid tone for
   text and a pale wash. Orange stays scarce: primary CTAs (Ink text on orange) and the logo module only. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/site/fonts/instrument-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/site/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/site/fonts/geist-mono-latin.woff2) format("woff2"); }
/* Metric-matched fallback so the swap to the web font does not shift the layout. */
@font-face { font-family: "Instrument Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 98%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  --paper: #F6F4EF; --surface: #FFFFFF; --surface-2: #FBFAF7;
  --ink: #101418; --ink-2: #393F48; --ink-3: #5A606B;
  --line: #E3DFD7; --line-2: #D3CEC4;
  --brand: #FF5B2E; --brand-700: #F04A1C; --brand-ink: #B23A14;
  --accent: #12676D; --accent-deep: #0E4A4F; --accent-50: #E6F1F0; --accent-100: #CFE5E3;
  --dot: rgba(16, 20, 24, .06);
  --shadow-1: 0 1px 2px rgba(16, 20, 24, .05);
  --shadow-2: 0 1px 2px rgba(16, 20, 24, .04), 0 12px 32px rgba(16, 20, 24, .08);
  --shadow-3: 0 2px 4px rgba(16, 20, 24, .05), 0 24px 60px rgba(14, 74, 79, .16);
  --font: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1200px; --gutter: clamp(16px, 3vw, 32px);
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font: 500 .9em var(--mono); background: var(--accent-50); color: var(--accent-deep); padding: .1em .35em; border-radius: 5px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--ink-3); font-size: 14px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

/* header */
.hdr { background: var(--paper); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 163px; height: 24px; }
.logo__tag { font: 500 12px/1 var(--mono); color: var(--accent); background: var(--accent-50); border: 1px solid var(--accent-100); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: rgba(16, 20, 24, .05); }
.nav a.is-current { color: var(--accent-deep); background: var(--accent-50); }

/* breadcrumbs */
.crumbs { padding-top: 18px; font-size: 13px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

/* buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font: 600 15px/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn--lg { min-height: 50px; padding: 12px 22px; font-size: 16px; }
.btn--primary { background: var(--brand); color: var(--ink); }
.btn--primary:hover { background: var(--brand-700); color: var(--ink); }
.btn--primary .ico { transition: transform .15s; }
.btn--primary:hover .ico { transform: translateX(3px); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn--secondary:hover { border-color: var(--ink-3); color: var(--ink); }
.btn--ghost { color: var(--ink); background: transparent; border-color: transparent; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; padding-inline: 10px; }
.btn--ghost:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
.btn--dark { background: var(--paper); color: var(--ink); }
.btn--dark:hover { background: #fff; color: var(--ink); }
.btn--ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-dark:hover { color: #fff; border-color: #fff; }
.btn.is-soon { flex-wrap: wrap; row-gap: 6px; }
.btn.is-soon, .btn.is-soon small { white-space: nowrap; }
.btn.is-soon { cursor: default; background: var(--surface); color: var(--ink-2); border: 1px dashed var(--line-2); box-shadow: none; }
.btn.is-soon small { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: var(--accent-50); padding: 5px 7px; border-radius: 999px; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero--home, .hero--app { background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 22px 22px; background-position: -11px -11px; }
.hero--slim { padding-bottom: clamp(24px, 4vw, 40px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 14px; height: 1.5px; background: currentColor; }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 640; margin-bottom: 20px; }
.hero--slim h1 { font-size: clamp(32px, 4.4vw, 48px); max-width: 22ch; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin-bottom: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .ico { color: var(--accent); width: 16px; height: 16px; stroke-width: 2.2; }

.hero__art { position: relative; aspect-ratio: 1 / .86; }
.shot { margin: 0; position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot--a { inset: 0 18% 4% 0; }
.shot--b { width: 34%; right: 0; bottom: 0; top: 18%; border-radius: 26px; border: 6px solid var(--ink); }
.hero__shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); overflow: hidden; }
.hero__shot img { width: 100%; }

.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.app-id img { width: 64px; height: 64px; filter: drop-shadow(0 6px 14px rgba(14, 74, 79, .22)); }
.app-id__name { font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.app-id__by { font-size: 13px; color: var(--ink-3); }

/* use cases */
.usecases { border-block: 1px solid var(--line); background: var(--surface-2); padding: 18px 0; }
.usecases .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.usecases__label { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 13px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.chips--lg li { font-size: 14px; padding: 5px 12px; background: var(--surface); }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--band { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head .eyebrow { margin-bottom: 14px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.028em; font-weight: 630; }
.h-sm { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 24px; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.012em; font-weight: 620; }
.section__note { margin-top: 12px; color: var(--ink-3); font-size: 15px; }

/* catalog cards */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app-card { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .2s, transform .2s; }
.app-card:hover { border-color: var(--accent-100); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.app-card__icon { width: 72px; height: 72px; }
.app-card__cat { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.app-card h3 { font-size: 22px; margin-bottom: 8px; }
.app-card__link { color: var(--ink); text-decoration: none; }
.app-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.app-card__body > p { color: var(--ink-2); }
.app-card .chips { margin: 16px 0; }
.app-card__price { font-size: 14px; font-weight: 600; color: var(--ink); }
.app-card__more { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--accent); margin-top: -4px; }

/* principles, benefits, features */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-deep); color: var(--paper); margin-bottom: 16px; flex: none; }
.tile .ico { width: 22px; height: 22px; }
.principle h3 { margin-bottom: 8px; }
.principle p, .feature p, .benefit p, .step p { color: var(--ink-2); font-size: 15px; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.benefit__n { display: block; font: 500 13px/1 var(--mono); color: var(--accent); margin-bottom: 18px; }
.benefit h3 { font-size: 20px; margin-bottom: 10px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .tile { margin: 0; }
.feature h3 { margin-bottom: 6px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px 24px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-50); color: var(--accent-deep); font: 600 15px/1 var(--mono); margin-bottom: 16px; border: 1px solid var(--accent-100); }
.step h3 { margin-bottom: 8px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; align-items: start; }
.gallery__item { margin: 0; grid-column: span 4; }
.gallery__item--tall { grid-column: span 2; }
.gallery__frame { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.gallery__item--tall .gallery__frame { max-width: 300px; margin-inline: auto; border-radius: 22px; border: 5px solid var(--ink); }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.gallery__item--tall figcaption { text-align: center; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; }
.plan--mid { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-2); }
.plan h3 { font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.plan__price strong { font-size: 44px; letter-spacing: -.04em; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
.plan__price span { color: var(--ink-3); font-size: 15px; }
.plan__trial { font-size: 13px; font-weight: 600; color: var(--accent-deep); background: var(--accent-50); align-self: flex-start; padding: 3px 9px; border-radius: 999px; }
.plan ul { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li .ico { color: var(--accent); margin-top: 3px; width: 16px; height: 16px; stroke-width: 2.2; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* dark band */
.wrap.band { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.band { background: var(--accent-deep); color: #E8F0EF; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; }
.band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.band p { color: #C9DAD8; }
.band a:not(.btn) { color: #fff; }
.band .btn.is-soon { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.band .btn.is-soon small { background: rgba(255, 255, 255, .14); color: #fff; }
.band .btn--secondary { background: var(--paper); border-color: var(--paper); }

/* support + services */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; }
.card h2 { font-size: 24px; margin-bottom: 12px; }
.card > p + p, .card > ul + p { margin-top: 16px; }
.big-link { font-size: clamp(20px, 2.4vw, 26px); font-weight: 620; letter-spacing: -.02em; }
.ticks { display: grid; gap: 10px; margin-top: 16px; }
.ticks li { display: flex; gap: 10px; color: var(--ink-2); }
.ticks .ico { color: var(--accent); margin-top: 3px; width: 16px; height: 16px; stroke-width: 2.2; }
.doc-links { display: grid; gap: 14px; margin-top: 8px; }
.doc-links li { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.doc-links img { width: 36px; height: 36px; }
.doc-links span { display: grid; gap: 2px; }
.doc-links span > a { font-weight: 600; color: var(--ink); }
.doc-links small { font-size: 13px; color: var(--ink-3); }
.doc-links small a { color: var(--ink-3); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split h3 { margin-bottom: 4px; }

/* documentation + legal */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: 28px; padding-bottom: clamp(56px, 8vw, 96px); align-items: start; }
.doc__side { position: sticky; top: 20px; display: grid; gap: 20px; }
.doc__app { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 620; line-height: 1.3; }
.doc__app img { width: 40px; height: 40px; }
.doc__tabs { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.doc__tabs a { color: var(--ink-2); text-decoration: none; padding: 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 15px; }
.doc__tabs a:hover { color: var(--ink); border-left-color: var(--line-2); }
.doc__tabs a[aria-current] { color: var(--accent-deep); border-left-color: var(--accent); font-weight: 600; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; }
.toc summary { cursor: pointer; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.toc ol { margin-top: 10px; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.doc__body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px); min-width: 0; }
.doc__body h1 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 8px; }
.doc__foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px; display: grid; gap: 6px; }

.prose { max-width: 860px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: clamp(22px, 2.4vw, 27px); margin: 44px 0 12px; scroll-margin-top: 20px; color: var(--ink); }
.prose h3 { margin: 28px 0 8px; font-size: 18px; }
.prose p, .prose ul, .prose ol, .prose .table-wrap { margin: 0 0 16px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 620; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--ink); font-weight: 620; }
.prose tr:last-child td { border-bottom: 0; }

/* footer */
.ftr { background: var(--ink); color: #B7BDC6; margin-top: clamp(24px, 4vw, 48px); padding: 56px 0 28px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ftr__brand img { width: 150px; height: 22px; margin-bottom: 16px; }
.ftr__brand p { max-width: 36ch; }
.ftr h2 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #8B929C; margin-bottom: 14px; }
.ftr ul { display: grid; gap: 8px; }
.ftr a { color: #E6E9ED; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #8B929C; }

/* responsive */
@media (max-width: 1080px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 620px; width: 100%; }
  .hero--app .hero__shot { max-width: 640px; }
  .app-grid, .benefits, .plans { grid-template-columns: minmax(0, 1fr); }
  .plans { max-width: 520px; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__side { position: static; }
  .toc { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item { grid-column: 1 / -1; }
  .gallery__item--tall { grid-column: span 1; }
}
@media (max-width: 640px) {
  .logo img { width: 136px; height: 20px; }
  .logo__tag { display: none; }
  .nav a { padding: 8px 10px; }
  .features, .support-grid, .split, .steps, .principles { grid-template-columns: minmax(0, 1fr); }
  .app-card { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 14px; }
  .app-card__icon { width: 56px; height: 56px; }
  .app-card__more { grid-column: 1; }
  .cta-row .btn--lg { flex: 1 1 100%; }
  .cta-row .btn--ghost { flex: 0 1 auto; }
  .btn { white-space: normal; text-align: center; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery__item--tall { grid-column: 1 / -1; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__legal { flex-direction: column; }
  .doc__body { padding: 22px 18px; border-radius: var(--r-lg); }
  .card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
