/* ==========================================================================
   Rellan: site styles. One stylesheet shared by every page.

   1. Fonts            9.  Home sections      17. About + founder
   2. Tokens           10. Services page      18. FAQ
   3. Base             11. Concepts           19. Start a Project
   4. Type + mark      12. Concept mockups    20. Footer
   5. Buttons + links  13. Process            21. Legal + 404 pages
   6. Welcome screen   14. Principles         22. Motion preferences
   7. Navigation       15. Pricing
   8. Page openers     16. Rellan Care
   ========================================================================== */

/* 1. Fonts ------------------------------------------------------------------
   Inter 4.0 (SIL OFL 1.1), Latin subset, self-hosted. See assets/fonts/OFL.txt.
   "Inter Display" is the optical size cut for large headings. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }


/* 2. Tokens ---------------------------------------------------------------- */

:root {
  /* dark surfaces (default) */
  --bg: #08090c;
  --surface: #0e0f14;
  --raised: #16171e;
  --fg: #f1f2f5;
  --muted: #a3a8b6;
  --faint: #8a90a1;
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .17);

  /* brand blue, taken from the logo's leg */
  --blue: #2453ff;
  --blue-hover: #3a66ff;
  --blue-text: #8ea6ff;
  --blue-wash: rgba(36, 83, 255, .12);
  --danger: #ff9b9b;

  /* type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-display: clamp(2.5rem, 1.35rem + 4.9vw, 5.1rem);
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3.3rem);
  --t-h2-sm: clamp(1.75rem, 1.25rem + 1.9vw, 2.6rem);
  --t-lead: clamp(1.0625rem, .98rem + .38vw, 1.25rem);

  /* layout */
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --section: clamp(88px, 10vw, 148px);
  --nav-h: 72px;
  --r-1: 4px;
  --r-2: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

/* light "paper" surfaces: About section and legal pages */
.paper {
  --bg: #f3f2ee;
  --surface: #ebeae5;
  --raised: #e2e1db;
  --fg: #0b0c10;
  --muted: #474b57;
  --faint: #5c606c;
  --line: rgba(11, 12, 16, .12);
  --line-strong: rgba(11, 12, 16, .24);
  --blue-text: #1a43d6;
  color-scheme: light;
  background: var(--bg);
  color: var(--fg);
}


/* 3. Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--font);
  font-feature-settings: "calt", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; border-radius: var(--r-1); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 500; padding: 10px 16px; border-radius: var(--r-1); background: var(--blue); color: #fff; font-weight: 500; }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); border-top: 1px solid var(--line); background: var(--bg); }
.section--tint { --bg: #0c0d12; }

/* scroll reveal: only active once main.js has run (html.rv-on) */
.rv-on .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv-on .rv.in { opacity: 1; transform: none; }


/* 4. Type + brand mark ----------------------------------------------------- */

.display, .h2, .h2-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-feature-settings: "cv11", "ss01";
  text-wrap: balance;
}
.display { font-size: var(--t-display); line-height: 1; letter-spacing: -.038em; }
.h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -.032em; }
.h2-sm { font-size: var(--t-h2-sm); line-height: 1.08; letter-spacing: -.028em; }
.h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 56ch; text-wrap: pretty; }

/* Small-caps label. The slanted mark before it is the leg of the Rellan "R". */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  flex: none;
  display: inline-block;
  width: 15px;
  height: 10px;
  background: var(--blue);
  clip-path: polygon(0 0, 42.5% 0, 100% 100%, 57.5% 100%);
}
.label { font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* section header layouts */
.head-split { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.head-split .h2, .head-split .h2-sm { margin-top: 18px; }
@media (min-width: 960px) {
  .head-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 64px; }
}
.ticks { display: grid; }
.ticks li { display: flex; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; flex: none; width: 12px; height: 8px; background: var(--blue); clip-path: polygon(0 0, 42.5% 0, 100% 100%, 57.5% 100%); transform: translateY(-1px); }
.ticks--top { border-top: 1px solid var(--line); }


/* 5. Buttons + links ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: .97rem;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost { border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { color: var(--blue-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }

.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); }
.logo svg { width: auto; height: 24px; }
.lg-leg { fill: var(--blue); }


/* 6. Welcome screen ---------------------------------------------------------
   Plays once per session (assets/js/boot.js). Timed entirely in CSS so the
   page still opens if JavaScript fails; main.js only adds early skipping. */

.welcome { display: none; }
.intro-on .welcome,
.wl-out .welcome {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #08090c;
  color: #f1f2f5;
  cursor: pointer;
  animation: wl-exit .85s cubic-bezier(.76, 0, .24, 1) 3s forwards;
}
.wl-out .welcome { animation: wl-exit-now .75s cubic-bezier(.76, 0, .24, 1) forwards; }
.welcome__stage { position: relative; display: grid; justify-items: center; gap: clamp(18px, 3vw, 28px); width: min(540px, 76vw); }
.welcome__hello { color: #8a90a1; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: 0; animation: wl-up .7s .1s var(--ease) forwards; }
.welcome__logo { width: 100%; height: auto; overflow: visible; }
.wl-p { fill: #f1f2f5; fill-opacity: 0; stroke: #f1f2f5; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: wl-draw .9s .2s cubic-bezier(.65, 0, .35, 1) forwards, wl-fill .5s .85s ease forwards; }
.wl-leg { fill: var(--blue); opacity: 0; transform-box: fill-box; transform: translate(-70%, -80%); animation: wl-leg .75s 1s cubic-bezier(.2, 1.2, .4, 1) forwards; }
.wl-letter { fill: #f1f2f5; transform-box: fill-box; transform: translateY(118%); animation: wl-rise .75s var(--ease) forwards; }
.wl-letter:nth-child(1) { animation-delay: 1.15s; }
.wl-letter:nth-child(2) { animation-delay: 1.21s; }
.wl-letter:nth-child(3) { animation-delay: 1.27s; }
.wl-letter:nth-child(4) { animation-delay: 1.33s; }
.wl-letter:nth-child(5) { animation-delay: 1.39s; }
.wl-letter:nth-child(6) { animation-delay: 1.45s; }
.welcome__rule { width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; animation: wl-rule .8s 1.6s var(--ease) forwards; }
.welcome__tag { max-width: 30ch; text-align: center; color: #a3a8b6; font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.45; opacity: 0; animation: wl-up .8s 1.85s var(--ease) forwards; }
.welcome__skip { position: absolute; right: clamp(16px, 4vw, 40px); bottom: calc(clamp(16px, 4vw, 36px) + env(safe-area-inset-bottom, 0px)); padding: 12px 4px; color: #8a90a1; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: 0; animation: wl-up .6s .6s forwards; }
.welcome__skip:hover { color: #f1f2f5; }

@keyframes wl-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wl-draw { to { stroke-dashoffset: 0; } }
@keyframes wl-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes wl-leg { 0% { opacity: 0; transform: translate(-70%, -80%); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes wl-rise { to { transform: none; } }
@keyframes wl-rule { to { transform: scaleX(1); } }
@keyframes wl-exit { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes wl-exit-now { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* hero entrance: follows the welcome screen, or plays straight away */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rise-late { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes leg-in { from { opacity: 0; transform: translate(-18%, -26%); } to { opacity: 1; transform: none; } }
@keyframes leg-in-late { from { opacity: 0; transform: translate(-18%, -26%); } to { opacity: 1; transform: none; } }
.ready .hi { animation: rise .9s var(--ease) both; animation-delay: var(--hd, 0s); }
.intro-on .hi { animation: rise-late .9s var(--ease) both; animation-delay: calc(3.05s + var(--hd, 0s)); }
.ready .hero__leg { animation: leg-in 1.1s var(--ease) both .35s; }
.intro-on .hero__leg { animation: leg-in-late 1.1s var(--ease) both 3.4s; }


/* 7. Navigation ------------------------------------------------------------ */

.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.is-solid { background: rgba(8, 9, 12, .94); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(1px)) { .nav.is-solid { background: rgba(8, 9, 12, .82); backdrop-filter: blur(12px); } }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: none; gap: 4px; }
.nav__links a { position: relative; padding: 10px 12px; color: var(--muted); font-size: .94rem; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--blue-text); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--fg); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }
.burger { position: relative; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 6px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease), opacity .2s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  background: var(--bg);
  visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility 0s .3s;
}
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .3s, visibility 0s; }
.menu li { border-bottom: 1px solid var(--line); }
.menu li a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 500; letter-spacing: -.03em; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .menu li a { opacity: 1; transform: none; }
.menu li:nth-child(2) a { transition-delay: .04s; }
.menu li:nth-child(3) a { transition-delay: .08s; }
.menu li:nth-child(4) a { transition-delay: .12s; }
.menu li:nth-child(5) a { transition-delay: .16s; }
.menu li:nth-child(6) a { transition-delay: .2s; }
.menu li a[aria-current] { color: var(--blue-text); }
.menu__foot { display: grid; gap: 12px; }
.menu__mail { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); overflow-wrap: anywhere; }



/* 8. Page openers -----------------------------------------------------------
   .hero is the home page opener; .page-hero opens every other page. */

.hero { overflow: hidden; padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 128px) + env(safe-area-inset-top, 0px)); padding-bottom: 0; border-top: 0; }
.hero__grid { position: relative; display: grid; gap: 28px; }
.hero__title { max-width: 19ch; }
.hero__title span { color: var(--muted); }
.hero__foot { display: grid; gap: 28px; margin-top: clamp(12px, 2vw, 24px); padding-bottom: clamp(40px, 6vw, 56px); }
.hero__sub { max-width: 48ch; font-size: var(--t-lead); line-height: 1.55; color: var(--muted); }
.hero__act { display: grid; gap: 18px; align-content: start; }
.reassure { display: flex; align-items: center; gap: 12px; font-size: .97rem; }
.reassure::before { content: ""; flex: none; width: 22px; height: 1px; background: var(--blue-text); }
/* the leg of the R, standing on the rule below; shown where the layout has room for it */
.hero__leg { display: none; height: auto; margin-bottom: -1px; }
.hero__leg path { fill: var(--blue); }
.hero-kicker { --hd: 0s; }
.hero__title { --hd: .08s; }
.hero__sub { --hd: .16s; }
.hero__act { --hd: .24s; }
.strip { --hd: .32s; }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: minmax(0, 5fr) minmax(0, 4.4fr) minmax(0, 2.6fr); column-gap: 40px; align-items: end; padding-bottom: 0; }
  .hero__sub, .hero__act { padding-bottom: 32px; }
  .hero__leg { display: block; justify-self: end; align-self: end; width: 100%; max-width: 260px; }
}
.strip {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px;
  padding-block: 22px clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line-strong);
  color: var(--muted); font-size: .95rem;
}
.strip .label { width: 100%; }
.strip span:not(.label) { white-space: nowrap; }
@media (min-width: 760px) { .strip .label { width: auto; margin-right: 8px; } }

.page-hero { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 104px) + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 6vw, 80px); border-top: 0; }
.page-hero .h1 { max-width: 18ch; margin-top: 20px; font-family: var(--font-display); font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -.038em; font-feature-settings: "cv11", "ss01"; text-wrap: balance; }
.page-hero .lead { margin-top: 22px; }
.page-hero + .section { padding-top: clamp(48px, 6vw, 80px); }
.jump { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.jump .label { width: 100%; margin-bottom: 4px; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: .95rem; transition: color .2s; }
.jump a:hover { color: var(--fg); }
@media (min-width: 760px) { .jump .label { width: auto; margin: 0 8px 0 0; align-self: center; } }


/* 9. Home sections --------------------------------------------------------- */

.cols { display: grid; border-top: 1px solid var(--line); }
.cols > * { display: grid; gap: 10px; align-content: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.cols p { color: var(--muted); font-size: .98rem; max-width: 42ch; }
.cols .more { margin-top: 6px; }
@media (min-width: 760px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1100px) {
  .cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid var(--line); }
  .cols--4 > * { padding: 30px 28px 30px 0; border-bottom: 0; }
  .cols--4 > * + * { padding-left: 28px; border-left: 1px solid var(--line); }
}
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--blue-text); font-weight: 500; font-size: .97rem; }
.more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(3px); }
.section-foot { margin-top: clamp(28px, 4vw, 40px); }

.split { display: grid; gap: clamp(36px, 5vw, 64px); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.split .h2 { margin-top: 18px; }
.split .lead { margin-top: 20px; }
.split__note { margin-top: 24px; color: var(--muted); font-size: .95rem; }

.who { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } }
.who li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.who b { font-weight: 600; letter-spacing: -.01em; }
.who span { color: var(--muted); font-size: .95rem; }

.glance { border-top: 1px solid var(--line-strong); }
.glance li { display: grid; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.glance b { font-size: 1.1rem; font-weight: 600; letter-spacing: -.015em; }
.glance span { color: var(--muted); font-size: .96rem; }
.glance .price { color: var(--fg); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) {
  .glance li { grid-template-columns: minmax(0, 3.4fr) minmax(0, 4.6fr) minmax(0, 3fr); align-items: baseline; }
  .glance .price { text-align: right; }
}
.glance__care { margin-top: 18px; color: var(--muted); font-size: .96rem; }
.glance__care b { color: var(--fg); font-weight: 500; }

.cta-block { overflow: hidden; }
.cta-block__inner { display: grid; gap: 28px; }
@media (min-width: 960px) { .cta-block__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 64px; } }
.cta-block .h2 { margin-top: 18px; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.03; letter-spacing: -.04em; }
.cta-block .lead { margin-top: 20px; }
.cta-block .cta-row { margin-top: 30px; align-items: center; }
.mail-link { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 4px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 6px; overflow-wrap: anywhere; transition: text-decoration-color .2s; }
.mail-link:hover { text-decoration-color: var(--blue-text); }


/* 10. Services page -------------------------------------------------------- */

.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.svc-layout > *, .faq-layout > * { min-width: 0; }
@media (min-width: 1000px) {
  .svc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
  .svc-index { position: sticky; top: calc(var(--nav-h) + 32px); }
}
.svc-index ol { display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
.svc-index ol::-webkit-scrollbar { display: none; }
.svc-index a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); font-size: .93rem; white-space: nowrap; transition: color .2s, border-color .2s; }
.svc-index a:hover { color: var(--fg); border-color: var(--fg); }
@media (min-width: 1000px) {
  .svc-index .label { display: block; margin-bottom: 10px; }
  .svc-index ol { display: grid; gap: 0; margin: 0; padding: 0; overflow: visible; border-top: 1px solid var(--line); }
  .svc-index a { display: flex; min-height: 0; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; white-space: normal; }
}
@media (max-width: 999px) { .svc-index .label { display: none; } }
.svc { padding-block: 36px; border-top: 1px solid var(--line); }
.svc:first-child { padding-top: 0; border-top: 0; }
.svc h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; font-feature-settings: "cv11", "ss01"; }
.svc > p { max-width: 62ch; margin-top: 12px; color: var(--muted); font-size: 1.04rem; }
.svc__lists { display: grid; gap: 20px; margin-top: 22px; }
@media (min-width: 700px) { .svc__lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; } }
.svc__lists .label { display: block; margin-bottom: 6px; }
.svc__lists li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.svc .svc__price { max-width: none; margin-top: 20px; padding: 14px 16px; border-left: 2px solid var(--blue); background: var(--surface); color: var(--fg); font-size: .96rem; }
.svc-layout > div > .svc__price { margin-top: 36px; padding: 14px 16px; border-left: 2px solid var(--blue); background: var(--surface); font-size: .96rem; }
.svc__price b { font-weight: 600; }
.svc__price span { color: var(--muted); }
.svc__price a { margin-left: 4px; color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }


/* 11. Concepts ------------------------------------------------------------- */

.showcase { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.tabs {
  display: flex; gap: 22px;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 48px; padding: 0 2px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font-size: .97rem; transition: color .2s, border-color .2s; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--blue); }
@media (min-width: 1000px) {
  .showcase { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
  .tabs { flex-direction: column; gap: 0; margin: 0; padding: 0; overflow: visible; border-bottom: 0; border-top: 1px solid var(--line); }
  .tab { display: flex; align-items: center; justify-content: space-between; min-height: 0; padding: 17px 0; border-bottom: 1px solid var(--line); margin: 0; text-align: left; font-size: 1.05rem; }
  .tab::after { content: ""; width: 15px; height: 10px; background: var(--blue); clip-path: polygon(0 0, 42.5% 0, 100% 100%, 57.5% 100%); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .3s var(--ease); }
  .tab[aria-selected="true"] { border-bottom-color: var(--line); }
  .tab[aria-selected="true"]::after { opacity: 1; transform: none; }
}
.panel:focus-visible { outline-offset: 6px; }
.panel__note { display: grid; gap: 6px; max-width: 62ch; margin-top: 20px; }
.panel__note b { font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.panel__note p { color: var(--muted); font-size: .98rem; }
.disclaimer { display: flex; gap: 12px; align-items: baseline; max-width: 70ch; margin-top: clamp(32px, 4vw, 48px); color: var(--muted); font-size: .93rem; }
.disclaimer::before { content: "Note"; flex: none; color: var(--blue-text); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

.browser { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--r-2); background: #111; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .9); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: #1a1b22; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser__bar > i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #3a3c47; }
.browser__url { flex: 1; min-width: 0; margin-inline: 10px; padding: 5px 12px; border-radius: var(--r-1); background: #0e0f14; color: #8d92a1; font-size: .76rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { flex: none; padding: 3px 8px; border: 1px solid rgba(142, 166, 255, .5); border-radius: var(--r-1); background: rgba(36, 83, 255, .14); color: #b4c3ff; font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }


/* 12. Concept mockups -------------------------------------------------------
   Self-contained mini sites for fictional businesses. Sized in container
   query units (cqw) so each one scales with its browser frame. */

.mk { position: relative; overflow: hidden; aspect-ratio: 16 / 10.4; container-type: inline-size; }
.mk * { box-sizing: border-box; }
.ms { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1.5cqw; line-height: 1.45; }
.ms .m-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 4cqw; }
.ms .m-logo { font-weight: 700; font-size: 1.9cqw; letter-spacing: -.02em; white-space: nowrap; }
.ms .m-links { display: flex; gap: 2.6cqw; margin-left: auto; font-size: 1.35cqw; opacity: .8; white-space: nowrap; }
.ms .m-btn { display: inline-flex; align-items: center; padding: 1cqw 1.9cqw; border-radius: .7cqw; font-weight: 600; font-size: 1.35cqw; white-space: nowrap; }
.ms .m-kicker { font-size: 1.15cqw; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.ms .m-h { font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.ms .m-cta { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: 2.6cqw; }

/* contractor */
.m-roof { background: #f6f3ee; color: #1b2430; }
.m-roof .m-logo span { margin-left: .5cqw; color: #c8571f; font-weight: 600; }
.m-roof .m-btn { background: #c8571f; color: #fff; }
.m-roof .m-btn.alt { background: transparent; color: #1b2430; border: .15cqw solid #1b2430; }
.m-roof .m-hero { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3cqw; align-items: center; padding: 2cqw 4cqw 3cqw; }
.m-roof .m-kicker { color: #c8571f; }
.m-roof .m-h { margin-top: 1.2cqw; font-size: 4.6cqw; }
.m-roof .m-p { max-width: 34ch; margin-top: 1.6cqw; color: #4a5563; }
.m-roof .m-art { height: 100%; overflow: hidden; border-radius: 1.2cqw; }
.m-roof .m-art svg { width: 100%; height: 100%; }
.m-roof .m-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: #1b2430; color: #e9e4da; }
.m-roof .m-strip span { display: grid; gap: .3cqw; padding: 2.2cqw 4cqw; color: #a9b1bc; font-size: 1.25cqw; }
.m-roof .m-strip span + span { border-left: .1cqw solid #2f3b4b; }
.m-roof .m-strip b { color: #fff; font-size: 1.6cqw; }

/* restaurant */
.m-food { background: #1e3127; color: #f2eadb; }
.m-food .m-logo { font-family: Georgia, "Times New Roman", serif; font-size: 2.3cqw; font-style: italic; font-weight: 400; }
.m-food .m-btn { background: #e3b26b; color: #1e3127; }
.m-food .m-hero { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4cqw; align-items: center; padding: 2cqw 4cqw 3.4cqw; }
.m-food .m-kicker { color: #e3b26b; }
.m-food .m-h { margin-top: 1.2cqw; font-family: Georgia, "Times New Roman", serif; font-size: 5cqw; font-weight: 400; letter-spacing: -.02em; }
.m-food .m-p { max-width: 34ch; margin-top: 1.6cqw; color: #bfc8bc; }
.m-food .m-hours { display: flex; gap: 2.4cqw; margin-top: 2.4cqw; color: #bfc8bc; font-size: 1.25cqw; }
.m-food .m-hours b { display: block; color: #f2eadb; font-weight: 600; }
.m-food .m-menu { display: grid; gap: 1.4cqw; padding: 2.6cqw 2.8cqw; border-radius: 1cqw; background: #f2eadb; color: #1e3127; }
.m-food .m-menu .m-kicker { color: #7a5a2b; }
.m-food .m-item { display: grid; grid-template-columns: 1fr auto; gap: .2cqw 2cqw; padding-bottom: 1.2cqw; border-bottom: .1cqw dashed #c9bfae; }
.m-food .m-item:last-child { padding: 0; border: 0; }
.m-food .m-item b { font-family: Georgia, serif; font-size: 1.7cqw; font-weight: 400; }
.m-food .m-item small { grid-column: 1; color: #5e6b5f; font-size: 1.15cqw; }
.m-food .m-item em { grid-row: 1; grid-column: 2; font-style: normal; font-weight: 600; }
.m-food .m-photos { display: grid; grid-template-columns: repeat(4, 1fr); height: 13cqw; }
.m-food .m-photos i:nth-child(1) { background: radial-gradient(circle at 40% 45%, #d9a35a 0 18%, #8b4a2b 19% 32%, #2b1e17 33%); }
.m-food .m-photos i:nth-child(2) { background: radial-gradient(circle at 55% 50%, #e7d9b8 0 22%, #6f8f4e 23% 30%, #3b2a20 31%); }
.m-food .m-photos i:nth-child(3) { background: radial-gradient(circle at 45% 55%, #b6402f 0 20%, #f0e3c8 21% 34%, #24301f 35%); }
.m-food .m-photos i:nth-child(4) { background: radial-gradient(circle at 50% 45%, #5a3424 0 16%, #efe5d2 17% 30%, #3a2a1f 31%); }

/* local service */
.m-lawn { background: #fff; color: #17261c; }
.m-lawn .m-logo { color: #2e7a4c; }
.m-lawn .m-btn { background: #2e7a4c; color: #fff; }
.m-lawn .m-hero { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4cqw; align-items: center; padding: 2cqw 4cqw 3cqw; background: linear-gradient(180deg, #fff 0%, #eef5ef 100%); }
.m-lawn .m-kicker { color: #2e7a4c; }
.m-lawn .m-h { margin-top: 1.2cqw; font-size: 4.6cqw; }
.m-lawn .m-p { max-width: 36ch; margin-top: 1.6cqw; color: #4b5b50; }
.m-lawn .m-list { display: flex; flex-wrap: wrap; gap: .8cqw; margin-top: 2.4cqw; }
.m-lawn .m-list i { padding: .6cqw 1.3cqw; border-radius: 5cqw; background: #ddebdf; color: #1f5535; font-size: 1.2cqw; font-style: normal; }
.m-lawn .m-form { display: grid; gap: 1.1cqw; padding: 2.6cqw; border: .1cqw solid #e2e8e3; border-radius: 1.2cqw; background: #fff; box-shadow: 0 2cqw 5cqw -2cqw rgba(23, 38, 28, .35); }
.m-lawn .m-form b { font-size: 1.9cqw; letter-spacing: -.02em; }
.m-lawn .m-form small { margin-top: -.6cqw; color: #5b6b60; font-size: 1.15cqw; }
.m-lawn .m-field { display: flex; justify-content: space-between; padding: 1cqw 1.2cqw; border: .12cqw solid #cbd6cd; border-radius: .6cqw; color: #7c8a80; font-size: 1.25cqw; }
.m-lawn .m-form .m-btn { justify-content: center; padding: 1.3cqw; }
.m-lawn .m-strip { display: flex; justify-content: space-between; padding: 2cqw 4cqw; border-top: .1cqw solid #e2e8e3; color: #4b5b50; font-size: 1.3cqw; }
.m-lawn .m-strip b { color: #17261c; }

/* online store */
.m-shop { background: #f4efe8; color: #2a221d; }
.m-shop .m-logo { font-family: Georgia, serif; font-weight: 400; letter-spacing: .02em; }
.m-shop .m-cart { padding: .8cqw 1.6cqw; border-radius: 5cqw; background: #2a221d; color: #f4efe8; font-size: 1.35cqw; font-weight: 600; white-space: nowrap; }
.m-shop .m-banner { display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqw; padding: 2.4cqw 4cqw 2cqw; }
.m-shop .m-kicker { color: #94582f; }
.m-shop .m-h { margin-top: 1cqw; font-family: Georgia, serif; font-size: 4.2cqw; font-weight: 400; letter-spacing: -.02em; }
.m-shop .m-filters { display: flex; gap: .8cqw; font-size: 1.2cqw; }
.m-shop .m-filters i { padding: .6cqw 1.3cqw; border: .12cqw solid #cdbfae; border-radius: 5cqw; font-style: normal; white-space: nowrap; }
.m-shop .m-filters i:first-child { background: #2a221d; border-color: #2a221d; color: #f4efe8; }
.m-shop .m-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; padding: 0 4cqw 3cqw; }
.m-shop .m-prod { display: grid; grid-template-rows: 1fr auto; gap: 1cqw; min-height: 0; }
.m-shop .m-img { display: grid; place-items: end center; min-height: 0; padding-bottom: 2.2cqw; border-radius: 1cqw; }
.m-shop .m-img i { width: 42%; aspect-ratio: .8; border-radius: .8cqw .8cqw 1.2cqw 1.2cqw; box-shadow: inset 0 -1.2cqw 0 rgba(0, 0, 0, .12); }
.m-shop .m-prod:nth-child(1) .m-img { background: #e2d5c3; } .m-shop .m-prod:nth-child(1) .m-img i { background: #f5eee2; }
.m-shop .m-prod:nth-child(2) .m-img { background: #cbd3c4; } .m-shop .m-prod:nth-child(2) .m-img i { background: #5d6b4e; }
.m-shop .m-prod:nth-child(3) .m-img { background: #e7cdbe; } .m-shop .m-prod:nth-child(3) .m-img i { background: #a65a3a; }
.m-shop .m-prod:nth-child(4) .m-img { background: #d2cbdd; } .m-shop .m-prod:nth-child(4) .m-img i { background: #38324a; }
.m-shop .m-meta { display: flex; justify-content: space-between; gap: 1cqw; font-size: 1.3cqw; }
.m-shop .m-meta b { font-weight: 600; }

/* booking */
.m-book { background: #f3f6fa; color: #12233a; }
.m-book .m-logo span { color: #2c7bb6; }
.m-book .m-btn { background: #12233a; color: #fff; }
.m-book .m-hero { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; align-items: center; padding: 2cqw 4cqw 3.4cqw; }
.m-book .m-kicker { color: #2c7bb6; }
.m-book .m-h { margin-top: 1.2cqw; font-size: 4.4cqw; }
.m-book .m-p { max-width: 34ch; margin-top: 1.6cqw; color: #4d5d72; }
.m-book .m-points { display: grid; gap: .8cqw; margin-top: 2.2cqw; color: #2e405a; font-size: 1.3cqw; }
.m-book .m-points i { display: flex; align-items: center; gap: 1cqw; font-style: normal; }
.m-book .m-points i::before { content: ""; width: 1cqw; height: 1cqw; border-radius: 50%; background: #2c7bb6; }
.m-book .m-cal { display: grid; gap: 1.4cqw; padding: 2.4cqw; border: .1cqw solid #dce3ec; border-radius: 1.2cqw; background: #fff; box-shadow: 0 2cqw 5cqw -2.5cqw rgba(18, 35, 58, .35); }
.m-book .m-cal b { font-size: 1.8cqw; letter-spacing: -.02em; }
.m-book .m-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8cqw; font-size: 1.15cqw; text-align: center; }
.m-book .m-days i { display: grid; padding: .9cqw 0; border: .12cqw solid #dce3ec; border-radius: .7cqw; font-style: normal; }
.m-book .m-days i em { font-size: 1.7cqw; font-style: normal; font-weight: 700; }
.m-book .m-days i.on { background: #12233a; border-color: #12233a; color: #fff; }
.m-book .m-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8cqw; font-size: 1.25cqw; text-align: center; }
.m-book .m-slots i { padding: 1cqw 0; border-radius: .7cqw; background: #eaf2f9; color: #1d5e8f; font-style: normal; font-weight: 600; }
.m-book .m-slots i.off { background: transparent; color: #a3afbe; font-weight: 400; text-decoration: line-through; }
.m-book .m-slots i.on { background: #2c7bb6; color: #fff; }
.m-book .m-cal .m-btn { justify-content: center; padding: 1.3cqw; }



/* 13. Process ---------------------------------------------------------------
   .steps is the compact home-page version; .timeline is the full page. */

.steps { display: grid; border-top: 1px solid var(--line); }
.step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step__n { padding-top: 2px; color: var(--blue-text); font-size: .88rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.step p { grid-column: 2; color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 0; border-top: 0; }
  .step { grid-template-columns: 1fr; align-content: start; gap: 10px; padding: 28px 24px 0 0; border-top: 1px solid var(--line-strong); border-bottom: 0; }
  .step::before { content: ""; position: absolute; top: -5px; left: 0; width: 15px; height: 10px; background: var(--blue); clip-path: polygon(0 0, 42.5% 0, 100% 100%, 57.5% 100%); }
  .step p { grid-column: 1; }
}

.timeline { border-top: 1px solid var(--line-strong); }
.phase { display: grid; gap: 14px 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.phase__n { color: var(--blue-text); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.phase h2 { font-family: var(--font-display); font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); font-weight: 600; letter-spacing: -.028em; line-height: 1.15; font-feature-settings: "cv11", "ss01"; }
.phase__lead { max-width: 60ch; margin-top: 8px; color: var(--muted); }
.phase__grid { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 700px) { .phase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.phase__grid .label { display: block; margin-bottom: 4px; }
.phase__grid p { font-size: .96rem; }
.phase--optional .phase__n { color: var(--faint); }
@media (min-width: 900px) { .phase { grid-template-columns: 120px minmax(0, 1fr); padding: 40px 0; } }


/* 14. Principles: what to expect / what you won't get ---------------------- */

.why { display: grid; gap: clamp(40px, 5vw, 64px); }
@media (min-width: 960px) { .why { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 72px; align-items: start; } }
.expect { border-top: 1px solid var(--line); }
.expect li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.expect p { max-width: 58ch; color: var(--muted); font-size: .98rem; }
@media (min-width: 700px) { .expect li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; } }
.wont { padding-left: 24px; border-left: 2px solid var(--line-strong); }
.wont .label { display: block; margin-bottom: 14px; }
.wont li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; color: var(--muted); }
.wont li::before { content: "\00d7"; flex: none; color: var(--faint); font-size: 1.1rem; line-height: 1; }
.verdict { margin-top: clamp(40px, 5vw, 64px); font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; font-feature-settings: "cv11", "ss01"; }
.verdict span { color: var(--blue-text); }

.principles { display: grid; border-top: 1px solid var(--line); }
.principles li { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.principles .label { color: var(--blue-text); }
.principles p { max-width: 44ch; color: var(--muted); font-size: .98rem; }
@media (min-width: 860px) {
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .principles li { padding: 28px 28px 28px 0; border-bottom: 0; }
  .principles li + li { padding-left: 28px; border-left: 1px solid var(--line); }
}


/* 15. Pricing -------------------------------------------------------------- */

.seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); }
.seg [role="tab"] { min-height: 44px; padding: 0 18px; border-radius: 5px; color: var(--muted); font-size: .97rem; font-weight: 500; transition: background-color .2s, color .2s; }
.seg [role="tab"]:hover { color: var(--fg); }
.seg [role="tab"][aria-selected="true"] { background: var(--fg); color: var(--bg); }
.seg-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.seg-bar p { color: var(--muted); font-size: .95rem; }
.tabpanel:focus-visible { outline-offset: 8px; }

.grid-table { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--r-2); background: var(--line-strong); }
.pkgs { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pkg, .plan { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(24px, 2.6vw, 32px); background: var(--surface); }
.pkg h3, .plan h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.pkg__price { font-family: var(--font-display); font-size: clamp(1.9rem, 1.6rem + 1vw, 2.3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pkg__price small { display: block; margin-top: 6px; color: var(--muted); font-family: var(--font); font-size: .85rem; font-weight: 400; letter-spacing: 0; }
.pkg__scope { align-self: start; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-1); font-size: .88rem; font-weight: 500; }
.pkg__for { color: var(--muted); font-size: .96rem; line-height: 1.5; }
.pkg__for b { display: block; margin-bottom: 2px; color: var(--fg); font-weight: 500; }
@media (min-width: 1000px) { .pkg__for { min-height: 9.2em; } }
.pkg__plus { padding-top: 14px; border-top: 1px solid var(--line); color: var(--blue-text); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.pkg ul, .plan ul { display: grid; gap: 9px; font-size: .94rem; }
.pkg__first { padding-top: 14px; border-top: 1px solid var(--line); }
.pkg li, .plan li { display: flex; gap: 10px; align-items: flex-start; }
.pkg li svg, .plan li svg { flex: none; width: 15px; height: 15px; margin-top: 5px; color: var(--blue-text); }
.pkg .btn { margin-top: auto; }
.pkg__spacer { flex: 1; }

.custom-band { display: grid; gap: 18px; margin-top: 16px; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line-strong); border-radius: var(--r-2); }
.custom-band h3 { font-size: 1.1rem; font-weight: 600; }
.custom-band p { max-width: 62ch; margin-top: 4px; color: var(--muted); font-size: .97rem; }
.custom-band .pkg__price { color: var(--fg); font-size: 1.6rem; white-space: nowrap; }
@media (min-width: 860px) { .custom-band { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 32px; } }

.subhead { margin-top: clamp(56px, 7vw, 88px); margin-bottom: 20px; }
.subhead .h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); letter-spacing: -.028em; font-feature-settings: "cv11", "ss01"; }
.subhead p { max-width: 62ch; margin-top: 8px; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); }
.table-wrap:focus-visible { outline-offset: 2px; }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table tr:last-child > * { border-bottom: 0; }
.table thead th { background: var(--surface); color: var(--fg); font-weight: 600; white-space: nowrap; }
.table tbody th { width: 30%; color: var(--fg); font-weight: 500; }
.table td { color: var(--muted); }
.table-hint { margin-bottom: 10px; }
@media (min-width: 760px) { .table-hint { display: none; } }
@media (max-width: 639px) {
  .table--stack { min-width: 0; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table--stack tr, .table--stack th, .table--stack td { display: block; width: auto; }
  .table--stack tbody th { padding-bottom: 2px; border-bottom: 0; }
  .table--stack td { padding-top: 0; }
}
.table .yes { color: var(--fg); }
.table .yes::before { content: ""; display: inline-block; width: 12px; height: 8px; margin-right: 8px; background: var(--blue); clip-path: polygon(0 0, 42.5% 0, 100% 100%, 57.5% 100%); }

.notes { display: grid; column-gap: 48px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.notes > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.notes h3 { font-size: 1.04rem; font-weight: 600; letter-spacing: -.01em; }
.notes p { max-width: 58ch; margin-top: 6px; color: var(--muted); font-size: .95rem; }


/* 16. Rellan Care ---------------------------------------------------------- */

.plans { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan__amt { display: flex; align-items: baseline; gap: 4px; }
.plan__amt b { font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.7rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__amt span { color: var(--muted); font-size: .95rem; }
.plan__who { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (min-width: 900px) { .plan__who { min-height: 4.6em; } }
.plan__key { display: grid; gap: 6px; padding: 14px 0; border-block: 1px solid var(--line); font-size: .93rem; }
.plan__key div { display: flex; justify-content: space-between; gap: 12px; }
.plan__key dt { color: var(--muted); }
.plan__key dd { color: var(--fg); font-weight: 500; text-align: right; }
.plan__plus { color: var(--blue-text); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.care-lead { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 960px) { .care-lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 64px; } }
.care-lead .h2-sm { margin-top: 16px; }
.quote { max-width: 40ch; padding-left: 20px; border-left: 2px solid var(--blue); font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem); line-height: 1.5; }

.band { display: grid; gap: 22px; margin-top: clamp(48px, 6vw, 72px); padding-block: clamp(26px, 4vw, 36px); border-block: 1px solid var(--line-strong); }
.band p { max-width: 52ch; font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.45; letter-spacing: -.012em; }
.band p span { color: var(--muted); }
@media (min-width: 820px) { .band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; } }


/* 17. About + founder ------------------------------------------------------ */

.honest { display: grid; gap: 10px; max-width: 70ch; margin-top: clamp(40px, 5vw, 56px); padding: 20px 22px; border: 1px solid var(--line-strong); border-radius: var(--r-2); }
.honest p { color: var(--muted); font-size: .97rem; }
.honest b { color: var(--fg); font-weight: 600; }
.founder { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 820px) { .founder { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } }
/* Founder photo frame: a branded placeholder until a real photo is added (see about.html). Portrait, 4:5. */
.founder__photo { position: relative; width: 100%; max-width: 400px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-2); background: #0e0f15; }
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #f1f2f5; }
.founder__placeholder svg { width: 32%; height: auto; }
.founder__photo figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; background: linear-gradient(transparent, rgba(8, 9, 12, .8)); color: #d4d7df; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.founder__copy { display: grid; gap: 18px; align-content: start; }
.founder__role { margin-top: -10px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 500; }
.skills li { display: flex; align-items: center; gap: 10px; }
.skills li::before { content: ""; width: 12px; height: 8px; background: var(--blue); clip-path: polygon(0 0, 42.5% 0, 100% 100%, 57.5% 100%); }


/* 18. FAQ ------------------------------------------------------------------ */

.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
  .faq-layout .svc-index { position: sticky; top: calc(var(--nav-h) + 32px); }
}
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 56px); }
.faq-group h2 { margin-bottom: 12px; font-family: var(--font-display); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); font-weight: 600; letter-spacing: -.025em; font-feature-settings: "cv11", "ss01"; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 18px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: clamp(1rem, .96rem + .2vw, 1.1rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.35; transition: color .2s; }
.qa summary:hover h3 { color: var(--blue-text); }
.qa__icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: var(--r-1); transition: background-color .3s, border-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--blue); border-color: var(--blue); color: #fff; }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { padding: 0 48px 20px 0; }
.qa__a p { max-width: 64ch; color: var(--muted); }
.qa__a p + p { margin-top: 10px; }
.qa__a a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.qa[open]::details-content { block-size: auto; }


/* 19. Start a Project ------------------------------------------------------ */

.start { display: grid; gap: clamp(40px, 5vw, 56px); }
@media (min-width: 1000px) { .start { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; } }
.start__aside { display: grid; gap: 28px; }
@media (min-width: 1000px) { .start__aside { position: sticky; top: calc(var(--nav-h) + 32px); } }
.aside-box { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }
.aside-box .label { display: block; margin-bottom: 10px; }
.aside-box ol { counter-reset: n; }
.aside-box ol li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; counter-increment: n; }
.aside-box ol li:last-child { border-bottom: 0; }
.aside-box ol li::before { content: counter(n); color: var(--blue-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.aside-box p { color: var(--muted); font-size: .95rem; }
.aside-box .mail-link { min-height: 44px; color: var(--fg); }

.wizard { border: 1px solid var(--line-strong); border-radius: var(--r-2); background: var(--surface); }
.wizard__top[data-js-only] { display: none; }
.js .wizard__top[data-js-only] { display: block; }
.wizard__top { padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 32px) 0; }
.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.progress li { display: grid; gap: 8px; color: var(--faint); font-size: .82rem; font-weight: 500; }
.progress li::before { content: ""; height: 3px; border-radius: 2px; background: var(--line-strong); transition: background-color .3s; }
.progress li.is-done, .progress li.is-current { color: var(--fg); }
.progress li.is-done::before, .progress li.is-current::before { background: var(--blue); }
@media (max-width: 559px) { .progress li span { display: none; } .progress li.is-current span { display: inline; } }
.wizard__status { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.wizard fieldset.step-panel { margin: 0; padding: clamp(20px, 3vw, 32px); border: 0; min-width: 0; }
.wizard fieldset.step-panel > legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); font-weight: 600; letter-spacing: -.028em; font-feature-settings: "cv11", "ss01"; }
.wizard fieldset.step-panel > legend + * { clear: both; }
.step-intro { margin-bottom: 22px; color: var(--muted); }
.js .step-panel[data-step]:not(.is-active) { display: none; }
.stack { display: grid; gap: 22px; }
.fgrid { display: grid; gap: 18px; }
@media (min-width: 620px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fld { display: grid; gap: 8px; align-content: start; min-width: 0; }
fieldset.fld { margin: 0; padding: 0; border: 0; }
fieldset.fld:focus { outline: none; }
.fld > label, .fld > legend { padding: 0; font-size: .97rem; font-weight: 500; }
.fld > legend { margin-bottom: 10px; }
.req, .opt { margin-left: 6px; font-size: .82rem; font-weight: 400; }
.req { color: var(--blue-text); }
.opt { color: var(--faint); }
.inp { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg); color: var(--fg); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.inp::placeholder { color: #747a8b; }
.inp:hover { border-color: rgba(255, 255, 255, .3); }
.inp:focus { outline: none; border-color: var(--blue-text); box-shadow: 0 0 0 3px rgba(36, 83, 255, .32); }
textarea.inp { min-height: 110px; resize: vertical; line-height: 1.5; }
.hint { color: var(--faint); font-size: .87rem; }
.err { display: none; color: var(--danger); font-size: .88rem; }
.fld.is-invalid .inp { border-color: #ff6b6b; }
.fld.is-invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--cols { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .chips--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chip { position: relative; display: flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip > span { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 2px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg); color: var(--muted); font-size: .95rem; line-height: 1.35; transition: background-color .2s, border-color .2s, color .2s; }
.chip > span small { display: block; color: var(--faint); font-size: .84rem; }
.chip:hover > span { border-color: rgba(255, 255, 255, .34); color: var(--fg); }
.chip input:checked + span { border-color: var(--blue); background: var(--blue-wash); color: var(--fg); box-shadow: inset 0 0 0 1px var(--blue); }
.chip input:checked + span small { color: var(--muted); }
.chip input:focus-visible + span { outline: 2px solid var(--blue-text); outline-offset: 3px; }
.cond { padding: 18px; border-left: 2px solid var(--blue); background: var(--raised); border-radius: 0 6px 6px 0; }
.cond > .label { display: block; margin-bottom: 14px; color: var(--blue-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wizard__nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); }
.wizard__nav .btn--primary { margin-left: auto; }
.wizard__nav small { flex-basis: 100%; color: var(--faint); font-size: .85rem; }
.wizard__nav small a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.js .wizard__nav [data-only-js] { display: inline-flex; }
.wizard__nav [data-only-js] { display: none; }
.js .wizard__nav .nojs-submit { display: none; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.send-error { display: grid; gap: 10px; margin: 0 clamp(20px, 3vw, 32px) 20px; padding: 14px 16px; border: 1px solid rgba(255, 107, 107, .45); border-radius: 6px; background: rgba(255, 107, 107, .08); font-size: .95rem; }
.send-error:focus { outline: none; }
.send-error a, .send-error button { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.send-error button { justify-self: start; font-size: .93rem; }

.result { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-strong); border-radius: var(--r-2); background: var(--surface); }
.result__icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(142, 166, 255, .5); border-radius: 50%; background: var(--blue-wash); color: var(--blue-text); }
.result__icon svg { width: 24px; height: 24px; }
.result__icon path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result h2 { margin-top: 20px; }
.result h2:focus { outline: none; }
.result > p { max-width: 60ch; margin-top: 12px; color: var(--muted); }
.rec { margin-top: 28px; padding: 22px; border: 1px solid rgba(142, 166, 255, .35); border-radius: var(--r-2); background: var(--bg); }
.rec .label { color: var(--blue-text); }
.rec h3 { margin-top: 8px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.rec__range { margin-top: 2px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rec ul { display: grid; gap: 6px; margin-top: 14px; }
.rec li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; }
.rec li::before { content: ""; flex: none; width: 12px; height: 8px; margin-top: 8px; background: var(--blue); clip-path: polygon(0 0, 42.5% 0, 100% 100%, 57.5% 100%); }
.rec__note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: .9rem; }
.result .cta-row { margin-top: 28px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 450; max-width: calc(100% - 32px); padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--raised); color: var(--fg); font-size: .93rem; opacity: 0; transform: translate(-50%, 24px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 559px) {
  .hero .cta-row .btn, .cta-block .cta-row .btn, .band .btn { flex: 1 1 100%; }
}


/* 20. Footer --------------------------------------------------------------- */

.footer { padding-block: clamp(56px, 8vw, 88px) calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.footer .logo svg { height: 28px; }
.footer__tag { max-width: 30ch; margin-top: 18px; color: var(--muted); font-size: 1.02rem; line-height: 1.45; }
.footer__where { margin-top: 10px; color: var(--faint); font-size: .92rem; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
@media (min-width: 600px) { .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer__cols > div { min-width: 0; }
.footer h2 { margin-bottom: 10px; }
.footer li a, .footer li button { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: .95rem; text-align: left; overflow-wrap: anywhere; transition: color .2s; }
.footer li a:hover, .footer li button:hover { color: var(--fg); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 28px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: .9rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); }
.footer__bottom a:hover { color: var(--fg); }



/* 21. Legal + 404 pages ---------------------------------------------------- */

.doc-nav { border-bottom: 1px solid var(--line); background: #08090c; color: #f1f2f5; }
.doc-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--nav-h); }
.doc-nav .logo { color: #f1f2f5; }
.doc-nav a.back { display: inline-flex; align-items: center; min-height: 44px; color: #a3a8b6; font-size: .95rem; }
.doc-nav a.back:hover { color: #f1f2f5; }
.doc { padding-block: clamp(56px, 8vw, 104px); }
.doc__inner { max-width: 70ch; }
.doc h1 { margin-top: 18px; }
.doc__date { margin-top: 16px; color: var(--faint); font-size: .95rem; }
.doc__intro { margin-top: 28px; font-size: 1.12rem; line-height: 1.6; }
.doc h2 { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.doc h3 { margin-top: 24px; font-size: 1.05rem; font-weight: 600; }
.doc p, .doc ul { margin-top: 14px; color: var(--muted); }
.doc ul { display: grid; gap: 8px; padding-left: 1.25em; list-style: disc; }
.doc li::marker { color: var(--faint); }
.doc strong { color: var(--fg); font-weight: 600; }
.doc code { padding: 1px 5px; border-radius: var(--r-1); background: var(--surface); color: var(--fg); font-size: .9em; }
.doc a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.doc-footer { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #08090c; color: #8a90a1; font-size: .9rem; }
.doc-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.doc-footer ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.doc-footer a { display: inline-flex; align-items: center; min-height: 40px; color: #a3a8b6; }
.doc-footer a:hover { color: #f1f2f5; }

.notfound { display: grid; align-content: center; min-height: 100vh; min-height: 100svh; padding-block: 64px; }
.notfound .kicker { margin-top: clamp(48px, 8vw, 96px); }
.notfound .display { max-width: 12ch; margin-top: 20px; }
.notfound .lead { margin-top: 20px; }
.notfound .cta-row { margin-top: 32px; }



/* 22. Motion preferences --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rv-on .rv { opacity: 1; transform: none; }
}
