:root {
  --mint: #00ffbc;
  --mint-2: #00e1b0;
  --cyan: #5ffaff;
  --ink: #0b1e1e;
  --bg: #071412;
  --surface: #102826;
  --slate: #3a4a4f;
  --light: #f3f6f7;
  --text: #12302c;
  --muted: #5c726e;
  --line: rgba(125, 255, 232, 0.16);
  --max: 1160px;
  --header: 84px;
  --display: "Montserrat", sans-serif;
  --body: "Inter", sans-serif;
  --shadow: 0 18px 40px rgba(8, 28, 26, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: #e7f6f2;
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(0, 255, 188, 0.14), transparent 55%),
    radial-gradient(700px 420px at -10% 15%, rgba(0, 160, 140, 0.16), transparent 50%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .btn, .wordmark, .filter {
  font-family: var(--display);
  letter-spacing: -0.03em;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  margin-bottom: 12px;
  color: #8dffe4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow a { border-bottom: 1px solid transparent; }
.eyebrow a:hover { border-bottom-color: currentColor; }
.eyebrow-dark { color: #0c9a78; }
h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  line-height: 1.05;
  font-weight: 800;
}
h1 span { color: var(--mint); }
h2 { font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1.15; font-weight: 800; }
.lede {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(231, 246, 242, 0.78);
  font-size: 1.05rem;
}
.lede-narrow { max-width: 640px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}
.btn span { font-size: 1.05em; }
.btn-primary {
  color: #06261c;
  background: linear-gradient(90deg, #7dffd4, var(--mint-2));
  box-shadow: 0 10px 24px rgba(0, 255, 188, 0.18);
}
.btn-secondary {
  color: white;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-dark { color: white; background: #071614; }
.btn-block { width: 100%; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn:disabled { cursor: progress; opacity: 0.7; transform: none; }
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: white;
  cursor: pointer;
}
.icon { width: 22px; height: 22px; }
.icon-xs { width: 16px; height: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 20, 18, 0.35);
}
.site-header.is-scrolled {
  background: rgba(7, 20, 18, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.logo img { width: 46px; height: 42px; object-fit: contain; }
.wordmark { font-size: 1.55rem; font-weight: 800; color: white; }
.wordmark span { color: #3dffc8; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255, 255, 255, 0.82); font-weight: 600; font-size: 0.98rem; }
.nav a:hover, .nav a.is-active { color: white; }
.nav a.is-active { box-shadow: inset 0 -2px 0 var(--mint); padding-bottom: 6px; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-quote { display: none; }

.hero { position: relative; padding: 42px 0 72px; overflow: hidden; }
.hero-compact { padding-bottom: 56px; }
.hero-legal { padding-bottom: 42px; }
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(0, 255, 188, 0.2), transparent 68%);
  pointer-events: none;
}
.hero-glow-right { right: -40px; top: auto; bottom: -180px; }
.hero-grid, .about-hero, .contact-hero, .faq-hero, .legal-hero, .project-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

.hero-phones { position: relative; height: 560px; }
.hero-phones .phone:first-child { position: absolute; left: 8px; top: 10px; z-index: 1; }
.hero-phones .phone:last-child { position: absolute; right: 0; top: 58px; z-index: 2; }

.phone { position: relative; }
.phone-lg { width: 272px; height: 540px; }
.phone-sm { width: 150px; height: 300px; }
.phone-frame {
  height: 100%;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(180deg, #2a2e33, #0c0e11);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.phone-sm .phone-frame { border-radius: 26px; padding: 7px; }
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  padding: 28px 16px 16px;
  background: #071614;
}
.phone-sm .screen { border-radius: 20px; padding: 22px 10px 10px; font-size: 10px; }
.phone-frame::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 78px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #0c0e11;
  z-index: 2;
}
.phone-sm .phone-frame::before { width: 52px; height: 12px; top: 12px; }
.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.8;
}
.status i {
  width: 16px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.screen-logo { width: 72px; margin: 28px auto 10px; }
.screen-brand, .mini-title { display: block; text-align: center; font-family: var(--display); font-size: 1.35rem; }
.screen em { display: block; text-align: center; margin-top: 4px; color: #8dffe4; font-style: normal; font-size: 0.78rem; }
.screen-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.screen-list li span { white-space: nowrap; }
.screen-list li, .hello-card, .tabbar span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.screen-list li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(125, 255, 232, 0.12);
}
.hello-kicker, .mini-kicker { margin-top: 18px; color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }
.hello-title { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.2; margin: 4px 0 16px; }
.hello-card {
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  color: #06261c;
}
.hello-card b, .hello-card small { display: block; }
.hello-card small { opacity: 0.75; }
.hello-mint { background: linear-gradient(135deg, #b8ffe8, #3dffc4); }
.hello-violet { background: linear-gradient(135deg, #8ea2ff, #6a4cff); color: white; }
.tabbar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-around;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}
.tabbar small { display: block; font-size: 9px; }
.tabbar .is-on { color: var(--mint); }
.screen-hello { background: radial-gradient(circle at 80% 0%, #14584c, #071614 55%); }
.screen-fitness { background: radial-gradient(circle at 50% 20%, #145246, #071614 60%); }
.screen-edu { background: linear-gradient(180deg, #f4fff9, #e7fff4); color: #12302c; }
.screen-shop { background: linear-gradient(180deg, #ffe4ee, #fff); color: #3a2030; }
.screen-task { background: #101820; }
.screen-travel { background: #0e2744; padding: 0; }
.screen-finance { background: linear-gradient(180deg, #12345a, #0c1c33); }
.ring {
  width: 120px;
  height: 120px;
  margin: 22px auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#3dffc4 0 62%, rgba(255, 255, 255, 0.08) 0);
}
.ring span {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #071614;
  font-family: var(--display);
  font-size: 1.4rem;
}
.ring small { display: block; font-size: 0.7rem; font-family: var(--body); }
.chips, .rows, .checks { display: grid; gap: 8px; }
.chips { grid-template-columns: 1fr 1fr; }
.chips span, .rows span, .checks li {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.rows span.is-now, .checks li.is-done, .rows span.is-done { background: #d9fff3; color: #0c5c48; }
.product { height: 90px; margin: 16px 0; border-radius: 16px; background: linear-gradient(135deg, #ff8fb3, #ffd0e0); }
.price { margin-top: 8px; font-weight: 800; color: #e23b78; }
.checks { list-style: none; margin: 16px 0 0; padding: 0; }
.map { height: 68%; background: linear-gradient(160deg, #49b7ff, #1a4f86 60%, #12345a); }
.place {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 14px;
  background: white;
  color: #12302c;
}
.place small { display: block; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 28px; }
.bars i {
  flex: 1;
  display: block;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #7dfff0, #2f8dff);
}
.bars i:nth-child(1) { height: 40%; }
.bars i:nth-child(2) { height: 70%; }
.bars i:nth-child(3) { height: 52%; }
.bars i:nth-child(4) { height: 88%; }
.bars i:nth-child(5) { height: 64%; }
.phone-sm .screen-logo { width: 36px; margin-top: 12px; }
.phone-sm .screen-brand, .phone-sm .mini-title, .phone-sm .hello-title { font-size: 0.85rem; }
.phone-sm .hello-title { margin-bottom: 8px; }
.phone-sm .ring { width: 72px; height: 72px; }
.phone-sm .ring span { width: 50px; height: 50px; font-size: 0.8rem; }
.phone-sm .screen-list li, .phone-sm .hello-card { padding: 6px; border-radius: 10px; }
.phone-sm .tabbar { display: none; }
.phone-sm .hello-kicker, .phone-sm .mini-kicker { margin-top: 8px; }
.phone-sm .product { height: 48px; }
.phone-sm .bars { height: 70px; margin-top: 12px; }

.phone-cluster { position: relative; height: 340px; }
.phone-cluster .phone { position: absolute; }
.phone-cluster .phone:nth-child(1) { left: 10px; top: 40px; transform: rotate(-8deg); }
.phone-cluster .phone:nth-child(2) { left: 120px; top: 0; z-index: 2; }
.phone-cluster .phone:nth-child(3) { right: 10px; top: 48px; transform: rotate(8deg); }

.sheet {
  position: relative;
  z-index: 1;
  background: var(--light);
  color: var(--text);
  border-radius: 36px 36px 0 0;
  padding: 28px 0 72px;
}
.sheet-home { margin-top: -8px; padding-top: 18px; }
.service-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 42px;
  align-items: start;
  padding-top: 20px;
}
.service-strip h2, .story h2, .project-copy h2, .contact-panel h2 { color: var(--text); }
.service-strip > div > p:last-child, .story p, .project-copy p, .legal-copy p, .legal-copy li {
  margin-top: 14px;
  color: var(--muted);
}
.service-cols, .stat-grid, .value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-cols h3, .value-item h3 { margin: 14px 0 8px; font-size: 1rem; }
.service-cols p { color: var(--muted); font-size: 0.92rem; }
.icon-tile {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(160deg, #7dffe4, #14d7a8);
  box-shadow: 0 10px 18px rgba(0, 190, 150, 0.18);
}
.icon-round { border-radius: 50%; }

.band { padding: 10px 0 72px; }
.card-grid, .work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card, .work-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 46, 44, 0.95), rgba(8, 26, 26, 0.96));
  border: 1px solid var(--line);
  color: white;
}
.service-card h2, .work-meta h2 { margin-top: 18px; font-size: 1.2rem; }
.service-card p, .work-meta p { margin-top: 8px; color: rgba(231, 246, 242, 0.72); }
.card-arrow {
  margin-top: auto;
  align-self: flex-end;
  color: var(--mint);
  font-weight: 700;
}
.service-card:hover, .work-card a:hover {
  border-color: rgba(0, 255, 188, 0.5);
  transform: translateY(-3px);
}
.band-cta, .sheet .cta-banner { margin-top: 28px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.filter {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.filter.is-active { background: linear-gradient(90deg, #7dffd4, var(--mint-2)); color: #06261c; border-color: transparent; }
.work-panel {
  background: white;
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.work-card a { min-height: 0; padding: 0; overflow: hidden; }
.device-stage {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 18px 8px 0;
  background: radial-gradient(90% 80% at 50% 100%, #18423c, #0c1618 72%);
}
.work-meta, .plats { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 0; }
.plats { padding-bottom: 16px; gap: 12px; justify-content: flex-start; }
.work-meta p { margin: 2px 0 0; }
.plat { display: inline-flex; align-items: center; gap: 6px; color: #7dffe4; font-size: 0.82rem; font-weight: 700; }
.plat i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.empty-filter { padding: 28px; text-align: center; color: var(--muted); }
.work-card[hidden] { display: none !important; }

.stat-grid { margin-top: -36px; position: relative; z-index: 2; }
.stat-card, .outcome {
  background: white;
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-card strong { display: block; margin-top: 12px; font-family: var(--display); font-size: 1.7rem; }
.stat-card span:last-child { color: var(--muted); font-size: 0.92rem; }
.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin-top: 42px;
}
.story-art { width: 100%; height: auto; border-radius: 24px; }
.value-grid { margin: 36px auto; text-align: center; }
.value-item { display: grid; justify-items: center; }
.about-mark { width: min(320px, 100%); margin-left: auto; filter: drop-shadow(0 24px 40px rgba(0, 255, 188, 0.22)); }
.project-copy {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: start;
}
.outcome { text-align: left; }
.project-phone { display: grid; justify-items: center; }
.pill-row { display: flex; gap: 8px; margin-top: 18px; }
.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 255, 188, 0.12);
  color: #bffff0;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  background: white;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.fact-list { display: grid; gap: 18px; margin-top: 22px; }
.fact { display: flex; gap: 14px; align-items: center; }
.fact h2 { font-size: 0.95rem; }
.fact p, .fact a { color: var(--muted); }
.fact a:hover { color: #0c9a78; }
.contact-art { display: grid; place-items: center; }
.contact-art svg { width: min(280px, 100%); }
.stack-form, .contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack-form label span, .contact-form label span { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.92rem; }
.req { color: #0aa37a; font-style: normal; }
input, select, textarea {
  width: 100%;
  border: 1px solid #e1ebe8;
  background: #f7fbfa;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(0, 225, 176, 0.45);
  border-color: var(--mint-2);
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #3a4a4f 50%), linear-gradient(135deg, #3a4a4f 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field-error { display: block; min-height: 0; margin-top: 6px; color: #b42318; font-size: 0.78rem; }
.field-error:empty { display: none; }
.form-error { margin: 0; color: #b42318; font-weight: 600; }
.form-success h3 { font-family: var(--display); font-size: 1.4rem; }
.form-success p { margin-top: 8px; color: var(--muted); }
.modal-lead { color: #0c9a78; font-weight: 600; }

.legal-copy {
  background: white;
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.legal-copy section + section { margin-top: 22px; }
.legal-copy h2 { font-size: 1.15rem; }
.legal-copy ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.updated { margin-top: 8px; color: rgba(231, 246, 242, 0.7); }
.hero-badge {
  width: 92px;
  height: 92px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #06352c;
  background: linear-gradient(160deg, #d9fff4, #3dffc4);
  box-shadow: 0 16px 30px rgba(0, 255, 188, 0.18);
}
.hero-badge .icon { width: 36px; height: 36px; }

.faq-list {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item + .faq-item { border-top: 1px solid #e7efed; }
.faq-item h2 { font-size: 1rem; font-weight: 600; }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: var(--body);
  letter-spacing: 0;
  font-weight: 600;
}
.faq-panel { display: none; }
.faq-item.is-open .faq-panel { display: block; }
.faq-panel p { padding: 0 22px 18px; color: var(--muted); }
.chevron { transition: transform 0.2s ease; }
.faq-item.is-open .chevron { transform: rotate(180deg); }
.faq-art { position: relative; height: 140px; }
.bubble {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 28px;
  font-family: var(--display);
  font-weight: 800;
}
.bubble-lg { width: 110px; height: 90px; right: 70px; top: 10px; background: #123832; color: #7dffe4; font-size: 2.4rem; border-radius: 30px 30px 8px 30px; }
.bubble-sm { width: 72px; height: 58px; right: 8px; top: 62px; background: linear-gradient(160deg, #d9fff4, #3dffc4); border-radius: 22px 22px 22px 8px; }

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 22px;
  color: #06261f;
  background: linear-gradient(100deg, #d8fff3 0%, #5dffc8 45%, #12d7a4 100%);
}
.cta-banner.is-dark {
  color: white;
  background: linear-gradient(100deg, #102826, #0c3d34 60%, #14956f);
}
.cta-copy { display: flex; align-items: center; gap: 16px; }
.cta-copy img { width: 54px; height: 50px; object-fit: contain; }
.cta-copy p { margin-top: 4px; color: inherit; opacity: 0.8; }
.cta-banner.is-dark h2 { color: #bffff0; }

.notice {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0, 255, 188, 0.12);
  color: #d9fff4;
  border: 1px solid rgba(0, 255, 188, 0.25);
}
.narrow-copy { max-width: 720px; padding-bottom: 40px; }

.site-footer { padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.9fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid a, .footer-grid p { display: block; margin-top: 8px; color: rgba(231, 246, 242, 0.72); }
.footer-grid a:hover { color: white; }
.footer-base { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(231, 246, 242, 0.55); }

.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 14, 13, 0.72); }
.modal-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  padding: 28px;
  border-radius: 24px;
  background: white;
  color: var(--text);
}
.modal-dialog h2 { font-size: 1.8rem; margin-bottom: 8px; }
.modal-close { position: absolute; top: 12px; right: 12px; color: var(--text); }
body.no-scroll { overflow: hidden; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
::selection { background: #9dffdf; color: #06261c; }

@media (max-width: 980px) {
  .hero-grid, .about-hero, .contact-hero, .faq-hero, .project-hero, .service-strip, .story, .project-copy, .contact-panel, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-phones { height: 460px; margin-top: 10px; }
  .phone-lg { transform: scale(0.82); transform-origin: top left; }
  .hero-phones .phone:last-child { right: auto; left: 150px; }
  .service-cols, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .work-grid { grid-template-columns: 1fr 1fr; }
  .about-mark, .hero-badge, .faq-art { margin: 10px 0 0; }
  .legal-hero { grid-template-columns: 1fr auto; }
}

@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-toggle { display: grid; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    padding: 8px 20px 18px;
    background: rgba(7, 20, 18, 0.96);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav.is-open {
    display: flex;
    background: #071412;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .nav a { width: 100%; padding: 12px 0; }
  .nav-quote { display: inline-flex; width: 100%; margin-top: 8px; }
  .header-actions .btn { display: none; }
}

@media (max-width: 700px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .card-grid, .work-grid, .service-cols, .stat-grid, .value-grid, .form-row { grid-template-columns: 1fr; }
  .cta-banner, .cta-copy { flex-direction: column; align-items: flex-start; }
  .hero-phones { height: 390px; }
  .phone-cluster { height: 280px; }
  .contact-panel, .legal-copy, .modal-dialog { padding: 20px; }
  h1 { font-size: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card, .faq-panel, .chevron { transition: none; }
}
