/*
 * AnyRepeat landing — styles.
 * Colors are sampled from ../ui-design/*.png and live only in :root.
 * Layout container is 1220px (the mockup's content width at 1448px canvas).
 */

:root {
  --bg: #f4f8fe;
  --bg-wash: #dfe9fb;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --border: #e4ebf5;
  --border-strong: #cfdaeb;

  --ink: #0e1423;
  --ink-2: #3a4150;
  --ink-3: #6b7590;
  --ink-4: #9aa4b8;

  --accent: #3474fd;
  --accent-2: #2a5cf5;
  --accent-text: #2662f6;
  --accent-soft: #e3eefe;
  --accent-soft-2: #d7e6fd;
  --accent-ring: rgba(52, 116, 253, 0.25);

  --ok: #40c3b2;
  --warn: #e5483f;
  --hand: #1f2a44;

  --font: 'Plus Jakarta Sans', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Bradley Hand', 'Segoe Script', cursive;

  --radius-pill: 999px;
  --radius-btn: 12px;
  --radius-card: 20px;
  --radius-tile: 14px;

  --shadow-card: 0 1px 2px rgba(16, 36, 80, 0.04), 0 12px 32px rgba(16, 36, 80, 0.08);
  --shadow-float: 0 20px 50px rgba(16, 36, 80, 0.14);
  --shadow-frame: 0 30px 80px rgba(16, 36, 80, 0.18);

  --container: 1220px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lang-zh { letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { display: inline-flex; width: 1em; height: 1em; flex: none; vertical-align: middle; }
.icon svg { width: 100%; height: 100%; }
.accent { color: var(--accent-text); }

/* Soft blue swooshes behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 0% 10%, var(--bg-wash) 0%, transparent 70%),
    radial-gradient(45% 35% at 100% 25%, #dbe7fb 0%, transparent 70%),
    radial-gradient(50% 30% at 100% 95%, #dbe7fb 0%, transparent 70%),
    radial-gradient(40% 30% at 0% 100%, #e6eefb 0%, transparent 70%),
    var(--bg);
}

/* ---------- buttons, pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn .icon { font-size: 18px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #3f88fe 0%, #2f72fc 100%);
  box-shadow: 0 6px 16px rgba(52, 116, 253, 0.28), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(52, 116, 253, 0.34); }
.btn--lg { height: 56px; padding: 0 30px; font-size: 17px; border-radius: 14px; }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 20px;
  text-align: center;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.lang-zh .pill { letter-spacing: 0.08em; font-size: 13px; }
.pill--left { align-self: flex-start; }

.playbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: #fff;
  font-size: 44px;
  background: linear-gradient(180deg, #5a95ff 0%, #3a7dfd 100%);
  box-shadow: 0 0 0 8px rgba(255,255,255,.55), 0 14px 34px rgba(52,116,253,.45);
  transition: transform .2s ease;
}
.playbtn .icon svg { transform: translateX(2px); }
a:hover .playbtn { transform: scale(1.05); }
.playbtn--center { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; font-size: 36px; transform: translate(-50%, -50%); }
a:hover .playbtn--center { transform: translate(-50%, -50%) scale(1.05); }

/* Handwritten annotations */
.hand {
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--hand);
  transform: rotate(-6deg);
  transform-origin: left center;
}
.hand__arrow { width: 44px; height: 44px; color: var(--hand); }
.hand__underline { width: 150px; height: 12px; color: var(--accent); margin-top: 2px; }

/* ---------- header ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 254, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo svg { width: 38px; height: 38px; }
.nav__links {
  display: flex;
  gap: 32px;
  margin-inline: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__signin { color: var(--accent-text); font-weight: 600; font-size: 15px; }
.nav__burger { display: none; font-size: 24px; color: var(--ink-2); }

.lang { position: relative; }
.lang summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--accent-soft); color: var(--accent-text); }
.lang summary .icon { font-size: 18px; }
.lang__chev { font-size: 14px !important; }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.lang__menu a, .nav__mobile-lang a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.lang__menu a:hover { background: var(--surface-2); }
.lang__menu a[aria-current], .nav__mobile-lang a[aria-current] { color: var(--accent-text); font-weight: 600; background: var(--accent-soft); }

.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.nav__mobile > a { padding: 12px 8px; font-weight: 500; border-radius: 10px; }
.nav__mobile > a:hover { background: var(--surface-2); }
.nav__mobile-lang { display: flex; gap: 6px; padding: 8px 4px 0; }

/* ---------- section typography ---------- */

.section__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-align: center;
  color: var(--ink);
  max-width: min(100%, 900px);
  margin-inline: auto;
}
.section__title--lg { font-size: clamp(42px, 5.6vw, 68px); }
.section__sub {
  margin-top: 16px;
  text-align: center;
  font-size: 19px;
  color: var(--ink-3);
}
.section__sub--lg { font-size: 24px; margin-top: 18px; }

/* ---------- 1. hero ---------- */

.hero { padding-block: 14px 40px; }
.hero .container { display: flex; flex-direction: column; align-items: center; }
/* Centered flex children keep their max-content width; cap them at the column */
.hero .container > *, .showcase .container > * { max-width: 100%; }
.hero__title {
  margin-top: 22px;
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
  text-align: center;
  max-width: min(100%, 940px);
}
.hero__sub { margin-top: 22px; font-size: 18px; color: var(--ink-3); text-align: center; max-width: min(100%, 840px); }

.checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}
.checks li { display: inline-flex; align-items: center; gap: 10px; }
.checks__icon { font-size: 22px; color: #66aefc; }

/* The video frame is a fixed 1120×470 composition that scales with width */
.frame {
  position: relative;
  width: 100%;
  max-width: min(100%, 1120px);
  aspect-ratio: 1120 / 470;
  margin-top: 30px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.45);
  box-shadow: 0 0 0 5px rgba(255,255,255,.9), var(--shadow-frame);
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
}
.frame__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 70% at 22% 40%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(40% 60% at 90% 30%, #cfe0fb 0%, rgba(207,224,251,0) 70%),
    radial-gradient(50% 50% at 60% 110%, #bfd3f4 0%, rgba(191,211,244,0) 70%),
    linear-gradient(180deg, #eaf1fc 0%, #dfe9f8 55%, #cfdcef 100%);
}
.frame__bg::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 100%);
}
.frame__plant {
  position: absolute;
  left: 2%;
  top: 6%;
  width: 12%;
  height: 46%;
  background:
    radial-gradient(30% 45% at 30% 30%, #b9d1bf 0%, transparent 70%),
    radial-gradient(30% 45% at 65% 20%, #c9ddcf 0%, transparent 70%),
    radial-gradient(30% 45% at 45% 55%, #a7c3ae 0%, transparent 70%);
  filter: blur(6px);
  opacity: .8;
}
.frame__brand {
  position: absolute;
  left: 3.1cqw;
  top: 3.6cqw;
  display: flex;
  flex-direction: column;
  gap: .3cqw;
  font-size: 1.15cqw;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8a94ab;
}
.frame__brand span:first-child { font-weight: 700; color: #6f7a93; }
.frame__copy { position: absolute; left: 11.8cqw; top: 12.5cqw; width: 21cqw; }
.frame__headline {
  font-size: 3.3cqw;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: #101a2e;
}
.frame__sub { margin-top: 1.4cqw; font-size: 1.6cqw; color: #7a8499; }
.frame__book {
  position: absolute;
  left: 0;
  bottom: -1cqw;
  width: 25cqw;
  height: 8.5cqw;
  padding: 1.6cqw 0 0 9cqw;
  background: linear-gradient(180deg, #f4f6f9 0%, #dde3ec 100%);
  border-top: 1px solid rgba(255,255,255,.9);
  border-radius: .6cqw .6cqw 0 0;
  transform: skewX(-8deg);
  box-shadow: 0 -2px 18px rgba(16,36,80,.08);
  font-size: 1.35cqw;
  font-weight: 500;
  color: #5c6a86;
  line-height: 1.25;
}
.frame__book span { display: block; transform: skewX(8deg); }

.appwin {
  position: absolute;
  left: 32.6cqw;
  top: 5.8cqw;
  width: 57.6cqw;
  height: 30.5cqw;
  display: grid;
  grid-template-columns: 12cqw 1fr;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 1.6cqw;
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(10px);
  transform: perspective(1800px) rotateY(-8deg) rotateX(2deg);
  transform-origin: 20% 50%;
  overflow: hidden;
  font-size: 1.05cqw;
}
.appwin__side { padding: 1.3cqw 1.1cqw; border-right: 1px solid rgba(16,36,80,.06); background: rgba(255,255,255,.55); }
.appwin__logo { display: flex; align-items: center; gap: .5cqw; margin-bottom: 1.2cqw; font-size: 1cqw; font-weight: 700; color: #111a2e; }
.appwin__logo svg { width: 1.5cqw; height: 1.5cqw; }
.appwin__navitem { display: flex; align-items: center; gap: .55cqw; padding: .45cqw .6cqw; border-radius: .6cqw; color: #4b5670; margin-bottom: .2cqw; }
.appwin__navitem .icon { font-size: 1.1cqw; color: #7c88a3; }
.appwin__navitem--active { background: #eef3fd; color: #1f2a44; font-weight: 600; }
.appwin__group { margin: 1.1cqw 0 .4cqw .6cqw; font-size: .95cqw; color: #9aa4b8; }
.appwin__recent { padding: .28cqw .6cqw; font-size: .95cqw; color: #5c6a86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appwin__recent--more { color: #a3acbe; }
.appwin__main { padding: 1.6cqw 1.8cqw; }
.appwin__prompt {
  padding: 1cqw 1.3cqw;
  border-radius: 1cqw 1cqw 1cqw .3cqw;
  background: #e6effe;
  color: #1f2a44;
  font-size: 1.15cqw;
  line-height: 1.35;
  max-width: 34cqw;
}
.appwin__steps { margin-top: 1.4cqw; display: flex; flex-direction: column; gap: .75cqw; font-size: 1.1cqw; color: #2c3650; }
.appwin__step { display: flex; align-items: center; gap: .9cqw; }
.appwin__dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7cqw; height: 1.7cqw; border-radius: 50%;
  border: 1px solid #cfdaeb; background: #fff; color: #40c3b2; font-size: 1cqw;
}
.appwin__step--done .appwin__dot { background: #e6f4f2; border-color: #cbe9e4; }
.appwin__step--active .appwin__dot { border-color: var(--accent); box-shadow: 0 0 0 .3cqw var(--accent-ring); }
.appwin__step--todo { color: #7a8499; }
.appwin__tick { font-size: 1.05cqw; color: var(--ok); margin-left: .3cqw; }

.frame__result {
  position: absolute;
  right: 3.2cqw;
  top: 13.5cqw;
  width: 13.5cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9cqw;
  padding: 1.6cqw 1.2cqw;
  border-radius: 1.4cqw;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-float);
  text-align: center;
  font-size: 1.15cqw;
  font-weight: 600;
  color: #1f2a44;
  line-height: 1.25;
}
.frame__result-icon { display: inline-flex; align-items: center; justify-content: center; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #e3eefe; color: var(--accent-text); font-size: 2.2cqw; }
.frame__result-tick { color: var(--ok); font-size: 1.1cqw; }
.frame__note {
  position: absolute;
  left: 73cqw;
  top: 31.5cqw;
  width: 15cqw;
  font-size: 1.9cqw;
  transform: rotate(-8deg);
}
.frame__note .hand__arrow { position: absolute; right: -4.4cqw; top: -3.6cqw; width: 4.2cqw; height: 4.2cqw; transform: rotate(10deg); }

.frame__play {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1cqw;
  color: #1f2a44;
  text-align: center;
  z-index: 2;
}
.frame__play .playbtn { width: 7.6cqw; height: 7.6cqw; font-size: 4cqw; }
.frame__play-label { font-size: 1.35cqw; font-weight: 600; margin-top: .2cqw; text-shadow: 0 0 12px rgba(255,255,255,.9), 0 0 4px rgba(255,255,255,.9); }
.frame__play-dur { font-size: 1.15cqw; color: #4b5670; margin-top: -1cqw; text-shadow: 0 0 10px rgba(255,255,255,.9); }
.frame__time {
  position: absolute;
  right: 1.4cqw;
  bottom: 1.4cqw;
  padding: .35cqw .9cqw;
  border-radius: .6cqw;
  background: rgba(30, 41, 59, .72);
  color: #fff;
  font-size: 1.1cqw;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Downloads + agents row */
.getrow {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  margin-top: 44px;
}
.getrow__group { flex: 1 1 auto; min-width: 0; }
.getrow__group--agents { flex: 0 0 auto; }
.getrow__heading { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.getrow__divider { align-self: stretch; width: 1px; margin-top: 34px; background: var(--border-strong); }
.getrow__tiles { display: grid; gap: 14px; }
.getrow__tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.getrow__tiles--4 { grid-template-columns: repeat(4, 98px); }

.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-tile);
  box-shadow: 0 1px 2px rgba(16,36,80,.03), 0 4px 14px rgba(16,36,80,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--border-strong); }
.tile__icon { font-size: 26px; color: var(--ink); }
.tile__icon--brand { font-size: 26px; }
.tile__text { display: flex; flex-direction: column; min-width: 0; }
.tile__title { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tile__sub { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.tile__chev { margin-left: auto; font-size: 18px; color: var(--ink-3); }
.tile--stack { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 8px; }
.tile--stack .tile__title { font-size: 13px; }
.tile--agent .tile__icon { color: var(--ink); }

.scrollhint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 13px;
  color: var(--ink-3);
}
.scrollhint .icon { font-size: 18px; }

/* ---------- 2. showcase ---------- */

.showcase { padding-block: 56px 60px; }
.showcase .container { display: flex; flex-direction: column; align-items: center; }
.showcase .section__title { margin-top: 22px; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
  padding: 4px;
  border-radius: var(--radius-pill);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.tab .icon { font-size: 22px; color: var(--ink-2); }
.tab:hover { background: rgba(227, 238, 254, .6); }
.tab[aria-selected="true"] { background: var(--accent-soft-2); color: var(--accent-text); font-weight: 600; box-shadow: 0 2px 8px rgba(52,116,253,.12); }
.tab[aria-selected="true"] .icon { color: var(--accent-text); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  max-width: min(100%, 1320px);
  margin-top: 26px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.card__visual {
  position: relative;
  display: block;
  margin: 8px;
  aspect-ratio: 432 / 316;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
}
.card__note {
  position: absolute;
  left: 5cqw;
  top: 6cqw;
  max-width: 44cqw;
  font-size: 4.6cqw;
  z-index: 2;
}
body.lang-zh .card__note { font-size: 4.2cqw; max-width: 54cqw; }
.card__note .hand__arrow--down { position: absolute; left: 18cqw; top: 100%; width: 9cqw; height: 9cqw; }
.card__time {
  position: absolute;
  right: 4cqw;
  bottom: 4cqw;
  padding: 1cqw 2.4cqw;
  border-radius: 1.6cqw;
  background: rgba(30,41,59,.72);
  color: #fff;
  font-size: 3cqw;
  font-weight: 600;
  z-index: 2;
}
.card__body { padding: 18px 24px 4px; }
.card__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.card__desc { margin-top: 10px; font-size: 15px; color: var(--ink-3); }
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 24px 0;
  padding: 18px 0 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--ink-2);
}
.card__runs { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.card__runs-icon { font-size: 20px; color: var(--accent); }
.card__author { display: inline-flex; align-items: center; gap: 10px; }
.card__avatar { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-size: 16px; }
.card__avatar--brand { background: transparent; }
.card__avatar--brand svg { width: 28px; height: 28px; }

/* Scenes — the three "video thumbnails", drawn in CSS */
.scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(50% 50% at 90% 90%, #c4d7f3 0%, rgba(196,215,243,0) 70%),
    linear-gradient(180deg, #e8f0fb 0%, #d5e2f5 100%);
}
.scene__laptop {
  position: absolute;
  left: 10cqw; right: 10cqw; top: 14cqw; bottom: 0;
  border-radius: 3cqw 3cqw 0 0;
  background: linear-gradient(180deg, #2b3446 0%, #1c2333 100%);
  padding: 2cqw;
  box-shadow: 0 10cqw 12cqw -6cqw rgba(16,36,80,.35);
}
.scene__laptop::after {
  content: '';
  position: absolute;
  left: -6cqw; right: -6cqw; bottom: -2cqw;
  height: 4cqw;
  border-radius: 1cqw;
  background: linear-gradient(180deg, #d9e1ec 0%, #aeb9c9 100%);
}
.scene__card {
  position: absolute;
  left: 6cqw; top: 8cqw;
  width: 62cqw;
  padding: 3cqw 3.6cqw;
  border-radius: 2.4cqw;
  background: rgba(255,255,255,.96);
  box-shadow: 0 4cqw 8cqw rgba(16,36,80,.2);
  font-size: 3cqw;
  color: #1f2a44;
  z-index: 1;
}
.scene__card-title { font-weight: 700; font-size: 3.4cqw; margin-bottom: 2cqw; }
.scene__row { display: flex; align-items: center; gap: 1.8cqw; padding: 1.1cqw 0; }
.scene__row > em { margin-left: auto; font-style: normal; font-size: 2.4cqw; font-weight: 600; padding: .4cqw 1.6cqw; border-radius: 99px; }
.scene__ok { display: inline-flex; align-items: center; justify-content: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2.4cqw; }
.scene__tick { margin-left: auto; font-size: 2.8cqw; color: var(--ok); }
.scene__warn { color: var(--warn); background: #fdecec; }
.scene__box { width: 3cqw; height: 3cqw; border: 1px solid #b7c2d6; border-radius: .6cqw; }
.scene__q { color: #1a9c8a; background: #e2f5f1; }
.scene__r { color: #5c6a86; background: #eef2f8; }
.scene__mug {
  position: absolute;
  right: 3cqw; bottom: 6cqw;
  width: 20cqw; height: 24cqw;
  border-radius: 2cqw 2cqw 4cqw 4cqw;
  background: linear-gradient(180deg, #ffffff 0%, #e6ecf5 100%);
  box-shadow: 0 3cqw 6cqw rgba(16,36,80,.18);
  padding: 3cqw 2cqw;
  font-size: 2.6cqw;
  font-weight: 600;
  line-height: 1.25;
  color: #3a4150;
  z-index: 2;
}
.scene--video .scene__monitor {
  position: absolute;
  left: 34cqw; right: 6cqw; top: 12cqw; bottom: 18cqw;
  display: flex; align-items: center; justify-content: center; gap: 2.5cqw;
  padding: 4cqw 3cqw;
  background: #141a27;
  border-radius: 2cqw;
  box-shadow: 0 8cqw 10cqw -6cqw rgba(16,36,80,.4);
}
.scene--video .scene__monitor::after {
  content: '';
  position: absolute; left: 50%; bottom: -14cqw; width: 22cqw; height: 14cqw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #b8c3d3, #e3e9f2);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
.scene__short {
  position: relative;
  width: 13cqw; height: 24cqw;
  border-radius: 1.6cqw;
  overflow: hidden;
  background: linear-gradient(160deg, #8fa5c8 0%, #3f5478 60%, #232c40 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 2cqw;
}
.scene__short i { position: absolute; left: 25%; top: 18%; width: 50%; height: 55%; border-radius: 40% 40% 30% 30%; background: rgba(255,255,255,.25); }
.scene__short b { font-size: 2.2cqw; font-weight: 800; color: #fff; text-align: center; letter-spacing: .02em; line-height: 1.05; }
.scene__wave { position: absolute; left: 4cqw; right: 4cqw; bottom: 1.6cqw; height: 1.4cqw; background: repeating-linear-gradient(90deg, #5aa0ff 0 .6cqw, transparent .6cqw 1.2cqw); opacity: .7; border-radius: 1cqw; }
.scene__camera {
  position: absolute;
  left: 2cqw; bottom: 8cqw;
  width: 32cqw; height: 24cqw;
  border-radius: 3cqw;
  background: linear-gradient(180deg, #3a4150 0%, #171c27 100%);
  box-shadow: 0 6cqw 8cqw -4cqw rgba(16,36,80,.45);
}
.scene__camera i {
  position: absolute; left: 8cqw; top: 4cqw; width: 16cqw; height: 16cqw; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #5a6b8a 0%, #1a2233 60%, #0b0f18 100%);
  box-shadow: inset 0 0 0 1.4cqw #2c3446, 0 0 0 .6cqw #3f4a5e;
}

.quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
  font-size: 15px;
  color: var(--ink-3);
}
.quote__mark { display: inline-flex; width: 22px; height: 22px; color: #9cc1ff; }
.quote__mark svg { width: 100%; height: 100%; }
.quote__line { display: none; }
.quote > span:nth-child(3) { position: relative; padding-inline: 80px; }
.quote > span:nth-child(3)::before,
.quote > span:nth-child(3)::after {
  content: ''; position: absolute; top: 50%; width: 56px; height: 1px; background: var(--border-strong);
}
.quote > span:nth-child(3)::before { left: 0; }
.quote > span:nth-child(3)::after { right: 0; }

/* ---------- 3. how it works ---------- */

.how { padding-block: 70px 60px; }
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  margin-top: 64px;
  counter-reset: step;
}
.how__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.how__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #e1edfd; color: var(--accent-text);
  font-size: 20px; font-weight: 700;
}
.how__step-title { margin-top: 14px; font-size: 20px; font-weight: 600; line-height: 1.3; max-width: 270px; }
.how__step-sub { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.how__arrow {
  position: absolute;
  right: -30px;
  top: 250px;
  width: 44px;
  color: #8fb0f0;
}
.how__arrow svg { width: 100%; }

.fig {
  position: relative;
  width: 100%;
  max-width: 280px;
  min-height: 250px;
  margin-top: 26px;
  text-align: left;
  font-size: 14px;
  color: #2c3650;
}
.fig--ask, .fig--recipe, .fig--result { justify-self: center; }
.fig__bubble, .fig__input, .fig__chip, .fig__recipe-head, .fig__result-head {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.fig--ask {
  padding: 16px;
  background: rgba(255,255,255,.45);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.8);
}
.fig__bubble { padding: 14px 16px; font-size: 14px; line-height: 1.4; border-radius: 14px 14px 14px 4px; }
.fig__input { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 8px 8px 14px; color: var(--accent-text); font-size: 18px; }
.fig__caret { flex: 1; height: 18px; border-left: 1.5px solid #2c3650; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.fig__send { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 18px; }
.fig__chip { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 14px; font-size: 14px; }
.fig__chip .icon { font-size: 18px; color: var(--accent-text); }
.fig--ask .fig__chip { box-shadow: 0 2px 8px rgba(16,36,80,.06); }

.fig--recipe {
  padding: 20px 22px;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.fig__recipe-head { display: flex; align-items: center; gap: 14px; box-shadow: none; font-size: 20px; font-weight: 600; }
.fig__tile { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); font-size: 24px; }
.fig__steps { position: relative; margin-top: 22px; display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.fig__steps::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1.5px; background: #dfe7f4; }
.fig__steps li { display: flex; align-items: center; gap: 16px; color: var(--ink-3); }
.fig__steps li span { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cfdaeb; background: #fff; }
.fig__steps li.is-done { color: var(--ink-2); }
.fig__steps li.is-done span { border-color: var(--accent); background: var(--accent); }
.fig__recipe-shadow { position: absolute; inset: 10px -12px -10px 12px; z-index: -1; border-radius: 18px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); }

.fig--runtime { max-width: 300px; }
.fig__hex {
  position: absolute; left: 20px; top: 40px; width: 150px; height: 170px;
  background: linear-gradient(180deg, #e2ecfb 0%, #cfe0fb 100%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: .9;
}
.fig__hex--back { left: 34px; top: 70px; opacity: .55; }
.fig__gear {
  position: absolute; left: 26px; top: 84px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: 22px;
  background: var(--surface); box-shadow: var(--shadow-card);
  color: var(--accent-text); font-size: 42px;
}
.fig__chips { position: absolute; left: 132px; top: 30px; display: flex; flex-direction: column; gap: 8px; width: 160px; }
.fig__chips .fig__chip { margin: 0; white-space: nowrap; }
.fig__chips .fig__chip:nth-child(2) { transform: translateX(-12px); }
.fig__chips .fig__chip:nth-child(3) { transform: translateX(-24px); }

.fig--result {
  min-height: 0;
  padding: 18px 20px;
  background: rgba(255,255,255,.7);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-card);
}
.fig__result-head { display: flex; align-items: center; gap: 14px; box-shadow: none; background: transparent; font-size: 19px; font-weight: 500; }
.fig__okcircle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 20px; }
.fig__result-body { display: flex; gap: 18px; margin-top: 18px; padding: 16px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-card); }
.fig__lines { flex: 1; display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.fig__lines i { display: block; height: 7px; border-radius: 4px; background: #d6e3f7; }
.fig__lines i:nth-child(2) { width: 70%; }
.fig__lines i:nth-child(3) { width: 85%; }
.fig__lines i:nth-child(4) { width: 55%; }
.fig__bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; padding: 6px; border-radius: 10px; background: #eef4fd; }
.fig__bars i { display: block; width: 9px; border-radius: 3px; background: var(--accent); }
.fig__bars i:nth-child(1) { height: 40%; }
.fig__bars i:nth-child(2) { height: 65%; }
.fig__bars i:nth-child(3) { height: 100%; }

.divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #9cb4e0;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border-strong); }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 16px;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  border-left: 1px solid var(--border-strong);
}
.benefit:first-child { border-left: 0; }
.benefit__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: #e1edfe; color: var(--accent-text); font-size: 30px;
  box-shadow: 0 0 0 10px rgba(225,237,254,.45);
}

/* ---------- 4. company ---------- */

.company { padding-block: 60px 40px; overflow-x: clip; }
.company__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.company__inner > .company__copy { min-width: 0; }
.company__copy { display: flex; flex-direction: column; align-items: flex-start; }
.company__title {
  margin-top: 26px;
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.company__sub { margin-top: 22px; font-size: 19px; color: var(--ink-3); max-width: 560px; }
.trust { display: flex; flex-wrap: wrap; gap: 24px 22px; margin-top: 40px; }
.trust__item { display: flex; gap: 10px; }
.trust__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #e8f0fd; color: var(--accent-text); font-size: 22px; }
.trust__text { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--ink-3); max-width: 138px; }
.trust__text b { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.company__cta { display: flex; align-items: center; gap: 28px; margin-top: 44px; }
.company__cta-note { font-size: 14px; color: var(--ink-3); }

.glass { position: relative; min-height: 460px; }
.glass__bg {
  position: absolute; inset: -40px -80px -20px -20px;
  background:
    radial-gradient(45% 45% at 70% 30%, #d3e2fb 0%, rgba(211,226,251,0) 70%),
    radial-gradient(40% 40% at 30% 80%, #e4ecfa 0%, rgba(228,236,250,0) 70%);
  filter: blur(6px);
}
.glass__plant {
  position: absolute; right: 8%; top: 4%; width: 110px; height: 140px;
  background:
    radial-gradient(30% 45% at 30% 30%, #c9d6cf 0%, transparent 70%),
    radial-gradient(30% 45% at 70% 25%, #d5dfd8 0%, transparent 70%),
    radial-gradient(30% 45% at 50% 60%, #bccbc2 0%, transparent 70%);
  filter: blur(5px); opacity: .9;
}
.glass__stack {
  position: relative;
  height: 400px;
  perspective: 1400px;
}
.glass__card {
  position: absolute;
  top: 40px;
  width: 210px;
  height: 320px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.85) 0%, rgba(236,243,253,.7) 100%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 30px 60px -20px rgba(16,36,80,.25), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  transform-origin: left center;
}
.glass__card span { font-size: 22px; font-weight: 500; line-height: 1.2; color: #7a9ad6; }
.glass__card--main { left: 0; z-index: 4; transform: rotateY(18deg); }
.glass__card--main b { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: #1a2340; margin-top: 18px; }
.glass__card--main small { margin-top: 12px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #8a94ab; line-height: 1.6; }
.glass__logo svg { width: 72px; height: 72px; }
.glass__card:nth-child(2) { left: 210px; z-index: 3; transform: rotateY(22deg) scale(.94); opacity: .95; }
.glass__card:nth-child(3) { left: 370px; z-index: 2; transform: rotateY(24deg) scale(.88); opacity: .9; }
.glass__card:nth-child(4) { left: 500px; z-index: 1; transform: rotateY(26deg) scale(.82); opacity: .85; }
.glass__pedestal {
  position: absolute; left: -20px; right: 30%; bottom: 40px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f3f6fb 0%, #dbe3ee 100%);
  transform: skewX(-30deg);
  box-shadow: 0 10px 30px rgba(16,36,80,.12);
}
.glass__caption {
  position: absolute; right: 0; bottom: 60px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #9aa4b8; text-align: right; line-height: 1.7; max-width: 200px;
}

/* ---------- footer ---------- */

.footer { padding-block: 50px 30px; }
.footer .container { border-top: 1px solid var(--border-strong); padding-top: 44px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, .9fr) minmax(240px, 1fr) minmax(240px, .95fr);
  gap: 40px;
}
.footer__brand .logo { font-size: 20px; }
.footer__mission { margin-top: 26px; font-size: 14px; color: var(--ink-3); max-width: 260px; }
.hand--footer { position: relative; display: inline-block; margin-top: 30px; font-size: 26px; transform: rotate(-8deg); }
.hand--footer .hand__underline { position: absolute; left: 6px; bottom: -8px; width: 150px; }
.footer__linkcols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer__heading { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--ink-3); }
.footer__links a:hover { color: var(--ink); }
.footer__col--tiles { border-left: 1px solid var(--border-strong); padding-left: 40px; }
.footer__tiles { display: flex; flex-direction: column; gap: 12px; }
.tile--footer { min-height: 58px; }
.tile--footer.tile--agent { flex-direction: row; padding: 10px 16px; gap: 14px; }
.tile--footer.tile--agent .tile__title { font-size: 14px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-3);
}

.notfound { padding-block: 80px 120px; text-align: center; }
.notfound .container { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .getrow__tiles--4 { grid-template-columns: repeat(4, 88px); }
  .glass__card:nth-child(4) { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--tiles { border-left: 0; padding-left: 0; }
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__signin { display: none; }
  .lang { display: none; }
  .how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
  .how__arrow { display: none; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .benefit:nth-child(3) { border-left: 0; }
  .company__inner { grid-template-columns: 1fr; }
  .glass { min-height: 420px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .getrow { flex-direction: column; }
  .getrow__divider { display: none; }
  .getrow__group--agents { width: 100%; }
  .getrow__tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .nav__inner { height: 64px; }
  .nav__actions .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .hero__title { font-size: clamp(34px, 9vw, 44px); }
  .checks { gap: 10px 20px; font-size: 15px; }
  .cards { grid-template-columns: 1fr; }
  .tab { height: 46px; padding: 0 16px; font-size: 15px; gap: 8px; }
  .how__steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-left: 0; padding-inline: 0; }
  .getrow__tiles--3 { grid-template-columns: 1fr; }
  .getrow__tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company__cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .glass__card:nth-child(3) { display: none; }
  .glass__card:nth-child(2) { left: 170px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .quote > span:nth-child(3) { padding-inline: 0; }
  .quote > span:nth-child(3)::before, .quote > span:nth-child(3)::after { display: none; }

  /* The frame reflows: copy on top, app window full width below */
  .frame { aspect-ratio: auto; height: auto; padding: 5cqw 5cqw 6cqw; border-radius: 18px; }
  .frame__bg { border-radius: inherit; }
  .frame__plant, .frame__book, .frame__note, .frame__result { display: none; }
  .frame__brand { position: static; font-size: 2.6cqw; }
  .frame__copy { position: static; width: auto; margin-top: 3cqw; }
  .frame__headline { font-size: 8cqw; }
  .frame__sub { font-size: 3.6cqw; }
  .appwin { position: relative; left: auto; top: auto; width: 100%; height: auto; min-height: 60cqw; margin-top: 5cqw; grid-template-columns: 26cqw 1fr; transform: none; font-size: 2.6cqw; border-radius: 3cqw; }
  .appwin__logo { font-size: 2.4cqw; } .appwin__logo svg { width: 3.2cqw; height: 3.2cqw; }
  .appwin__navitem { gap: 1.2cqw; padding: 1cqw 1.4cqw; border-radius: 1.4cqw; } .appwin__navitem .icon { font-size: 2.6cqw; }
  .appwin__group, .appwin__recent { font-size: 2.3cqw; }
  .appwin__main { padding: 3.5cqw; }
  .appwin__prompt { font-size: 2.8cqw; padding: 2.4cqw 3cqw; border-radius: 2.4cqw 2.4cqw 2.4cqw .8cqw; max-width: none; }
  .appwin__steps { margin-top: 3cqw; gap: 1.8cqw; font-size: 2.7cqw; }
  .appwin__dot { width: 4cqw; height: 4cqw; font-size: 2.4cqw; }
  .appwin__tick { font-size: 2.6cqw; }
  .frame__play { position: static; transform: none; margin-top: 5cqw; gap: 2.4cqw; }
  .frame__play .playbtn { width: 16cqw; height: 16cqw; font-size: 8cqw; }
  .frame__play-label { font-size: 3.6cqw; }
  .frame__play-dur { font-size: 3cqw; margin-top: -1.6cqw; }
  .frame__time { right: 3cqw; bottom: 3cqw; font-size: 2.8cqw; padding: .8cqw 2cqw; border-radius: 1.4cqw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fig__caret { animation: none; }
  .btn, .tile, .playbtn { transition: none; }
}

/* ---------- sub-pages (docs, download, about, legal) ---------- */

.article { padding-block: 40px 80px; }
.article__inner { max-width: 760px; }
.article__crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--ink-3); }
.article__crumbs a:hover { color: var(--ink); }
.article__title {
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.article__intro { margin-top: 16px; font-size: 19px; color: var(--ink-3); }
.article__updated { margin-top: 14px; font-size: 12.5px; color: var(--ink-4); }
.article__section { margin-top: 40px; scroll-margin-top: 90px; }
.article__section h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.article__section p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.article__section ul { margin-top: 12px; padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.article__section pre {
  margin: 14px 0 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 13.5px;
  line-height: 1.55;
}
.article__section code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.article__link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 600; }
.article__link .icon { font-size: 16px; }
.article__downloads { list-style: none !important; padding-left: 0 !important; }
.article__downloads a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; color: var(--ink); }
.article__downloads a:hover { border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.article__downloads .icon { font-size: 18px; color: var(--accent-text); }
.article__contact { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px !important; }
.article__email { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; color: var(--ink-3); }
.article__note {
  margin-top: 16px !important;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--surface);
  font-size: 14.5px !important;
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
