:root {
  --bg: #07090f;
  --bg-soft: #10131f;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --card: rgba(255, 255, 255, 0.92);
  --ink: #f8fafc;
  --paper-ink: #111827;
  --muted: rgba(248, 250, 252, 0.7);
  --paper-muted: #64748b;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --max-width: 1180px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --calry: #18b67a;
  --coulda: #ff5f45;
  --toki: #c89b63;
  --twister: #8b5cf6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(24, 182, 122, 0.25), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(139, 92, 246, 0.25), transparent 24%),
    radial-gradient(circle at 48% 100%, rgba(255, 95, 69, 0.2), transparent 30%),
    linear-gradient(135deg, #07090f 0%, #121827 50%, #0b1020 100%);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 84%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.page-shell, .legal-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 72px;
  position: relative;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.brand-lockup, .nav-links, .store-row, .mini-links, .feature-chip, .stat-grid, .legal-actions, .breadcrumb {
  display: flex;
  align-items: center;
}
.brand-lockup { gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #06110d;
  background: linear-gradient(135deg, #fff 0%, #b9ffd9 100%);
  box-shadow: inset 0 -10px 18px rgba(0,0,0,0.08);
}
.nav-links { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a, .pill-link {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  transition: 180ms ease;
}
.nav-links a:hover, .pill-link:hover { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.08); }
.hero, .app-hero, .panel, .legal-hero, .legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
}
.hero { padding: clamp(28px, 5vw, 62px); }
.hero::after, .app-hero::after, .panel::after, .legal-hero::after, .legal-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 68%);
  pointer-events: none;
}
.eyebrow, .section-label, .app-badge, .legal-label, .breadcrumb {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.66);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, .hero h1, .app-copy h1, .legal-hero h1 {
  margin-bottom: 22px;
  max-width: 11.5ch;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.6rem, 9vw, 8rem);
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: -0.055em;
}
.hero-copy, .app-tagline, .legal-subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}
.hero-actions, .store-row, .mini-links, .legal-actions { gap: 12px; flex-wrap: wrap; }
.hero-actions { display: flex; margin-top: 28px; }
.button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button.primary { color: #07100d; border-color: transparent; background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--accent, #18b67a) 34%, #e2fff0)); }
.button:hover { transform: translateY(-2px); background: rgba(255,255,255,0.17); border-color: rgba(255,255,255,0.32); }
.button.primary:hover { background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--accent, #18b67a) 48%, #f4fff8)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 34px 0 18px; }
.section-heading h2 { margin: 0; max-width: 660px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.055em; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.home-app-card {
  min-height: 400px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.09);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.home-app-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.13); }
.home-app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background: radial-gradient(circle at 82% 18%, var(--accent), transparent 35%);
}
.card-top, .card-bottom, .app-copy, .phone-card, .feature-grid, .legal-grid { position: relative; z-index: 1; }
.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  background: rgba(255,255,255,0.2);
}
.card-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.app-badge { width: fit-content; margin: 0; padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid var(--line); }
.home-app-card h3 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -0.07em; line-height: 0.95; }
.home-app-card p { color: var(--muted); line-height: 1.7; }
.card-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-top: 36px; }
.card-bottom span { color: rgba(255,255,255,0.58); }
.arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #05070b; font-weight: 900; }
.app-hero { padding: clamp(24px, 4vw, 46px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.app-hero[data-theme="emerald"] { --accent: var(--calry); }
.app-hero[data-theme="ember"] { --accent: var(--coulda); }
.app-hero[data-theme="paper"] { --accent: var(--toki); }
.app-hero[data-theme="violet"] { --accent: var(--twister); }
.home-app-card[data-theme="emerald"] { --accent: var(--calry); }
.home-app-card[data-theme="ember"] { --accent: var(--coulda); }
.home-app-card[data-theme="paper"] { --accent: var(--toki); }
.home-app-card[data-theme="violet"] { --accent: var(--twister); }
.app-copy h1 { max-width: 9ch; }
.app-copy .logo-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.feature-chip { width: fit-content; gap: 8px; padding: 8px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: #fff; font-weight: 800; }
.store-row { margin: 28px 0 20px; }
.mini-links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.22); }
.phone-wrap { display: flex; justify-content: center; }
.phone-card {
  width: min(100%, 360px);
  padding: 16px;
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.24);
  box-shadow: 0 36px 80px rgba(0,0,0,0.34);
}
.phone-screen {
  min-height: 560px;
  border-radius: 32px;
  padding: 22px;
  background:
    radial-gradient(circle at 25% 5%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 30%),
    linear-gradient(160deg, rgba(255,255,255,0.98), rgba(244,247,251,0.9));
  color: var(--paper-ink);
}
.phone-screen.dark { background: linear-gradient(160deg, #13131a, #252131); color: #fff; }
.phone-notch { width: 86px; height: 8px; border-radius: 99px; margin: 0 auto 28px; background: rgba(0,0,0,0.16); }
.phone-title { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.05em; }
.phone-metric { margin-top: 14px; padding: 16px; border-radius: 20px; background: rgba(255,255,255,0.72); border: 1px solid rgba(15,23,42,0.08); }
.phone-screen.dark .phone-metric { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.12); }
.phone-metric strong { display: block; font-size: 2rem; letter-spacing: -0.06em; }
.phone-metric span { color: var(--paper-muted); }
.phone-screen.dark .phone-metric span { color: rgba(255,255,255,0.64); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.stat-card, .feature-card, .legal-card, .panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
}
.stat-card strong { display: block; color: var(--accent, #fff); font-size: clamp(1.45rem, 3vw, 2.3rem); letter-spacing: -0.06em; }
.stat-card span, .feature-card p, .legal-card p, .legal-card li { color: var(--muted); line-height: 1.7; }
.feature-grid, .legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-height: 230px; }
.feature-card h3, .legal-card h2 { margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -0.04em; }
.feature-number { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: #fff; font-weight: 900; }
.highlight-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.highlight-strip span { padding: 10px 12px; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,0.08); border: 1px solid var(--line); }
.legal-shell { max-width: 930px; }
.breadcrumb { gap: 8px; text-decoration: none; }
.legal-hero { padding: clamp(24px, 4vw, 44px); margin-bottom: 18px; }
.legal-hero h1 { max-width: 12ch; font-size: clamp(3.1rem, 8vw, 6.5rem); }
.legal-card { margin-top: 14px; background: rgba(255,255,255,0.92); color: var(--paper-ink); border-color: rgba(15,23,42,0.08); }
.legal-card p, .legal-card li { color: #475569; }
.legal-card h2 { color: #0f172a; }
.legal-card ul { padding-left: 20px; margin-bottom: 0; }
.legal-actions { margin-top: 22px; }
.footer-note { margin-top: 36px; color: rgba(255,255,255,0.56); line-height: 1.7; }
@media (max-width: 920px) {
  .app-grid, .app-hero, .feature-grid, .legal-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .phone-card { width: min(100%, 330px); }
  .phone-screen { min-height: 470px; }
}
@media (max-width: 680px) {
  .page-shell, .legal-shell { width: min(calc(100% - 20px), var(--max-width)); padding-top: 14px; }
  .navbar { align-items: flex-start; border-radius: 24px; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .hero, .app-hero, .legal-hero { border-radius: 26px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  h1, .hero h1, .app-copy h1, .legal-hero h1 { max-width: none; }
  .card-bottom { align-items: flex-start; flex-direction: column; }
}

.generated-legal-shell { max-width: 980px; }
.generated-legal-hero {
  background:
    radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
}
.pasted-legal-card {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,244,0.94));
  color: #111827;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.pasted-legal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), #ffb199, #ffffff);
}
.pasted-legal-card > strong:first-child {
  display: block;
  margin: 0 0 24px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: #0f172a;
}
.pasted-legal-card strong:not(:first-child) {
  display: block;
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(15,23,42,0.1);
  color: #111827;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.pasted-legal-card p,
.pasted-legal-card li {
  color: #475569;
  font-size: 1rem;
  line-height: 1.82;
}
.pasted-legal-card p {
  margin: 0 0 14px;
}
.pasted-legal-card ul {
  margin: 12px 0 20px;
  padding: 16px 18px 16px 38px;
  border-radius: 18px;
  background: rgba(255,95,69,0.07);
  border: 1px solid rgba(255,95,69,0.12);
}
.pasted-legal-card li + li { margin-top: 8px; }
.pasted-legal-card a {
  color: #c2410c;
  font-weight: 800;
  text-decoration-color: rgba(194,65,12,0.32);
  text-underline-offset: 3px;
}
.pasted-legal-card hr {
  height: 1px;
  margin: 34px 0 18px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(15,23,42,0.18), transparent);
}
.pasted-legal-card br {
  display: none;
}
@media (max-width: 680px) {
  .pasted-legal-card { border-radius: 24px; }
  .pasted-legal-card ul { padding-left: 28px; }
}

/* Enhanced app showcase UI */
.home-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(255,255,255,0.2), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.055));
}
.app-page .panel { margin-top: 28px; }
.showcase-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  min-height: 680px;
}
.hero-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
  align-items: center;
  min-width: 0;
}
.hero-screens .screenshot-frame:nth-child(1) { transform: translateY(38px) rotate(-5deg); }
.hero-screens .screenshot-frame:nth-child(2) { transform: translateY(-12px); z-index: 2; }
.hero-screens .screenshot-frame:nth-child(3) { transform: translateY(32px) rotate(5deg); }
.screenshot-frame {
  margin: 0;
  padding: 8px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 34px 80px rgba(0,0,0,0.34);
}
.screenshot-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 23px;
  background: rgba(255,255,255,0.12);
}
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 16px;
  align-items: start;
}
.screenshot-gallery .screenshot-frame:nth-child(even) { margin-top: 34px; }
.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: end;
}
.product-intro h2 {
  margin: 0 0 18px;
  max-width: 640px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
.home-card-preview {
  position: relative;
  z-index: 1;
  width: min(46%, 180px);
  margin: -18px 0 24px auto;
  padding: 7px;
  border-radius: 24px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 26px 60px rgba(0,0,0,0.26);
  transform: rotate(5deg);
}
.home-card-preview img {
  border-radius: 18px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}
.button.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}
.legal-cta-panel { margin-top: 34px; }
.pasted-legal-card {
  max-width: 100%;
}
.pasted-legal-card div {
  margin: 0;
}
.pasted-legal-card ul li::marker {
  color: var(--accent);
}
@media (max-width: 1100px) {
  .showcase-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-screens { max-width: 720px; margin: 18px auto 0; }
  .screenshot-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-intro { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero-screens {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 12px 0 0;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 10px 8px 36px;
    scroll-padding-inline: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }
  .hero-screens .screenshot-frame {
    flex: 0 0 min(72vw, 320px);
    transform: none !important;
    scroll-snap-align: center;
  }
  .screenshot-gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 4px 4px 30px;
    scroll-padding-inline: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }
  .screenshot-gallery .screenshot-frame {
    flex: 0 0 min(72vw, 320px);
    min-width: 0;
    margin-top: 0 !important;
    scroll-snap-align: center;
  }
  .home-card-preview { width: min(48%, 150px); }
}

/* Public-facing polish */
.logo-row {
  flex-wrap: wrap;
}
.feature-chip,
.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
}
.app-copy .logo-row .feature-chip {
  max-width: min(100%, 280px);
  padding: 10px 14px;
  border-radius: 16px;
}
.arrow {
  flex: 0 0 auto;
  line-height: 1;
  font-size: 1.15rem;
  font-family: Arial, sans-serif;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 24%, transparent);
}
.home-app-card .arrow {
  align-self: flex-end;
}
.home-app-card {
  display: flex;
  flex-direction: column;
}
.home-app-card .card-bottom {
  margin-top: auto;
}
.audience-panel {
  margin-top: 28px;
}
@media (max-width: 680px) {
  .app-copy .logo-row {
    align-items: flex-start;
  }
  .app-copy .logo-row .feature-chip {
    max-width: calc(100% - 88px);
  }
  .arrow {
    width: 42px;
    height: 42px;
  }
}

/* Screenshot visibility and consistent chips */
.hero-screens,
.screenshot-gallery {
  isolation: isolate;
}
.screenshot-frame {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.18)),
    radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 58%);
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow:
    0 34px 80px rgba(0,0,0,0.42),
    0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent),
    0 18px 48px color-mix(in srgb, var(--accent) 16%, transparent);
}
.screenshot-frame img {
  display: block;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #050505;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.home-card-preview {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.36), rgba(255,255,255,0.14)),
    color-mix(in srgb, var(--accent) 18%, transparent);
  border-color: rgba(255,255,255,0.28);
}
.home-card-preview img {
  object-fit: contain;
  background: #050505;
}
.app-badge {
  width: 190px;
  height: 42px;
  min-height: 42px;
  padding: 0 12px;
  flex: 0 0 auto;
  font-size: 0.72rem;
  overflow: hidden;
}
.app-copy .logo-row .feature-chip {
  width: 232px;
  height: 46px;
  min-height: 46px;
  max-width: 232px;
  padding: 0 14px;
  flex: 0 0 232px;
  font-size: 0.78rem;
  overflow: hidden;
}
.feature-chip,
.app-badge {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 680px) {
  .app-badge {
    width: 166px;
    height: 40px;
    min-height: 40px;
    font-size: 0.66rem;
  }
  .app-copy .logo-row .feature-chip {
    width: 196px;
    max-width: calc(100vw - 132px);
    flex-basis: 196px;
    height: 44px;
    min-height: 44px;
    font-size: 0.68rem;
  }
}

/* Equal card sizing */
.stat-grid,
.feature-grid,
.app-grid {
  align-items: stretch;
}
.stat-card,
.feature-card,
.home-app-card {
  height: 100%;
}
.stat-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-card strong {
  overflow-wrap: anywhere;
}
.product-intro .stat-grid {
  height: 100%;
}
@media (max-width: 920px) {
  .stat-card {
    min-height: 160px;
  }
}

/* Contact section */
.contact-panel {
  margin-top: 28px;
}
.contact-intro h2 {
  margin: 0 0 18px;
  max-width: 720px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
.contact-options {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}
.contact-card {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
}
.contact-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}
.email-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  font-weight: 800;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(7,9,15,0.42);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: color-mix(in srgb, var(--accent, #18b67a) 60%, white);
  background: rgba(7,9,15,0.62);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #18b67a) 16%, transparent);
}
.contact-form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}
@media (max-width: 820px) {
  .contact-options {
    grid-template-columns: 1fr;
  }
}

/* Netlify form helpers */
.form-honeypot {
  display: none;
}
.form-status {
  min-height: 1.5em;
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.6;
}
.success-shell {
  min-height: 100vh;
  display: grid;
  align-content: start;
}
.success-hero {
  margin-top: 22px;
}
