/* Butler Solutions: Digital Marketing
   Direction: a white page of large, quiet type. One teal accent, used for actions, the map and small signs of progress.
   Layout: centered openers, then two-column sections (sticky heading, content beside it).
   Type roles: display, headline, title, lead, body, small. One button, one text link. 8px rhythm. */

:root {
  --bg: #fff;
  --bg-c: 255 255 255;
  --fg: 0 0 0;
  --text-c: 29 29 31;
  --surface: #f5f5f7;
  --surface-2: #ebebef;
  --line: rgb(var(--fg) / 0.12);
  --line-2: rgb(var(--fg) / 0.22);
  --field-line: rgb(var(--fg) / 0.52);
  --text: #1d1d1f;
  --muted: #5f5f65;
  --dim: #68686e;
  --ink-soft: rgb(var(--text-c) / 0.5);
  --accent: #0a7a70;
  --accent-solid: #0a7a70;
  --accent-rgb: 10 122 112;
  --accent-ink: #fff;
  --accent-soft: rgb(10 122 112 / 0.1);
  --danger: #b3261e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(20px, 5vw, 44px);
  --max: 1120px;
  --nav: 52px;
  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 16px;
  --section: clamp(56px, 6vw, 88px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--nav) + 72px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; }
button, input, textarea { font: inherit; }

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

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -64px; z-index: 100; padding: 10px 18px; border-radius: 999px;
  background: var(--accent-solid); color: var(--accent-ink); font-weight: 500; transition: top 0.2s;
}
.skip:focus { top: 8px; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { --max: 1240px; }
.narrow { --max: 820px; }
.center { text-align: center; }
.sec { padding-block: var(--section); }
.sec--tight { padding-block: calc(var(--section) * 0.55); }
.sec--flush-top { padding-top: 0; }

.split {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(32px, 7vw, 112px); align-items: start;
}
.split-head { position: sticky; top: calc(var(--nav) + 56px); }
.split-head .lead { margin-top: 20px; }
.split-head .link { margin-top: 24px; }

/* ---------- Type ---------- */
.display { font-size: clamp(2.75rem, 7.6vw, 6.25rem); line-height: 1.02; letter-spacing: -0.042em; text-wrap: balance; }
.hero--compact .display { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
.headline { font-size: clamp(2.125rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.42; letter-spacing: -0.012em; color: var(--muted); text-wrap: pretty; }
.nw { white-space: nowrap; }
.small { font-size: 0.875rem; line-height: 1.5; color: var(--dim); }
.small a, .lead a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.small a:hover { color: var(--text); }

/* ---------- Icons ---------- */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-lg { width: 44px; height: 44px; stroke-width: 1.35; }
.js .draw { stroke-dasharray: 1 2; stroke-dashoffset: 1.1; }
.in .draw { animation: draw 1.1s var(--ease) calc(var(--d, 0s) + 0.2s) forwards; }
@keyframes draw {
  0% { stroke-dashoffset: 1.1; }
  99% { stroke-dashoffset: 0; stroke-dasharray: 1 2; }
  100% { stroke-dashoffset: 0; stroke-dasharray: none; }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent-solid); color: var(--accent-ink); font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 0.5s var(--spring), box-shadow 0.3s, opacity 0.2s;
}
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.link {
  display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 1.0625rem; letter-spacing: -0.01em;
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.link .ic { width: 18px; height: 18px; stroke-width: 2; transition: transform 0.5s var(--spring); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 40px -10px rgb(var(--accent-rgb) / 0.5); }
  .btn:active { transform: scale(0.98); }
  .link:hover .ic { transform: translateX(5px); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav); border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
  view-transition-name: site-nav;
}
.js:not(.seen) .nav { animation: navIn 0.9s var(--ease) both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-100%); } }
.nav.scrolled, .menu-open .nav {
  background: rgb(var(--bg-c) / 0.7); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
}
.nav-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.brand img { width: auto; height: 30px; }
.nav-links { display: flex; gap: 2px; margin-inline: auto; }
.nav-links a { padding: 8px 12px; white-space: nowrap; border-radius: 999px; color: var(--muted); font-size: 0.9375rem; transition: color 0.25s, background 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgb(var(--fg) / 0.09); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: var(--muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; transition: color 0.25s; }
.nav-phone:hover { color: var(--text); }
.icon-btn {
  display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(var(--fg) / 0.09); color: var(--text);
}
.menu-ic--close { display: none; }
.menu-btn[aria-expanded="true"] .menu-ic { display: none; }
.menu-btn[aria-expanded="true"] .menu-ic--close { display: inline-flex; }

.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav) + 32px) var(--gutter) 40px; background: rgb(var(--bg-c) / 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; transition: opacity 0.35s;
}
.menu.open { opacity: 1; }
.menu-links { display: grid; gap: 2px; }
.menu-links a {
  padding: 6px 0; font-size: clamp(2rem, 8.5vw, 2.75rem); font-weight: 600; letter-spacing: -0.035em;
  opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu.open .menu-links a { opacity: 1; transform: none; }
.menu-links a[aria-current="page"] { color: var(--accent); }
.menu.open .menu-links a:nth-child(2) { transition-delay: 0.07s; }
.menu.open .menu-links a:nth-child(3) { transition-delay: 0.14s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: 0.21s; }
.menu.open .menu-links a:nth-child(5) { transition-delay: 0.28s; }
.menu.open .menu-links a:nth-child(6) { transition-delay: 0.35s; }
.menu-foot { display: grid; gap: 8px; color: var(--muted); }

@media (max-width: 1239px) { .nav-phone { display: none; } }
@media (max-width: 1023px) {
  .nav-links, .nav-phone, .nav-end .btn { display: none; }
  .icon-btn { display: grid; }
  .nav-end { gap: 8px; }
  .nav-call { display: inline-flex; align-items: center; gap: 7px; width: auto; padding: 0 16px 0 13px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .nav-call .ic { width: 18px; height: 18px; flex: none; }
}
@media (max-width: 479px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand img { height: 32px; }
}

/* ---------- Reveal on load and scroll ---------- */
.js [data-reveal]:not(.in) { opacity: 0; }
.js [data-reveal].in { animation: rise 1s var(--ease) var(--d, 0s) backwards; }
.js [data-reveal="blur"].in { animation-name: riseBlur; }
.js [data-reveal="scale"].in { animation-name: riseScale; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
@keyframes riseBlur { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(10px); } }
@keyframes riseScale { from { opacity: 0; transform: scale(0.94); } }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.12em 0.03em; margin: -0.12em -0.03em; }
.w > span { display: inline-block; }
.js [data-words] .w > span { transition: transform 1.1s var(--ease) calc(var(--i) * 0.075s + 0.1s); }
.js [data-words]:not(.in) .w > span { transform: translateY(115%); }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav) + clamp(40px, 7vw, 88px)); padding-bottom: clamp(24px, 4vw, 56px); text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 8px 16px 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.9375rem;
}
.pill .ic { width: 18px; height: 18px; color: var(--accent); }
.hero-lead { max-width: 36em; margin: 24px auto 0; }
.hero .actions { margin-top: 32px; }
.hero--home { padding-bottom: clamp(64px, 9vw, 120px); }
.more-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(32px, 4vw, 48px); }
.rings-cap + .pie-wrap { margin-top: 20px; }

.map-panel {
  position: relative; margin-top: clamp(40px, 6vw, 72px); padding: clamp(16px, 3.5vw, 44px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
}
.map { position: relative; width: 100%; aspect-ratio: var(--ar); }
.map-rings {
  position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgb(var(--fg) / 0.08); stroke-width: 1;
  -webkit-mask-image: radial-gradient(ellipse at 47% 52%, #000 22%, transparent 74%); mask-image: radial-gradient(ellipse at 47% 52%, #000 22%, transparent 74%);
}
.map-rings circle { vector-effect: non-scaling-stroke; }
.dot {
  --s: 7px; position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; background: var(--text); opacity: 0.8;
}
.dot.anchor { --s: 13px; background: var(--accent); opacity: 1; }
.dot.anchor::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; }
.js .dot { transform: scale(0); opacity: 0; transition: transform 0.9s var(--spring) var(--d, 0s), opacity 0.5s ease var(--d, 0s); }
.js .map-panel.in .dot { transform: none; opacity: 0.8; }
.js .map-panel.in .dot.anchor { opacity: 1; }
.map-panel.in .dot.anchor::after { animation: ping 3.4s cubic-bezier(0.2, 0.6, 0.3, 1) 1.8s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(4.2); opacity: 0; } }
.lbl {
  position: absolute; left: var(--x); top: var(--y); color: var(--text); font-size: 0.9375rem; font-weight: 500;
  letter-spacing: -0.005em; white-space: nowrap; pointer-events: none;
}
.lbl.minor { color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.l-r { transform: translate(12px, -50%); }
.l-l { transform: translate(calc(-100% - 12px), -50%); }
.l-t { transform: translate(-50%, calc(-100% - 10px)); }
.l-b { transform: translate(-50%, 10px); }
.js .lbl { opacity: 0; transition: opacity 0.9s ease var(--d, 0s); }
.js .map-panel.in .lbl { opacity: 1; }
.map-caption { margin-top: 16px; text-align: center; }
@media (max-width: 720px) {
  .dot { --s: 5px; }
  .dot.anchor { --s: 10px; }
  .lbl.minor { display: none; }
  .lbl { font-size: 0.8125rem; }
  .l-r { transform: translate(9px, -50%); }
  .l-l { transform: translate(calc(-100% - 9px), -50%); }
}

/* ---------- Statement, stats ---------- */
.statement { max-width: 20em; font-size: clamp(1.75rem, 4.4vw, 3.5rem); line-height: 1.16; letter-spacing: -0.034em; font-weight: 600; text-wrap: balance; }
.statement.is-split .sw { color: rgb(var(--text-c) / 0.3); transition: color 0.5s var(--ease); }
.statement.is-split .sw.on { color: var(--text); }
@media (prefers-contrast: more) { .statement.is-split .sw { color: var(--text); } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 40px) 0 0; }
.stat + .stat { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.stat-n { font-size: clamp(4.25rem, 10vw, 8rem); line-height: 0.95; letter-spacing: -0.055em; font-weight: 600; font-variant-numeric: tabular-nums; }
.pct { margin-left: 0.05em; font-size: 0.5em; letter-spacing: 0; vertical-align: top; position: relative; top: 0.12em; color: var(--accent); }
.stat-t { margin-top: 18px; max-width: 17em; color: var(--muted); }

.factors { margin-top: clamp(72px, 10vw, 128px); }
.factors-head { max-width: 38rem; }
.factors-head .lead { margin-top: 20px; }
.rings-cap { margin-top: clamp(36px, 5vw, 56px); max-width: 40em; color: var(--muted); font-size: 1rem; }

/* One pie: three clickable slices, one factor shown at a time. */
.pie-wrap { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.pie { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; }
.pie-svg { display: block; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.pie-seg {
  fill: none; stroke: rgb(var(--accent-rgb) / 0.3); stroke-width: 44; cursor: pointer; pointer-events: stroke;
  stroke-dasharray: var(--len) 100; stroke-dashoffset: var(--off);
  transition: stroke 0.3s ease, stroke-width 0.5s var(--spring), stroke-dasharray 1.2s var(--ease) calc(var(--d, 0s) + 0.2s + var(--i) * 0.18s);
}
.pie-seg.on { stroke: var(--accent-solid); stroke-width: 54; }
@media (hover: hover) { .pie-seg:not(.on):hover { stroke: rgb(var(--accent-rgb) / 0.5); } }
.js .pie-wrap:not(.in) .pie-seg { stroke-dasharray: 0 100; }
.pie-center {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
  font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 600; letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
  transition: opacity 0.5s ease calc(var(--d, 0s) + 0.9s);
}
.pie-tab {
  position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 0;
  min-width: 44px; min-height: 44px; place-content: center; padding: 4px 6px; border: 0; border-radius: 12px; cursor: pointer;
  background: transparent; color: var(--text); font: inherit; text-align: center;
  transition: color 0.3s, transform 0.5s var(--spring), opacity 0.5s ease calc(var(--d, 0s) + 0.9s);
}
.pie-tab:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (hover: hover) { .pie-tab:hover { transform: translate(-50%, -50%) scale(1.08); } }
.pie-tab[aria-selected="true"] { color: var(--accent-ink); }
.pie-tab-n { font-size: 1.125rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pie-tab-l { font-size: 0.8125rem; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.js .pie-wrap:not(.in) .pie-tab, .js .pie-wrap:not(.in) .pie-center { opacity: 0; }
.pie-panels { min-height: 12rem; }
.pie-h { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.pie-s { margin-top: 14px; font-size: 1.1875rem; line-height: 1.45; max-width: 26em; }
.pie-d { margin-top: 12px; color: var(--muted); max-width: 28em; }
.pie-panel.swap { animation: pie-in 0.5s var(--ease); }
@keyframes pie-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.no-js .pie-panel[hidden] { display: block !important; }
.no-js .pie-panel + .pie-panel { margin-top: 32px; }
.no-js .pie-center { display: none; }
.source { margin-top: clamp(48px, 6vw, 72px); max-width: 52em; }

/* ---------- Services index ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center;
  gap: 8px clamp(16px, 2.4vw, 28px); padding: clamp(22px, 3vw, 32px) 4px; transition: background 0.3s;
}
.row-ic {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px;
  background: var(--surface-2); color: var(--accent); transition: transform 0.6s var(--spring);
}
.row-ic .ic { width: 28px; height: 28px; }
.row-body { display: grid; gap: 6px; }
.row-d { color: var(--muted); font-size: 1rem; max-width: 34em; }
.row-price { display: grid; text-align: right; }
.row-price b { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-price span { color: var(--dim); font-size: 0.875rem; }
.row-go { color: var(--dim); transition: transform 0.5s var(--spring), color 0.3s; }
@media (hover: hover) {
  .row:hover .row-ic { transform: scale(1.08) rotate(-4deg); }
  .row:hover .row-go { transform: translateX(6px); color: var(--accent); }
}

/* ---------- Features ---------- */
.section-intro { margin-bottom: clamp(36px, 5vw, 64px); }
.section-intro .headline { max-width: 13em; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.feature { display: grid; align-content: start; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.feature p { color: var(--muted); }
.feature-ic, .meet-ic { color: var(--accent); margin-bottom: 8px; }

/* ---------- Meeting tabs ---------- */
.meet { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.tablist { display: grid; align-content: start; gap: 4px; padding: 12px; border-right: 1px solid var(--line); }
.no-js .tablist { display: none; }
.tab {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 0; border-radius: var(--r-m);
  background: none; color: var(--muted); font-weight: 500; text-align: left; cursor: pointer; transition: background 0.3s, color 0.3s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.tab[aria-selected="true"] .ic { color: var(--accent); }
.meet-panels { display: grid; align-content: center; gap: 40px; padding: clamp(28px, 4vw, 52px); min-height: 320px; }
.tabpanel { display: grid; gap: 14px; align-content: start; justify-items: start; }
.tabpanel .lead { max-width: 26em; }
.tabpanel .link { margin-top: 10px; }
.tabpanel:not([hidden]) { animation: panelIn 0.6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Steps ---------- */
.steps { --gap: clamp(36px, 6vw, 64px); list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; align-items: start; }
.step:not(:last-child)::before, .step:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 52px; width: 2px; height: calc(100% + var(--gap) - 56px); border-radius: 2px;
}
.step:not(:last-child)::before { background: var(--line); }
.step:not(:last-child)::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--f, 0)); }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--dim); font-weight: 600; transition: background 0.5s, color 0.5s, border-color 0.5s;
}
.step.on .step-n { background: var(--accent-solid); border-color: var(--accent-solid); color: var(--accent-ink); }
.step .title { margin: 8px 0; }
.step p { color: var(--muted); max-width: 34em; }

/* ---------- City marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; animation: marquee 110s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.track li { padding-right: 0.5em; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink-soft); white-space: nowrap; }
.track li::after { content: ""; display: inline-block; width: 0.14em; height: 0.14em; margin-left: 0.5em; border-radius: 50%; background: var(--accent); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Closing call to action ---------- */
.cta .display { max-width: 12em; margin-inline: auto; }
.cta .lead { margin: 22px auto 0; max-width: 30em; }
.cta .actions { margin-top: 36px; }

/* ---------- Footer ---------- */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand img { width: 132px; height: auto; margin-bottom: 16px; }
.foot-brand p { max-width: 20em; }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-h { margin: 0 0 6px; font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.foot-col a { color: var(--muted); font-size: 0.9375rem; overflow-wrap: anywhere; transition: color 0.2s; }
.foot-col a:hover { color: var(--text); }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.subnav {
  position: sticky; top: var(--nav); z-index: 40; margin-top: clamp(20px, 3vw, 36px);
  background: rgb(var(--bg-c) / 0.72); border-block: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.no-js .subnav { display: none; }
.subnav-in { position: relative; display: flex; gap: 2px; padding-block: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav-in [role="tab"] {
  position: relative; z-index: 1; flex: none; padding: 9px 16px; border: 0; border-radius: 999px; background: none;
  color: var(--muted); font-size: 0.9375rem; white-space: nowrap; cursor: pointer; transition: color 0.3s;
}
.subnav-in [role="tab"]:hover, .subnav-in [role="tab"][aria-selected="true"] { color: var(--text); }
.subnav-pill {
  position: absolute; z-index: 0; top: 8px; bottom: 8px; left: 0; width: var(--w, 0); border-radius: 999px; background: var(--surface-2);
  transform: translateX(var(--x, 0)); opacity: 0; transition: transform 0.5s var(--spring), width 0.4s var(--ease), opacity 0.3s;
}
.subnav-pill.on { opacity: 1; }
@media (min-width: 901px) { .subnav-in { justify-content: center; } }

.ptabs { padding-block: clamp(28px, 4vw, 48px) var(--section); }
.no-js .ppanel + .ppanel { margin-top: clamp(56px, 7vw, 88px); }
.ppanel { scroll-margin-top: 16px; }
.ppanel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(22px, 3vw, 32px); }
.ppanel-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; }
.ppanel-head .lead { margin-top: 10px; max-width: 36em; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }
.js .ppanel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js .ppanel-head .lead { margin-top: 0; }
.tag { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.875rem; white-space: nowrap; }

/* Cards sit side by side; on a phone the row scrolls sideways. */
.cards { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
.cards--4 { --cols: 4; gap: 16px; }
.cards--5 { --cols: 5; gap: 14px; }
.plan, .svc, .pack {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  transition: transform 0.6s var(--spring), border-color 0.3s;
}
@media (hover: hover) {
  .plan:hover, .pack:hover { transform: translateY(-6px); border-color: var(--line-2); }
}

.plan { display: flex; flex-direction: column; padding-inline: clamp(20px, 2.2vw, 28px); }
.plan-head { padding-top: 26px; padding-bottom: 16px; }
.plan-name { font-size: 1.125rem; letter-spacing: -0.015em; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 10px; }
.amt { font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: 1; font-weight: 600; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.plan-unit { color: var(--muted); font-size: 1rem; }
.plan-sub { margin-top: 6px; color: var(--dim); font-size: 0.9375rem; min-height: 1.4em; }
.plan-sub b { color: var(--text); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.specs { list-style: none; margin: 0; padding: 0; }
.spec { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4px 14px; align-items: baseline; padding-block: 11px; border-top: 1px solid var(--line); }
.spec--stack { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.k { font-size: 0.8125rem; color: var(--dim); }
.v { font-size: 0.9375rem; color: var(--text); }
.v.na { color: var(--dim); }
.v.yes { display: inline-flex; align-items: center; gap: 6px; }
.v.yes .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.v.save { color: var(--accent); font-weight: 500; }
.plan-foot { padding-block: 16px 22px; margin-top: auto; border-top: 1px solid var(--line); }
@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    .plans { grid-template-rows: auto repeat(var(--n), auto) auto; row-gap: 0; }
    .plans .plan { display: grid; grid-template-rows: subgrid; grid-row: span calc(var(--n) + 2); }
    .plans .plan-head { grid-row: 1; }
    .plans .specs { display: grid; grid-template-rows: subgrid; grid-row: 2 / span var(--n); }
    .plans .plan-foot { grid-row: calc(var(--n) + 2); }
  }
}

.plan-note { margin-top: 22px; max-width: 60em; }

/* Tier colors: each price point has its own color, and rows that step up from the plan to the left are tinted. */
.plan--t1 { --tier: #2f5d8a; --tier-rgb: 47 93 138; }
.plan--t2 { --tier: #0a7a70; --tier-rgb: 10 122 112; }
.plan--t3 { --tier: #6a3d9a; --tier-rgb: 106 61 154; }
.plan[class*="plan--t"] { border-top: 6px solid var(--tier); }
.plan[class*="plan--t"] .plan-name, .plan[class*="plan--t"] .amt { color: var(--tier); }
.plan[class*="plan--t"] .plan-foot .link { color: var(--tier); }
.spec--up { position: relative; margin-inline: calc(clamp(20px, 2.2vw, 28px) * -1); padding-inline: clamp(20px, 2.2vw, 28px); background: rgb(var(--tier-rgb) / 0.12); }
.spec--up .k { color: var(--text); }
.spec--up .v { font-weight: 600; }
.spec--up::before { content: "+"; position: absolute; left: 7px; top: 9px; color: var(--tier); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.spec--up .v.yes .ic { color: var(--tier); }
.tier-key { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.tier-key-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgb(var(--text-c) / 0.08); color: var(--text); font-weight: 700; }
.more { margin-top: 8px; max-width: 60em; }
.more summary { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 0.9375rem; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform 0.5s var(--spring); }
.more[open] summary .ic { transform: rotate(180deg); }
.more p { margin-top: 8px; }

.group + .group { margin-top: clamp(28px, 4vw, 40px); }
.group-h { margin: 0 0 14px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.svc { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.svc-name { font-weight: 600; letter-spacing: -0.01em; }
.svc-desc { color: var(--muted); font-size: 0.9375rem; }
.svc-price { margin-top: auto; padding-top: 12px; font-size: 1.5rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.svc-price span { margin-left: 4px; color: var(--muted); font-size: 0.875rem; font-weight: 400; letter-spacing: 0; }
.pack { display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 20px; }
.pack-n { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.pack .amt { margin-top: 8px; font-size: clamp(2.25rem, 3.4vw, 2.75rem); }
.pack-each { color: var(--muted); font-size: 0.9375rem; }
.pack-save { min-height: 1.5em; color: var(--accent); font-size: 0.9375rem; font-weight: 500; }
.pack .link { margin-top: auto; padding-top: 14px; font-size: 0.9375rem; }
.panel-link { margin-top: 24px; }

.info { padding-top: 0; }
.subhead { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.faq-h { margin-top: clamp(48px, 7vw, 80px); }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.fact { display: grid; gap: 8px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.fact .ic { margin-bottom: 4px; color: var(--accent); }
.fact h3 { font-size: 1.125rem; letter-spacing: -0.015em; }
.fact p { color: var(--muted); }

.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { color: var(--muted); transition: transform 0.5s var(--spring); }
.qa[open] summary .ic { transform: rotate(180deg); }
.qa p { padding-bottom: 22px; max-width: 40em; color: var(--muted); }
.qa[open] p { animation: panelIn 0.5s var(--ease); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (min-width: 901px) { .contact-info { position: sticky; top: calc(var(--nav) + 40px); } }
.ways { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 22px; }
.way { display: flex; align-items: center; gap: 18px; }
.way-t { display: grid; gap: 2px; min-width: 0; }
.way-t b { font-weight: 600; }
.way-t span { color: var(--muted); overflow-wrap: anywhere; }
.way-t a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: text-decoration-color 0.2s; }
.way-t a:hover { text-decoration-color: var(--accent); }

.form-card { padding: clamp(22px, 3.5vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.notice { margin-bottom: 20px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 0.9375rem; }
.notice b { color: var(--text); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: 0.9375rem; font-weight: 500; }
.opt { margin-left: 6px; color: var(--dim); font-size: 0.8125rem; font-weight: 400; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--field-line); border-radius: 14px;
  background: var(--bg); color: var(--text); font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: 0.875rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--muted); transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.chip .ic { width: 0; margin-right: 0; opacity: 0; stroke-width: 2; transition: width 0.35s var(--spring), margin 0.35s var(--spring), opacity 0.3s; }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.chip input:checked + span .ic { width: 18px; margin-right: 8px; opacity: 1; color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-chip { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); font-size: 0.9375rem; }
.plan-chip button { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: var(--text); cursor: pointer; }
.plan-chip .ic { width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; }
.spin { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn.is-sending .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status:not(:empty) { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; font-size: 0.9375rem; }
.form-status.error { border-color: var(--danger); }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

.sent { display: grid; justify-items: center; gap: 14px; padding: 36px 8px; text-align: center; }
.sent:focus { outline: none; }
.sent-ic { width: 88px; height: 88px; fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sent-ic circle, .sent-ic path { stroke-dasharray: 1 2; stroke-dashoffset: 1.1; }
.sent:not([hidden]) .sent-ic circle { animation: draw 0.9s var(--ease) forwards; }
.sent:not([hidden]) .sent-ic path { animation: draw 0.6s var(--ease) 0.55s forwards; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-head { position: static; }
  .features { grid-template-columns: 1fr 1fr; }
  .cards--5 { --cols: 3; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cards {
    display: flex; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 12px;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards > * { flex: 0 0 min(80%, 340px); scroll-snap-align: start; }
  .cards--4 > *, .cards--5 > * { flex-basis: min(64%, 260px); }
  .cards [data-reveal].in { animation-name: fadeIn; }
  .ppanel-head { flex-direction: column; align-items: flex-start; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .pie-wrap { grid-template-columns: 1fr; gap: 32px; }
  .pie { max-width: min(340px, 100%); margin-inline: auto; }
  .pie-panels { min-height: 0; }
  .pie-tab-n { font-size: 1rem; }
  .pie-tab-l { font-size: 0.75rem; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0 0; border-left: 0; }
  .stat + .stat { margin-top: 28px; border-top: 1px solid var(--line); }
  .features, .field-row { grid-template-columns: 1fr; }
  .row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic body go" "ic price go"; align-items: start; }
  .row-ic { grid-area: ic; width: 48px; height: 48px; }
  .row-body { grid-area: body; }
  .row-price { grid-area: price; text-align: left; grid-auto-flow: column; justify-content: start; gap: 6px; align-items: baseline; }
  .row-go { grid-area: go; align-self: center; }
  .meet { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .tab { flex-direction: column; gap: 8px; padding: 14px 8px; text-align: center; }
  .meet-panels { min-height: 0; }
  .foot-grid { gap: 28px 20px; }
  .foot-col--contact { order: 3; grid-column: 1 / -1; }
  .actions { gap: 16px 24px; }
}
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Preview only: switch between the dark and light versions ---------- */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition-property: background-color, color, border-color, fill, stroke, box-shadow !important; transition-duration: 0.45s !important; transition-delay: 0s !important;
}

/* ---------- Page changes (supporting browsers) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

/* ---------- Failsafes: reduced motion, no script, print ---------- */
.reveal-all [data-reveal]:not(.in) { opacity: 1; }
.reveal-all .pie-wrap:not(.in) .pie-seg { stroke-dasharray: var(--len) 100; }
.reveal-all .pie-wrap:not(.in) .pie-tab, .reveal-all .pie-wrap:not(.in) .pie-center { opacity: 1; }
.reveal-all [data-words] .w > span { transform: none; }
.reveal-all .draw { stroke-dasharray: none; stroke-dashoffset: 0; }
.reveal-all .dot, .reveal-all .lbl { opacity: 1; transform: none; }
.reveal-all .l-r { transform: translate(12px, -50%); }
.reveal-all .l-l { transform: translate(calc(-100% - 12px), -50%); }
.reveal-all .l-t { transform: translate(-50%, calc(-100% - 10px)); }
.reveal-all .l-b { transform: translate(-50%, 10px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal]:not(.in) { opacity: 1; }
  .js [data-reveal].in, .js:not(.seen) .nav, .tabpanel:not([hidden]), .qa[open] p { animation: none; }
  .js [data-words] .w > span, .js [data-words]:not(.in) .w > span { transform: none; transition: none; }
  .js .draw { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .js .dot, .js .lbl { opacity: 0.8; transition: none; }
  .js .dot { transform: none; }
  .js .dot.anchor, .js .lbl { opacity: 1; }
  .map-panel.in .dot.anchor::after { animation: none; }
  .js .pie-wrap:not(.in) .pie-seg, .pie-seg { stroke-dasharray: var(--len) 100; transition: stroke 0.3s ease; }
  .js .pie-wrap:not(.in) .pie-tab, .js .pie-wrap:not(.in) .pie-center { opacity: 1; }
  .pie-panel.swap { animation: none; }
  .track { animation: none; width: auto; }
  .track ul[aria-hidden] { display: none; }
  .track ul { flex-wrap: wrap; justify-content: center; }
  .track li { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .menu, .menu-links a { transition: none; }
  .sent-ic circle, .sent-ic path { stroke-dasharray: none; animation: none; }
}

@media print {
  .pie-panel[hidden] { display: block !important; }
  .pie-panel + .pie-panel { margin-top: 24px; }
  .pie-seg { stroke-dasharray: var(--len) 100 !important; }
  .pie-tab, .pie-center { opacity: 1 !important; }
  .nav, .menu, .subnav, .skip { display: none; }
  .ppanel[hidden] { display: block !important; }
  .ppanel + .ppanel { margin-top: 40px; }
  .js .ppanel-title { position: static; width: auto; height: auto; clip: auto; white-space: normal; margin-bottom: 12px; }
  .js [data-reveal]:not(.in) { opacity: 1; }
  .js [data-words] .w > span { transform: none; }
}
