/* Caliora landing page
   Layout: a narrow 1100px brochure column on warm paper; illustrations and carousels bleed to the viewport edge,
   coloured bands (peach, lavender, coal, night) mark the Gandi-style sections. One light look by design. */
:root {
  --paper: #FBFAF6;
  --card: #F2F0EA;
  --card-2: #E9E6DE;
  --ink: #16161D;
  --ink-2: #4A4A56;
  --ink-3: #7A7A85;
  --line: #E3DFD6;
  --blue: #2F5CF6;
  --blue-ink: #1C40CF;
  --coral: #F28A6A;
  --green: #1A9B70;
  --mint-bg: #D5F2E2;
  --mint-ink: #0D6847;
  --peach: #FCEFE7;
  --peach-line: #F1D8C9;
  --lavender: #EEEEF9;
  --lavender-line: #DADAF0;
  --coal: #1D1C22;
  --coal-2: #2A2930;
  --night: #17163A;
  --night-2: #232153;
  --mint: #74E3AB;
  --white: #FFFFFF;

  --f-sans: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --col: 1100px;
  --gutter: 20px;
  --rail-pad: max(var(--gutter), env(safe-area-inset-left, 0px), calc((100% - var(--col)) / 2));
  --r: 8px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--col) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ------------------------------------------------------------ type */
.h2 { font-size: clamp(25px, 2.5vw, 33px); line-height: 1.18; font-weight: 500; letter-spacing: -0.018em; }
.h2-serifless { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; }
.center { text-align: center; }
.eyebrow {
  font: 600 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.tag {
  display: inline-block; vertical-align: 1px; margin-left: 6px;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 4px 8px;
}
.hl {
  display: inline-block;
  font: 500 12.5px/1.45 var(--f-mono);
  color: var(--mint-ink);
  background: var(--mint-bg);
  padding: 2px 7px;
  border-radius: 3px;
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--blue); color: var(--white);
  border: 0; border-radius: 999px;
  padding: 6px 6px 6px 20px;
  font: 700 11.5px/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--blue-ink); box-shadow: 0 6px 18px -8px rgba(47, 92, 246, .7); }
.btn__icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); color: var(--blue);
  display: grid; place-items: center; flex: none;
}
.btn__icon svg, .arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn__icon svg { transition: transform .18s ease; }
.btn:hover .btn__icon svg { transform: translateX(2px); }
.btn--light { background: var(--white); color: var(--night); }
.btn--light .btn__icon { background: var(--blue); color: var(--white); }
.btn--light:hover { background: #E8EAFF; }

.btn-outline {
  border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
  padding: 9px 16px; cursor: pointer;
  font: 700 11.5px/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .15s, color .15s;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-sm {
  border: 1px solid var(--ink); border-radius: 4px; background: var(--white);
  padding: 7px 12px; cursor: pointer; font-size: 13px; font-weight: 500;
  transition: background-color .15s;
}
.btn-sm:hover { background: var(--card); }

.btn-ghost {
  display: inline-block; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .55); color: var(--white); border-radius: 4px;
  padding: 10px 16px; font-size: 14px; font-weight: 500;
  transition: background-color .15s, border-color .15s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(251, 250, 246, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 40px; height: 72px; }
.nav__logo { flex: none; display: block; border-radius: 4px; }
.nav__logo img { height: 30px; width: auto; }
.nav__menu { display: flex; align-items: center; }
.nav__links { display: flex; gap: 28px; list-style: none; padding: 0; }
.nav__links a, .nav__login {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .2s ease;
}
.nav__links a:hover, .nav__login:hover { background-size: 100% 1.5px; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__login--menu { display: none; }
.nav__burger {
  display: none; width: 40px; height: 40px; border: 0; background: transparent; padding: 0; cursor: pointer;
  position: relative; border-radius: 8px;
}
.nav__burger span {
  position: absolute; left: 10px; right: 10px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; max-width: 1920px; margin-inline: auto; }
.hero__text {
  position: absolute; z-index: 2; left: 50%; top: clamp(18px, 3.4vw, 64px);
  transform: translateX(-50%);
  width: min(800px, 100% - 2 * var(--gutter));
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 3.85vw, 60px); line-height: 1.12; font-weight: 400; letter-spacing: -0.022em;
  max-width: 15.5em;
}
.hero__text > p { margin-top: 16px; font-size: clamp(14.5px, 1.1vw, 16.5px); color: var(--ink-2); max-width: 34em; }
.hero .btn { margin-top: 26px; }
.hero__link {
  margin-top: 12px; font-size: 13px; color: var(--ink-2); text-decoration: underline;
  text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.hero__link:hover { color: var(--ink); text-decoration-color: currentColor; }
.hero__art { position: relative; z-index: 1; }
.hero__art img { width: 100%; }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight-top { padding-top: clamp(24px, 3vw, 40px); }
.domain { padding-top: clamp(8px, 2vw, 24px); }
.band { padding-block: clamp(64px, 8vw, 104px); }
.band--peach { background: var(--peach); }
.band--lavender { background: var(--lavender); }
.band--coal { background: var(--coal); color: var(--white); }
.band__note { margin: 36px auto 0; max-width: 620px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.band__note a { text-underline-offset: 3px; }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.head-row__text { max-width: 500px; }
.head-row__text p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.arrows { display: flex; gap: 10px; flex: none; }
.arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
  transition: background-color .15s, border-color .15s, opacity .15s;
}
.arrow:hover:not(:disabled) { border-color: var(--ink); }
.arrow:disabled { opacity: .35; cursor: default; }
.arrows[hidden] { display: none; }

/* What makes us different */
.diff { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.diff__card {
  background: var(--card); border-radius: 6px; padding: 26px 30px 34px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.diff__card img { width: 88px; height: 88px; }
.diff__card h3 { margin-top: 20px; font-size: 15px; font-weight: 500; }
.diff__card p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 24em; }

/* Domain search */
.domain__inner { display: flex; flex-direction: column; align-items: center; }
.search {
  margin-top: 30px; width: min(640px, 100%);
  display: flex; align-items: center;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 5px 5px 5px 20px;
  transition: box-shadow .15s ease;
}
.search:focus-within { box-shadow: 0 0 0 4px rgba(47, 92, 246, .16); }
.search__www { color: var(--ink-3); font-size: 15px; }
.search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 6px 10px 2px; font-size: 15px;
}
.search input::placeholder { color: #A9A9B2; }
.search__btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--white);
  padding: 11px 20px; cursor: pointer; font-weight: 600; font-size: 14px;
  transition: background-color .15s;
}
.search__btn:hover { background: #33333D; }
.search__btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search__error { margin-top: 10px; font-size: 13.5px; color: #B4361A; }
.included { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; font-size: 13.5px; color: var(--ink-2); }

.checks { list-style: none; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--mint-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%230D6847' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks--inline { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink); }

.results {
  margin-top: 26px; width: min(640px, 100%);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 8px 8px 12px;
}
.results__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 10px; font-size: 13px; color: var(--ink-2); }
.results__list { list-style: none; padding: 0; }
.result {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px;
  padding: 11px 10px; border-top: 1px solid var(--line); font-size: 14.5px;
}
.result__name { font-weight: 600; overflow-wrap: anywhere; }
.result__status { font: 500 11px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.result__status--free { background: var(--mint-bg); color: var(--mint-ink); }
.result__status--taken { background: var(--card); color: var(--ink-3); }
.result__price { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 13.5px; white-space: nowrap; }
.result .btn-sm { padding: 6px 12px; }
.result .btn-sm[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.result .btn-sm:disabled { opacity: .35; cursor: default; background: var(--white); }
.results__note { padding: 10px 10px 0; font-size: 12px; color: var(--ink-3); }

.notice {
  margin-top: 30px; width: min(760px, 100%);
  background: #FCE3D6; border: 1px solid #F3C6AF; border-radius: 6px;
  padding: 12px 16px; font-size: 13.5px; line-height: 1.55; text-align: center; color: #5B2A17;
}

/* Services 2x2 */
.svc { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc__card {
  background: var(--white); border: 1px solid var(--peach-line); border-radius: 6px;
  padding: 22px 26px 26px 18px; display: flex; gap: 16px; align-items: flex-start;
}
.svc__card img { width: 72px; height: 72px; flex: none; margin-top: -4px; }
.svc__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.svc__body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.svc__body p { font-size: 14px; color: var(--ink-2); }
.svc__body .btn-sm { margin-top: 6px; }

/* Rails (carousels) */
.rail {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 2px var(--rail-pad) 6px; scroll-padding-inline: var(--rail-pad);
  list-style: none; margin: 0;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }

.part {
  width: min(540px, 86vw); min-height: 290px;
  background: var(--card); border-radius: 6px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: stretch;
  overflow: hidden;
}
.part__text { padding: 22px 0 24px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.part__text h3 { font-size: 15px; font-weight: 500; }
.part__text p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.part img { align-self: center; width: 100%; max-width: 290px; justify-self: end; margin-right: 6px; }

.rail--steps { counter-reset: none; }
.step {
  position: relative; width: 263px; aspect-ratio: 300 / 345; max-width: 100%;
  border-radius: 6px; overflow: hidden; background: var(--step-bg, var(--coal)); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
}
.step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step::after {
  content: ""; position: absolute; inset: 45% 0 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .42));
}
.step__label, .step__text { position: relative; z-index: 1; padding-inline: 16px; }
.step__label { padding-top: 14px; font-size: 13px; font-weight: 500; }
.step__text { padding-bottom: 18px; font-size: 15.5px; line-height: 1.4; font-weight: 500; }
#protsess .wrap:last-child { margin-top: 36px; }

/* Reliable tech */
.tech { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.tech__intro { position: sticky; top: 104px; }
.tech__intro p { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); max-width: 30em; }
.tech__list { display: grid; gap: 10px; }
.feat {
  background: var(--white); border: 1px solid var(--lavender-line); border-radius: 6px;
  padding: 18px 20px; display: flex; gap: 18px; justify-content: space-between; align-items: flex-start;
}
.feat__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.feat h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.feat p { font-size: 13.5px; color: var(--ink-2); }
.feat__icon { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tech__foot { margin-top: 10px; font-size: 13px; color: var(--ink-2); }

/* Key accounts (dark) */
.key__title { max-width: 21em; }
.accent { color: var(--mint); }
.key__lead { margin-top: 14px; max-width: 40em; color: #C9C8D0; font-size: 14.5px; }
.key { margin: 40px 0 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.key__item svg { width: 30px; height: 30px; fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.key__item h3 { margin-top: 12px; font-size: 16px; font-weight: 600; }
.key__item p { margin-top: 6px; font-size: 14px; color: #BDBCC6; }

/* Testimonials */
.rail--quotes > * { width: 270px; min-height: 360px; border-radius: 6px; }
.quote {
  position: relative; background: var(--card); padding: 20px 20px 18px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.quote blockquote { font-size: 14.5px; line-height: 1.6; }
.quote figcaption { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1px; font-size: 14px; }
.quote figcaption strong { font-weight: 500; }
.quote figcaption span { font-size: 11.5px; color: var(--ink-3); }
.quote__plant { position: absolute; right: -6px; bottom: -4px; width: 92px; }
.stat {
  padding: 20px; display: flex; flex-direction: column; color: var(--white); overflow: hidden;
}
.stat--green { background: var(--green); }
.stat--coral { background: #E0714F; }
.stat--blue { background: var(--blue); }
.stat__num { font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; font-size: 14px; line-height: 1.45; max-width: 14em; opacity: .92; }
.stat svg { margin-top: auto; width: 100%; height: auto; overflow: visible; }
.stat__spark path { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.stat__spark .stat__area { fill: rgba(255, 255, 255, .16); stroke: none; }
.stat__spark circle { fill: var(--white); }
.stat__bars rect { fill: rgba(255, 255, 255, .35); }
.stat__bars rect:nth-child(3) { fill: var(--white); }
.stat__dots rect { fill: rgba(255, 255, 255, .9); }
.stat__dots rect.is-dip { fill: #FFD27A; }

/* Values (Gandi rows) */
.values .h2 { margin-bottom: 8px; }
.value {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding-block: 28px;
}
.value img { width: 100%; max-width: 440px; justify-self: center; }
.value--flip img { order: 2; }
.value__text h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.value__text p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); max-width: 32em; }
.value__text .checks { margin-top: 18px; font-size: 14px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.faq__title { max-width: 7em; font-size: clamp(25px, 2.4vw, 31px); }
.faq__list { display: grid; gap: 10px; }
.faq__list details { background: var(--card); border-radius: 6px; transition: background-color .15s; }
.faq__list details[open] { background: var(--card-2); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; font-size: 13.5px; border-radius: 6px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .2s ease;
}
.faq__list details[open] summary::before { transform: rotate(45deg); }
.faq__list summary:hover { background: var(--card-2); }
.faq__a { padding: 0 18px 16px 44px; font-size: 13.5px; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .faq__list details[open] .faq__a { animation: faq-in .22s ease-out; }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
}

/* Newsletter */
.newsletter { position: relative; overflow: hidden; background: var(--night); color: var(--white); padding-block: clamp(64px, 8vw, 96px); }
.newsletter__inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.newsletter__inner > p { margin-top: 12px; color: #C6C4E2; font-size: 14.5px; max-width: 34em; }
.newsletter__form { margin-top: 28px; display: flex; gap: 8px; width: min(480px, 100%); }
.newsletter__form input {
  flex: 1; min-width: 0; border: 1px solid #4A4785; background: var(--night-2); color: var(--white);
  border-radius: 999px; padding: 12px 18px; font-size: 14.5px; outline: 0;
}
.newsletter__form input::placeholder { color: #9C99C7; }
.newsletter__form input:focus { border-color: #8F8CF0; }
.newsletter__msg { min-height: 1.6em; margin-top: 12px; font-size: 13.5px; color: var(--mint); }
.newsletter__leaf { position: absolute; width: clamp(110px, 16vw, 210px); pointer-events: none; opacity: .95; }
.newsletter__leaf--l { left: -14px; bottom: -18px; }
.newsletter__leaf--r { right: -14px; top: -10px; transform: scaleY(-1); }

/* Footer */
.site-footer { background: var(--night); color: #D9D8EE; border-top: 1px solid #2B2961; }
.footer { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.footer__brand img { height: 32px; width: auto; }
.footer__brand p { margin-top: 16px; font-size: 13.5px; color: #A9A7CF; max-width: 22em; }
.footer__col h3 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.footer__col ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 8px; font-size: 14px; }
.footer__col a { text-decoration: none; color: #D9D8EE; }
.footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.copyable { user-select: all; }
.copy {
  margin-left: 6px; border: 1px solid #4A4785; background: transparent; color: #C6C4E2; border-radius: 4px;
  padding: 2px 7px; font-size: 11.5px; cursor: pointer;
}
.copy:hover { border-color: #8F8CF0; color: var(--white); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between;
  padding-block: 18px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #2B2961; font-size: 12.5px; color: #9F9DC8;
}
.footer__bottom ul { list-style: none; padding: 0; display: flex; gap: 6px 18px; flex-wrap: wrap; }
.footer__bottom li + li::before { content: "•"; margin-right: 18px; color: #5B5994; }
.footer__bottom a { text-decoration: none; color: #9F9DC8; }
.footer__bottom a:hover { color: var(--white); }

/* ------------------------------------------------------------ quote dialog */
.qd {
  width: min(760px, calc(100% - 24px)); max-height: calc(100% - 24px);
  padding: 0; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(22, 22, 29, .45);
}
.qd::backdrop { background: rgba(22, 22, 29, .45); }
@media (prefers-reduced-motion: no-preference) {
  .qd[open] { animation: q-in .22s ease-out; }
  @keyframes q-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
}
.q { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.q__head { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 14px; border-bottom: 1px solid var(--line); }
.q__head h2 { margin-top: 8px; font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.q__sub { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.q__close {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer;
}
.q__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.q__body { overflow-y: auto; padding: 8px 24px 16px; }
.q__group { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.q__group legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt__box {
  height: 100%; display: flex; flex-direction: column; gap: 2px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px;
  transition: border-color .15s, background-color .15s;
}
.opt__box b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.opt__box small { font-size: 12px; color: var(--ink-3); }
.opt__box em { margin-top: auto; padding-top: 8px; font-style: normal; font: 500 12.5px/1 var(--f-mono); }
.opt input:checked + .opt__box { border-color: var(--blue); background: #F1F4FF; box-shadow: inset 0 0 0 1px var(--blue); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tick {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13.5px;
}
.tick input { width: 16px; height: 16px; accent-color: var(--blue); flex: none; margin: 0; }
.tick span { flex: 1; min-width: 0; }
.tick em { font-style: normal; font: 500 12px/1 var(--f-mono); color: var(--ink-2); white-space: nowrap; }
.tick--wide { margin-top: 8px; }
.stepper-row {
  margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px 8px 8px 12px; font-size: 13.5px;
}
.stepper-row small { color: var(--ink-3); font-size: 12px; }
.stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.stepper button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; font-size: 16px; line-height: 1;
}
.stepper button:hover { border-color: var(--ink); }
.stepper output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.q__sum { border-top: 1px solid var(--line); padding: 14px 24px 20px; background: var(--white); border-radius: 0 0 14px 14px; }
.q__totals { display: flex; gap: 28px; }
.q__totals span { display: block; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.q__totals b { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.q__note { margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.q__send { margin-top: 12px; display: flex; gap: 8px; }
.q__send input {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 14px; outline: 0; background: var(--paper);
}
.q__send input:focus { border-color: var(--blue); }
.q__msg { margin-top: 10px; font-size: 13px; color: var(--mint-ink); min-height: 1.2em; }
.q__msg.is-error { color: #B4361A; }

/* toast */
.toast {
  position: fixed; z-index: 80; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; font-size: 13.5px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); max-width: calc(100% - 32px); text-align: center;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1060px) {
  .nav { gap: 24px; }
  .nav__links { gap: 20px; }
}

@media (max-width: 980px) {
  .nav__burger { display: block; }
  .nav__right .nav__login { display: none; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 18px max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a, .nav__login--menu { display: block; padding: 12px 0; font-size: 13px; background: none; border-bottom: 1px solid var(--line); }
  .nav__login--menu { display: block; border-bottom: 0; }

  .hero { display: flex; flex-direction: column; }
  .hero__text { position: static; transform: none; width: auto; margin: 28px auto 0;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .hero__art { overflow: hidden; margin-top: 8px; }
  .hero__art img { width: 150%; max-width: none; margin-left: -25%; margin-top: -21%; }

  .tech { grid-template-columns: 1fr; gap: 28px; }
  .tech__intro { position: static; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .faq__title { max-width: none; }
  .value, .value--flip { grid-template-columns: 1fr; gap: 20px; }
  .value--flip img { order: 0; }
  .value img { max-width: 400px; }
  .footer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav { height: 64px; }
  html { scroll-padding-top: 74px; }
  .nav__right .btn-outline { padding: 8px 12px; font-size: 10.5px; }
  .diff { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__card { padding: 18px 18px 22px 12px; }
  .svc__card img { width: 60px; height: 60px; }
  .key { grid-template-columns: 1fr; gap: 24px; }
  .head-row { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 22px; }
  .part { grid-template-columns: 1fr; width: min(320px, 82vw); }
  .part__text { padding: 20px 20px 0; gap: 10px; justify-content: flex-start; }
  .part img { justify-self: center; margin: 4px auto 0; max-width: 260px; }
  .step { width: min(263px, 74vw); }
  .opts, .opts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks-grid { grid-template-columns: 1fr; }
  .result { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .result__price { grid-column: 1; grid-row: 2; }
  .result .btn-sm { grid-column: 2; grid-row: 2; justify-self: end; }
}

@media (max-width: 520px) {
  .nav__right .btn-outline { display: none; }
  .hero__art img { width: 170%; margin-left: -35%; margin-top: -25%; }
  .search { padding-left: 14px; }
  .search__www { display: none; }
  .search__btn span { display: none; }
  .search__btn { padding: 11px 14px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .q__head, .q__body, .q__sum { padding-left: 16px; padding-right: 16px; }
  .q__send { flex-direction: column; }
  .q__send .btn { justify-content: space-between; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
