:root {
  --ink: #101415;
  --muted: #5a6465;
  --surface: #f7f5ef;
  --paper: #ffffff;
  --line: #d9ddd8;
  --deep: #102726;
  --deep-2: #183c3a;
  --amber: #c98237;
  --copper: #a95e3b;
  --blue: #3b7e91;
  --graphite: #2a2d30;
  --shadow: 0 22px 70px rgba(16, 20, 21, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

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

section[id] {
  scroll-margin-top: 84px;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px 6vw;
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(16, 20, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 21, 0.1);
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(16, 20, 21, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 24px;
  color: rgba(16, 20, 21, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.header-cta:hover,
.download-button:hover {
  color: var(--amber);
}

.header-cta {
  border: 1px solid rgba(16, 20, 21, 0.18);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/epoxy-hero.png?v=20260509e");
  background-size: cover;
  background-position: center center;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 16, 16, 0.88) 0%, rgba(10, 16, 16, 0.62) 48%, rgba(10, 16, 16, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 16, 16, 0.68), rgba(10, 16, 16, 0.02) 48%);
}

.hero-content {
  position: relative;
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 118px 0 54px;
  color: var(--paper);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.9rem;
  line-height: 0.94;
  font-weight: 700;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button.primary {
  color: var(--paper);
  background: var(--amber);
  box-shadow: 0 12px 28px rgba(201, 130, 55, 0.28);
}

.button.secondary {
  color: var(--ink);
  background: var(--paper);
}

.dark-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 12px;
  max-width: 560px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stats dt {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--deep);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-band div {
  min-height: 112px;
  padding: 26px 6vw;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-band span {
  display: block;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-band strong {
  display: block;
  margin-top: 8px;
  line-height: 1.35;
}

.section {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 94px 0;
}

.intro-grid .section-heading,
.areas-section,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 52px;
  align-items: end;
}

h2 {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
}

p {
  line-height: 1.7;
}

.section-heading p,
.areas-section p,
.proof-copy p,
.visualizer-copy p,
.quote-content p,
.token-inner p,
.site-footer p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.service-card,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 0;
  padding: 18px;
}

.service-image {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(16, 20, 21, 0.08);
  margin-bottom: 18px;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.visualizer-section {
  width: 100%;
  margin: 0;
  padding: 108px 0 118px;
  color: var(--paper);
  background:
    linear-gradient(180deg, #102726 0%, #0c1e1d 100%);
}

.visualizer-copy {
  width: min(1240px, 92vw);
  max-width: 1240px;
  margin: 0 auto 38px;
  padding: 0;
}

.visualizer-copy h2 {
  max-width: 760px;
  font-size: 3.85rem;
}

.visualizer-section .eyebrow.dark {
  color: var(--amber);
}

.visualizer-section .visualizer-copy p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.tool-shell {
  width: min(1240px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(560px, 0.58fr) minmax(420px, 0.42fr);
  gap: 28px;
  align-items: stretch;
}

.visualizer-form,
.preview-panel,
.token-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.visualizer-form,
.token-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.visualizer-section .visualizer-form {
  align-self: start;
  gap: 16px;
  padding: 24px;
  box-shadow: none;
}

.visualizer-section .preview-panel {
  min-height: 690px;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3);
}

.preview-panel[aria-busy="true"] .compare-stage img,
.preview-panel[aria-busy="true"] .slider-line,
.preview-panel[aria-busy="true"] .badge,
.preview-panel[aria-busy="true"] .compare-range {
  opacity: 0.68;
}

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

label {
  display: grid;
  gap: 7px;
}

label span,
.panel-title {
  color: rgba(16, 20, 21, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

input,
select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px;
  color: var(--ink);
  background: #fbfaf7;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(59, 126, 145, 0.26);
  outline-offset: 2px;
}

.upload-field input {
  padding: 10px;
}

input[type="file"] {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
}

input[type="file"]::file-selector-button {
  min-height: 32px;
  margin-right: 10px;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  color: var(--paper);
  background: var(--deep-2);
  font-weight: 900;
  cursor: pointer;
}

.advanced-options {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.advanced-options summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--deep);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 900;
  list-style: none;
}

.advanced-options summary::-webkit-details-marker {
  display: none;
}

.advanced-options summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--deep);
}

.advanced-options[open] summary::after {
  content: "-";
}

.advanced-grid {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.preset-panel {
  display: grid;
  gap: 10px;
}

.preset-open {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: #fbfaf7;
  cursor: pointer;
  text-align: left;
}

.preset-open img {
  width: 72px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(16, 20, 21, 0.1);
}

.preset-open strong,
.preset-open small {
  display: block;
}

.preset-open strong {
  font-weight: 950;
}

.preset-open small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.finish-rule,
.advanced-grid small {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.finish-rule[data-mode="custom"] {
  border-left: 3px solid var(--amber);
  padding-left: 10px;
  color: var(--ink);
}

.preset-dialog {
  width: min(760px, calc(100vw - 28px));
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
}

.preset-dialog::backdrop {
  background: rgba(8, 18, 18, 0.68);
  backdrop-filter: blur(4px);
}

.preset-dialog-card {
  border: 1px solid rgba(16, 20, 21, 0.12);
  border-radius: 10px;
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
}

.preset-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.preset-dialog-header h3 {
  font-size: 1.25rem;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fbfaf7;
  cursor: pointer;
  font-weight: 950;
}

.preset-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-height: min(70vh, 620px);
  overflow: auto;
}

.preset {
  position: relative;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  color: var(--ink);
  background: #fbfaf7;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: left;
}

.preset img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
}

.preset span {
  display: block;
  line-height: 1.2;
}

.preset.active {
  border-color: var(--amber);
  background: #fffaf1;
  box-shadow: 0 0 0 2px rgba(201, 130, 55, 0.22);
}

.preset.active::after {
  content: "Selected";
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--paper);
  background: rgba(16, 39, 38, 0.86);
  font-size: 0.7rem;
  font-weight: 950;
}

.consent-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.consent-row span {
  font-weight: 700;
  line-height: 1.45;
}

.form-status {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.preview-panel {
  display: grid;
  grid-template-rows: 1fr auto auto;
  min-height: 610px;
  padding: 14px;
}

.compare-stage {
  --split: 52%;
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 8px;
  background: #1a1d1f;
}

.preview-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  color: var(--paper);
  text-align: center;
  background: rgba(12, 30, 29, 0.72);
  backdrop-filter: blur(8px);
}

.preview-loading[hidden] {
  display: none;
}

.preview-loading strong {
  font-size: 1.05rem;
}

.preview-loading span:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.loading-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.visualizer-section .compare-stage {
  min-height: 590px;
}

.compare-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#afterImage {
  clip-path: inset(0 0 0 var(--split));
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: var(--paper);
  box-shadow: 0 0 0 999px rgba(16, 20, 21, 0.02);
}

.badge {
  position: absolute;
  top: 12px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--paper);
  background: rgba(16, 20, 21, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.badge.before {
  left: 12px;
}

.badge.after {
  right: 12px;
}

.compare-range {
  margin: 12px 0;
  accent-color: var(--amber);
}

.result-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.variant-button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.variant-button.active {
  border-color: var(--amber);
  color: var(--ink);
  background: var(--amber);
}

.result-notice {
  margin: 0 0 12px;
  border: 1px solid rgba(201, 130, 55, 0.38);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--paper);
  background: rgba(201, 130, 55, 0.16);
  font-size: 0.9rem;
  font-weight: 800;
}

.result-notice[hidden] {
  display: none;
}

.preview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.visualizer-section .preview-meta {
  color: rgba(255, 255, 255, 0.72);
}

.download-button {
  min-height: 38px;
  border: 1px solid rgba(201, 130, 55, 0.45);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--amber);
  background: rgba(201, 130, 55, 0.1);
  cursor: pointer;
  font-weight: 900;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
  color: var(--paper);
}

.proof-copy,
.proof-mosaic {
  border-radius: 8px;
  background: var(--deep);
}

.proof-copy {
  padding: 40px;
}

.proof-copy h2,
.proof-copy p {
  color: var(--paper);
}

.proof-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.proof-mosaic article {
  display: grid;
  align-content: end;
  min-height: 220px;
  padding: 26px;
  background:
    linear-gradient(0deg, rgba(16, 39, 38, 0.94), rgba(16, 39, 38, 0.55)),
    url("/assets/proof-moisture-check.png?v=20260509a") center / cover;
}

.proof-mosaic article:nth-child(2) {
  background:
    linear-gradient(0deg, rgba(42, 45, 48, 0.94), rgba(42, 45, 48, 0.54)),
    url("/assets/proof-crack-repair.png?v=20260509a") center / cover;
}

.proof-mosaic article:nth-child(3) {
  background:
    linear-gradient(0deg, rgba(59, 126, 145, 0.92), rgba(59, 126, 145, 0.52)),
    url("/assets/proof-antislip.png?v=20260509a") center / cover;
}

.proof-mosaic article:nth-child(4) {
  background:
    linear-gradient(0deg, rgba(169, 94, 59, 0.94), rgba(169, 94, 59, 0.5)),
    url("/assets/proof-maintenance.png?v=20260509a") center / cover;
}

.proof-mosaic strong {
  display: block;
  font-size: 1.55rem;
}

.proof-mosaic span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.center {
  text-align: center;
}

.centered-title {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.process-grid article {
  min-height: 210px;
  padding: 22px;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 30px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--deep);
  font-weight: 900;
}

.process-grid p {
  color: var(--muted);
}

.project-section {
  background: var(--paper);
}

.project-inner {
  width: min(1240px, 92vw);
}

.project-section .section-heading {
  display: block;
  max-width: 720px;
}

.project-section .section-heading p {
  max-width: 620px;
  margin: 18px 0 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 20vw, 280px);
  gap: 14px;
  margin-top: 42px;
}

.project-gallery figure {
  position: relative;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
}

.project-gallery figure:first-child {
  min-height: 0;
  grid-column: span 2;
  grid-row: span 2;
}

.project-gallery figure:nth-child(2),
.project-gallery figure:nth-child(5),
.project-gallery figure:nth-child(6) {
  grid-column: span 2;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.project-gallery figure:hover img {
  transform: scale(1.035);
}

.project-gallery figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--paper);
  background: rgba(16, 20, 21, 0.74);
  font-weight: 900;
}

.areas-section {
  align-items: start;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--deep);
  background: var(--paper);
  font-weight: 900;
}

.token-section {
  background: #e7ece7;
}

.token-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(320px, 0.52fr);
  gap: 42px;
  align-items: start;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  min-height: 520px;
  background: var(--deep);
}

.quote-media {
  background:
    linear-gradient(90deg, rgba(16, 39, 38, 0.08), rgba(16, 39, 38, 0.78)),
    url("/assets/epoxy-hero.png?v=20260509e") center / cover;
}

.quote-content {
  display: grid;
  align-content: center;
  padding: 52px 6vw 52px 56px;
  color: var(--paper);
}

.quote-content h2,
.quote-content p {
  color: var(--paper);
}

.contact-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-grid a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(201, 130, 55, 0.36);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--paper);
  background: rgba(201, 130, 55, 0.12);
  font-size: 0.86rem;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 32px;
  padding: 42px 6vw 26px;
  color: rgba(255, 255, 255, 0.86);
  background: #101415;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer nav {
  display: grid;
  gap: 10px;
  min-width: 180px;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 4.6rem;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visualizer-section,
  .tool-shell,
  .proof-grid,
  .token-inner {
    grid-template-columns: 1fr;
  }

  .visualizer-copy {
    position: static;
    padding: 0;
  }

  .preview-panel {
    min-height: 560px;
  }

  .visualizer-section .preview-panel {
    min-height: 580px;
  }

  .visualizer-section .compare-stage {
    min-height: 480px;
  }
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-content {
    width: min(100% - 36px, 760px);
    padding-top: 92px;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-stats,
  .trust-band,
  .intro-grid .section-heading,
  .areas-section,
  .section-heading,
  .quote-section,
  .site-footer,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-auto-rows: auto;
  }

  .trust-band div {
    min-height: auto;
    padding: 18px 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    width: min(100% - 36px, 760px);
    padding: 68px 0;
  }

  h2,
  .visualizer-copy h2 {
    font-size: 2.38rem;
  }

  .project-gallery figure,
  .project-gallery figure:first-child,
  .project-gallery figure:nth-child(2),
  .project-gallery figure:nth-child(5),
  .project-gallery figure:nth-child(6) {
    grid-column: auto;
    min-height: 310px;
    grid-row: auto;
  }

  .quote-media {
    min-height: 300px;
  }

  .quote-content {
    padding: 40px 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 18px;
  }

  .header-cta {
    padding: 10px 13px;
    font-size: 0.84rem;
  }

  .hero h1 {
    font-size: 2.32rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .preview-meta {
    align-items: stretch;
    flex-direction: column;
  }

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

  .service-grid,
  .process-grid,
  .proof-mosaic,
  .form-row.split {
    grid-template-columns: 1fr;
  }

  .preset-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visualizer-section {
    width: 100%;
    padding: 64px 0;
  }

  .compare-stage {
    min-height: 370px;
  }

  .visualizer-section .compare-stage {
    min-height: 360px;
  }

  .preview-panel {
    min-height: 460px;
    padding: 10px;
  }

  .visualizer-section .preview-panel {
    min-height: 450px;
    padding: 10px;
  }
}
