/* ==========================================================================
   Forge Studio — shared styles
   Brand tokens come straight from the Forge Studio brand kit.
   ========================================================================== */

:root {
  /* Brand */
  --charcoal: #15171c;
  --surface-1: #1c1f26;
  --surface-2: #22252d;
  --line: #2a2e37;
  --line-strong: #353944;
  --ash: #f4f1ec;
  --text-soft: #c9ccd3;
  --muted: #a3a7b0;
  --ember: #f2752b;
  --ember-hover: #ff8a45;

  /* Product accents */
  --thermo: #e8463a;
  --vault: #3d8bff;
  --photo: #2fbf8f;
  --video: #a970ff;
  --word: #f2b33d;

  /* Per-page / per-card accent (overridden on product pages and cards) */
  --accent: var(--ember);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ember); color: var(--charcoal); }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ember);
  color: var(--charcoal);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Background texture: faint grid + grain ---------- */
.bg-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 241, 236, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 236, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 85%);
}
.bg-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Wordmarks ---------- */
.wordmark { font-family: var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.wordmark .w-prod { font-weight: 500; }
.wordmark .w-forge { font-weight: 700; }
.wordmark .w-studio { font-weight: 400; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  font: 600 0.98rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.25s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }

.btn-primary {
  --btn-bg: var(--ember);
  color: var(--charcoal);
  box-shadow: 0 0 0 0 rgba(242, 117, 43, 0);
}
.btn-primary:hover {
  --btn-bg: var(--ember-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(242, 117, 43, 0.65);
}

.btn-outline {
  color: var(--ash);
  border-color: var(--line-strong);
  background: rgba(28, 31, 38, 0.6);
}
.btn-outline:hover {
  border-color: var(--ash);
  transform: translateY(-1px);
}

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; border-radius: 10px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(21, 23, 28, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.2rem;
  margin-right: auto;
}
.brand svg { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ash); background: rgba(244, 241, 236, 0.06); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ash);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px var(--gutter) 32px;
    background: rgba(21, 23, 28, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .mobile-menu a:not(.btn) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font: 500 1.4rem/1.2 var(--font-display);
    text-decoration: none;
  }
  .mobile-menu .btn { margin-top: 20px; }
  body.no-scroll { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 11vw, 140px) 0 clamp(48px, 7vw, 88px);
  isolation: isolate;
}
.hero::before {
  /* Ember glow */
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  left: max(-200px, calc(50% - 900px));
  width: min(900px, 120vw);
  height: 700px;
  background:
    radial-gradient(closest-side, rgba(242, 117, 43, 0.22), rgba(242, 117, 43, 0.06) 55%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  animation: glow 9s ease-in-out infinite alternate;
}
.hero--product::before {
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 6%, transparent) 55%, transparent 75%);
}
@keyframes glow {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to   { transform: translate3d(40px, 20px, 0) scale(1.08); opacity: 1; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(28, 31, 38, 0.7);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.kicker .spark { width: 14px; height: 14px; color: var(--ember); }

.hero h1 {
  font-size: clamp(2.5rem, 8.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  color: var(--ember);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: 0.02em;
  height: 0.08em;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: left;
  animation: underline 1.1s 0.4s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero .lead {
  margin-top: 28px;
  max-width: 40rem;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: var(--text-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}
.trust li { display: inline-flex; align-items: center; gap: 14px; }
.trust li + li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* Floating product tiles on the right of the home hero */
.hero-container { position: relative; }
.hero-art {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  width: 420px;
  height: 420px;
  transform: translateY(-50%) scale(0.92);
  transform-origin: right center;
  pointer-events: none;
}
.hero-art .t {
  position: absolute;
  border-radius: 24%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(244, 241, 236, 0.06);
  animation: float 7s ease-in-out infinite alternate;
}
.hero-art .t.dim { opacity: 0.45; }
.hero-art .t1 { width: 150px; left: 20px;  top: 40px;  animation-delay: -1s; }
.hero-art .t2 { width: 132px; left: 210px; top: 0;     animation-delay: -3s; }
.hero-art .t3 { width: 172px; left: 150px; top: 170px; animation-delay: -2s; box-shadow: 0 40px 80px -20px rgba(242, 117, 43, 0.35), 0 0 0 1px rgba(242, 117, 43, 0.3); }
.hero-art .t4 { width: 84px;  left: 40px;  top: 250px; animation-delay: -4s; }
.hero-art .t5 { width: 72px;  left: 340px; top: 170px; animation-delay: -5s; }
.hero-art .t6 { width: 64px;  left: 300px; top: 340px; animation-delay: -6s; }
@keyframes float {
  from { transform: translateY(-8px) rotate(-2deg); }
  to   { transform: translateY(8px) rotate(2deg); }
}
@media (max-width: 1239px) { .hero-art { display: none; } }

@media (max-width: 640px) {
  .trust { flex-direction: column; align-items: flex-start; gap: 6px; }
  .trust li::before, .trust li + li::before {
    content: "";
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--ember);
  }
  .trust li { gap: 10px; }
}

/* Product hero */
.product-hero-head {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: 28px;
}
.product-hero-head .tile { width: clamp(60px, 12vw, 120px); height: auto; flex: none; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)); }
.product-hero-head h1 { font-size: clamp(2.1rem, 8vw, 5.6rem); max-width: none; }
.product-hero-head .w-forge { color: var(--accent); }
.breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumb a { text-decoration: none; color: var(--text-soft); }
.breadcrumb a:hover { color: var(--ash); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(28, 31, 38, 0.5);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul {
  display: flex;
  list-style: none;
  flex: none;
}
.ticker li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px 20px 0;
  margin-left: 28px;
  font: 500 1rem/1 var(--font-display);
  color: var(--text-soft);
  white-space: nowrap;
}
.ticker li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--ember);
  transform: rotate(45deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0 0; }
.section:last-of-type { padding-bottom: clamp(80px, 11vw, 140px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.92rem/1 var(--font-display);
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow .num { color: var(--accent); font-weight: 700; }
.eyebrow .slash { color: var(--line-strong); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 16ch; }
.section-head .sub {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 34rem;
}
.section-head .sub strong { color: var(--ash); font-weight: 600; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 16px;
}
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-6 { grid-column: span 6; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 .span-2, .grid-6 .span-3 { grid-column: span 1; }
  .grid-6 .span-6 { grid-column: span 2; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 .span-4 { grid-column: span 2; }
}
@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-6, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .grid-6 .span-6, .grid-4 .span-4 { grid-column: auto; }
}
.span-4 { grid-column: span 4; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-1), rgba(28, 31, 38, 0.75));
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s, background-color 0.3s;
}
.card::before {
  /* soft accent glow that follows the cursor (set by JS), centered by default */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover,
a.card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}
.card:hover::before,
a.card:focus-visible::before { opacity: 1; }
.card > * { position: relative; }

.card h3 { font-size: 1.45rem; }
.card p { color: var(--text-soft); font-size: 0.99rem; }
.card .card-label {
  font: 500 0.82rem/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.card .card-num {
  font: 700 0.95rem/1 var(--font-display);
  color: var(--accent);
}
.card .card-link {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ash);
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Product card */
.product-card .tile { width: 64px; height: 64px; }
.product-card .top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.product-card h3 { font-size: 1.7rem; }
.product-card h3 .w-forge { color: var(--accent); }
.product-card.is-soon { background: rgba(28, 31, 38, 0.5); }
.product-card.is-soon .tile { opacity: 0.9; }
.product-card.is-soon h3 { font-size: 1.4rem; }
.product-card .meta { font-size: 0.88rem; color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  white-space: nowrap;
}
.badge-live { border-color: rgba(47, 191, 143, 0.4); color: #8fe3c4; }
.badge-live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2fbf8f;
  box-shadow: 0 0 0 0 rgba(47, 191, 143, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 191, 143, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(47, 191, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 143, 0); }
}

/* Wide CTA card at the end of a grid */
.cta-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background:
    radial-gradient(600px circle at 0% 0%, rgba(242, 117, 43, 0.16), transparent 60%),
    var(--surface-1);
  border-color: rgba(242, 117, 43, 0.3);
}
.cta-card h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-card .cta-copy { display: flex; flex-direction: column; gap: 10px; max-width: 40rem; }
.cta-card .cta-arrow {
  width: 64px; height: 64px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ember);
  color: var(--charcoal);
  transition: transform 0.35s var(--ease);
}
.cta-card .cta-arrow svg { width: 24px; height: 24px; }
.cta-card:hover .cta-arrow { transform: rotate(-45deg) scale(1.05); }

/* Steps */
.step .card-num { font-size: 2.6rem; letter-spacing: -0.03em; opacity: 0.95; }
.step h3 { font-size: 1.35rem; }

/* Small icon in example cards */
.icon-chip {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--accent);
}
.icon-chip svg { width: 22px; height: 22px; }

/* Subheading between grids */
.subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: clamp(48px, 6vw, 72px) 0 20px;
}
.subhead h3 { font-size: 1.5rem; }
.subhead p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Why (A/B/C) ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.why-item {
  padding: 36px 32px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-item + .why-item { padding-left: 32px; border-left: 1px solid var(--line); }
.why-letter {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(242, 117, 43, 0.45);
  background: rgba(242, 117, 43, 0.08);
  color: var(--ember);
  font: 700 1.15rem/1 var(--font-display);
}
.why-item h3 { font-size: 1.45rem; }
.why-item p { color: var(--text-soft); }
@media (max-width: 800px) {
  .why { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 28px 0; border-left: 0; }
  .why-item + .why-item { border-top: 1px solid var(--line); }
}

.about-note {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  color: var(--text-soft);
}

/* ---------- Feature lists (product pages) ---------- */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
  font-size: 0.99rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.feature-list strong { color: var(--ash); font-weight: 600; }

/* Checks table */
.checks {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-1);
}
.check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  transition: background-color 0.2s;
}
.check-row:first-child { border-top: 0; }
.check-row:hover { background: var(--surface-2); }
.check-row p { color: var(--text-soft); font-size: 0.98rem; }
.check-row code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  color: var(--ash);
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 5px;
}
.sev {
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.sev-high { color: #ff8f86; border-color: rgba(232, 70, 58, 0.5); background: rgba(232, 70, 58, 0.1); }
.sev-med  { color: #ffc46b; border-color: rgba(242, 179, 61, 0.45); background: rgba(242, 179, 61, 0.08); }
.sev-low  { color: var(--text-soft); border-color: var(--line-strong); }
.checks-note { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }

/* Screenshot slots */
.shot {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background:
    repeating-linear-gradient(135deg, rgba(244, 241, 236, 0.02) 0 12px, transparent 12px 24px),
    var(--surface-1);
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font: 500 0.95rem/1.4 var(--font-display);
}
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
figure { margin: 0; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }

/* Requirements + code */
.req-list { list-style: none; display: flex; flex-direction: column; }
.req-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.req-list li:first-child { border-top: 0; padding-top: 0; }
.req-list .k { color: var(--muted); }
.req-list .v { color: var(--ash); text-align: right; font-weight: 500; }

pre.code {
  margin: 0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: #101216;
  border: 1px solid var(--line);
  overflow-x: auto;
  font: 0.9rem/1.7 ui-monospace, "Cascadia Code", Consolas, monospace;
  color: var(--text-soft);
}
pre.code .c { color: #6f7480; }

/* ---------- Closing CTA ---------- */
.closing {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px);
  background:
    radial-gradient(800px circle at 100% 0%, rgba(242, 117, 43, 0.2), transparent 55%),
    radial-gradient(600px circle at 0% 100%, rgba(242, 117, 43, 0.08), transparent 60%),
    var(--surface-1);
  isolation: isolate;
}
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(244, 241, 236, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 236, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(200deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
}
.closing .trust { margin: 0 0 22px; }
.closing h2 { font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: -0.035em; max-width: 14ch; }
.closing p.lead { margin-top: 20px; color: var(--text-soft); font-size: 1.15rem; max-width: 36rem; }
.closing .hero-actions { margin-top: 32px; }
.closing .spark-big {
  position: absolute;
  right: clamp(-40px, 2vw, 60px);
  bottom: clamp(-60px, -2vw, 20px);
  width: clamp(160px, 26vw, 320px);
  color: var(--ember);
  opacity: 0.9;
  z-index: -1;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .closing .spark-big { opacity: 0.25; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: linear-gradient(180deg, rgba(28, 31, 38, 0.6), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 22rem; font-size: 0.96rem; }
.footer-brand .brand { margin: 0; }
.footer-brand .email {
  display: inline-block;
  margin-top: 16px;
  color: var(--ash);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.footer-brand .email:hover { border-color: var(--ember); }
.footer-col h4 {
  font: 600 0.82rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.96rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ash); }
.footer-col .soon { color: var(--muted); font-size: 0.96rem; }
.footer-col .soon small { font-size: 0.78rem; margin-left: 4px; color: #7d828c; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { gap: 32px 20px; }
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card { padding: clamp(22px, 4vw, 40px); }
.form-card:hover { transform: none; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--ash); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #13151a;
  color: var(--ash);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23A3A7B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.field ::placeholder { color: #737884; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4a4f5c; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(242, 117, 43, 0.18);
  background: #15171c;
}
.field .hint { color: var(--muted); font-size: 0.85rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e8463a; }

.form-foot {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.form-foot p { color: var(--muted); font-size: 0.88rem; max-width: 26rem; }
.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(47, 191, 143, 0.1); border: 1px solid rgba(47, 191, 143, 0.4); color: #a9ecd3; }
.form-status.err { background: rgba(232, 70, 58, 0.1); border: 1px solid rgba(232, 70, 58, 0.45); color: #ffb3ad; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.side-card h3 { font-size: 1.25rem; }
.side-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.side-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.side-links a:hover { border-color: var(--ember); transform: translateX(3px); }
.side-links svg { width: 20px; height: 20px; color: var(--ember); flex: none; }
.side-links .t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.side-links .t span:first-child { font-weight: 600; }
.side-links .t span:last-child { color: var(--muted); font-size: 0.88rem; overflow-wrap: anywhere; }
.next-steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--text-soft); font-size: 0.96rem; }
.next-steps li::before {
  content: counter(s, decimal-leading-zero);
  font: 700 0.9rem/1.6 var(--font-display);
  color: var(--ember);
}

/* Placeholder marker (things the owner still needs to fill in) */
.ph {
  color: #ffc9a6;
  background: rgba(242, 117, 43, 0.1);
  border: 1px dashed rgba(242, 117, 43, 0.45);
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 500;
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.notfound .big { font: 700 clamp(5rem, 20vw, 12rem)/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--ember); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-track ul[aria-hidden="true"] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; }
  .ticker { mask-image: none; -webkit-mask-image: none; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}
