/* ============================================================
   Cardi — Cardi theme: dark navy + teal
   Poppins 900 display / DM Sans body
   ============================================================ */

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

:root {
  /* Surface palette — CoreStack dark navy */
  --bg: #070d1c;
  --bg-alt: #0a1122;
  --bg-soft: #0e1528;
  --surface: #0d1426;
  --line: rgba(255,255,255,0.09);
  --line-soft: rgba(255,255,255,0.05);

  /* Text — light on dark */
  --text: #e8eaf0;
  --text-mute: #9aa3b6;
  --text-soft: #6b7689;
  --text-invert: #04121a;

  /* Brand accent — teal + mint */
  --accent: #0dc5b4;
  --accent-2: #5dfeca;
  --accent-soft: rgba(13,197,180,0.14);
  --accent-deep: #0aa093;
  --accent-glow: rgba(13,197,180,0.35);

  /* Card material visuals — true blank stock colours */
  --card-dark: #14110F;
  --card-dark-2: #221E1B;
  --pvc-1: #FBFAF8;   /* warm white blank rPVC */
  --pvc-2: #EEEAE2;   /* soft shadow tint */
  --pvc-ink: #1A1815; /* dark print on white PVC */
  --cork-1: #D6BB89;
  --cork-2: #BA995F;
  --cork-3: #9C7B45;
  --cork-ink: #3A2A12;

  /* Type — CoreStack: Poppins display + DM Sans body */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-ui: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Spacing rhythm */
  --section-pad: clamp(64px, 9vw, 112px);
  --container: 1180px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadows — deep on dark */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.45), 0 12px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 18px 60px rgba(0,0,0,0.55);
  --shadow-card: 0 14px 50px rgba(0,0,0,0.6);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 720px) {
  .container { padding: 0 40px; }
}

/* ---------- Headings & text ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
}

h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 900; line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; line-height: 1.1; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.3; }
h4 { font-size: 17px; letter-spacing: -0.01em; font-weight: 700; }

/* Bolded keyword accent (Tapt-style "smarter way to network") */
.accent { color: var(--accent); font-weight: 800; }
.accent--blue { color: var(--accent); font-weight: 800; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.lede, .section-lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 560px;
  margin-top: 22px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head .section-lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--text-invert);
  box-shadow: 0 8px 26px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-2);
  color: var(--text-invert);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--text);
}

.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-large { padding: 16px 28px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,13,28,0.75);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 0 rgba(20,17,15,0.02);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 720px) {
  .nav-inner { padding: 16px 40px; }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--accent-glow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.logo:hover .logo-mark {
  transform: translateY(-1px) rotate(-3deg);
  box-shadow: 0 6px 16px var(--accent-glow);
}
.logo-mark svg { width: 17px; height: 17px; display: block; }
.logo-word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-mute);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: var(--text-invert) !important;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 20px var(--accent-glow);
}
.nav-cta:hover { background: var(--accent-2) !important; color: var(--text-invert) !important; }

@media (min-width: 820px) {
  .nav-links { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 calc(var(--section-pad) + 24px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 85% 15%, rgba(13,197,180,0.18), transparent 70%),
    radial-gradient(50% 50% at 5% 100%, rgba(13,197,180,0.10), transparent 70%),
    linear-gradient(180deg, #070d1c 0%, #0a1122 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  mask-image: radial-gradient(60% 50% at 50% 30%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, black, transparent 80%);
  pointer-events: none;
}
.hero > * { position: relative; }
@keyframes cardi-drift {
  0%,100% {
    transform:
      translate(var(--card-tx, 0%), var(--card-ty, 0%))
      rotate(calc(var(--card-rot, 0deg) - 1.5deg));
  }
  25% {
    transform:
      translate(calc(var(--card-tx, 0%) + 6px), calc(var(--card-ty, 0%) - 6px))
      rotate(calc(var(--card-rot, 0deg) + 1.5deg));
  }
  50% {
    transform:
      translate(var(--card-tx, 0%), calc(var(--card-ty, 0%) - 12px))
      rotate(calc(var(--card-rot, 0deg) + 0.5deg));
  }
  75% {
    transform:
      translate(calc(var(--card-tx, 0%) - 6px), calc(var(--card-ty, 0%) - 6px))
      rotate(calc(var(--card-rot, 0deg) - 0.5deg));
  }
}
.hero .card-stack .card {
  animation: cardi-drift 11s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  box-shadow: 0 30px 80px var(--accent-glow), 0 12px 40px rgba(20,17,15,0.18);
  will-change: transform;
}
.hero .card-stack:hover .card {
  animation-play-state: paused;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text { max-width: 640px; position: relative; z-index: 0; }
/* Cardi logo watermark sitting behind the hero text. */
.hero-text::before {
  content: '';
  position: absolute; z-index: -1; pointer-events: none;
  top: 50%; left: 44%;
  width: 540px; height: 540px;
  transform: translate(-50%, -50%);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" fill="none"><path d="M10 7 Q16 14 10 21" stroke="%230DC5B4" stroke-width="2" stroke-linecap="round"/><path d="M14.5 5 Q22 14 14.5 23" stroke="%230DC5B4" stroke-width="2" stroke-linecap="round" opacity="0.72"/><path d="M19 3.5 Q28 14 19 24.5" stroke="%230DC5B4" stroke-width="2" stroke-linecap="round" opacity="0.46"/></svg>') center / contain no-repeat;
  opacity: 0.06;
}
.hero-text h1 { margin-bottom: 0; font-size: clamp(32px, 3.6vw, 50px); }
.hero-text .lede { margin-top: 20px; max-width: 440px; font-size: 16px; }
.hero-text .eyebrow { font-size: 12px; }

/* URL input bar in the hero */
.hero-url {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  max-width: 540px;
}
.hero-url:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-md);
}
.hero-url__icon {
  display: inline-flex;
  align-items: center;
  color: var(--text-soft);
  margin-right: 8px;
}
.hero-url__icon svg { width: 18px; height: 18px; }
.hero-url input {
  flex: 1;
  border: 0;
  background: transparent;
  font: 500 15px/1 var(--font-ui);
  color: var(--text);
  padding: 12px 6px;
  outline: none;
  min-width: 0;
}
.hero-url input::placeholder { color: var(--text-soft); font-weight: 400; }
.hero-url button {
  flex-shrink: 0;
}
.hero-url.is-loading {
  pointer-events: none;
  opacity: 0.7;
}
.hero-url.is-loading button { background: var(--accent); color: white; }
.hero-url__hint {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 10px;
  margin-left: 18px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-cta .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 12px 32px var(--accent-glow), 0 2px 6px rgba(20,17,15,0.08);
  border: 0;
}
.hero-cta .btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Hero URL entry — the primary call to action */
.hero-form {
  margin-top: 30px;
  max-width: 540px;
}
.hero-form .url-pill {
  box-shadow: 0 18px 60px rgba(13,197,180,0.14), var(--shadow-md);
}
.hero-form .url-pill input { font-size: 16px; padding: 13px 10px; }
.hero-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.hero-examples__label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}
@media (max-width: 600px) {
  .hero-form .url-pill { flex-wrap: wrap; border-radius: 20px; padding: 10px; gap: 8px; }
  .hero-form .url-pill input { flex: 1 1 100%; padding: 8px 12px; }
  .hero-form .url-pill__icon { display: none; }
  .hero-form .url-pill__btn { flex: 1 1 100%; justify-content: center; }
}

.hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  font: 500 13.5px/1 var(--font-ui);
  color: var(--text-mute);
}
.hero-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font: 700 11.5px/1 var(--font-ui);
}

/* ---------- How it works ---------- */
.how {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
}
.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.how-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 34px 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.how-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-2);
}
.how-step__num {
  position: absolute;
  top: 20px; right: 22px;
  font: 600 13px/1 var(--font-display);
  color: var(--text-soft);
}
.how-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 20px;
}
.how-step__icon svg { width: 26px; height: 26px; }
.how-step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 8px;
}
.how-step__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0;
}
.how-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
}
.how-cta__note {
  font: 500 13px/1 var(--font-ui);
  letter-spacing: 0.02em;
  color: var(--text-soft);
}
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- URL pill (Step 1) ---------- */
.url-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 18px 60px rgba(124,58,237,0.10), var(--shadow-md);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.url-pill:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 18px 60px rgba(124,58,237,0.16);
  transform: translateY(-1px);
}
.url-pill__icon {
  display: inline-flex;
  align-items: center;
  color: var(--text-soft);
  margin-right: 12px;
  flex: 0 0 auto;
}
.url-pill__icon svg { width: 20px; height: 20px; }
.url-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: 500 17px/1 var(--font-ui);
  color: var(--text);
  padding: 14px 10px;
  outline: none;
}
.url-pill input::placeholder { color: var(--text-soft); font-weight: 400; }
.url-pill__btn {
  flex: 0 0 auto;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white !important;
  box-shadow: 0 8px 22px var(--accent-glow);
}
.url-pill__btn:hover { filter: brightness(1.08); }
.url-pill.is-loading { pointer-events: none; opacity: 0.7; }

.url-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.url-examples__label {
  font-size: 13px;
  color: var(--text-soft);
  margin-right: 4px;
}
.url-chip {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font: 500 13px/1 var(--font-ui);
  color: var(--text-mute);
  cursor: pointer;
  transition: all 0.15s ease;
}
.url-chip:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.url-capture {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font: 500 13px/1 var(--font-ui);
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.url-capture li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.url-capture__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

@media (max-width: 560px) {
  .url-pill { flex-wrap: wrap; padding: 14px; border-radius: 18px; }
  .url-pill__icon { margin-right: 6px; }
  .url-pill input { width: 100%; flex-basis: 100%; padding: 10px 4px; }
  .url-pill__btn { width: 100%; }
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-mute);
}
.hero-meta .check {
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-right: 8px;
  font-size: 11px;
  font-weight: 700;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
  .hero-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 48px;
  }
}

/* ---------- Hero card stack ---------- */
.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 16px;
}

/* Hero: simple "paste your website" panel (replaces the card fan) */
.hero-paste {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-card);
  text-align: left;
}
.hero-paste__step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  margin-bottom: 16px;
}
.hero-paste__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.05; letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.hero-paste__lede {
  color: var(--text-mute); font-size: 15px; line-height: 1.5;
  margin: 0 0 22px; max-width: 420px;
}
.hero-paste .hero-form { margin: 0; }
.hero-paste .url-capture { margin-top: 20px; }
.card-stack {
  position: relative;
  width: 320px;
  height: 240px;
}

/* Generic card mockup */
.card {
  position: absolute;
  width: 320px;
  height: 200px;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  color: #F5EFE2;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card-tag {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
}
.card-nfc {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  position: relative;
  opacity: 0.7;
}
.card-nfc::before, .card-nfc::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.6;
}
.card-nfc::after { inset: 8px; opacity: 0.4; }

/* PVC (standard) — blank white rPVC stock */
.card--pvc {
  background:
    radial-gradient(circle at 30% 30%, rgba(0,0,0,0.012) 0 0.6px, transparent 0.6px) 0 0/4px 4px,
    linear-gradient(135deg, var(--pvc-1) 0%, var(--pvc-2) 100%);
  color: var(--pvc-ink);
  border: 1px solid rgba(20,17,15,0.08);
}
/* Cork (legacy) — natural cork tan with grain */
.card--cork {
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.10) 0 1px, transparent 1px) 0 0/3px 3px,
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.07) 0 0.6px, transparent 0.6px) 0 0/2px 2px,
    radial-gradient(circle at 45% 80%, rgba(0,0,0,0.06) 0 0.8px, transparent 0.8px) 0 0/2.5px 2.5px,
    linear-gradient(135deg, var(--cork-1) 0%, var(--cork-3) 100%);
  color: var(--cork-ink);
  border: 1px solid rgba(58,42,18,0.10);
}
/* Dual chip (premium) — dark slate with gold contact chip */
.card--dual {
  background:
    linear-gradient(135deg, #E8C766 0%, #B8912E 100%) 14px 58% / 24px 17px no-repeat,
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(135deg, #26314A 0%, #101828 100%);
  color: #E8EAF0;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Brand sample card colours (hero fan) */
.card--violet {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, #6D28D9 0%, #4C1D95 100%);
  color: #EDE4FF;
  border: 1px solid rgba(0,0,0,0.06);
}
.card--mint {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,0.20), transparent 60%),
    linear-gradient(135deg, #34D399 0%, #0F766E 100%);
  color: #F0FDF4;
  border: 1px solid rgba(0,0,0,0.06);
}
.card--coral {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, #FB7185 0%, #BE123C 100%);
  color: #FFF1F2;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Fan arrangement (5 cards, deepest in the middle) — negative delays stagger phase */
.hero-visual .card-stack .card--cork   { z-index: 1; --card-tx: -42%; --card-ty:  10%; --card-rot: -14deg; animation-delay:  0s;     }
.hero-visual .card-stack .card--violet { z-index: 3; --card-tx: -22%; --card-ty:  -2%; --card-rot:  -7deg; animation-delay: -2.2s;  }
.hero-visual .card-stack .card--mint   { z-index: 5; --card-tx:   0%; --card-ty: -10%; --card-rot:   0deg; animation-delay: -4.4s;  }
.hero-visual .card-stack .card--coral  { z-index: 3; --card-tx:  22%; --card-ty:  -2%; --card-rot:   7deg; animation-delay: -6.6s;  }
.hero-visual .card-stack .card--pvc    { z-index: 1; --card-tx:  42%; --card-ty:  10%; --card-rot:  14deg; animation-delay: -8.8s;  }

/* ---------- Features ---------- */
.features {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature {
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.feature p {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Cards / products ---------- */
.cards {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 820px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.product {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line);
}
.product--featured {
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.product-visual {
  padding: 56px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 260px;
}
.product-visual--pvc {
  background:
    radial-gradient(80% 60% at 50% 40%, #EEF1F6 0%, #DDE2EB 100%);
}
.product-visual--cork {
  background:
    radial-gradient(80% 60% at 50% 40%, #EFE5D2 0%, #D7C29B 100%);
}

.card.card-large {
  position: static;
  width: min(82%, 320px);
  height: auto;
  aspect-ratio: 1.586;
  transform: rotate(-3deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product:hover .card.card-large {
  transform: rotate(-1deg) scale(1.03);
}

.product-info { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-flag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
}
.product-flag--standard {
  background: var(--bg-soft);
  color: var(--text-mute);
}
.product-flag--premium {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.product-info h3 { margin-bottom: 4px; }
.product-tag {
  color: var(--text-mute);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.product-desc {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.product-spec {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.product-spec li {
  font-size: 13.5px;
  color: var(--text-mute);
  padding-left: 16px;
  position: relative;
}
.product-spec li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
}
.product-price {
  font-family: var(--font-ui);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.product-price .ccy {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  margin-left: 4px;
}

/* ---------- How it works ---------- */
.how {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step {
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.step h3 { margin-bottom: 8px; font-size: 22px; }
.step p { color: var(--text-mute); font-size: 15px; line-height: 1.6; }

/* ---------- Example / demo card ---------- */
.example {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.example-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .example-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.example-text p { color: var(--text-mute); margin: 18px 0 12px; max-width: 480px; }
.example-meta { font-size: 13px; color: var(--text-soft); letter-spacing: 0.04em; }
.example-text .btn { margin-top: 12px; }

.example-visual {
  perspective: 1500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.demo-card-tilt {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 50%;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.586;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}
.demo-card-tilt.is-tilting {
  transform: rotateY(var(--rx)) rotateX(var(--ry));
}

.demo-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.demo-card.is-flipped { transform: rotateY(180deg); }
.demo-card__face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backface-visibility: hidden;
  box-shadow: var(--shadow-card);
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.025) 0 0.4mm, transparent 0.4mm) 0 0/1.6mm 1.6mm,
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.018) 0 0.4mm, transparent 0.4mm) 0 0/2.2mm 2.2mm,
    linear-gradient(135deg, var(--card-dark-2) 0%, var(--card-dark) 100%);
  color: #F5EFE2;
}
.demo-card__face::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px at var(--gx) var(--gy), rgba(255,255,255,0.07), transparent 70%),
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  pointer-events: none;
}
.demo-card__face--back { transform: rotateY(180deg); align-items: center; text-align: center; }

.demo-card__row { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.demo-card__logo { display: flex; flex-direction: column; gap: 3px; }
.demo-card__logo .bar { height: 4px; border-radius: 1px; }
.demo-card__logo .bar--1 { width: 16px; background: var(--accent-2); }
.demo-card__logo .bar--2 { width: 26px; background: var(--accent); }
.demo-card__logo .bar--3 { width: 36px; background: var(--accent-deep); }

.demo-card__nfc { width: 24px; height: 24px; color: var(--accent-2); }
.demo-card__nfc svg { width: 100%; height: 100%; }

.demo-card__brand h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #F5EFE2;
}
.demo-card__brand p {
  font-size: 11px;
  color: rgba(234,224,208,0.55);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.demo-card__tap {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 500;
  align-self: flex-end;
}
.demo-card__qr {
  width: 60px; height: 60px;
  background: var(--card-dark);
  border: 1px solid rgba(234,224,208,0.12);
  border-radius: 4px;
  padding: 4px;
  flex-shrink: 0;
}
.demo-card__qr svg { width: 100%; height: 100%; }

.demo-card__back-logo { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.demo-card__back-logo .bar { height: 8px; border-radius: 1.5px; }
.demo-card__back-logo .bar--1 { width: 30px; background: var(--accent-2); }
.demo-card__back-logo .bar--2 { width: 48px; background: var(--accent); }
.demo-card__back-logo .bar--3 { width: 68px; background: var(--accent-deep); }

.demo-card__back-wordmark h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: #F5EFE2;
  margin-bottom: 6px;
}
.demo-card__back-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: rgba(234,224,208,0.6);
}

.demo-card__back-foot {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo-card__back-tap {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.demo-card__back-tap svg { width: 14px; height: 14px; }
.demo-card__back-url {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(234,224,208,0.55);
}

.demo-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft);
  border-radius: 999px;
}
.demo-toggle__btn {
  background: transparent;
  border: 0;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.demo-toggle__btn.is-active { background: var(--text); color: var(--text-invert); }

/* ---------- Design variants gallery ---------- */
:root {
  /* CoreStack brand tokens for sample cards */
  --cs-bg-1: #221E1B;
  --cs-bg-2: #0E0B0A;
  --cs-ink: #F5EFE2;
  --cs-ink-mute: rgba(234,224,208,0.55);
  --cs-teal-1: #5FE0D5;
  --cs-teal-2: #0dc5b4;
  --cs-teal-3: #099B8E;
}

.variants {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.variants-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) { .variants-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .variants-grid { grid-template-columns: repeat(3, 1fr); } }

.vcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vcard__label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.vcard__face {
  aspect-ratio: 1.586;
  border-radius: 12px;
  padding: 5.5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.025) 0 0.5px, transparent 0.5px) 0 0/4px 4px,
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.018) 0 0.4px, transparent 0.4px) 0 0/6px 6px,
    linear-gradient(135deg, var(--cs-bg-1) 0%, var(--cs-bg-2) 100%);
  color: var(--cs-ink);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.25s;
}
.vcard:hover .vcard__face {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.vcard__face::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  pointer-events: none;
}
.vcard__face--center {
  align-items: center;
  text-align: center;
}

.vc-row { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.vc-middle { position: relative; z-index: 1; padding: 4% 0; }
.vc-middle--bold { display: flex; flex-direction: column; gap: 8px; }
.vc-stack { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; }
.vc-foot { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 1; }
.vc-foot--center { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.vc-bars { display: flex; flex-direction: column; gap: 2px; }
.vc-bars i { display: block; height: 3px; border-radius: 1px; }
.vc-bars i:nth-child(1) { width: 12px; background: var(--cs-teal-1); }
.vc-bars i:nth-child(2) { width: 18px; background: var(--cs-teal-2); }
.vc-bars i:nth-child(3) { width: 26px; background: var(--cs-teal-3); }
.vc-bars--center { align-items: center; }
.vc-bars--invert i:nth-child(1) { background: rgba(20,17,15,0.7); }
.vc-bars--invert i:nth-child(2) { background: rgba(20,17,15,0.9); }
.vc-bars--invert i:nth-child(3) { background: #0E0B0A; }

.vc-nfc { display: inline-flex; color: var(--cs-teal-2); width: 18px; height: 18px; }
.vc-nfc svg { width: 100%; height: 100%; }
.vc-nfc--invert { color: var(--cs-bg-2); }

.vc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cs-teal-2); }

.vc-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.vc-name--lg { font-size: 18px; font-weight: 600; }
.vc-name--serif { font-family: var(--font-display); font-weight: 400; font-size: 16px; }
.vc-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  color: var(--cs-ink-mute);
  letter-spacing: 0.04em;
  margin-top: 3px;
}
.vc-tagline {
  font-family: var(--font-ui);
  font-size: 9px;
  color: var(--cs-ink-mute);
}
.vc-tagline--italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 10px;
}

.vc-tap {
  font-family: var(--font-ui);
  font-size: 7.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cs-teal-2);
  font-weight: 500;
}
.vc-url {
  font-family: var(--font-ui);
  font-size: 8px;
  color: var(--cs-ink-mute);
  letter-spacing: 0.04em;
}
.vc-eyebrow {
  font-family: var(--font-ui);
  font-size: 7.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cs-ink-mute);
  position: relative; z-index: 1;
}

.vc-qr {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #F5EFE2 1px, transparent 1px) 0 0/3px 3px,
    linear-gradient(0deg, #F5EFE2 1px, transparent 1px) 0 0/3px 3px,
    var(--cs-bg-2);
  border: 1px solid rgba(234,224,208,0.15);
}

.vc-rule { display: flex; align-items: center; gap: 8px; }
.vc-rule__line { flex: 1; height: 1px; background: var(--cs-teal-2); opacity: 0.5; }
.vc-rule__txt {
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cs-teal-2);
}

/* Monogram variant */
.vc-monogram {
  position: absolute;
  right: -8%;
  top: -18%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 220px;
  line-height: 1;
  color: var(--cs-teal-2);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

/* Stripe variant */
.vcard__face--stripe { padding: 0; flex-direction: row; }
.vc-stripe-bar { width: 12px; background: var(--cs-teal-2); flex-shrink: 0; }
.vc-stripe-body {
  flex: 1;
  padding: 5.5% 5.5% 5.5% 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Split variant */
.vcard__face--split { padding: 0; }
.vc-split-top {
  background: var(--cs-teal-2);
  padding: 12px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.vc-split-body {
  flex: 1;
  padding: 6% 6% 5.5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.variants-foot {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-mute);
  margin-top: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Comparison ---------- */
.compare {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.compare-table {
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 16px 18px;
  align-items: center;
}
.compare-head {
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.compare-row + .compare-row { border-top: 1px solid var(--line-soft); }
.compare-col {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13px;
  text-align: center;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.compare-col--us { color: var(--accent); font-weight: 600; }
.compare-feature {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.compare-cell {
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
}
.compare-cell--us { background: rgba(37,99,235,0.05); border-radius: 6px; padding: 8px 0; }
.compare-cell .yes { color: var(--accent); font-weight: 700; font-size: 16px; }
.compare-cell .no { color: var(--text-soft); }

@media (max-width: 720px) {
  .compare-head, .compare-row {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    font-size: 12px;
    padding: 12px;
  }
  .compare-feature { font-size: 12px; }
}

/* ---------- Materials ---------- */
.materials {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.materials-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .materials-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.materials-text p { color: var(--text-mute); margin: 16px 0; max-width: 480px; }
.materials-list { list-style: none; margin-top: 18px; }
.materials-list li {
  font-size: 14px;
  color: var(--text-mute);
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
}
.materials-list li:first-child { border-top: 0; padding-top: 0; }
.materials-list li span {
  color: var(--accent);
  font-weight: 700;
  margin-right: 10px;
}

.materials-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.material-swatch {
  aspect-ratio: 1.586;
  border-radius: var(--r-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: var(--text-invert);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.material-swatch--pvc {
  background:
    radial-gradient(circle at 30% 30%, rgba(0,0,0,0.012) 0 0.6px, transparent 0.6px) 0 0/4px 4px,
    linear-gradient(135deg, var(--pvc-1) 0%, var(--pvc-2) 100%);
  color: var(--pvc-ink);
  border: 1px solid rgba(20,17,15,0.08);
}
.material-swatch--cork {
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.10) 0 1px, transparent 1px) 0 0/3px 3px,
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.07) 0 0.6px, transparent 0.6px) 0 0/2px 2px,
    linear-gradient(135deg, var(--cork-1) 0%, var(--cork-3) 100%);
  color: var(--cork-ink);
  border: 1px solid rgba(58,42,18,0.10);
}
.swatch-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.swatch-tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2px;
}

/* ---------- Order flow ---------- */
.order {
  padding: var(--section-pad) 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%),
    var(--bg);
}

.order-flow {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Progress strip */
.order-progress {
  position: relative;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 24px 28px;
}
.order-progress__track {
  position: absolute;
  left: 48px; right: 48px;
  top: 50px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  z-index: 0;
}
.order-progress__fill {
  position: absolute;
  left: 48px;
  top: 50px;
  height: 2px;
  background: var(--accent);
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s ease;
  z-index: 1;
}
.order-progress__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
  z-index: 2;
}
.order-progress__steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.order-progress__steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  transition: all 0.2s ease;
}
.order-progress__steps li em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: center;
}
.order-progress__steps li.is-active span {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.order-progress__steps li.is-active em { color: var(--text); }
.order-progress__steps li.is-done span {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}
.order-progress__steps li.is-done em { color: var(--text-mute); }

/* Steps */
.order-form { padding: 32px 28px 28px; }
@media (min-width: 720px) { .order-form { padding: 40px 40px 32px; } }

.order-step { display: none; animation: fadeIn 0.25s ease; }
.order-step.is-active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.order-step h3 { font-size: 22px; margin-bottom: 6px; }
.order-step__lede {
  color: var(--text-mute);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.order-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (min-width: 600px) {
  .order-fields { grid-template-columns: 1fr 1fr; }
  .order-step[data-step="3"] .order-fields { grid-template-columns: 1fr; }
}
.order-field { display: flex; flex-direction: column; gap: 6px; }
.order-field span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.order-field input {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 16px;
  font: 500 15px/1 var(--font-ui);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.order-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.order-field input::placeholder { color: var(--text-soft); font-weight: 400; }

/* Card selector */
.order-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
@media (min-width: 600px) { .order-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .order-cards--four { grid-template-columns: repeat(4, 1fr); } }
.order-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.order-card:hover { border-color: var(--text-soft); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.order-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.order-card:has(input[type=radio]:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.order-card__preview {
  padding: 32px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
}
.order-card__preview--photo { padding: 0; }
.order-card__preview--photo img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.order-card__preview .card {
  position: static;
  width: 70%;
  height: auto;
  aspect-ratio: 1.586;
  transform: rotate(-2deg);
}
.order-card__body {
  padding: 18px 20px 22px;
}
.order-card__flag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.order-card__flag--standard { background: var(--bg-soft); color: var(--text-mute); }
.order-card__flag--premium { background: var(--accent-soft); color: var(--accent-deep); }
.order-card__body h4 { font-size: 18px; margin-bottom: 2px; }
.order-card__body p { font-size: 13px; color: var(--text-mute); margin-bottom: 10px; }
.order-card__price {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.order-card__price span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  margin-left: 3px;
}

.order-hint {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
  margin-bottom: 20px;
}
.order-hint a { color: var(--accent); text-decoration: none; font-weight: 500; }
.order-hint a:hover { text-decoration: underline; }

/* Summary */
.order-summary {
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 22px;
}
.order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-mute);
}
.order-summary__row + .order-summary__row { border-top: 1px solid var(--line-soft); }
.order-summary__row strong { color: var(--text); font-weight: 600; }
.order-summary__row--total {
  border-top: 2px solid var(--line) !important;
  padding-top: 14px;
  margin-top: 4px;
  font-size: 16px;
}
.order-summary__row--total strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  margin-top: 20px;
}
.order-note {
  font-size: 12.5px;
  color: var(--text-soft);
}

.order-help {
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
  margin-top: 24px;
}
.order-help a { color: var(--accent); text-decoration: none; font-weight: 500; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  color: rgba(250,247,241,0.7);
  padding: 40px 0 20px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
}
.footer-brand .logo-word { color: var(--text-invert); }
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(250,247,241,0.55);
  line-height: 1.5;
}

.footer-links h4 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-invert);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(250,247,241,0.55);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--accent-2); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(250,247,241,0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(250,247,241,0.4);
}

/* ---------- Nav page links ---------- */
.nav-link--page {
  font-size: 14px;
  color: var(--text-mute);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-link--page:hover { color: var(--text); }

/* ---------- Hero centered variant ---------- */
.hero--centered {
  padding: 88px 0 72px;
  text-align: center;
}
.hero-centered-text {
  max-width: 780px;
  margin: 0 auto;
}
.hero-centered-text h1 {
  margin-bottom: 0;
}
.hero-centered-text .lede {
  margin-top: 24px;
  max-width: 580px;
}
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 28px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

/* Glowing status "light" on each hero trust badge */
.hero-badge::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  flex: 0 0 auto;
  background: var(--accent);
  animation: heroBadgePulse 2.4s ease-in-out infinite;
}
.hero-badge:nth-child(2)::before { animation-delay: -0.8s; }
.hero-badge:nth-child(3)::before { animation-delay: -1.6s; }
@keyframes heroBadgePulse {
  0%, 100% { box-shadow: 0 0 5px 0 var(--accent-glow); opacity: 0.8; }
  50%      { box-shadow: 0 0 11px 2px var(--accent-glow); opacity: 1; }
}

/* Hero visual centered */
.hero-visual--centered {
  margin-top: 56px;
  min-height: 240px;
  justify-content: center;
}

/* 6-card material row in hero */
.hero-cards-fan {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 28px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(13,197,180,0.10), var(--shadow-md);
  backdrop-filter: blur(8px);
}
.hero-mock {
  width: 184px;
  height: 116px;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 0;
  display: block;
  box-shadow: 0 16px 36px rgba(20,17,15,0.28), 0 4px 10px rgba(20,17,15,0.16);
}
/* Glossy diagonal highlight for a real-card sheen */
.hero-mock .mock-sheen {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(125deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.07) 26%, transparent 46%);
}
/* Crisp inner edge: top light, bottom shadow → printed-card depth */
.hero-mock::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  box-shadow: inset 0 1px 1.5px rgba(255,255,255,0.4), inset 0 -2px 5px rgba(0,0,0,0.16);
}
.hero-mock .mock-mono {
  position: absolute; top: 13px; left: 15px; z-index: 3;
  font-family: var(--font-display); font-size: 19px; font-weight: 500; line-height: 1;
}
.hero-mock .mock-nfc {
  position: absolute; top: 13px; right: 14px; z-index: 3;
  width: 18px; height: 18px; opacity: 0.9;
}
.hero-mock .mock-nfc svg { width: 100%; height: 100%; display: block; }
.hero-mock .material-card__mock-label {
  position: absolute; bottom: 13px; left: 15px; z-index: 3;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.62;
}
.hero-cards-fan .hero-mock {
  position: relative;
  left: auto; top: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1.586 / 1;
  margin: 0;
  transform: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(20,17,15,0.18);
}
.hero-cards-fan { position: relative; }
/* Cards sit straight and static — no float animation, no splay rotation. */
.hero-cards-fan .hero-mock {
  position: relative;
  z-index: 1;
  rotate: 0deg;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}
/* Hover: subtle lift with light + shadow (no movement). */
.hero-cards-fan .hero-mock:hover {
  box-shadow: 0 18px 40px rgba(20,17,15,0.32);
  filter: brightness(1.07);
  z-index: 3;
}

/* Animated "paste your website" cue pointing at the hero input. */
.hero-form { position: relative; }
.hero-cue {
  display: inline-flex;
  align-items: flex-end;
  gap: 9px;
  margin: 0 0 8px 6px;
  color: var(--accent);
  animation: heroCueBob 2.3s ease-in-out infinite;
  pointer-events: none;
}
.hero-cue__arrow { width: 46px; height: 36px; flex: 0 0 auto; transform: rotate(-2deg); }
.hero-cue__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  padding-bottom: 4px;
  white-space: nowrap;
}
@keyframes heroCueBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
/* Soft attention glow on the hero input so the eye lands where you type. */
@keyframes heroPillGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13,197,180,0.0), var(--shadow-md); }
  50%      { box-shadow: 0 0 0 5px rgba(13,197,180,0.14), var(--shadow-md); }
}
.hero-form .url-pill { animation: heroPillGlow 2.8s ease-in-out infinite; }
.hero-form .url-pill:focus-within { animation: none; } /* stop nudging once they engage */

@media (max-width: 760px) {
  .hero-cards-fan { max-width: 380px; padding: 18px; gap: 12px; }
  .hero-cue__label { font-size: 14px; }
  .hero-cue__arrow { width: 38px; height: 30px; }
}

/* Card stack row mode (hero centered) */
.card-stack--row {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 200px;
  margin: 0 auto;
}
/* Override the fan arrangement for centered hero row */
.hero-visual--centered .card-stack--row .card--cork   { z-index: 1; --card-tx: -80%; --card-ty: 5%;  --card-rot: -8deg; }
.hero-visual--centered .card-stack--row .card--violet { z-index: 2; --card-tx: -40%; --card-ty: -3%; --card-rot: -4deg; }
.hero-visual--centered .card-stack--row .card--mint   { z-index: 5; --card-tx:   0%; --card-ty: -8%; --card-rot:  0deg; }
.hero-visual--centered .card-stack--row .card--coral  { z-index: 2; --card-tx:  40%; --card-ty: -3%; --card-rot:  4deg; }
.hero-visual--centered .card-stack--row .card--pvc    { z-index: 1; --card-tx:  80%; --card-ty: 5%;  --card-rot:  8deg; }

@media (max-width: 860px) {
  .hero-visual--centered { min-height: 220px; }
  .card-stack--row { height: 160px; max-width: 660px; }
  .card-stack--row .card { width: 220px; height: 140px; }
  .hero-visual--centered .card-stack--row .card--cork   { --card-tx: -70%; }
  .hero-visual--centered .card-stack--row .card--violet { --card-tx: -35%; }
  .hero-visual--centered .card-stack--row .card--coral  { --card-tx:  35%; }
  .hero-visual--centered .card-stack--row .card--pvc    { --card-tx:  70%; }
}
@media (max-width: 560px) {
  .hero--centered { padding: 60px 0 48px; }
  .hero-visual--centered { display: none; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--bg-soft);
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 32px;
}
.trust-item {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: rgba(250,247,241,0.75);
  letter-spacing: 0.01em;
}

/* ---------- Materials section (new) ---------- */
.materials-section {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .materials-grid { grid-template-columns: 1fr; }
}
.material-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.material-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-2);
}
.material-card--premium {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.material-card--premium:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-lg);
}
.material-card__visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}
.material-card__visual--photo {
  padding: 0;
  background: #F2F3F6;
}
.material-card__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.material-card__visual--pvc {
  background: radial-gradient(80% 60% at 50% 40%, #EEF1F6 0%, #DDE2EB 100%);
}
.material-card__visual--dual {
  background: radial-gradient(80% 60% at 50% 40%, #E4E9F7 0%, #AEBBD8 100%);
}
.material-card__visual--metal {
  background: radial-gradient(80% 60% at 50% 40%, #E8ECF0 0%, #B8BFC8 100%);
}
.material-card__visual--colour {
  background: radial-gradient(80% 60% at 50% 40%, #FDF0F4 0%, #F3D5E8 45%, #CFE0F8 100%);
}
.material-card__visual--clear {
  background: radial-gradient(80% 60% at 50% 40%, #EEF4FF 0%, #C8D8F8 100%);
}
.material-card__visual--eco {
  background: radial-gradient(80% 60% at 50% 40%, #E8F5E0 0%, #B8D898 100%);
}

/* Card mock shapes inside material visuals */
.material-card__mock {
  width: 170px;
  height: 107px;
  border-radius: 9px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 9px 12px;
}
.material-card__mock-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}
.material-card__mock--pvc {
  background: linear-gradient(135deg, #F5F3EF 0%, #E2DDD5 100%);
  color: #1A1815;
}
.material-card__mock--dual {
  background:
    linear-gradient(135deg, #E8C766 0%, #B8912E 100%) 12px 62% / 26px 18px no-repeat,
    linear-gradient(135deg, #26314A 0%, #101828 100%);
  color: #7FE8DE;
  border: 1px solid rgba(255,255,255,0.14);
}
.material-card__mock--metal {
  background: linear-gradient(135deg, #D8DDE6 0%, #9AA2B0 50%, #C8CDD8 100%);
  color: #2A3040;
}
.material-card__mock--colour {
  background: linear-gradient(135deg, #F43F5E 0%, #F59E0B 32%, #10B981 66%, #3B82F6 100%);
  color: #FFFFFF;
}
.material-card__mock--clear {
  background: linear-gradient(135deg, rgba(210,225,255,0.6) 0%, rgba(170,195,245,0.4) 100%);
  border: 1.5px solid rgba(140,170,230,0.35);
  color: #2A3A7A;
}
.material-card__mock--eco {
  background: linear-gradient(135deg, #C8E0A8 0%, #88B860 100%);
  color: #1A3A10;
}

/* Coming soon state */
.material-card--coming-soon {
  opacity: 0.82;
}
.material-card--coming-soon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.material-card__coming-soon {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  margin-top: auto;
  width: fit-content;
}

/* Back-to-URL button in step 2 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }

/* Badge colour variants */
.material-card__badge--luxury {
  background: #FEF3C7;
  color: #92400E;
}
.material-card__badge--colour {
  background: #FDF2F8;
  color: #BE185D;
}
.material-card__badge--transparent {
  background: #EFF6FF;
  color: #1D4ED8;
}
.material-card__badge--eco {
  background: #F0FDF4;
  color: #166534;
}
.material-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.material-card__body h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
}
.material-card__body p {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.material-card__badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-mute);
  width: fit-content;
}
.material-card__badge--premium {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.material-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.material-card__features li {
  font-size: 14px;
  color: var(--text-mute);
  padding-left: 20px;
  position: relative;
}
.material-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}
.material-card__price {
  font-family: var(--font-ui);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: auto;
  padding-top: 4px;
}
.material-card__price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  margin-left: 3px;
}
.material-card__body .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Footer multi-column (updated) ---------- */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-top: 28px;
  padding-bottom: 24px;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(250,247,241,0.78);
  line-height: 1.55;
  max-width: 280px;
}
.footer-logo .logo-word { color: #fff; }
.footer-logo .logo-mark { color: #fff; }
.footer-copy {
  font-size: 12px;
  color: rgba(250,247,241,0.55);
  margin-top: 6px;
}
.footer-links-heading {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 4px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(250,247,241,0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--accent-2); }
.footer-text-mute {
  font-size: 14px;
  color: rgba(250,247,241,0.6);
}

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

/* ---------- Review cards section ---------- */
.review-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 860px) { .review-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.review-copy .section-lede { margin-top: 18px; }
.review-features { margin-top: 22px; }
.review-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.review-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}
.review-price small {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
}
.review-photos img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  display: block;
}

/* ---------- Cardi for Business ---------- */
.business-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.business-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 860px) { .business-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.business-copy .section-lede { margin-top: 18px; }
.business-features { margin-top: 22px; }
.business-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.business-cta-note {
  font-size: 13px;
  color: var(--text-mute);
  max-width: 240px;
  line-height: 1.45;
}
@media (max-width: 859px) { .business-dash { order: 2; } }

/* Dashboard mock */
.biz-dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.biz-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.biz-dash__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.biz-dash__range {
  font-size: 12px;
  color: var(--text-mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.biz-dash__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.biz-stat {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.biz-stat__label {
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.3;
}
.biz-stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}
.biz-stat__delta {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.biz-dash__board {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.biz-dash__board-label {
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 2px;
}
.biz-row {
  display: grid;
  grid-template-columns: 72px 1fr 34px;
  align-items: center;
  gap: 10px;
}
.biz-row__name {
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.biz-row__track {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: var(--bg-soft);
  overflow: hidden;
}
.biz-row__bar {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
}
.biz-row__val {
  font-size: 12px;
  color: var(--text-mute);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 480px) {
  .biz-dash { padding: 16px; }
  .biz-dash__stats { grid-template-columns: 1fr 1fr; }
  .biz-stat:last-child { grid-column: 1 / -1; }
  .biz-stat__value { font-size: 19px; }
}

/* ---------- Checkout add-ons ---------- */
.addons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.addon {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 14px 10px 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.addon:hover { border-color: var(--text-soft); }
.addon:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.addon input[type=checkbox] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.addon img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.addon__name {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.addon__name small {
  display: block;
  font-weight: 400;
  color: var(--text-mute);
  font-size: 12px;
}
.addon__price {
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
}

/* ---------- Business packages ---------- */
.packages-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line-soft);
}
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 880px) { .packages-grid { grid-template-columns: repeat(3, 1fr); } }
.package-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-2);
}
.package-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.package-card__flag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--text-invert);
  padding: 5px 12px;
  border-radius: 999px;
}
.package-card__imgs {
  height: 180px;
  background: #F2F3F6;
}
.package-card__imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.package-card__body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.package-card__who {
  color: var(--text-mute);
  font-size: 14px;
  margin: -6px 0 0;
}
.package-card__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.package-card__items li {
  font-size: 14px;
  color: var(--text-mute);
  padding-left: 22px;
  position: relative;
}
.package-card__items li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.package-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}
.package-card__was {
  color: var(--text-soft);
  text-decoration: line-through;
  font-size: 15px;
}
.package-card__price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
}
.package-card__price small {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
}
.packages-note {
  text-align: center;
  color: var(--text-soft);
  font-size: 13.5px;
  margin-top: 32px;
}

/* ---------- Full-screen design mode ----------
   After analysing, hide the marketing page so only the editor + checkout show. */
body.is-designing .nav,
body.is-designing .hero,
body.is-designing .trust-bar,
body.is-designing #how,
body.is-designing #materials,
body.is-designing #review-cards,
body.is-designing #packages,
body.is-designing .footer {
  display: none !important;
}
body.is-designing #step-2,
body.is-designing #step-3 {
  border-top: 0;
  padding-top: clamp(28px, 5vw, 48px);
}
/* Step 1 ("Paste your website") as its own full-screen page — same treatment as Step 2. */
body.is-capturing .nav,
body.is-capturing .hero,
body.is-capturing .trust-bar,
body.is-capturing #how,
body.is-capturing #materials,
body.is-capturing #review-cards,
body.is-capturing #packages,
body.is-capturing .footer {
  display: none !important;
}
body.is-capturing #step-1 {
  border-top: 0;
  padding-top: clamp(28px, 5vw, 48px);
}
