/* ==========================================================================
   Astech — homepage concept
   Brand system: the five squares of the Astech mark are the colour system.
   Blue = CMIS · Green = CMISlite · Yellow = Register of Interests
   Orange = Election Visualiser · Magenta = Congresso
   ========================================================================== */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/case-studies/concepts/_assets/e3b56e90510a84ac0ed465b8.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/case-studies/concepts/_assets/c1b6da516e0062e9c2f341b3.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Display Fallback";
  src: local("Arial");
  size-adjust: 97%;
  ascent-override: 98%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Body Fallback";
  src: local("Arial");
  size-adjust: 102%;
  ascent-override: 93%;
  descent-override: 23%;
  line-gap-override: 0%;
}

:root {
  /* Logo colours (exact) */
  --green: #8AC341;
  --orange: #F59C29;
  --blue: #2EA0DB;
  --yellow: #FBD736;
  --magenta: #D62188;
  --logo-ink: #221F1F;

  /* Text-safe tints of the logo colours (AA on white and paper) */
  --green-ink: #3F6B12;
  --orange-ink: #A04E00;
  --blue-ink: #0B6A9E;
  --yellow-ink: #6E5A00;
  --magenta-ink: #B0176E;

  /* Neutrals */
  --paper: #FAF8F4;
  --paper-2: #F1EDE5;
  --paper-3: #E9E3D8;
  --white: #FFFFFF;
  --ink: #1D1B1C;
  --ink-2: #3B3739;
  --muted: #5E5A57;
  --line: #E6E0D5;
  --line-2: #D3CBBD;
  --night: #141315;
  --night-2: #1D1B1E;
  --night-3: #0E0D0F;
  --night-line: rgba(255, 255, 255, .12);

  --display: "Schibsted Grotesk", "Display Fallback", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Body Fallback", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(20, 19, 21, .05), 0 10px 30px -12px rgba(20, 19, 21, .14);
  --shadow-lg: 0 2px 4px rgba(20, 19, 21, .04), 0 30px 70px -28px rgba(20, 19, 21, .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--ink); }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 700; border-radius: 8px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3, .display { font-family: var(--display); color: var(--ink); }
h2 { font-size: clamp(2.05rem, 1.15rem + 3vw, 3.35rem); line-height: 1.04; font-weight: 800; letter-spacing: -.032em; text-wrap: balance; }
h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
p { text-wrap: pretty; }

/* ---------- Shared bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 600 .78rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow--light { color: rgba(255, 255, 255, .7); }
.eyebrow__sq { width: 10px; height: 10px; flex: none; background: var(--magenta); }
.eyebrow__sq--green { background: var(--green); }
.eyebrow__sq--orange { background: var(--orange); }
.eyebrow__sq--blue { background: var(--blue); }
.eyebrow__sq--yellow { background: var(--yellow); }
.eyebrow__sq--magenta { background: var(--magenta); }

.lede { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.lede a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

.section { padding-block: clamp(76px, 9vw, 132px); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.section-head--split h2 { max-width: 16ch; }
.section-head--center { max-width: 840px; margin-inline: auto; text-align: center; }
.section-head--center .lede { margin: 20px auto 0; }

/* Buttons */
.btn { --bg: var(--ink); --fg: #fff; --bd: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 20px; border: 1.5px solid var(--bd); border-radius: 10px; background: var(--bg); color: var(--fg); font: 700 .97rem/1 var(--display); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover { --bg: #000; --bd: #000; transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(20, 19, 21, .6); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 42px; padding: 0 16px; font-size: .92rem; }
.btn--lg { height: 56px; padding: 0 26px; font-size: 1.03rem; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bg: #fff; --bd: var(--ink); --fg: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: var(--yellow); --bd: var(--yellow); --fg: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 700 .97rem/1.3 var(--display); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s; }
.link-arrow svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow:hover { text-decoration-color: currentColor; }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: var(--c, var(--ink)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231D1B1C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--night); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__note { display: flex; align-items: center; gap: 10px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { display: inline-block; padding: 8px 0; color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sqs { display: inline-grid; grid-template-columns: repeat(3, 4px); grid-template-rows: repeat(4, 4px); }
.sqs i { width: 4px; height: 4px; }
.sqs i:nth-child(1) { grid-area: 1 / 2; background: var(--green); }
.sqs i:nth-child(2) { grid-area: 2 / 1; background: var(--orange); }
.sqs i:nth-child(3) { grid-area: 2 / 3; background: var(--blue); }
.sqs i:nth-child(4) { grid-area: 3 / 2; background: var(--yellow); }
.sqs i:nth-child(5) { grid-area: 4 / 3; background: var(--magenta); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(20, 19, 21, .5); }
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.header__logo { display: block; flex: none; }
.header__logo img { width: 148px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; }
.nav__list a { position: relative; display: block; padding: 10px 12px; border-radius: 8px; font: 600 .95rem/1 var(--display); color: var(--ink-2); text-decoration: none; transition: background-color .2s, color .2s; }
.nav__list a:hover { background: rgba(29, 27, 28, .05); color: var(--ink); }
.nav__list a.is-active { color: var(--ink); }
.nav__list a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--ink); }
.header__cta { display: flex; align-items: center; gap: 18px; margin-left: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1 var(--display); color: var(--ink); text-decoration: none; white-space: nowrap; }
.header__phone svg, .mbar__call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.header__phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.menu-btn { display: none; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; }
.menu-btn__bars { position: relative; display: block; width: 18px; height: 12px; }
.menu-btn__bars i { position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn__bars i:first-child { top: 1px; }
.menu-btn__bars i:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(20, 19, 21, .35); padding: 8px 0 28px; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font: 700 1.2rem/1.2 var(--display); color: var(--ink); text-decoration: none; }
.mobile-menu .btn { margin-top: 22px; }
.mobile-menu__meta { margin-top: 16px; text-align: center; color: var(--muted); font-size: .95rem; }
.mobile-menu__meta a { color: var(--ink); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 8vw, 112px); }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(29, 27, 28, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 27, 28, .055) 1px, transparent 1px); background-size: 44px 44px; background-position: -1px -1px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 42%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 72% 42%, #000 10%, transparent 72%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero__copy { container-type: inline-size; }
.hero__title { font-size: clamp(2.4rem, 1rem + 4.2vw, 4.1rem); font-size: clamp(2.35rem, 12cqi, 4.6rem); line-height: .98; font-weight: 850; letter-spacing: -.045em; margin-bottom: 26px; }
.hero__line { display: block; }
.hero__line:first-child { color: var(--ink-2); }
.dot { display: inline-block; width: .17em; height: .17em; margin-left: .045em; overflow: hidden; color: transparent; background: var(--green); vertical-align: baseline; }
.dot--magenta { background: var(--magenta); }
.hero__lede { font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem); line-height: 1.58; color: var(--ink-2); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__quote { display: grid; gap: 8px; margin-top: 36px; padding: 16px 0 0 18px; border-left: 3px solid var(--blue); max-width: 34em; }
.hero__quote blockquote p { font: 600 1.04rem/1.45 var(--display); color: var(--ink); letter-spacing: -.01em; }
.hero__quote figcaption { font-size: .9rem; color: var(--muted); }
.hero__quote figcaption strong { color: var(--ink); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: 26px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof svg { width: 16px; height: 16px; fill: none; stroke: var(--green-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Agenda builder mock */
.hero__visual { position: relative; padding: 28px 0 96px; }
.builder { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: .9rem; }
.builder__chrome { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #FBFAF7; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.builder__dots { display: flex; gap: 6px; }
.builder__dots i { width: 9px; height: 9px; border-radius: 50%; background: #E3DDD2; }
.builder__app { display: inline-flex; align-items: center; gap: 7px; }
.builder__app img { width: 10px; height: 13px; }
.builder__app b { color: var(--ink); font-family: var(--display); font-weight: 800; }
.builder__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem/1 var(--mono); color: var(--green-ink); text-transform: uppercase; letter-spacing: .06em; }
.builder__live i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 3px rgba(138, 195, 65, .25); }
.builder__meta { padding: 18px 20px 8px; }
.builder__committee { font: 800 1.3rem/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.builder__when { margin-top: 4px; font-size: .8rem; color: var(--muted); }
.agenda { list-style: none; display: grid; gap: 6px; padding: 8px 14px 14px; }
.agenda__item { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 10px; align-items: center; gap: 10px; min-height: 46px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.agenda__no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--paper-2); font: 700 .74rem/1 var(--mono); color: var(--ink-2); }
.agenda__txt { min-width: 0; }
.agenda__txt b { display: block; font-weight: 700; font-size: .86rem; line-height: 1.3; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda__txt small { display: block; margin-top: 1px; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda__grip { width: 10px; height: 16px; background: radial-gradient(circle, #C5BDAF 1.3px, transparent 1.7px) 0 0 / 5px 5px; }
.agenda__item.is-dragging { z-index: 2; border-color: var(--blue); box-shadow: 0 22px 40px -16px rgba(20, 19, 21, .38), 0 0 0 3px rgba(46, 160, 219, .16); transform: scale(1.025) rotate(-.7deg); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 6px; background: var(--paper-2); font: 700 .62rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tag--blue { background: rgba(46, 160, 219, .13); color: var(--blue-ink); }
.tag--green { background: rgba(138, 195, 65, .2); color: var(--green-ink); }
.tag--yellow { background: rgba(251, 215, 54, .3); color: var(--yellow-ink); }
.tag--lock { background: rgba(214, 33, 136, .1); color: var(--magenta-ink); }
.builder__foot { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #FBFAF7; border-top: 1px solid var(--line); }
.builder__btn { flex: none; padding: 9px 13px; border-radius: 8px; background: var(--ink); color: #fff; font: 700 .8rem/1 var(--display); transition: transform .15s, background-color .15s; }
.builder__btn.is-pressed { transform: scale(.94); background: var(--blue-ink); }
.builder__progress { flex: 1; height: 6px; border-radius: 99px; background: var(--paper-3); overflow: hidden; }
.builder__progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--green), var(--blue) 50%, var(--magenta)); transition: width 1.6s var(--ease); }
.builder__status { flex: none; min-width: 112px; text-align: right; font: 600 .72rem/1 var(--mono); color: var(--muted); }

.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.3; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.float b { display: block; font: 800 .84rem/1.25 var(--display); color: var(--ink); }
.float small { display: block; color: var(--muted); font-size: .75rem; }
.float__sq { flex: none; width: 12px; height: 12px; }
.float__sq--green { background: var(--green); }
.float__sq--blue { background: var(--blue); }
.float__sq--orange { background: var(--orange); }
.float--deadline { top: 0; right: -18px; }
.float--pack { left: 5%; bottom: 44px; }
.float--app { right: -12px; bottom: 0; }
html.js .float[data-toast] { opacity: 0; transform: translateY(12px) scale(.98); }
html.js .float[data-toast].is-shown { opacity: 1; transform: none; }

/* ---------- Trust strip ---------- */
.trust { padding: 30px 0 34px; background: #fff; border-block: 1px solid var(--line); }
.trust__label { margin-bottom: 18px; text-align: center; font: 600 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; list-style: none; }
.trust__list li { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1.2 var(--display); letter-spacing: -.01em; color: #57524E; }
.trust__list li::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--green); }
.trust__list li:nth-child(5n+2)::before { background: var(--orange); }
.trust__list li:nth-child(5n+3)::before { background: var(--blue); }
.trust__list li:nth-child(5n+4)::before { background: var(--yellow); }
.trust__list li:nth-child(5n+5)::before { background: var(--magenta); }

/* ---------- Old way / new way ---------- */
.compare { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.compare__head, .compare__row { display: grid; grid-template-columns: 1fr 1fr; }
.compare__head { background: var(--paper-2); }
.compare__head span { display: flex; align-items: center; gap: 10px; padding: 14px 28px; font: 600 .74rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare__head span:last-child { color: var(--ink); border-left: 1px solid var(--line); }
.compare__head img { width: 12px; height: 16px; }
.compare__row { border-top: 1px solid var(--line); }
.compare__old, .compare__new { position: relative; padding: 20px 28px 20px 62px; }
.compare__old { color: var(--muted); }
.compare__old::before, .compare__new::before { content: ""; position: absolute; left: 28px; top: 22px; width: 20px; height: 20px; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.compare__old::before { border: 1.5px solid var(--line-2); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235E5A57' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l8 8M14 6l-8 8'/%3E%3C/svg%3E"); background-size: 10px; }
.compare__new { border-left: 1px solid var(--line); font-weight: 700; color: var(--ink); background: linear-gradient(90deg, rgba(138, 195, 65, .08), rgba(138, 195, 65, 0) 70%); }
.compare__new::before { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231D1B1C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E"); }

/* ---------- Product family ---------- */
.family { background: var(--paper-2); border-top: 1px solid var(--line); }
.family__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.family__panels { display: grid; gap: 20px; }
/* Mobile: the five squares become a swipeable row of tabs */
.family__mark { margin-bottom: 2px; }
.mark-tabs { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.mark-tabs::-webkit-scrollbar { display: none; }
.mark-tab { --c: var(--blue); flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--ink); font: 700 .92rem/1 var(--display); text-decoration: none; white-space: nowrap; scroll-snap-align: start; transition: background-color .2s, border-color .2s, color .2s; }
.mark-tab::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--c); }
.mark-tab--green { --c: var(--green); }
.mark-tab--yellow { --c: var(--yellow); }
.mark-tab--orange { --c: var(--orange); }
.mark-tab--magenta { --c: var(--magenta); }
.mark-tab__tag, .family__hint { display: none; }
.is-tabs .mark-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.product { --c: var(--blue); --c-ink: var(--blue-ink); --c-soft: rgba(46, 160, 219, .1); position: relative; overflow: hidden; padding: clamp(26px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.product--green { --c: var(--green); --c-ink: var(--green-ink); --c-soft: rgba(138, 195, 65, .13); }
.product--yellow { --c: var(--yellow); --c-ink: var(--yellow-ink); --c-soft: rgba(251, 215, 54, .2); }
.product--orange { --c: var(--orange); --c-ink: var(--orange-ink); --c-soft: rgba(245, 156, 41, .13); }
.product--magenta { --c: var(--magenta); --c-ink: var(--magenta-ink); --c-soft: rgba(214, 33, 136, .08); }
.product--magenta .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E"); }
.product__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.product__sq { width: 14px; height: 14px; flex: none; background: var(--c); }
.product__tag { font: 700 .76rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink); }
.product__title { max-width: 24ch; margin-bottom: 14px; font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.3rem); line-height: 1.1; letter-spacing: -.028em; }
.product__body { max-width: 62ch; color: var(--ink-2); font-size: 1.06rem; }
.product .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 26px 0; }
.product .ticks li { font-size: .98rem; }
.product__fit { padding-top: 18px; border-top: 1px dashed var(--line-2); font-size: .95rem; color: var(--muted); }
.product__fit strong { color: var(--ink); }
.product__proof { padding: 14px 18px; border-left: 3px solid var(--c); border-radius: 0 12px 12px 0; background: var(--c-soft); font-size: .98rem; color: var(--ink); }
.product__proof span { display: block; margin-top: 6px; font-size: .86rem; color: var(--muted); }
.product__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }

/* ---------- Proof band ---------- */
.proof { position: relative; overflow: hidden; padding-block: clamp(76px, 8vw, 116px); background: var(--night); color: #fff; }
.proof h2 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--night-line); }
.stat { --c: var(--green); position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: 34px 22px 6px 0; }
.stat::before { content: ""; position: absolute; top: -7px; left: 0; width: 13px; height: 13px; background: var(--c); }
.stat--blue { --c: var(--blue); }
.stat--orange { --c: var(--orange); }
.stat--magenta { --c: var(--magenta); }
.stat--yellow { --c: var(--yellow); }
.stat dd { font: 850 clamp(2.5rem, 1.5rem + 2.6vw, 4rem)/1 var(--display); letter-spacing: -.045em; color: #fff; }
.stat__pre { display: block; margin-bottom: 8px; font: 600 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.stat dt { max-width: 22ch; font-size: .95rem; line-height: 1.45; color: rgba(255, 255, 255, .74); }
.proof__note { margin-top: 36px; font-size: .84rem; color: rgba(255, 255, 255, .55); }

/* ---------- Lifecycle ---------- */
.lifecycle { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.phase { --c: var(--green); --c-ink: var(--green-ink); position: relative; padding: 30px 28px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.phase--orange { --c: var(--orange); --c-ink: var(--orange-ink); }
.phase--magenta { --c: var(--magenta); --c-ink: var(--magenta-ink); }
.phase::before { content: ""; position: absolute; top: -1px; left: 28px; width: 44px; height: 6px; background: var(--c); }
.phase__step { font: 700 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink); }
.phase h3 { margin: 10px 0 16px; font-size: 1.5rem; }
.phase ul { list-style: none; display: grid; gap: 11px; }
.phase li { position: relative; padding-left: 20px; color: var(--ink-2); }
.phase li::before { content: ""; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; background: var(--c); }
.phase:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 50%; right: -18px; width: 14px; height: 14px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: translateY(-50%) rotate(45deg); }

/* ---------- Calculator ---------- */
.calc { background: var(--paper-2); }
.calc__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.calc__intro .lede { margin-top: 20px; }
.calc__assume { margin-top: 22px; padding-left: 14px; border-left: 2px solid var(--line-2); font-size: .88rem; color: var(--muted); max-width: 48ch; }
.calc__card { padding: clamp(22px, 3.5vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); }
.range { margin-bottom: 22px; }
.range__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.range label { font-weight: 700; font-size: .98rem; }
.range output { min-width: 66px; padding: 5px 10px; border-radius: 8px; background: var(--paper-2); text-align: center; font: 700 .95rem/1.2 var(--mono); color: var(--ink); }
input[type="range"] { --p: 20%; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) var(--p), var(--paper-3) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--paper-3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; background: var(--magenta); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--ink), 0 4px 10px rgba(20, 19, 21, .25); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 0; background: var(--magenta); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--ink), 0 4px 10px rgba(20, 19, 21, .25); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 6px rgba(46, 160, 219, .35); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 6px rgba(46, 160, 219, .35); }
.calc__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 22px; }
.result { padding: 16px 16px 14px; border-radius: 14px; background: var(--paper); }
.result--lead { background: var(--ink); color: #fff; }
.result__label { font-size: .8rem; line-height: 1.35; color: var(--muted); }
.result--lead .result__label, .result--lead .result__unit { color: rgba(255, 255, 255, .72); }
.result__value { margin: 8px 0 2px; font: 850 clamp(1.4rem, 1rem + 1.1vw, 1.95rem)/1.05 var(--display); letter-spacing: -.03em; }
.result__unit { font-size: .8rem; line-height: 1.35; color: var(--muted); }

/* ---------- Stories ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden; margin-bottom: 22px; background: var(--night); color: #fff; border-radius: 26px; }
.case__copy { padding: clamp(28px, 4.2vw, 60px); }
.case__label { font: 700 .76rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.case__title { margin: 16px 0 18px; color: #fff; font-size: clamp(1.6rem, 1.05rem + 1.7vw, 2.45rem); line-height: 1.1; letter-spacing: -.03em; }
.case__copy p { color: rgba(255, 255, 255, .78); max-width: 58ch; }
.case__copy .link-arrow { margin-top: 24px; color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.case__copy .link-arrow:hover { text-decoration-color: #fff; }
.case__stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; background: var(--night-2); }
.case__stats li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 30px 26px 26px; border-left: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.case__stats li:nth-child(n+3) { border-bottom: 0; }
.case__stats li::before { content: ""; position: absolute; top: 26px; left: 26px; width: 10px; height: 10px; background: var(--orange); }
.case__stats li:nth-child(2)::before { background: var(--blue); }
.case__stats li:nth-child(3)::before { background: var(--magenta); }
.case__stats li:nth-child(4)::before { background: var(--green); }
.case__stats b { padding-top: 26px; font: 850 clamp(1.8rem, 1.2rem + 1.6vw, 2.7rem)/1 var(--display); letter-spacing: -.04em; }
.case__stats span { font-size: .92rem; color: rgba(255, 255, 255, .72); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.quote { --c: var(--blue); position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote--yellow { --c: var(--yellow); }
.quote--green { --c: var(--green); }
.quote--orange { --c: var(--orange); }
.quote::before { content: ""; position: absolute; top: -1px; left: 30px; width: 36px; height: 6px; background: var(--c); }
.quote blockquote p { font: 600 1.14rem/1.5 var(--display); letter-spacing: -.012em; color: var(--ink); }
.quote figcaption strong { display: block; font-family: var(--display); font-weight: 800; }
.quote figcaption span { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); }

/* ---------- Why ---------- */
.why { background: #fff; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { --c: var(--green); position: relative; padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s; }
.pillar:hover { background: var(--paper); }
.pillar:nth-child(2) { --c: var(--orange); }
.pillar:nth-child(3) { --c: var(--blue); }
.pillar:nth-child(4) { --c: var(--yellow); }
.pillar:nth-child(5) { --c: var(--magenta); }
.pillar:nth-child(6) { --c: var(--green); }
.pillar::after { content: ""; position: absolute; top: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); width: 10px; height: 10px; background: var(--c); }
.pillar__icon { width: 38px; height: 38px; margin-bottom: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-bottom: 10px; font-size: 1.28rem; }
.pillar p { color: var(--ink-2); }

/* ---------- Switching ---------- */
.switch { padding-top: 0; background: #fff; }
.switch__card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); padding: clamp(30px, 5vw, 68px); background: var(--night); color: #fff; border-radius: 28px; }
.switch__head h2 { color: #fff; margin-bottom: 28px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 36px; }
.steps__no { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; background: var(--green); color: var(--ink); font: 850 1.05rem/1 var(--display); }
.steps li:nth-child(2) .steps__no { background: var(--orange); }
.steps li:nth-child(3) .steps__no { background: var(--blue); }
.steps li:nth-child(4) .steps__no { background: var(--magenta); color: #fff; }
.steps h3 { margin-bottom: 8px; color: #fff; font-size: 1.2rem; }
.steps p { color: rgba(255, 255, 255, .74); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .lede { margin-top: 20px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__list details { border-bottom: 1px solid var(--line-2); }
.faq__list summary { position: relative; display: block; padding: 24px 56px 24px 0; font: 700 1.14rem/1.4 var(--display); letter-spacing: -.01em; color: var(--ink); list-style: none; cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list summary:hover { color: var(--blue-ink); }
.faq__a { padding: 0 56px 26px 0; color: var(--ink-2); }
.faq__a a { font-weight: 700; color: var(--ink); }

/* ---------- Demo / form ---------- */
.demo { position: relative; overflow: hidden; padding-block: clamp(76px, 9vw, 128px); background: var(--night); color: #fff; }
.demo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 20% 30%, #000, transparent 70%); pointer-events: none; }
.demo__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.demo h2 { color: #fff; font-size: clamp(2.3rem, 1.2rem + 3.8vw, 3.9rem); max-width: 13ch; }
.demo__lede { margin-top: 22px; font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 44ch; }
.demo__list { list-style: none; display: grid; gap: 12px; margin: 30px 0 38px; }
.demo__list li { position: relative; padding-left: 32px; font-weight: 600; }
.demo__list li::before { content: ""; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231D1B1C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.demo__contact { display: grid; gap: 6px; padding-top: 28px; border-top: 1px solid var(--night-line); }
.demo__contact-title { font: 600 .76rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.demo__contact a { color: #fff; text-decoration: none; font-weight: 700; }
.demo__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo__phone { font: 850 2rem/1.15 var(--display) !important; letter-spacing: -.03em; }
.demo__support { margin-top: 10px; font-size: .92rem; color: rgba(255, 255, 255, .66); }
.demo__support a { font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }

.demo__card { padding: clamp(22px, 3.4vw, 40px); background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.form__title { margin-bottom: 20px; font: 850 1.4rem/1.2 var(--display); letter-spacing: -.02em; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; margin-bottom: 7px; font-weight: 700; font-size: .93rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { display: block; width: 100%; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 92px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231D1B1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9AF9F; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 4px rgba(46, 160, 219, .2); }
.field__err { display: none; margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--magenta-ink); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--magenta); }
.field.is-invalid .field__err { display: block; }
.chips { margin: 2px 0 16px; padding: 0; border: 0; }
.chip, .field .chip { position: relative; display: inline-block; margin: 0 6px 8px 0; font-size: inherit; font-weight: inherit; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: .9rem; font-weight: 700; line-height: 1; cursor: pointer; user-select: none; transition: background-color .2s, border-color .2s, color .2s; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.chip__sq { width: 9px; height: 9px; flex: none; background: var(--c); }
.chip__sq--blue { --c: var(--blue); }
.chip__sq--green { --c: var(--green); }
.chip__sq--yellow { --c: var(--yellow); }
.chip__sq--orange { --c: var(--orange); }
.chip__sq--magenta { --c: var(--magenta); }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form__fine { margin-top: 14px; text-align: center; font-size: .84rem; color: var(--muted); }
.form__fine a { color: var(--ink); font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { padding: 68px 0 44px; background: var(--night-3); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--night-line); }
.footer__brand img { width: 148px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; }
.footer__title { margin-bottom: 14px; font: 600 .74rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer ul a, .footer__legal a { display: inline-block; padding: 3px 0; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer address { margin-bottom: 14px; font-style: normal; line-height: 1.6; }
.footer__bottom { display: grid; gap: 10px; padding-top: 26px; font-size: .84rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__concept { color: rgba(255, 255, 255, .5); }

/* ---------- Mobile CTA bar ---------- */
.mbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 248, 244, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.mbar.is-visible { transform: none; }
.mbar__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 10px; font: 700 .97rem/1 var(--display); color: var(--ink); text-decoration: none; background: #fff; }
.mbar__cta { flex: 1; height: 50px; }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Desktop enhancements
   ========================================================================== */
@media (min-width: 960px) {
  .family__grid { grid-template-columns: 340px minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
  .family__mark { display: block; position: sticky; top: calc(var(--header-h) + 40px); margin: 0; }
  .mark-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 0; width: 100%; margin: 0; padding: 0; overflow: visible; }
  .mark-tab { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 3px; aspect-ratio: 1.03 / 1; padding: 12px; background: var(--c); border: 0; border-radius: 0; color: var(--ink); white-space: normal; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .mark-tab::before { display: none; }
  .mark-tab__tag { display: block; }
  .family__hint { display: block; }
  .is-tabs .mark-tab[aria-selected="true"] { background: var(--c); color: var(--ink); }
  .is-tabs .mark-tab--magenta[aria-selected="true"] { color: #fff; }
  .mark-tab--blue { grid-area: 2 / 3; }
  .mark-tab--green { grid-area: 1 / 2; }
  .mark-tab--yellow { grid-area: 3 / 2; }
  .mark-tab--orange { grid-area: 2 / 1; }
  .mark-tab--magenta { grid-area: 4 / 3; color: #fff; }
  .mark-tab__name { font: 850 1rem/1.05 var(--display); letter-spacing: -.015em; }
  .mark-tab__tag { font: 600 .7rem/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
  .mark-tab:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(20, 19, 21, .5); z-index: 2; }
  .mark-tab:focus-visible { outline-offset: 4px; z-index: 3; }
  .is-tabs .mark-tab[aria-selected="true"] { z-index: 2; box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--ink); }
  .is-tabs .mark-tab[aria-selected="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; background: currentColor; }
  .family__hint { margin-top: 18px; font: 600 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .family__panels { display: block; }
  .is-tabs .family__panels .product { min-height: 560px; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.is-tabs .family__panels .product.is-entering { animation: panel-in .45s var(--ease); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__list a { padding-inline: 9px; font-size: .92rem; }
  .header__phone { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header__cta { margin-left: auto; }
  .header__phone { display: inline-flex; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .stat { padding-right: 18px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .section-head--split h2 { max-width: 20ch; }
  .lifecycle { grid-template-columns: minmax(0, 1fr); }
  .phase:not(:last-child)::after { top: auto; bottom: -19px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .calc__grid, .faq__grid, .demo__grid, .switch__card { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case__stats li { border-left: 0; }
  .case__stats li:nth-child(odd) { border-right: 1px solid var(--night-line); }
  .case__stats li:nth-child(-n+2) { border-top: 1px solid var(--night-line); }
  .demo h2 { max-width: 16ch; }
  .footer { padding-bottom: 110px; }
  .mbar { display: flex; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .header__logo img { width: 128px; }
  .header__cta .btn { display: none; }
  .header__phone { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__proof { gap: 8px 16px; }
  .float--deadline { right: 8px; top: 0; }
  .float--pack { left: 8px; bottom: 46px; }
  .float--app { right: 8px; }
  .compare__head { display: none; }
  .compare__row { grid-template-columns: minmax(0, 1fr); }
  .compare__old { padding-bottom: 6px; }
  .compare__new { border-left: 0; padding-top: 10px; }
  .compare__new::before { top: 12px; }
  .product .ticks { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:last-child { grid-column: 1 / -1; }
  .calc__results { grid-template-columns: minmax(0, 1fr); }
  .result { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label value" "unit value"; align-items: center; column-gap: 12px; }
  .result__label { grid-area: label; }
  .result__value { grid-area: value; margin: 0; text-align: right; }
  .result__unit { grid-area: unit; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__list summary { padding-right: 44px; font-size: 1.06rem; }
  .faq__a { padding-right: 0; }
}
@media (max-width: 480px) {
  .builder__chrome { gap: 10px; }
  .builder__live { display: none; }
  .agenda__item { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .agenda__grip { display: none; }
  .builder__status { min-width: 0; }
  .float { padding: 9px 11px; }
  .float--pack { display: none; }
  .hero__visual { padding-bottom: 64px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Simple pages: thank you and 404
   ========================================================================== */
.simple { display: flex; flex-direction: column; min-height: 100vh; }
.simple .header__cta { margin-left: auto; }
.simple .header__phone--always { display: inline-flex; }
.simple__main { flex: 1; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); background-image: linear-gradient(rgba(29, 27, 28, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 27, 28, .045) 1px, transparent 1px); background-size: 44px 44px; }
.simple__inner { max-width: 820px; }
.simple__badge { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 28px; background: var(--green); }
.simple__badge svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.simple__title { margin-bottom: 20px; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4rem); line-height: 1.02; font-weight: 850; letter-spacing: -.04em; text-wrap: balance; }
.simple .lede a { color: var(--ink); font-weight: 700; }
.simple__steps { list-style: none; display: grid; gap: 16px; margin: 40px 0; }
.simple__steps li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.simple__steps .steps__no { flex: none; margin: 0; }
.simple__steps li:nth-child(2) .steps__no { background: var(--orange); }
.simple__steps li:nth-child(3) .steps__no { background: var(--blue); }
.simple__steps h2 { margin-bottom: 4px; font-size: 1.15rem; letter-spacing: -.015em; }
.simple__steps p { color: var(--ink-2); }
.simple__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.footer--simple { padding: 28px 0 32px; }
.footer--simple .footer__bottom { padding-top: 0; }
.lost-mark { display: grid; grid-template-columns: repeat(3, 28px); grid-template-rows: repeat(4, 28px); margin-bottom: 30px; }
.lost-mark i:nth-child(1) { grid-area: 1 / 2; background: var(--green); }
.lost-mark i:nth-child(2) { grid-area: 2 / 1; background: var(--orange); }
.lost-mark i:nth-child(3) { grid-area: 2 / 3; background: var(--blue); }
.lost-mark i:nth-child(4) { grid-area: 3 / 2; background: var(--yellow); }
.lost-mark i.is-missing { grid-area: 4 / 3; border: 2px dashed var(--magenta); }
@media (max-width: 760px) {
  .simple .header__phone--always { display: inline-flex; font-size: .9rem; }
  .simple .header__cta .btn { display: inline-flex; }
  .simple__actions .btn { width: 100%; }
}
