/* ——— Design tokens ——— */
:root {
  --ez-cyan:        #14b8d4;
  --ez-cyan-600:    #0e95ad;
  --ez-cyan-50:     #e6f8fb;
  --ez-ink:         #0f1417;
  --ez-ink-2:       #2a3238;
  --ez-muted:       #6b7580;
  --ez-paper:       #faf7f2;
  --ez-paper-2:     #f3ede3;
  --ez-line:        rgba(15, 20, 23, 0.10);
  --ez-line-strong: rgba(15, 20, 23, 0.18);
}

/* ——— Reset ——— */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--ez-paper);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ez-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a    { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
img    { max-width: 100%; display: block; }
figure { margin: 0; }

/* ——— Layout helpers ——— */
.container {
  max-width: 1120px;
  margin: 0 auto;
}

/* ——— NAV ——— */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ez-line);
}

.nav-outer { padding: 0 48px; }

.nav-row {
  max-width: 1120px;
  margin: 0 auto;
  padding: 9px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.nav-logo-tld { color: var(--ez-cyan-600); }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--ez-ink-2);
}

.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ez-cyan-600); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ez-cyan);
  color: white;
  box-shadow: 0 4px 12px rgba(20, 184, 212, 0.3);
  white-space: nowrap;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  background: var(--ez-cyan-600);
  box-shadow: 0 4px 16px rgba(20, 184, 212, 0.45);
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--ez-line-strong);
  background: white;
  padding: 0;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ez-ink);
  margin: 2.5px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile menu */
.mobile-nav {
  display: none;
  padding: 16px 48px 24px;
  border-top: 1px solid var(--ez-line);
  background: rgba(250, 247, 242, 0.98);
}

.mobile-nav.is-open { display: block; }

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

.mobile-nav-link {
  display: block;
  padding: 11px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ez-ink-2);
  border-bottom: 1px solid var(--ez-line);
}

.mobile-nav-link:last-child { border-bottom: none; }

.mobile-nav-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ez-cyan);
  color: white;
  font-size: 14px;
  font-weight: 600;
}

/* ——— HERO ——— */
.hero {
  position: relative;
  padding: 96px 48px 80px;
  overflow: hidden;
}

/* Dot-grid + glow via layered backgrounds */
.hero-dot-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 55% 50% at 22% 30%, rgba(20, 184, 212, 0.18) 0%, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1.5' cy='1.5' r='1.1' fill='rgba(15,20,23,0.10)'/%3E%3C/svg%3E");
  background-size: cover, 24px 24px;
}

.hero-container {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ez-cyan-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--ez-cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-top: 20px;
  max-width: 720px;
}

.hero-h1 > span { display: block; }

.hero-typed-line {
  color: var(--ez-cyan-600);
  min-height: 1.05em;
}

.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--ez-cyan-600);
  margin-left: 4px;
  vertical-align: -0.08em;
  animation: ez-blink 1s steps(2, end) infinite;
}

@keyframes ez-blink {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ez-muted);
  margin-top: 22px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--ez-cyan);
  color: white;
  box-shadow: 0 6px 18px rgba(20, 184, 212, 0.35);
}

.btn-primary:hover {
  background: var(--ez-cyan-600);
  box-shadow: 0 6px 24px rgba(20, 184, 212, 0.5);
}

.btn-secondary {
  background: white;
  color: var(--ez-ink);
  border: 1px solid var(--ez-line-strong);
}

.btn-secondary:hover { background: var(--ez-paper-2); }

/* ——— ICON WALL ——— */
.iconwall {
  position: absolute;
  right: -8px;
  top: -28px;
  width: 292px;   /* 4×64 + 3×12 */
  height: 480px;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 14%, black 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, black 14%, black 86%, transparent 100%);
}

.iconwall-inner {
  display: flex;
  gap: 12px;
  height: 100%;
}

.iconwall-col {
  width: 64px;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.iconwall-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* JS sets --speed per column */
.iconwall-track.dir-up   { animation: ez-marq-up   var(--speed, 40s) linear infinite; }
.iconwall-track.dir-down { animation: ez-marq-down var(--speed, 46s) linear infinite; }

@keyframes ez-marq-up   { from { transform: translateY(0);    } to { transform: translateY(-50%); } }
@keyframes ez-marq-down { from { transform: translateY(-50%); } to { transform: translateY(0);    } }

.iconwall-tile {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: white;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 20, 23, 0.10), inset 0 0 0 1px rgba(15, 20, 23, 0.05);
}

.iconwall-tile img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* ——— STATS ——— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--ez-line);
}

.stat-num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--ez-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ——— SECTIONS ——— */
.section {
  padding: 72px 48px;
  border-top: 1px solid var(--ez-line);
}

.section-alt { background: var(--ez-paper-2); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 32px;
}

.section-tag {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ez-cyan-600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.section-subtitle {
  max-width: 320px;
  color: var(--ez-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ——— SERVICE CARDS ——— */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* RGB components come from inline --tint-r/g/b custom props */
.service-card {
  position: relative;
  background:
    linear-gradient(
      140deg,
      rgba(var(--tint-r), var(--tint-g), var(--tint-b), 0.08) 0%,
      rgba(var(--tint-r), var(--tint-g), var(--tint-b), 0.04) 45%,
      rgba(255, 255, 255, 0.7) 100%
    ),
    white;
  border-radius: 18px;
  border: 1px solid rgba(var(--tint-r), var(--tint-g), var(--tint-b), 0.20);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.service-card-bg-icon {
  position: absolute;
  right: 1px;
  bottom: 10px;
  width: 160px;
  height: 160px;
  color: var(--tint-hex);
  opacity: 0.18;
  pointer-events: none;
}

.service-card-bg-icon svg {
  width: 100%;
  height: 100%;
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: white;
  color: var(--tint-hex);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--tint-r), var(--tint-g), var(--tint-b), 0.20);
  box-shadow: 0 4px 12px rgba(var(--tint-r), var(--tint-g), var(--tint-b), 0.12);
}

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ez-muted);
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}

.service-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ez-muted);
  position: relative;
  max-width: 78%;
}

.service-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
  position: relative;
}

.service-tags span {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ez-ink-2);
  border: 1px solid rgba(var(--tint-r), var(--tint-g), var(--tint-b), 0.14);
}

/* ——— PROCESS ——— */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--ez-line);
}

.process-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ez-cyan-600);
}

.process-name {
  font-size: 22px;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: -0.01em;
}

.process-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ez-muted);
  margin-top: 8px;
}

/* ——— TESTIMONIALS ——— */
.testimonial-section {
  padding: 80px 48px;
  background: var(--ez-cyan);
  color: white;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.testimonial-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.testimonial-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  opacity: 0.7;
}

.testimonial-total { opacity: 0.6; }

.testimonial-stage {
  position: relative;
  min-height: 240px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms ease, transform 500ms ease;
  pointer-events: none;
}

.testimonial-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-quote {
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.testimonial-who {
  font-size: 13px;
  margin-top: 22px;
  opacity: 0.9;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.testimonial-dots { display: flex; gap: 8px; }

.tm-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 300ms ease, background 200ms ease;
}

.tm-dot.is-active {
  width: 28px;
  background: white;
}

.testimonial-arrows { display: flex; gap: 8px; }

.tm-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  font-family: inherit;
}

.tm-prev {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: white;
  transition: background 0.15s ease;
}

.tm-prev:hover { background: rgba(255, 255, 255, 0.12); }

.tm-next {
  border: none;
  background: white;
  color: var(--ez-cyan-600);
  font-weight: 700;
  transition: background 0.15s ease;
}

.tm-next:hover { background: var(--ez-cyan-50); }

/* ——— WORK ——— */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 18px;
}

.work-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  width: 100%;
  object-fit: cover;
  /* Placeholder style for cards without a real image yet */
  background:
    repeating-linear-gradient(135deg, rgba(15, 20, 23, 0.05) 0 8px, transparent 8px 16px),
    var(--ez-paper-2);
  color: var(--ez-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

/* Placeholder cards (div.work-thumb) show centered text */
div.work-thumb { display: flex; }

/* Real image cards (img.work-thumb) fill the box */
img.work-thumb { display: block; height: auto; }

.work-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  font-size: 14px;
}

.work-name  { font-weight: 600; }
.work-meta  { color: var(--ez-muted); font-size: 12px; }

/* ——— STACK STRIP ——— */
.stack-section { padding: 48px 48px 72px; }

.stack-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--ez-line);
  padding-top: 36px;
}

.stack-label {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ez-muted);
  margin-right: 8px;
}

.stack-tag {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ez-line-strong);
  background: white;
}

/* ——— CONTACT ——— */
.contact-section {
  padding: 72px 48px 32px;
  background: var(--ez-cyan);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}

.contact-h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.contact-p {
  font-size: 15.5px;
  line-height: 1.6;
  color: white;
  margin-top: 16px;
  max-width: 380px;
}

.contact-details {
  margin-top: 32px;
  font-size: 14px;
  color: white;
  line-height: 2;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-input::placeholder { color: rgba(255, 255, 255, 0.85); }
.form-input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
}

.form-textarea { resize: none; }

.form-field { display: flex; flex-direction: column; gap: 4px; }

.form-input.is-error {
  border-color: #ffeb3b;
  background: rgba(255, 235, 59, 0.08);
}

.form-error {
  font-size: 12px;
  font-weight: 600;
  color: #ffeb3b;
  padding-left: 2px;
}
.form-error:empty { display: none; }

.form-submit {
  justify-self: start;
  padding: 13px 22px;
  border-radius: 999px;
  background: white;
  color: var(--ez-cyan-600);
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.form-submit:hover { background: var(--ez-cyan-50); }

/* Success state */
.form-success[hidden] { display: none; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
  min-height: 200px;
}

.form-success-icon {
  width: 48px;
  height: 48px;
  background: white;
  color: var(--ez-cyan-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto;
}

.form-success-title {
  font-size: 20px;
  font-weight: 700;
}

.form-success-msg {
  font-size: 14px;
  color: white;
}

/* Footer */
.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.30);
  font-size: 12px;
  color: white;
  display: flex;
  justify-content: space-between;
}

/* ——— RESPONSIVE: Tablet (≤ 1023px) ——— */
@media (max-width: 1023px) {
  .nav-outer { padding: 0 28px; }
  .nav-row   { padding: 8px 0; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-burger { display: flex; }

  .mobile-nav { padding: 16px 28px 24px; }

  .hero { padding: 64px 28px 56px; }
  .hero-h1  { font-size: 48px; max-width: calc(100% - 280px); }
  .hero-sub { font-size: 17px; max-width: calc(100% - 280px); }

  .iconwall { width: 256px; height: 420px; opacity: 0.55; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
  .stat-num   { font-size: 36px; }

  .section { padding: 56px 28px; }
  .section-head  { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-title { font-size: 32px; }
  .section-subtitle { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .process-grid  { grid-template-columns: 1fr 1fr; }
  .work-grid     { grid-template-columns: 1fr 1fr; }

  .testimonial-section { padding: 56px 28px; }
  .testimonial-quote   { font-size: 22px; }
  .testimonial-stage   { min-height: 260px; }

  .contact-section { padding: 56px 28px 24px; }
  .contact-grid    { grid-template-columns: 1fr; gap: 32px; }
  .contact-h2      { font-size: 36px; }

  .stack-section { padding: 48px 28px 72px; }
}

/* ——— RESPONSIVE: Mobile (≤ 639px) ——— */
@media (max-width: 639px) {
  .nav-outer { padding: 0 18px; }
  .nav-row   { padding: 7px 0; }
  .nav-cta   { display: none; }
  .mobile-nav { padding: 16px 18px 24px; }

  .hero { padding: 44px 18px; }
  .hero-h1  { font-size: 36px; line-height: 1.08; max-width: 100%; }
  .hero-sub { font-size: 15.5px; max-width: 100%; }

  /* Icon wall flips to a horizontal strip at the bottom of the CTAs */
  .iconwall {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 76px;
    margin-top: 28px;
    opacity: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
  }

  .iconwall-inner { gap: 0; }

  /* Hide all but the first column — it has a duplicated list so the loop holds */
  .iconwall-col:nth-child(n+2) { display: none; }
  .iconwall-col:first-child     { width: 100%; }

  .iconwall-track {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    animation: ez-marq-h 28s linear infinite !important;
  }

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

  .iconwall-tile { width: 56px; height: 56px; border-radius: 13px; flex-shrink: 0; }
  .iconwall-tile img { width: 30px; height: 30px; }

  .stats-grid { margin-top: 40px; padding-top: 22px; gap: 14px; }
  .stat-num   { font-size: 28px; }
  .stat-label { font-size: 11px; }

  .section { padding: 44px 18px; }
  .section-title { font-size: 26px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card  { padding: 22px; }
  .service-desc  { max-width: 100%; }

  .process-grid { grid-template-columns: 1fr; }

  .work-grid { grid-template-columns: 1fr; }

  .testimonial-section { padding: 44px 18px; }
  .testimonial-quote   { font-size: 19px; line-height: 1.45; }
  .testimonial-stage   { min-height: 320px; }
  .testimonial-footer  { flex-direction: column; gap: 18px; align-items: center; }
  .testimonial-dots    { justify-content: center; }

  .contact-section { padding: 44px 18px 24px; }
  .contact-h2 { font-size: 28px; }
  .form-row   { grid-template-columns: 1fr; }

  .stack-section { padding: 44px 18px 64px; }

  .site-footer { flex-direction: column; gap: 4px; }
}

/* ——— Error modal ——— */
.ez-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 23, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  backdrop-filter: blur(4px);
  animation: modal-in 0.18s ease;
}

.ez-modal-overlay[hidden] { display: none; }

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.ez-modal {
  background: white;
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(15, 20, 23, 0.18);
}

.ez-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff3cd;
  color: #b45309;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.ez-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ez-ink);
  margin-bottom: 10px;
}

.ez-modal-msg {
  font-size: 14px;
  color: var(--ez-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ez-modal-close {
  padding: 10px 28px;
  border-radius: 999px;
  background: var(--ez-cyan);
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ez-modal-close:hover { background: var(--ez-cyan-600); }

.grecaptcha-badge { visibility: hidden; }

.recaptcha-notice {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}
.recaptcha-notice a { color: rgba(255, 255, 255, 0.6); text-decoration: underline; }
.recaptcha-notice a:hover { color: white; }
