:root {
  --ink: #0b0f14;
  --paper: #f6f7f2;
  --white: #ffffff;
  --muted: #65707c;
  --line: rgba(11, 15, 20, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #0057ff;
  --green: #c8ff3d;
  --coral: #ff6b4a;
  --steel: #dbe4ee;
  --shadow: 0 24px 80px rgba(11, 15, 20, 0.18);
  --max: 1200px;
  --radius: 8px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  color: var(--paper);
  background: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  background: transparent;
}

.page-progress__bar {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--coral));
}

.site-header {
  position: fixed;
  inset: 14px 16px auto;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(11, 15, 20, 0.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(246, 247, 242, 0.9);
  border-color: var(--line);
  box-shadow: 0 14px 50px rgba(11, 15, 20, 0.08);
}

.nav-shell {
  max-width: var(--max);
  min-height: 62px;
  margin: 0 auto;
  padding: 0 14px 0 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.brand small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 650;
  color: currentColor;
  opacity: 0.68;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 650;
  opacity: 0.8;
  transition: opacity 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-open .nav-links a:hover {
  background: rgba(11, 15, 20, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle span {
  margin: 5px 0;
}

.nav-toggle.is-active::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span {
  opacity: 0;
}

.nav-toggle.is-active::after {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  position: relative;
  padding: 92px 20px;
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section.white {
  background: var(--white);
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 850;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0;
}

.dark .eyebrow {
  color: var(--green);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 44px;
}

.section-title {
  margin: 0;
  max-width: 860px;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 860;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.dark .section-copy {
  color: rgba(255, 255, 255, 0.66);
}

.btn {
  --btn-bg: var(--ink);
  --btn-color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--light {
  --btn-bg: var(--white);
  --btn-color: var(--ink);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-color: currentColor;
  border-color: currentColor;
}

.btn--green {
  --btn-bg: var(--green);
  --btn-color: var(--ink);
}

.icon-btn {
  width: 46px;
  min-width: 46px;
  padding: 0;
}

.hero {
  position: relative;
  min-height: 88svh;
  color: var(--white);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 128px 20px 48px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.9) 0%, rgba(11, 15, 20, 0.68) 35%, rgba(11, 15, 20, 0.18) 72%, rgba(11, 15, 20, 0.48) 100%),
    linear-gradient(0deg, rgba(11, 15, 20, 0.88) 0%, rgba(11, 15, 20, 0) 45%),
    url("./visuals/mm-studio-hero.jpg") 58% center / cover no-repeat,
    var(--ink);
}

.hero::before {
  display: none;
}

.hero-media {
  display: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.02) contrast(1.03);
  transform: scale(1.01);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.9) 0%, rgba(11, 15, 20, 0.68) 35%, rgba(11, 15, 20, 0.18) 72%, rgba(11, 15, 20, 0.48) 100%),
    linear-gradient(0deg, rgba(11, 15, 20, 0.88) 0%, rgba(11, 15, 20, 0) 45%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 50;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
}

.hero-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 255, 61, 0.18);
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 72px;
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.mobile-hero-layer {
  display: none;
}

.mobile-hero-layer.is-past-hero {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  max-width: 880px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta div {
  min-height: 94px;
  padding: 16px;
  background: rgba(11, 15, 20, 0.42);
  backdrop-filter: blur(10px);
}

.hero-meta strong {
  display: block;
  font-size: 23px;
  line-height: 1;
  color: var(--white);
}

.hero-meta span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.35;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green);
  color: var(--ink);
  overflow: hidden;
}

.proof-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: marquee 28s linear infinite;
}

.proof-track span {
  padding: 18px 28px;
  white-space: nowrap;
  font-weight: 850;
}

.proof-track span::before {
  content: "/";
  margin-right: 28px;
  color: rgba(11, 15, 20, 0.34);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.difference-card,
.service-card,
.work-card,
.faq-item,
.contact-card,
.estimate-panel {
  border-radius: var(--radius);
}

.difference-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 15, 20, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.difference-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  color: var(--blue);
}

.difference-card h3,
.service-card h3,
.work-card h3 {
  margin: 0;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 850;
}

.difference-card p,
.service-card p,
.work-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 16px;
  align-items: stretch;
}

.service-feature {
  min-height: 100%;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 104px;
  overflow: hidden;
}

.service-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 36px 36px;
}

.service-feature > * {
  position: relative;
}

.service-feature h2 {
  margin: 0;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0;
}

.service-feature p {
  margin: 20px 0 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.55;
}

.service-feature ul {
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.service-feature li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
}

.service-feature li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.service-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-card .price {
  align-self: start;
  padding: 9px 12px;
  border-radius: var(--radius);
  background: var(--steel);
  font-weight: 850;
  white-space: nowrap;
}

.service-card ul {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.service-card li {
  display: flex;
  gap: 9px;
  line-height: 1.4;
}

.service-card li::before {
  content: "+";
  color: var(--blue);
  font-weight: 900;
}

.showroom {
  overflow: hidden;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
}

.work-visual {
  min-height: 310px;
  padding: 18px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--work-bg, #1c2530);
}

.mock-browser {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform: rotate(var(--rotate, 0deg));
  transition: transform 420ms ease;
}

.work-card:hover .mock-browser {
  transform: rotate(0deg) translateY(-8px);
}

.mock-bar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: #edf1f5;
}

.mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca8b4;
}

.mock-body {
  min-height: 210px;
  padding: 0;
  overflow: hidden;
  background: #0b0f14;
}

.demo-preview-image {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.work-body {
  padding: 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.work-body .tag {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.work-body a {
  margin-top: auto;
  color: var(--white);
  font-weight: 850;
  display: inline-flex;
  gap: 8px;
}

.process {
  counter-reset: step;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-step {
  min-height: 310px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 900;
}

.process-step h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 850;
}

.process-step p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 18px;
  align-items: start;
}

.estimate-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.control-group {
  margin: 0 0 26px;
}

.control-label {
  display: block;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.choice {
  min-height: 52px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  font-weight: 820;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.choice.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.estimate-result {
  min-height: 100%;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 104px;
}

.estimate-result .label {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.estimate-price {
  margin: 0;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 56px;
  line-height: 0.96;
  font-weight: 900;
}

.estimate-result p:not(.label):not(.estimate-price) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.estimate-list {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.estimate-list li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.estimate-list li::before {
  content: "+";
  color: var(--green);
  font-weight: 900;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  min-height: 78px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 20px;
  align-items: center;
  text-align: left;
  color: var(--ink);
  background: transparent;
  font-size: 22px;
  font-weight: 850;
}

.faq-question span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 26px;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-answer p {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.faq-item.is-open .faq-question span {
  background: var(--ink);
  color: var(--white);
}

.contact-section {
  overflow: hidden;
  isolation: isolate;
}

.contact-section > .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
  align-items: start;
}

.contact-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
}

.contact-card h3 {
  margin: 0 0 18px;
  font-size: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a,
.contact-list span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  isolation: isolate;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.18), rgba(11, 15, 20, 0.05)),
    linear-gradient(180deg, rgba(11, 15, 20, 0), rgba(11, 15, 20, 0.18));
}

.contact-form > * {
  position: relative;
  z-index: 2;
}

.contact-typing-bg {
  position: absolute;
  inset: 0 -48px;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(44px, 8vw, 104px) 24px;
  pointer-events: none;
  color: var(--white);
  opacity: 0.07;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: clamp(68px, 10vw, 164px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: center;
  transform: rotate(-5deg);
  user-select: none;
}

.contact-typing-bg span {
  display: block;
  max-width: min(1180px, calc(100vw - 40px));
  overflow-wrap: anywhere;
}

.contact-typing-bg span::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.72em;
  margin-left: 0.08em;
  vertical-align: -0.05em;
  background: currentColor;
  animation: cursorPulse 1.4s ease-in-out infinite;
}

@keyframes cursorPulse {
  0%,
  58% {
    opacity: 1;
  }
  59%,
  100% {
    opacity: 0;
  }
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 780;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  padding: 13px 14px;
  outline: none;
}

.field textarea {
  min-height: 146px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 800;
}

.footer {
  padding: 42px 20px;
  background: #05070a;
  color: rgba(255, 255, 255, 0.64);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 22px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-nav a:hover {
  color: var(--white);
}

.legal-main {
  min-height: 100svh;
  padding: 112px 20px 72px;
  background: var(--paper);
}

.legal-shell {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--blue);
  font-weight: 850;
}

.legal-shell h1 {
  margin: 0 0 32px;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0;
}

.legal-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .site-header {
    inset: 10px 10px auto;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
  }

  .nav-links {
    position: fixed;
    inset: 74px 10px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(246, 247, 242, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 18px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding-top: 118px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-meta,
  .difference-grid,
  .work-grid,
  .process-list,
  .estimate-grid,
  .contact-grid,
  .service-layout,
  .section-head {
    grid-template-columns: 1fr;
  }

  .service-feature,
  .estimate-result {
    position: static;
  }

  .contact-typing-bg {
    inset: 0 -32px;
    padding: 72px 20px;
    opacity: 0.05;
    font-size: clamp(54px, 12vw, 108px);
  }

  .process-list {
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 72px 16px;
  }

  .site-header {
    inset: 8px 8px auto;
  }

  .nav-shell {
    min-height: 58px;
    padding-left: 12px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 11.5px;
  }

  .hero {
    display: block;
    min-height: 84svh;
    padding: 110px 16px 34px;
  }

  .hero-inner {
    display: none;
  }

  .mobile-hero-layer {
    position: fixed;
    z-index: 130;
    top: 106px;
    left: 16px;
    right: auto;
    width: min(340px, calc(100vw - 32px));
    display: block;
    max-width: none;
    color: var(--white);
    transition: opacity 180ms ease, visibility 180ms ease;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
  }

  .mobile-hero-layer.is-past-hero {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.nav-open .mobile-hero-layer {
    display: none;
  }

  .mobile-hero-layer h1 {
    margin: 0;
    font-family: "Inter Tight", Inter, system-ui, sans-serif;
    font-size: 38px;
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
  }

  .mobile-hero-layer h1 span {
    display: block;
  }

  .mobile-hero-layer .hero-copy {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .mobile-hero-layer .hero-actions {
    pointer-events: auto;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    display: none;
  }

  .section-title,
  .service-feature h2 {
    font-size: 34px;
  }

  .section-copy {
    font-size: 16px;
  }

  .difference-card,
  .service-card,
  .estimate-panel,
  .estimate-result,
  .contact-card {
    padding: 20px;
  }

  .service-card,
  .service-card ul,
  .choice-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card .price {
    justify-self: start;
  }

  .work-card {
    min-height: 470px;
  }

  .work-visual {
    min-height: 260px;
  }

  .mock-body {
    min-height: 188px;
  }

  .demo-preview-image {
    height: 188px;
  }

  .contact-typing-bg {
    inset: 0 -22px;
    align-items: center;
    padding: 64px 16px;
    opacity: 0.032;
    font-size: clamp(38px, 13vw, 54px);
    line-height: 0.96;
    transform: rotate(-5deg);
  }

  .contact-form::before {
    background:
      linear-gradient(90deg, rgba(11, 15, 20, 0.3), rgba(11, 15, 20, 0.16)),
      linear-gradient(180deg, rgba(11, 15, 20, 0.06), rgba(11, 15, 20, 0.26));
  }

  .process-step {
    min-height: auto;
  }

  .process-step::before {
    margin-bottom: 28px;
  }

  .estimate-price {
    font-size: 38px;
  }

  .faq-question {
    font-size: 18px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}
