/* rotehq.com: one stylesheet for every page.
   Deep green-black throughout, light type, one green. Panels a step lighter, never glowing.
   System font throughout. Served from our own origin, so the CSP stays tight. */

:root {
  color-scheme: dark;
  --bg: #0B1712;
  --bg-2: #11201A;
  --raised: #172A21;
  --field: #0E1C16;
  --ink: #F2F5F3;
  --body: #BFC9C3;
  --muted: #8D9A93;
  --rule: rgba(242, 245, 243, 0.10);
  --rule-strong: rgba(242, 245, 243, 0.18);
  --link: #8FD3AE;
  --green: #8FD3AE;
  --button: #2F7A57;
  --button-hover: #378A63;
  --night: #0B1712;
  --on-night: #F2F5F3;
  --on-night-body: #BFC9C3;
  --on-night-muted: #8D9A93;
  --mint: #8FD3AE;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(143, 211, 174, 0.35); color: var(--ink); }
a { color: inherit; }
img, video { max-width: 100%; }

/* ---------- layout ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 32px 0; position: relative; }
section + section { border-top: 0; }
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .grid { grid-template-columns: 220px 1fr; gap: 48px; } }
.grid > * { min-width: 0; }
.label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding-top: 10px;
}
.label b { color: var(--green); font-weight: 600; margin-right: 10px; font-variant-numeric: tabular-nums; }
.measure { max-width: 660px; }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.8vw, 76px); line-height: 1.04; letter-spacing: -0.032em; max-width: 20ch; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.024em; max-width: 24ch; }
h3 { font-family: var(--sans); font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -0.012em; }
p { margin: 0; color: var(--body); }
strong { color: var(--ink); font-weight: 600; }
.lead { font-size: 21px; line-height: 1.5; color: var(--body); letter-spacing: -0.012em; }
.stack > * + * { margin-top: 20px; }
.mt { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; color: var(--muted); margin-bottom: 20px; }
.greeting { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; min-height: 1.6em; }
.greeting [data-part="hello"] { color: var(--green); font-weight: 600; }

/* ---------- buttons and links ---------- */
a, button, .btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--button); color: #fff; text-decoration: none;
  font: inherit; font-size: 16px; font-weight: 500; letter-spacing: -0.005em;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--button);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease-out;
}
.btn:hover { background: var(--button-hover); border-color: var(--button-hover); }
.btn:active { transform: scale(0.97); }
.btn.sm { padding: 8px 15px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(143, 211, 174, 0.38); }
.btn.ghost:hover { background: rgba(143, 211, 174, 0.08); border-color: rgba(143, 211, 174, 0.55); }
.btn:focus-visible, .link:focus-visible, .brand:focus-visible, .navlink:focus-visible, footer a:focus-visible {
  outline: 2px solid var(--link); outline-offset: 3px;
}
.link { font-weight: 500; color: var(--link); text-decoration: none; }
.link::after { content: " \203A"; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link:active, .navlink:active, footer a:active { opacity: 0.6; }

/* ---------- header: translucent material, content scrolls under it ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 23, 18, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.logo { height: 34px; width: auto; display: block; }
.logo-text { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.navlink { font-size: 14px; font-weight: 400; color: var(--body); text-decoration: none; padding: 10px 2px; }
.navlink:hover { color: var(--ink); }
.navlink[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: 112px 0 64px; }
.hero .lead { margin-top: 28px; max-width: 44ch; }
.hero .sub-lead { margin-top: 14px; font-size: 17px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 40px; }

/* ---------- panels: light grey material, no borders ---------- */
.panel { background: var(--bg-2); border-radius: 24px; }

/* ---------- the work list ---------- */
.rows { list-style: none; padding: 0; margin: 36px 0 0; }
.rows li {
  display: flex; gap: 20px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink);
}
.rows li:first-child { border-top: 1px solid var(--rule); }
.rows li span { color: var(--muted); font-size: 15px; min-width: 22px; font-variant-numeric: tabular-nums; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 44px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards.six .card h3 { margin-top: 0; }
.card { padding: 28px 26px 30px; border-radius: 20px; }
.card .tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.card h3 { margin-top: 8px; font-size: 20px; letter-spacing: -0.016em; }
.card p { margin-top: 10px; font-size: 16px; }
.also { margin-top: 36px; }
.also h3 { font-size: 17px; }
.also ul { margin: 12px 0 0; padding-left: 20px; color: var(--body); }
.also li + li { margin-top: 6px; }

/* ---------- build ---------- */
.frame { margin-top: 48px; border-radius: 20px; background: var(--bg-2); padding: 8px; }
.frame video { display: block; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 14px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--rule); }
.stat .num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.stat .cap { display: block; margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--body); }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- tools ---------- */
.tools { padding: 56px 0; background: var(--bg-2); }
section.tools, section.tools + section { border-top: 0; }
.tools .label { padding-top: 0; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.logos img { height: 26px; width: 104px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.55; }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 820px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { padding: 30px 28px 32px; border-radius: 22px; display: flex; flex-direction: column; }
.price .step-n { font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.price h3 { margin-top: 6px; font-family: var(--display); font-size: 24px; letter-spacing: -0.018em; }
.price .amount { margin-top: 18px; font-family: var(--display); font-size: clamp(36px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price .amount small { font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.price .from { display: block; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 6px; }
.price .what { margin-top: 14px; color: var(--ink); font-weight: 500; }
.price ul { margin: 18px 0 0; padding: 0; list-style: none; }
.price li { position: relative; padding-left: 18px; color: var(--body); font-size: 16px; }
.price li + li { margin-top: 10px; }
.price li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.price .btn, .price .link { margin-top: auto; align-self: flex-start; }
.price .push { margin-top: 26px; }
.credit { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 15px; }
.credit b { font-weight: 600; }
.every { margin-top: 16px; display: grid; grid-template-columns: 1fr; gap: 10px 32px; padding: 24px 28px; border-radius: 20px; }
@media (min-width: 720px) { .every { grid-template-columns: repeat(2, 1fr); } }
.every h3 { grid-column: 1 / -1; font-size: 17px; }
.every p { position: relative; padding-left: 22px; }
.every p::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 600; }
.table-wrap { margin-top: 32px; overflow-x: auto; border-radius: 20px; }
.care { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; }
.care th, .care td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--rule-strong); vertical-align: top; }
.care thead th { font-family: var(--display); font-size: 20px; letter-spacing: -0.015em; color: var(--ink); padding-top: 24px; }
.care tbody th { font-weight: 400; color: var(--body); width: 34%; }
.care td { color: var(--ink); }
.care tr.price-row td { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.care tr.price-row td small { display: block; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.care tr:last-child th, .care tr:last-child td { border-bottom: 0; }
.care .no { color: var(--muted); }
.flow { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr; gap: 0 32px; counter-reset: flow; }
@media (min-width: 820px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow li { padding: 22px 0 26px; border-top: 2px solid var(--green); counter-increment: flow; }
.flow li::before { content: counter(flow); display: block; font-size: 14px; color: var(--muted); }
.flow h3 { margin-top: 8px; font-family: var(--display); font-size: 22px; letter-spacing: -0.016em; }
.flow p { margin-top: 8px; font-size: 16px; }
.faq { margin-top: 32px; }
.faq div { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.faq div:first-child { border-top: 1px solid var(--rule); }
.faq p { margin-top: 8px; }
.small-print { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ---------- data ---------- */
.pairs { display: grid; grid-template-columns: 1fr; gap: 24px 40px; margin-top: 40px; }
@media (min-width: 720px) { .pairs { grid-template-columns: 1fr 1fr; } }
.pairs p { padding-top: 20px; border-top: 1px solid var(--rule); font-size: 16px; }

/* ---------- guarantee ---------- */
.guarantee .panel { padding: 64px 48px; }
.guarantee .label { padding-top: 0; }
.guarantee h2 { max-width: 18ch; font-size: clamp(32px, 4vw, 52px); margin-top: 14px; }
.guarantee p { margin-top: 22px; max-width: 58ch; }

/* ---------- cta ---------- */
.cta p { margin-top: 20px; max-width: 52ch; }
.cta .btn { margin-top: 36px; }

/* ---------- calculator ---------- */
section.calc-section { padding-top: 0; border-top: 0; }
.calc-card { padding: 40px; }
.calc-head h2 { font-size: clamp(28px, 3vw, 38px); max-width: none; margin-top: 6px; }
.calc-head p { margin-top: 12px; max-width: 60ch; }
.calc-head .label { padding-top: 0; }
.calc-body { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
@media (min-width: 960px) { .calc-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } }
.calc { margin-top: 0; }
.calc-page .calc { margin-top: 40px; }
.jobs { margin-top: 0; }
.job { display: grid; grid-template-columns: 1fr 96px 120px 40px; gap: 12px; align-items: end; padding: 14px 0; border-top: 1px solid var(--rule-strong); }
.job:last-child { border-bottom: 1px solid var(--rule-strong); }
.calc-page .job { border-color: var(--rule); }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field); border: 1px solid var(--rule-strong); border-radius: 10px;
  padding: 10px 12px; font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #66746D; }
.field input:hover { border-color: rgba(242, 245, 243, 0.3); }
.field input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(143, 211, 174, 0.22); }
.money { position: relative; }
.money span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 16px; }
.money input { padding-left: 30px; }
.iconbtn { width: 40px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; border-radius: 10px; cursor: pointer; transition: transform .1s ease-out; }
.iconbtn:hover { background: rgba(242, 245, 243, 0.06); color: var(--ink); }
.iconbtn:active { transform: scale(0.94); }
.iconbtn:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.addrow {
  margin-top: 16px; font: inherit; font-size: 15px; font-weight: 500; color: var(--link);
  background: transparent; border: 0; border-radius: 10px;
  padding: 8px 0; cursor: pointer; transition: transform .1s ease-out;
}
.addrow:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; }
.addrow:disabled { opacity: 0.4; cursor: default; }
.addrow:active:not(:disabled) { transform: scale(0.98); }
.addrow:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; max-width: 460px; align-items: start; }
.hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border-radius: 18px; overflow: hidden; align-self: start; }
.result { padding: 16px 14px 18px; background: var(--raised); }
.result .num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result .cap { display: block; margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.result.key { grid-column: 1 / -1; order: -1; padding: 26px 22px 24px; }
.result.key .num { font-size: clamp(40px, 4.6vw, 56px); color: var(--green); }
.result.key .cap { color: var(--body); font-size: 15px; }
.calc-page .results { margin-top: 48px; grid-template-columns: repeat(2, 1fr); background: var(--rule); }
.calc-page .result { background: var(--bg-2); }
.calc-page .result .num { font-size: clamp(28px, 3.4vw, 40px); }
@media (min-width: 720px) { .calc-page .results { grid-template-columns: repeat(4, 1fr); } .calc-page .result.key { grid-column: auto; order: 0; } }
.calc-note { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 64ch; }
.calc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.calc-side .calc-actions .btn { width: 100%; }
.calc-side .calc-actions { gap: 14px; }
.calc-privacy { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- plain pages (about, contact, privacy, calculator, 404) ---------- */
.page { padding: 88px 0 104px; }
.page h1 { font-size: clamp(36px, 4.6vw, 56px); max-width: 20ch; }
.page h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 48px; }
.page .measure > p, .page .measure > ul, .page .measure > ol { margin-top: 20px; }
.page .measure > h1 + p { margin-top: 28px; font-size: 20px; line-height: 1.55; }
.page ul, .page ol { padding-left: 22px; color: var(--body); }
.page li + li { margin-top: 10px; }
.page a:not(.btn) { color: var(--link); text-underline-offset: 4px; }
.page a.btn { color: #fff; text-decoration: none; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); padding: 36px 0 48px; font-size: 14px; color: var(--muted); background: var(--bg-2); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--body); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot .logo-text { font-size: 20px; }


/* ---------- sector cards ---------- */
.sector-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 720px) { .sector-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sector-cards { grid-template-columns: repeat(3, 1fr); } }
.sector { padding: 28px 26px 26px; border-radius: 20px; display: flex; flex-direction: column; }
.sector .n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sector h2, .sector h3 { margin-top: 6px; font-family: var(--display); font-size: 22px; line-height: 1.2; letter-spacing: -0.016em; max-width: none; }
.sector .kind { margin-top: 4px; font-size: 14px; color: var(--muted); }
.sector p.sum { margin-top: 12px; font-size: 16px; }
.sector .go { margin-top: auto; padding-top: 18px; }
.sector .soon { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--muted); }
.sector .go + .soon { margin-top: 6px; padding-top: 0; }
.note-box { margin-top: 24px; padding: 14px 18px; border-radius: 14px; background: var(--bg-2); font-size: 15px; color: var(--body); max-width: 72ch; }
.misses { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr; gap: 0 40px; }
@media (min-width: 720px) { .misses { grid-template-columns: 1fr 1fr; } }
.misses li { padding: 20px 0; border-top: 1px solid var(--rule); color: var(--body); }
.misses li strong { display: block; margin-bottom: 4px; }
.systems { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .systems.three { grid-template-columns: repeat(3, 1fr); } .systems.two { grid-template-columns: repeat(2, 1fr); } }
.system { padding: 28px 26px 30px; border-radius: 20px; }
.system h3 { font-family: var(--display); font-size: 22px; letter-spacing: -0.016em; }
.system .tag { margin-top: 4px; font-size: 14px; color: var(--muted); }
.system ul { margin: 16px 0 0; padding: 0; list-style: none; }
.system li { position: relative; padding-left: 18px; font-size: 16px; color: var(--body); }
.system li + li { margin-top: 10px; }
.system li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.stops { list-style: none; padding: 0; margin: 32px 0 0; }
.stops li { padding: 18px 0; border-top: 1px solid var(--rule); color: var(--body); }
.stops li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- sector calculator ---------- */
.sc-form { display: grid; gap: 28px; }
.sc-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.sc-group legend { padding: 0; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); margin-bottom: 12px; }
.sc-group { display: grid; grid-template-columns: 1fr; gap: 14px 16px; }
@media (min-width: 640px) { .sc-group { grid-template-columns: 1fr 1fr; } }
.sc-field label { color: var(--body); font-size: 14px; }
.sc-input { position: relative; }
.sc-input input { padding-right: 86px; }
.sc-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--muted); pointer-events: none; }
.sc-tag { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.sc-assume { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--bg); border: 1px solid var(--rule-strong); font-size: 12px; font-weight: 500; color: var(--body); }
.sc-result { background: var(--raised); border-radius: 18px; padding: 24px 22px 20px; }
.sc-total .num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.sc-total .cap { display: block; margin-top: 8px; font-size: 15px; color: var(--body); }
.sc-systems { list-style: none; margin: 18px 0 0; padding: 0; }
.sc-systems li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--body); }
.sc-systems b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-bundle { margin-top: 12px; font-size: 14px; color: var(--body); }
.sc-tier { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: var(--raised); font-size: 14px; }
.sc-tier p { color: var(--body); }
.sc-tier .sc-tier-head { color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 4px; }


/* ---------- statement bands (home page): the hero, the guarantee and the last call to action ---------- */
section.dark { background: transparent; color: var(--on-night); }
section.dark + section { border-top: 0; }
.dark h1, .dark h2, .dark h3 { color: var(--on-night); }
.dark p { color: var(--on-night-body); }
.dark .label, .dark .eyebrow, .dark .sub-lead { color: var(--on-night-muted); }
.dark .label b, .dark .greeting [data-part="hello"] { color: var(--mint); }
.dark .btn:focus-visible, .dark .link:focus-visible { outline-color: var(--mint); }
.hero.dark { position: relative; overflow: hidden; margin-top: -64px; padding: 176px 0 104px; }
.hero.dark .container { position: relative; z-index: 1; }
.hero.dark .lead { color: var(--on-night-body); }
.hero.dark + section.calc-section { padding-top: 72px; }
section.guarantee.dark { padding: 104px 0 24px; }
section.cta.dark { padding: 56px 0 112px; }

/* Header: the same dark material everywhere; over the hero it is a touch more see-through. */
header.on-dark { background: rgba(11, 23, 18, 0.62); }
header.on-dark.scrolled { border-bottom-color: rgba(242, 245, 243, 0.08); }
header.on-dark .navlink { color: rgba(242, 245, 243, 0.78); }
header.on-dark .navlink:hover, header.on-dark .navlink[aria-current="page"] { color: var(--on-night); }
header { transition: border-color .2s ease, background-color .3s ease; }
.logo { transition: filter .3s ease; }

/* Sections ease in once as they reach the screen. Added by site.js, never for reduced motion. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }


/* ---------- light glass cards on the dark page ----------
   Every block of text sits on its own light card. Inside a card the colour tokens flip to
   dark-on-light, so every component works unchanged. A card inside a card is flat and
   opaque, never a second layer of glass (light glass on light glass loses legibility). */
.glass, .panel {
  color-scheme: light;
  --ink: #10201A; --body: #3B4943; --muted: #5E6B65;
  --rule: rgba(16, 32, 26, 0.12); --rule-strong: rgba(16, 32, 26, 0.22);
  --link: #1A4D3A; --green: #1A4D3A; --button: #1A4D3A; --button-hover: #12382A;
  --bg: #F4F7F5; --bg-2: #E8EEEA; --raised: #FFFFFF; --field: #FFFFFF;
  --on-night: #10201A; --on-night-body: #3B4943; --on-night-muted: #5E6B65; --mint: #1A4D3A;
  color: var(--ink);
  background: rgba(250, 252, 251, 0.86);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 24px 48px rgba(0, 0, 0, 0.28);
}
.glass { padding: 36px 40px 40px; }
.glass .panel, .panel .panel {
  background: var(--bg-2); border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.glass ::selection, .panel ::selection { background: #CFE0D6; }
.glass .logos img, .logos.glass img { filter: grayscale(1) brightness(0.35); opacity: 0.8; }
@media (min-width: 900px) { .grid > .label { padding-top: 46px; } }
.hero-card { max-width: 820px; padding: 44px 48px 48px; }
.hero.dark { padding: 136px 0 48px; }
.hero.dark + section.calc-section { padding-top: 16px; }
section.guarantee.dark, section.cta.dark { padding: 32px 0; }
section.cta.dark { padding-bottom: 96px; }
.guarantee.dark .panel { padding: 56px 48px; border-radius: 22px; }
.page { padding: 48px 0 96px; }
.page-card { padding: 48px; }
.tools { background: transparent; }
footer { background: transparent; }

/* ---------- the moving background (bg-motion.js) ---------- */
.bg-motion { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.motion-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--ink);
  background: rgba(11, 23, 18, 0.72); border: 1px solid var(--rule-strong); border-radius: 999px;
  padding: 7px 13px; cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .1s ease-out, background-color .15s ease;
}
.motion-toggle:hover { background: rgba(23, 42, 33, 0.9); }
.motion-toggle:active { transform: scale(0.96); }
.motion-toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .container { padding: 0 20px; }
  section { padding: 72px 0; }
  .hero { padding: 64px 0 48px; }
  .hero.dark { padding: 120px 0 72px; }
  section.guarantee.dark { padding: 72px 0 16px; }
  section.cta.dark { padding: 40px 0 80px; }
  .lead { font-size: 19px; }
  .stat { padding-right: 12px; }
  .logo { height: 28px; }
  .site-nav { gap: 12px; }
  .navlink { font-size: 14px; }
  .site-nav .btn.sm { padding: 8px 12px; font-size: 14px; }
  .hide-sm { display: none; }
  .sc-input input { padding-right: 80px; }
  .calc-card { padding: 24px 18px; border-radius: 20px; }
  .job { grid-template-columns: 1fr 1fr 40px; }
  .job .field-job { grid-column: 1 / -1; }
  .guarantee .panel, .guarantee.dark .panel { padding: 40px 22px; }
  .glass { padding: 26px 20px 28px; border-radius: 18px; }
  .hero-card { padding: 28px 22px 30px; }
  .hero.dark { padding: 96px 0 24px; }
  .page-card { padding: 28px 20px; }
  section { padding: 20px 0; }
  .price { padding: 26px 22px 28px; }
}

/* ---------- apple-design pass ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, header, .iconbtn, .addrow, .field input, .logo { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:active { transform: none; opacity: 0.85; }
  .iconbtn:active, .addrow:active:not(:disabled) { transform: none; opacity: 0.7; }
}
@media (prefers-reduced-transparency: reduce) {
  header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--rule); }
  header.on-dark { background: var(--night); }
  .glass, .panel { background: #F4F7F5; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --body: #E6ECE8; --muted: #C6D0CA; --rule: rgba(242, 245, 243, 0.45); --rule-strong: rgba(242, 245, 243, 0.6); --link: #B5E6CB; --green: #B5E6CB; --on-night-body: #E6ECE8; --on-night-muted: #C6D0CA; --button: #23603F; }
  header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--ink); }
  .panel, .glass { border: 2px solid #F2F5F3; background: #FFFFFF; }
}
