/* ============================================
   EZ ELECTRONICS — Design System "EZ Blue"
   Dark-first, Apple-tile rhythm, glow signature
   ============================================ */

:root {
  /* Brand */
  --ez-blue: #1a6ee0;
  --ez-blue-bright: #4dabff;
  --ez-blue-glow: #2997ff;
  --ez-cyan: #53e0ff;

  /* Surfaces (dark — the only mode) — deepened to match ezstocklist.com true-black */
  --canvas: #000000;
  --tile-1: #060a12;
  --tile-2: #0a111c;
  --card: #0e1726;
  --card-hover: #121d30;
  --card-border: rgba(77, 171, 255, 0.12);
  --card-border-hover: rgba(77, 171, 255, 0.45);
  --ink: #f5f8fc;
  --ink-muted: #9fb3cc;
  --ink-faint: #5d7290;
  --nav-bg: rgba(0, 0, 0, 0.72);
  --hairline: rgba(255, 255, 255, 0.07);
  --pill-secondary-border: rgba(255, 255, 255, 0.22);
  --grid-line: rgba(77, 171, 255, 0.055);
  --accent: var(--ez-blue-bright);
  --glow: 0 0 60px rgba(41, 151, 255, 0.35);
  --shadow-product: 0 30px 80px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.014em;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }

/* ---------- Type scale ---------- */
.display-hero {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.display-lg {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.45;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--card-border);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-radius: 999px;
  padding: 7px 16px;
}

/* Glow gradient headline — the EZ signature */
.glow-text {
  background: linear-gradient(100deg, var(--ez-blue-bright) 10%, var(--ez-cyan) 55%, var(--ez-blue) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(41, 151, 255, 0.45));
  animation: glow-breathe 4.5s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(41, 151, 255, 0.35)); }
  50%      { filter: drop-shadow(0 0 40px rgba(41, 151, 255, 0.6)); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex; align-items: center;
  height: 46px;
}
.nav-logo img {
  height: 100%;
  width: auto;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: transparent; color: var(--ink);
  cursor: pointer; font-size: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px; font-weight: 600;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.95); }
.btn-primary {
  background: linear-gradient(120deg, var(--ez-blue-glow), var(--ez-blue));
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(41, 151, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}
.btn-primary:hover { box-shadow: 0 6px 32px rgba(41, 151, 255, 0.55); }
.btn-primary:hover::before { left: 130%; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--pill-secondary-border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- Tiles (full-bleed sections) ---------- */
.tile {
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
.tile-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.tile-canvas { background: var(--canvas); }
.tile-1 { background: var(--tile-1); }
.tile-2 { background: var(--tile-2); }
.tile-center { text-align: center; }
.tile-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.tile-head .display-lg { margin: 16px 0 14px; }

/* Subtle blueprint grid backdrop */
.grid-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}

/* Hero */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}
/* Ambient blue blooms drifting behind the hero — adds life without imagery */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 480px at 22% 28%, rgba(41, 151, 255, 0.16), transparent 70%),
    radial-gradient(circle 520px at 80% 72%, rgba(83, 224, 255, 0.10), transparent 72%);
  pointer-events: none;
  z-index: 0;
  animation: bloom-drift 18s ease-in-out infinite alternate;
}
@keyframes bloom-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
  50%  { transform: translate3d(2%, -1.5%, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(-1.5%, 1%, 0) scale(1.03); opacity: 0.85; }
}
.hero .tile-inner { max-width: 880px; text-align: center; }
.hero .lead { margin: 22px auto 36px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 44px;
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-faint); font-weight: 500;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 8px #34d27b; animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #34d27b; }
  50% { opacity: 0.55; box-shadow: 0 0 14px #34d27b; }
}

/* ---------- Device grid ---------- */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}
.device-card {
  border-radius: 22px;
  padding: 30px 18px 24px;
  text-align: center;
  color: var(--ink);
  background:
    radial-gradient(135% 105% at 108% 112%, rgba(46, 144, 250, 0.17), transparent 52%),
    linear-gradient(158deg, rgba(28, 44, 74, 0.55), rgba(10, 15, 26, 0.30) 62%);
  border: 1px solid rgba(77, 171, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px -34px rgba(0, 0, 0, 0.85);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  display: block;
  position: relative;
}
.device-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 171, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 72px -32px rgba(46, 144, 250, 0.42);
}
/* Product photos in device cards (transparent PNGs) — idle float + hover bloom */
.device-card .device-media {
  position: relative;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 16px;
}
/* soft blue glow that blooms up behind the device on hover */
.device-card .device-media::before {
  content: "";
  position: absolute; left: 50%; top: 56%;
  width: 118%; height: 78%;
  transform: translate(-50%, -50%) scale(0.6);
  background: radial-gradient(ellipse at center, rgba(46, 144, 250, 0.42) 0%, rgba(46, 144, 250, 0.13) 42%, transparent 70%);
  filter: blur(15px);
  opacity: 0; z-index: 0; pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.device-card:hover .device-media::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.device-card .device-photo {
  position: relative; z-index: 1;
  height: 116px; width: auto; max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}
.device-card:hover .device-photo {
  transform: scale(1.08) rotate(-1.5deg);
  filter: drop-shadow(0 0 20px rgba(77, 171, 255, 0.55)) drop-shadow(0 16px 26px rgba(0, 0, 0, 0.5));
}
@keyframes ez-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: no-preference) {
  .device-card .device-media { animation: ez-float 6.4s ease-in-out infinite; }
  .device-grid .device-card:nth-child(2) .device-media { animation-duration: 7.1s; animation-delay: -1.6s; }
  .device-grid .device-card:nth-child(3) .device-media { animation-duration: 6.7s; animation-delay: -3.0s; }
  .device-grid .device-card:nth-child(4) .device-media { animation-duration: 7.5s; animation-delay: -0.8s; }
  .device-grid .device-card:nth-child(5) .device-media { animation-duration: 6.2s; animation-delay: -2.3s; }
  .device-grid .device-card:nth-child(6) .device-media { animation-duration: 6.9s; animation-delay: -1.1s; }
  .device-card:hover .device-media { animation-play-state: paused; }
}

/* Moving blue "backlight" that snakes behind the cards, glowing from behind.
   Cards are slightly translucent so it bleeds through near the rim. */
.device-grid { position: relative; isolation: isolate; }
.device-grid > .device-card { z-index: 1; }
.device-grid::before {
  content: "";
  position: absolute; z-index: 0; top: 0; left: 0;
  width: 40%; height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(46, 144, 250, 0.60) 0%, rgba(46, 144, 250, 0.22) 36%, transparent 66%);
  filter: blur(40px);
  transform: translate(-6%, 8%);
  pointer-events: none; will-change: transform;
}
@keyframes card-snake {
  0%    { transform: translate(-6%,  6%); }
  12.5% { transform: translate(34%,  60%); }
  25%   { transform: translate(74%,  6%); }
  37.5% { transform: translate(114%, 60%); }
  50%   { transform: translate(150%, 6%); }
  62.5% { transform: translate(114%, 60%); }
  75%   { transform: translate(74%,  6%); }
  87.5% { transform: translate(34%,  60%); }
  100%  { transform: translate(-6%,  6%); }
}
/* Portrait / stacked grid on mobile — weave down the columns too */
@keyframes card-snake-m {
  0%,  100% { transform: translate(-10%, -4%); }
  25%       { transform: translate(70%,  40%); }
  50%       { transform: translate(-10%, 92%); }
  75%       { transform: translate(70%,  40%); }
}
@media (prefers-reduced-motion: no-preference) {
  .device-grid::before { animation: card-snake 15s ease-in-out infinite; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .device-grid::before { width: 62%; height: 34%; animation-name: card-snake-m; animation-duration: 17s; }
}
.device-card .name { font-weight: 600; font-size: 16px; }
.device-card .hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 30px 26px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--card-border-hover); }
.step-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-weight: 800; font-size: 18px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover .step-num { background: color-mix(in srgb, var(--accent) 20%, transparent); box-shadow: 0 0 18px rgba(77, 171, 255, 0.35); }
.step-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.step-card p { font-size: 15px; color: var(--ink-muted); line-height: 1.55; }

/* ---------- Value props ---------- */
.props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
/* Feature cards — gradient-lit surface */
.prop {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 32px;
  border-radius: 22px;
  background:
    radial-gradient(135% 105% at 108% 112%, rgba(46, 144, 250, 0.17), transparent 52%),
    linear-gradient(158deg, rgba(28, 44, 74, 0.55), rgba(10, 15, 26, 0.30) 62%);
  border: 1px solid rgba(77, 171, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px -34px rgba(0, 0, 0, 0.85);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.prop .p-icon, .prop h3, .prop p { position: relative; z-index: 1; }
.prop:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 171, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 72px -32px rgba(46, 144, 250, 0.42);
}
/* Glowing circular icon badge */
.prop .p-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ez-blue-bright); margin-bottom: 22px;
  background: radial-gradient(circle at 36% 30%, rgba(46, 144, 250, 0.30), rgba(46, 144, 250, 0.05) 72%, transparent);
  border: 1px solid rgba(77, 171, 255, 0.30);
  box-shadow: inset 0 0 16px rgba(46, 144, 250, 0.16), 0 8px 22px -8px rgba(46, 144, 250, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.prop .p-icon svg { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(46, 144, 250, 0.75)); }
.prop:hover .p-icon {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(77, 171, 255, 0.55);
  box-shadow: inset 0 0 20px rgba(46, 144, 250, 0.28), 0 10px 28px -8px rgba(46, 144, 250, 0.6);
}
.prop h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.prop h3::after {
  content: ""; display: block; width: 36px; height: 2px; margin-top: 14px;
  border-radius: 2px; background: linear-gradient(90deg, #2E90FA, #4dabff);
  box-shadow: 0 0 10px rgba(46, 144, 250, 0.6);
}
.prop p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; }

/* ---------- Ecosystem strip ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.eco-card {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 28px 26px 30px;
  border-radius: 22px;
  color: var(--ink);
  background:
    radial-gradient(135% 105% at 108% 112%, rgba(46, 144, 250, 0.17), transparent 52%),
    linear-gradient(158deg, rgba(28, 44, 74, 0.55), rgba(10, 15, 26, 0.30) 62%);
  border: 1px solid rgba(77, 171, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px -34px rgba(0, 0, 0, 0.85);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.eco-card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 171, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 72px -32px rgba(46, 144, 250, 0.42);
}
/* category label as a glowing pill (echoes the feature-card icon badge) */
.eco-card .tag {
  display: inline-block; margin-bottom: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ez-blue-bright);
  background: radial-gradient(circle at 30% 30%, rgba(46, 144, 250, 0.24), rgba(46, 144, 250, 0.05) 82%);
  border: 1px solid rgba(77, 171, 255, 0.30);
  box-shadow: inset 0 0 12px rgba(46, 144, 250, 0.14);
  border-radius: 999px; padding: 6px 14px;
}
.eco-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.eco-card h3::after {
  content: ""; display: block; width: 34px; height: 2px; margin-top: 13px;
  border-radius: 2px; background: linear-gradient(90deg, #2E90FA, #4dabff);
  box-shadow: 0 0 10px rgba(46, 144, 250, 0.6);
}
.eco-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.eco-card .go { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ez-blue-bright); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Contact / location ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 26px;
}
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.contact-card h3 .c-icon { width: 20px; height: 20px; color: var(--accent); }
.contact-card h3 .c-icon svg { width: 100%; height: 100%; }
.contact-card p { font-size: 15px; color: var(--ink-muted); line-height: 1.6; }
.contact-card a { font-weight: 600; }

/* ---------- Widget page (POS iframe) ---------- */
.widget-shell {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  /* No card padding/border — the embedded widget brings its own card chrome. */
}
iframe.buyback-widget {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 780px;
  color-scheme: dark;
}
@media (max-width: 640px) {
  iframe.buyback-widget { min-height: calc(100vh - 220px); }
}

/* ---------- Prep checklist ---------- */
.prep-list { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.prep-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex; gap: 20px; align-items: flex-start;
}
.prep-item .step-num { margin-bottom: 0; flex-shrink: 0; }
.prep-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.prep-item p { font-size: 15px; color: var(--ink-muted); line-height: 1.6; }
.prep-item code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border-radius: 6px;
  padding: 2px 7px;
}

/* Elevated card surface — unify the other card sections with the feature cards */
.step-card, .contact-card, .prep-item {
  position: relative;
  border-radius: 22px;
  background:
    radial-gradient(135% 105% at 108% 112%, rgba(46, 144, 250, 0.17), transparent 52%),
    linear-gradient(158deg, rgba(28, 44, 74, 0.55), rgba(10, 15, 26, 0.30) 62%);
  border: 1px solid rgba(77, 171, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px -34px rgba(0, 0, 0, 0.85);
}
.step-card:hover, .contact-card:hover, .prep-item:hover {
  border-color: rgba(77, 171, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 72px -32px rgba(46, 144, 250, 0.42);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--tile-1);
  border-top: 1px solid var(--hairline);
  padding: 56px 24px 36px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--ink-muted); font-size: 14.5px; transition: color 0.2s; }
.footer li a:hover { color: var(--accent); }
.footer-brand .nav-logo { height: 44px; margin-bottom: 4px; }
.footer-brand p { color: var(--ink-muted); font-size: 14px; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--ink-faint);
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .display-lg { margin-bottom: 14px; }
.cta-band .lead { margin-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: grid; place-items: center; }
  .tile { padding: 64px 20px; }
  .hero { min-height: auto; padding-top: 110px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero::after { animation: none; }
  .glow-text { animation: none; }
  .hero-trust .dot { animation: none; }
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ez-blue-glow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Reveal on scroll — only arms once JS adds .reveal-ready to <html>.
   Without JS (or if observer fails) content stays fully visible. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-ready .reveal.in { opacity: 1; transform: none; }
/* Stagger children within a grid for a cascade effect */
.reveal-ready .reveal.in:nth-child(1) { transition-delay: 0s; }
.reveal-ready .reveal.in:nth-child(2) { transition-delay: 0.07s; }
.reveal-ready .reveal.in:nth-child(3) { transition-delay: 0.14s; }
.reveal-ready .reveal.in:nth-child(4) { transition-delay: 0.21s; }
.reveal-ready .reveal.in:nth-child(5) { transition-delay: 0.28s; }
.reveal-ready .reveal.in:nth-child(6) { transition-delay: 0.35s; }
