/* lysechko.com
   One family (Schibsted Grotesk), one accent (cobalt), light theme only.
   Shape rule: buttons and chips are pills, cards 20px, media inside cards 12px. */

:root {
  --bg: #F2F3F5;
  --bg-alt: #E8EAEE;
  --surface: #FBFBFC;
  --ink: #0E1116;
  --ink-2: #262B33;
  --muted: #525A67;
  --line: #D9DCE2;
  --btn-line: #7E8592;
  --accent: #2747E8;
  --accent-hover: #1B35C2;
  --accent-soft: #E4E9FD;
  --dark: #0E1116;
  --on-dark: #EEF0F4;
  --on-dark-muted: #A9B0BC;
  --accent-on-dark: #8FA2FF;

  --radius-card: 20px;
  --radius-media: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(16, 24, 48, .05), 0 10px 28px -8px rgba(16, 24, 48, .14);
  --shadow-float: 0 2px 6px rgba(16, 24, 48, .08), 0 30px 64px -20px rgba(16, 24, 48, .38);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::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) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

#top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--surface); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.section { padding-block: clamp(64px, 8vw, 112px); }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--accent); color: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 22px -10px rgba(39, 71, 232, .7);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--btn-line); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }

.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }

.on-dark .btn-ghost { color: var(--on-dark); border-color: rgba(238, 240, 244, .5); }
.on-dark .btn-ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.on-dark :focus-visible { outline-color: var(--accent-on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 243, 245, .84);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(242, 243, 245, .94); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em;
  text-decoration: none; white-space: nowrap;
}
.brand svg { width: 34px; height: 34px; flex: none; }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav a {
  position: relative; padding: 8px 0;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: clamp(8px, 2vw, 28px); }
.header-phone { font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; padding: 8px 2px; }
.header-phone:hover { color: var(--accent); }
.lang {
  display: inline-grid; place-items: center; min-width: 44px; height: 42px; padding: 0 12px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--btn-line);
  font-weight: 600; font-size: .875rem; letter-spacing: .02em; text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.lang:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }

@media (max-width: 1239px) { .header-phone { display: none; } }
@media (max-width: 999px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 639px) {
  .header-cta { display: none; }
  .brand { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 64px) clamp(16px, 2vw, 32px); }
.hero .eyebrow { margin-bottom: clamp(18px, 2vw, 24px); }
.hero-title {
  font-size: clamp(2.5rem, 1rem + 5vw, 4.75rem);
  line-height: 1.02; letter-spacing: -.045em; font-weight: 760;
  max-width: 16ch;
}
.hero-title .hl { color: var(--accent); }
@media (min-width: 1000px) {
  .hero-title { max-width: none; }
  .hero-title .hl { display: block; }
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px); margin-top: clamp(28px, 3.5vw, 44px); align-items: start;
}
.hero-lead { font-size: clamp(1.0625rem, .98rem + .4vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-visual { position: relative; padding-left: clamp(0px, 8.6vw, 124px); padding-bottom: clamp(28px, 4vw, 48px); }

/* Browser and phone frames around real screenshots */
.browser {
  position: relative; overflow: hidden;
  border-radius: 14px; background: var(--surface);
  border: 1px solid rgba(14, 17, 22, .08);
  box-shadow: var(--shadow-float);
}
.browser-bar {
  display: flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 12px;
  background: #F6F7F9; border-bottom: 1px solid var(--line);
}
.browser-bar span {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 3px 14px; border-radius: var(--radius-pill); background: var(--bg-alt);
  font-size: .75rem; font-weight: 500; color: var(--muted); letter-spacing: .01em;
}
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.phone {
  position: absolute; left: 0; bottom: 0;
  width: clamp(112px, 11vw, 158px);
  padding: 6px; border-radius: 28px; background: var(--ink);
  box-shadow: var(--shadow-float);
}
.phone img { width: 100%; aspect-ratio: 400 / 866; object-fit: cover; object-position: top; border-radius: 22px; }

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding-left: 0; padding-bottom: 28px; margin-right: 22px; }
  .hero-visual .phone { left: auto; right: -22px; width: clamp(96px, 26vw, 150px); }
}
@media (max-width: 480px) {
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Services (bento) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.svc {
  grid-column: span 12; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 230px; padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line);
}
.svc h3 { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); max-width: 22ch; }
.svc p { color: var(--muted); max-width: 46ch; }
.svc-tint { background: var(--accent-soft); border-color: transparent; }
.svc-tint p { color: var(--ink-2); }
.svc-dark { background: var(--dark); border-color: transparent; color: var(--on-dark); }
.svc-dark p { color: var(--on-dark-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.chips li {
  padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid rgba(238, 240, 244, .28); color: var(--on-dark);
}

.svc-phones { display: flex; align-items: flex-start; gap: 14px; margin-top: auto; padding-top: 18px; margin-bottom: calc(-1 * clamp(24px, 3vw, 38px) - 70px); }
.svc-phones img {
  width: calc((100% - 28px) / 3); max-width: 170px;
  aspect-ratio: 400 / 866; object-fit: cover; object-position: top;
  border: 5px solid var(--ink); border-radius: 22px; background: var(--ink);
  box-shadow: 0 18px 36px -18px rgba(16, 24, 48, .5);
}
.svc-phones img:nth-child(2) { transform: translateY(26px); }
.svc-phones img:nth-child(3) { transform: translateY(52px); }

@media (min-width: 640px) {
  .svc { grid-column: span 6; }
  .svc-a { grid-column: span 12; }
}
@media (min-width: 960px) {
  .svc-a { grid-column: span 7; grid-row: span 2; }
  .svc-b { grid-column: span 5; }
  .svc-c { grid-column: span 5; }
  .svc-d { grid-column: span 5; }
  .svc-e { grid-column: span 7; }
  .svc-f { grid-column: span 12; flex-direction: row; align-items: center; gap: clamp(24px, 4vw, 64px); min-height: 0; }
  .svc-f p { max-width: 60ch; }
}

/* ---------- Work ---------- */
.group-title { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.group-title h3 { font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); letter-spacing: -.02em; }
.group-title p { color: var(--muted); max-width: 56ch; }

.live-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.work-card {
  grid-column: span 12; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(14px, 1.6vw, 20px); padding-bottom: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line);
}
.work-card .browser { box-shadow: none; border-color: var(--line); border-radius: var(--radius-media); }
.work-card .browser img { transition: transform .8s var(--ease); }
.work-card:hover .browser img { transform: scale(1.02); }
.work-meta { padding-inline: clamp(4px, .8vw, 10px); display: flex; flex-direction: column; gap: 8px; }
.work-meta h4 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -.02em; }
.work-meta p { color: var(--muted); }
.work-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-weight: 600; color: var(--accent); text-decoration: none;
  padding-block: 4px; border-bottom: 1.5px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}
.work-link:hover { border-bottom-color: currentColor; color: var(--accent-hover); }
.work-link .arrow { transition: transform .3s var(--ease); }
.work-link:hover .arrow { transform: translate(2px, -2px); }

.work-feature { position: relative; }
.work-feature .work-visual { position: relative; padding-bottom: clamp(20px, 3vw, 36px); margin-right: clamp(20px, 3vw, 40px); }
.work-feature .phone { left: auto; right: calc(-1 * clamp(20px, 3vw, 40px)); width: clamp(92px, 12vw, 150px); }

@media (min-width: 900px) {
  .work-feature {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(28px, 4vw, 56px); align-items: center;
    padding: clamp(24px, 3vw, 40px);
  }
  .work-feature .work-meta { order: -1; padding-inline: 0; }
  .work-feature .work-meta h4 { font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem); }
  .work-half { grid-column: span 6; }
}

.concepts { margin-top: clamp(56px, 7vw, 88px); }
.concept-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.concept { grid-column: span 4; }
.concept-wide { grid-column: span 6; }
.concept a {
  height: 100%; display: flex; flex-direction: column; gap: 14px;
  padding: 12px 12px 20px; border-radius: var(--radius-card);
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}
.concept a:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.concept img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--radius-media); background: var(--bg-alt); }
.concept-body { display: flex; flex-direction: column; gap: 6px; padding-inline: 8px; }
.tag {
  align-self: flex-start; padding: 4px 11px; border-radius: var(--radius-pill);
  background: var(--bg-alt); color: var(--ink-2);
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
.concept h4 { font-size: 1.25rem; letter-spacing: -.02em; margin-top: 4px; }
.concept p { color: var(--muted); font-size: .9688rem; }
.concept .more { margin-top: 6px; font-weight: 600; font-size: .9688rem; color: var(--accent); }
.concept .more .arrow { display: inline-block; transition: transform .3s var(--ease); }
.concept a:hover .more .arrow { transform: translateX(3px); }

@media (max-width: 767px) {
  .concept-grid {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px;
    scrollbar-width: thin;
  }
  .concept, .concept-wide { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ---------- Results ---------- */
.results-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.result {
  grid-column: span 12; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line);
}
.result-channel { font-size: .8125rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.result-num {
  font-size: clamp(2.75rem, 1.9rem + 2.6vw, 4rem); font-weight: 760; line-height: 1;
  letter-spacing: -.045em; color: var(--accent);
  margin-top: 6px;
}
.result-what { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; max-width: 30ch; }
.result-who { margin-top: auto; padding-top: 10px; color: var(--muted); font-size: .9375rem; }

.result-feature { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.result-feature .result-channel, .result-feature .result-who { color: var(--on-dark-muted); }
.result-feature .result-num { font-size: clamp(4rem, 2.4rem + 6vw, 7.5rem); color: var(--on-dark); }
.result-feature .result-num small { font-size: .5em; letter-spacing: -.02em; }
.result-feature .result-what { font-size: 1.25rem; max-width: 26ch; }
.result-feature .result-who { margin-top: 0; padding-top: 2px; }
.result-feature .result-facts { margin-top: auto; }
@media (max-width: 999px) { .result-feature .result-facts { margin-top: 24px; } }
.result-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(238, 240, 244, .16);
}
.result-facts dt { order: 2; color: var(--on-dark-muted); font-size: .875rem; line-height: 1.35; }
.result-facts dd { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.result-facts div { display: flex; flex-direction: column; gap: 4px; }

@media (min-width: 640px) {
  .result { grid-column: span 6; }
  .result.result-feature { grid-column: span 12; }
}
@media (min-width: 1000px) {
  .result { grid-column: span 3; }
  .result.result-feature { grid-column: span 6; grid-row: span 2; }
}

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 23px; left: 24px; right: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--ink) 0 20%, var(--line) 20%);
}
.step { position: relative; padding-top: 72px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  content: counter(step) / "";
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 1.5px solid var(--ink);
  font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums;
}
.step:first-child::before { background: var(--ink); color: var(--surface); }
.step h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 32ch; }

@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 1.5px; height: auto; background: var(--line); }
  .step { padding-top: 0; padding-left: 72px; min-height: 48px; }
  .step h3 { padding-top: 10px; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { position: relative; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 4 / 5; background: var(--bg-alt); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); margin-bottom: 24px; }
.about-copy p { font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); color: var(--ink-2); max-width: 58ch; }
.about-copy p + p { margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 34px; max-width: 560px; }
.facts div { border-top: 1.5px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.facts dt { order: 2; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.facts dd { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 760; letter-spacing: -.04em; line-height: 1; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.langs li { padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.langs b { font-weight: 700; color: var(--ink); }

@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; }
}

/* ---------- Agencies ---------- */
.agency { background: var(--accent-soft); }
.agency-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.agency h2 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.125rem); }
.agency-copy p { margin-top: 20px; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); max-width: 48ch; }
.agency-copy .btn { margin-top: 32px; }
.deliver { display: grid; gap: 0; }
.deliver li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid rgba(39, 71, 232, .18); }
.deliver li:first-child { padding-top: 4px; }
.deliver li::before { content: ""; grid-row: span 2; width: 12px; height: 12px; margin-top: 8px; border-radius: 3px; background: var(--accent); }
.deliver b { font-size: 1.125rem; letter-spacing: -.01em; }
.deliver span { color: var(--ink-2); }

@media (max-width: 899px) { .agency-inner { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5.5vw, 76px); border-radius: 28px;
  background: var(--dark); color: var(--on-dark);
}
.contact-card h2 { font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4rem); letter-spacing: -.04em; }
.contact-card .lead { margin-top: 20px; color: var(--on-dark-muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 40ch; }
.contact-card .cta-row { margin-top: 34px; }
.contact-card .note { margin-top: 26px; color: var(--on-dark-muted); font-size: .9375rem; }
.contact-list { align-self: end; }
.contact-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(238, 240, 244, .14); }
.contact-list dt { color: var(--on-dark-muted); font-size: .9375rem; }
.contact-list dd { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease), color .25s ease; }
.contact-list a:hover { color: var(--accent-on-dark); background-size: 100% 1.5px; }

@media (max-width: 899px) { .contact-card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 8px 40px; color: var(--muted); font-size: .9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-brand svg { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-links [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Mobile call to action bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(242, 243, 245, .94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s linear 0s; }
.mobile-cta .btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding-inline: 10px; font-size: .9375rem; }
@media (max-width: 639px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ---------- Motion ---------- */
/* Reveal on scroll. Content is visible by default; the hidden start state only applies when the
   inline head script has confirmed IntersectionObserver support and no reduced motion preference.
   After 2 s the head script adds .reveal-done, which shows everything no matter what. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal [data-reveal].is-in,
.js-reveal.reveal-done [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero-title, .hero-lead, .hero .cta-row { animation: rise .9s var(--ease) both; }
  .hero-title { animation-delay: .05s; }
  .hero-lead { animation-delay: .12s; }
  .hero .cta-row { animation-delay: .18s; }
  .hero-visual .browser { animation: rise 1.1s var(--ease) .16s both; }
  .hero-visual .phone { animation: rise-phone 1.2s var(--ease) .34s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

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

@media print {
  .site-header, .mobile-cta { display: none; }
  body { background: #fff; }
}

.footer-legal { flex-basis: 100%; font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary h3 { display: inline; font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.35; }
.faq-item p { margin: 0 0 20px; color: var(--ink-2); line-height: 1.65; max-width: 70ch; }

/* ---------- Subpages: guides, services, local pages ---------- */
.page { padding-top: calc(var(--header-h) + clamp(20px, 3vw, 36px)); padding-bottom: clamp(48px, 6vw, 80px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--btn-line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-hero { max-width: 880px; padding-block: clamp(24px, 4vw, 48px) clamp(28px, 4vw, 44px); }
.page-hero h1 { margin-top: 16px; font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); letter-spacing: -.04em; }
.page-hero .lead { margin-top: 20px; font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.page-hero .byline { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.answer-box { margin-top: 26px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; max-width: 70ch; }
.answer-box b { display: block; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.page-grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .page-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); color: var(--ink); line-height: 1.15; letter-spacing: -.025em; }
.prose h3 { margin-top: 1.6em; font-size: 1.25rem; color: var(--ink); line-height: 1.25; letter-spacing: -.015em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose figure img { border-radius: var(--radius-media); border: 1px solid var(--line); }
.prose figcaption { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.prose caption { caption-side: bottom; text-align: left; padding: 10px 14px 12px; font-size: .8125rem; color: var(--muted); }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--bg-alt); color: var(--ink); font-weight: 600; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td.num, .prose th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.callout { padding: 18px 20px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); }
.callout p + p { margin-top: .6em; }
.checklist { list-style: none !important; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.price-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.price-card { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.price-card b { display: block; color: var(--ink); font-size: 1rem; }
.price-card .price { display: block; margin-top: 6px; font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.price-card span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.case-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.case-card img { width: 100%; height: auto; border: 0 !important; border-radius: 0 !important; }
.case-card div { padding: 14px 16px 16px; font-size: .9375rem; line-height: 1.5; }
.case-card div b { display: block; color: var(--ink); }
.page-aside { position: relative; }
@media (min-width: 1000px) { .aside-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.aside-card { padding: 22px; background: var(--dark); color: var(--on-dark); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.aside-card h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.aside-card ul { margin-top: 14px; display: grid; gap: 8px; font-size: .9375rem; color: var(--on-dark-muted); }
.aside-card ul b { color: var(--on-dark); font-weight: 600; }
.aside-card .btn { width: 100%; margin-top: 18px; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-card .small { margin-top: 14px; font-size: .8125rem; color: var(--on-dark-muted); }
.page-section { margin-top: clamp(48px, 6vw, 80px); }
.page-section > h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 22px; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); max-width: 860px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box b { color: var(--ink); }
.author-box p { margin-top: 6px; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.related { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.related a { display: block; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .2s ease, transform .3s var(--ease); }
.related a:hover { border-color: var(--accent); transform: translateY(-2px); }
.related b { display: block; color: var(--ink); line-height: 1.3; }
.related span { display: block; margin-top: 6px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.footer-services { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.footer-services a { text-decoration: none; }
.footer-services a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.services-more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.services-more a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.services-more a:hover { border-color: var(--accent); color: var(--accent); }
.faq-item p a { color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 639px) { .author-box { grid-template-columns: 1fr; } }
.svc-link { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.svc-link a { color: var(--accent); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.svc-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.svc-dark .svc-link a { color: var(--accent-on-dark); }
