/* ==========================================================================
   MundaneApps · mundaneapps.com
   Plain static site. No build step, no third-party requests, no trackers.
   Light/dark follows the browser via prefers-color-scheme.
   System font stack (privacy-first: no Google Fonts fetch that would leak IP).

   Design language: a calm, minimalist operating system. Glass panels and a
   whisper of abstract motion. Full-width and fluid. Sage as the single accent.
   ========================================================================== */

:root {
  --bg: #f3f5f3;
  --bg-deep: #ecefec;
  --surface: #ffffff;
  --surface-2: #f1f3f1;
  --fg: #191d1b;
  --fg-soft: #3a423e;
  --muted: #616a65;

  --accent: #5f7c6e;        /* brand sage */
  --accent-ink: #4c6558;    /* sage for text and links, AA on light */
  --accent-contrast: #ffffff;

  --btn-bg: #50695d;
  --btn-bg-hover: #405547;
  --btn-fg: #ffffff;

  --border: #e4e7e4;
  --border-strong: #d3d8d3;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-hairline: rgba(25, 29, 27, 0.08);
  --glass-blur: 20px;

  --glow: rgba(95, 124, 110, 0.16);
  --bg-grad-a: #f6f8f6;
  --bg-grad-b: #e7ece8;

  --shell: 1320px;
  --content-width: 760px;
  --gutter: clamp(20px, 4.5vw, 72px);

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --danger: #b4483d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-deep: #000000;
    --surface: #0c110e;
    --surface-2: #121a15;
    --fg: #eef1ee;
    --fg-soft: #c7cfca;
    --muted: #93a099;

    --accent: #93b3a3;
    --accent-ink: #a9c6b7;
    --accent-contrast: #0f1a15;

    --danger: #e08b82;

    --btn-bg: #8faca0;
    --btn-bg-hover: #a3c0b4;
    --btn-fg: #0e1713;

    --border: #1e2622;
    --border-strong: #2b342f;

    --glass-bg: rgba(20, 28, 23, 0.5);
    --glass-bg-strong: rgba(12, 18, 14, 0.86);
    --glass-border: rgba(140, 170, 155, 0.15);
    --glass-hairline: rgba(255, 255, 255, 0.06);

    --glow: rgba(120, 160, 140, 0.12);
    --bg-grad-a: #000000;
    --bg-grad-b: #080f0c;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 34px 80px rgba(0, 0, 0, 0.7), 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

/* Light shadows (kept out of :root so the dark block can override cleanly) */
:root {
  --shadow-sm: 0 1px 2px rgba(20, 25, 22, 0.05), 0 1px 3px rgba(20, 25, 22, 0.04);
  --shadow-md: 0 10px 30px rgba(25, 40, 32, 0.07), 0 2px 8px rgba(25, 40, 32, 0.05);
  --shadow-lg: 0 30px 70px rgba(25, 55, 42, 0.12), 0 10px 26px rgba(25, 40, 32, 0.07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 34px 80px rgba(0, 0, 0, 0.7), 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-weight: 700;
}

img { max-width: 100%; display: block; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.shell.narrow { max-width: 980px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}

/* Small icon + eyebrow text, used to keep a product's identity visible */
.eyebrow-lockup { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.eyebrow-lockup img { width: 22px; height: 22px; border-radius: 6px; box-shadow: var(--shadow-sm); flex: none; }
.eyebrow-lockup .eyebrow { margin-bottom: 0; }

/* Product brand lockup (icon + wordmark), for product-page heroes */
.product-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em;
  color: var(--fg); margin-bottom: 16px;
}
.product-brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--shadow-sm); flex: none; }

.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-ink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Motion background: a whisper of movement, barely there (CSS only)
   -------------------------------------------------------------------------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1000px 660px at 12% -8%, var(--glow), transparent 55%),
    radial-gradient(900px 620px at 92% 108%, var(--glow), transparent 55%),
    linear-gradient(165deg, var(--bg-grad-a) 0%, var(--bg-grad-b) 100%);
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.orb-1 {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  top: -16vh; left: -12vw;
  background: radial-gradient(circle at 30% 30%, rgba(95, 124, 110, 0.85), transparent 68%);
  opacity: 0.06;
  animation: drift-a 44s var(--ease) infinite alternate;
}
.orb-2 {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  top: 14vh; right: -14vw;
  background: radial-gradient(circle at 60% 40%, rgba(95, 124, 110, 0.8), transparent 68%);
  opacity: 0.05;
  animation: drift-b 52s var(--ease) infinite alternate;
}
@keyframes drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(6vw, 8vh, 0) scale(1.12); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1.08); }
  100% { transform: translate3d(-7vw, 9vh, 0) scale(0.94); }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Header: glass, floating
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: saturate(160%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(160%) blur(var(--glass-blur));
  border-bottom-color: var(--glass-hairline);
  box-shadow: 0 6px 24px rgba(10, 20, 15, 0.05);
}
.site-header nav {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand .brand-name b { color: var(--accent-ink); font-weight: 700; }

.nav-cluster { display: flex; align-items: center; gap: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > a,
.nav-trigger {
  color: var(--fg-soft);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  padding: 9px 15px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > a:hover,
.nav-trigger:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); text-decoration: none; }
.nav-links a.cta {
  color: var(--btn-fg);
  background: var(--btn-bg);
  font-weight: 600;
}
.nav-links a.cta:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
.nav-trigger svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); opacity: 0.7; }
.nav-item { position: relative; }
.nav-item.open .nav-trigger { color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }

/* Products mega dropdown: click to open, stays until dismissed */
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(320px, 92vw);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px;
  background: var(--glass-bg-strong);
  backdrop-filter: saturate(170%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(170%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.product-tile {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-hairline);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--fg);
  transition: transform 0.18s var(--ease), border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
a.product-tile:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow: var(--shadow-md);
}
.product-tile img { width: 44px; height: 44px; flex: none; border-radius: 12px; }
.product-tile strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.product-tile span { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }

.mega-note {
  display: block;
  padding: 8px 13px 4px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.mega-note:hover { color: var(--accent-ink); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 11px;
  width: 42px; height: 42px;
  cursor: pointer;
  color: var(--fg);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: var(--glass-bg-strong);
    backdrop-filter: saturate(170%) blur(var(--glass-blur));
    -webkit-backdrop-filter: saturate(170%) blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-hairline);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links > a,
  .nav-trigger { padding: 12px 14px; font-size: 1rem; justify-content: space-between; width: 100%; }
  .nav-links a.cta { text-align: center; justify-content: center; margin-top: 4px; }
  .nav-item { position: static; }
  .mega {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    padding: 0 4px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    transition: max-height 0.28s var(--ease), opacity 0.2s var(--ease), padding 0.2s var(--ease);
  }
  .nav-item.open .mega {
    visibility: visible;
    pointer-events: auto;
    max-height: 320px;
    padding: 6px 4px 10px;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-bg-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  border-color: var(--glass-border);
}
.btn-glass:hover { background: var(--glass-bg-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --------------------------------------------------------------------------
   Glass panel + sections
   -------------------------------------------------------------------------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

section { padding: clamp(64px, 9vw, 108px) 0; position: relative; }
.section-head { max-width: 60ch; margin: 0 0 clamp(34px, 5vw, 54px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(72px, 13vw, 150px) 0 clamp(56px, 9vw, 104px);
}
.hero.center { text-align: center; }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  margin: 0 0 22px;
  max-width: 18ch;
}
.hero.center h1 { margin-left: auto; margin-right: auto; }
.hero .lede {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 34px;
}
.hero.center .lede { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero.center .hero-actions { justify-content: center; }

.chip-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 42px; }
.hero.center .chip-row { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--fg-soft);
  font-size: 0.9rem;
}
.chip svg { width: 16px; height: 16px; color: var(--accent-ink); flex: none; }

/* --------------------------------------------------------------------------
   Floating grid of cards
   -------------------------------------------------------------------------- */
.float-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.tile {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--glass-border));
}
.tile .t-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-ink);
  margin-bottom: 18px;
  border: 1px solid var(--glass-hairline);
}
.tile .t-icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.18rem; margin: 0 0 8px; }
.tile p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* --------------------------------------------------------------------------
   Horizontal accordion (About: folding principles, side by side)
   -------------------------------------------------------------------------- */
.haccordion {
  display: flex;
  gap: 14px;
  align-items: stretch;
  height: clamp(320px, 36vw, 400px);
}
.hfold {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  cursor: pointer;
  font: inherit;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: flex-grow 0.45s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.hfold-icon {
  width: 48px; height: 48px; flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-ink);
  border: 1px solid var(--glass-hairline);
  margin-bottom: 16px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.hfold-icon svg { width: 24px; height: 24px; }
.hfold-title { font-weight: 600; font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--fg); }
.hfold-body { display: none; color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 46ch; margin-top: 12px; }

/* Expanded look, shared by the pinned-open panel and (on desktop) the hovered one */
.hfold.expanded {
  flex-grow: 3.2;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--glass-border));
}
.hfold.expanded .hfold-icon { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
.hfold.expanded .hfold-title { font-size: 1.3rem; margin-top: 20px; }
.hfold.expanded .hfold-body { display: block; }

/* Hover activation on pointer devices: hovering a panel expands it, the pinned
   panel collapses unless it is the one hovered. */
@media (hover: hover) and (min-width: 821px) {
  .haccordion:hover .hfold.expanded:not(:hover) {
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-color: var(--glass-border);
  }
  .haccordion:hover .hfold.expanded:not(:hover) .hfold-icon { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-ink); }
  .haccordion:hover .hfold.expanded:not(:hover) .hfold-title { font-size: 1.02rem; margin-top: 0; }
  .haccordion:hover .hfold.expanded:not(:hover) .hfold-body { display: none; }

  .haccordion .hfold:hover {
    flex-grow: 3.2;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--accent) 40%, var(--glass-border));
  }
  .haccordion .hfold:hover .hfold-icon { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
  .haccordion .hfold:hover .hfold-title { font-size: 1.3rem; margin-top: 20px; }
  .haccordion .hfold:hover .hfold-body { display: block; }
}

@media (max-width: 820px) {
  .haccordion { flex-direction: column; height: auto; }
  .hfold { flex: none !important; align-items: flex-start !important; justify-content: flex-start !important; text-align: left !important; padding: 20px; }
  .hfold-icon { margin-bottom: 14px; }
  .hfold-title { font-size: 1.18rem; }
  .hfold-body { display: block !important; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hfold { transition: none; }
}

/* --------------------------------------------------------------------------
   Products showcase
   -------------------------------------------------------------------------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  align-items: stretch;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  color: var(--fg);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
a.product-card:hover {
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--glass-border));
}
.product-card .pc-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.product-card .pc-icon {
  width: 64px; height: 64px; flex: none;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-hairline);
}
.product-card h3 { font-size: 1.4rem; margin: 0 0 3px; }
.product-card .pc-tag { color: var(--accent-ink); font-size: 0.92rem; margin: 0; font-weight: 500; }
.product-card .pc-desc { color: var(--fg-soft); margin: 0 0 24px; flex: 1; }
.product-card .pc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: auto;
}
.product-card .pc-open { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-ink); font-weight: 600; font-size: 0.95rem; }
.product-card .pc-open svg { width: 17px; height: 17px; transition: transform 0.2s var(--ease); }
a.product-card:hover .pc-open svg { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.product-card.soon {
  border-style: dashed;
  background: color-mix(in srgb, var(--surface) 30%, transparent);
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  box-shadow: none;
}
.product-card.soon:hover { transform: none; box-shadow: none; }
.product-card.soon .pc-mark {
  width: 60px; height: 60px; border-radius: 16px;
  border: 1px dashed var(--border-strong);
  display: grid; place-items: center; color: var(--muted);
  margin-bottom: 18px;
}
.product-card.soon .pc-mark svg { width: 26px; height: 26px; }
.product-card.soon h3 { color: var(--fg-soft); }
.product-card.soon p { color: var(--muted); margin: 0 0 4px; }

/* --------------------------------------------------------------------------
   Store buttons
   -------------------------------------------------------------------------- */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 17px; border-radius: 13px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--fg);
  min-width: 158px;
  transition: transform 0.15s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.store-btn:hover { text-decoration: none; }
.store-btn.enabled:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, var(--border-strong)); }
.store-btn.disabled { opacity: 0.6; cursor: default; }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn .store-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .store-txt small { font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.store-btn .store-txt strong { font-size: 0.95rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   Split spotlight (HeadsUp visual)
   -------------------------------------------------------------------------- */
.spotlight { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }
.spot-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 18px; }
.spot-copy p { color: var(--muted); font-size: 1.08rem; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 15px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--fg-soft); }
.feature-list svg { width: 22px; height: 22px; color: var(--accent-ink); flex: none; margin-top: 3px; }

.spot-visual { display: flex; justify-content: center; perspective: 1200px; }
.spot-frame {
  position: relative;
  width: min(340px, 82vw);
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  display: grid; place-items: center;
  background: var(--glass-bg);
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s var(--ease);
}
.spot-frame:hover { transform: rotateY(0deg) rotateX(0deg); }
.spot-frame img {
  width: 58%; height: 58%; object-fit: contain;
  border-radius: 26%;
  box-shadow: var(--shadow-md);
}
.spot-frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 45%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */
.compare {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
}
.compare table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--glass-hairline); vertical-align: top; }
.compare thead th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: var(--fg); }
.compare .col-hu { color: var(--fg); background: color-mix(in srgb, var(--accent) 9%, transparent); font-weight: 500; }
.compare thead .col-hu { color: var(--accent-ink); }
.compare-scroll { overflow-x: auto; }

/* --------------------------------------------------------------------------
   Cadence cards
   -------------------------------------------------------------------------- */
.cadence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cadence {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.cadence:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cadence .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--accent); color: var(--accent-contrast);
  font-weight: 700; font-size: 0.95rem;
  margin-bottom: 16px;
}
.cadence h3 { font-size: 1.16rem; margin: 0 0 8px; }
.cadence p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* --------------------------------------------------------------------------
   Idea CTA
   -------------------------------------------------------------------------- */
.idea-panel {
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
    var(--glass-bg);
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}
.idea-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 860px) { .idea-grid { grid-template-columns: 1fr; } }
.idea-copy h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 10px 0 14px; }
.idea-copy p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.idea-form { display: flex; flex-direction: column; gap: 14px; }
.idea-form label { font-size: 0.85rem; font-weight: 600; color: var(--fg-soft); }
.idea-form input,
.idea-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.idea-form textarea { min-height: 120px; resize: vertical; }
.idea-form input:focus,
.idea-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.idea-form .form-row { display: flex; flex-direction: column; gap: 6px; }
.idea-form .btn { align-self: flex-start; }
.idea-note { font-size: 0.85rem; color: var(--muted); margin: 2px 0 0; }

.pull {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 26ch;
  color: var(--fg);
}
.pull .grad { font-weight: 700; }

/* --------------------------------------------------------------------------
   Legal / content pages (docs): glass reading panel over the background
   -------------------------------------------------------------------------- */
.doc {
  max-width: calc(var(--content-width) + 2 * var(--gutter));
  margin: clamp(28px, 5vw, 56px) auto;
  padding: clamp(36px, 6vw, 64px) var(--gutter);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0 0 6px; }
.doc h2 { font-size: 1.3rem; margin: 2.2em 0 0.6em; }
.doc h3 { font-size: 1.08rem; margin: 1.6em 0 0.4em; color: var(--fg-soft); }
.doc p, .doc li { color: var(--fg-soft); }
.doc .meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 2.2em; }
.doc a { text-decoration: underline; text-underline-offset: 2px; }
.doc table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.94rem; }
.doc th, .doc td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface-2); font-weight: 600; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 0.35em 0; }
.doc-nav { margin-bottom: 8px; }
.doc-nav a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.doc-nav a:hover { color: var(--accent-ink); }
.callout {
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.4em 0;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--glass-hairline);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 58px 0 40px;
  margin-top: 40px;
}
.footer-grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--fg-soft); font-size: 0.95rem; padding: 5px 0; text-decoration: none; }
.footer-col a:hover { color: var(--accent-ink); }
.footer-bottom {
  max-width: var(--shell);
  margin: 42px auto 0;
  padding: 22px var(--gutter) 0;
  border-top: 1px solid var(--glass-hairline);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-bottom a { color: var(--muted); }

/* --------------------------------------------------------------------------
   Scroll-reveal animation
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn:hover, .tile:hover, .cadence:hover, .store-btn:hover,
  a.product-card:hover, a.product-tile:hover, .spot-frame:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Founding-circle form
   -------------------------------------------------------------------------- */
.join-form { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.join-form.wide { max-width: 560px; }
.join-row { display: flex; gap: 10px; flex-wrap: wrap; }
.join-form input[type="email"] {
  flex: 1 1 220px; padding: 13px 15px; font-size: 1rem; font-family: inherit; color: var(--fg);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.join-form input[type="email"]:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.join-form textarea.join-idea {
  width: 100%; min-height: 96px; resize: vertical; font-family: inherit; font-size: 1rem;
  color: var(--fg); background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.join-form textarea.join-idea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.join-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.join-status { font-size: 0.9rem; margin: 2px 0 0; min-height: 1.2em; }
.join-status.ok { color: var(--accent-ink); font-weight: 600; }
.join-status.err { color: var(--danger); }
.join-form.joined .join-row,
.join-form.joined .join-idea { display: none; }

/* --------------------------------------------------------------------------
   Phone frame for real screenshots
   -------------------------------------------------------------------------- */
.phone {
  position: relative; width: clamp(220px, 30vw, 300px); aspect-ratio: 1206 / 2622;
  border-radius: 40px; padding: 10px; background: var(--surface-2);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); flex: none;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block; }
.phone-cluster { display: flex; gap: clamp(14px, 3vw, 28px); align-items: center; justify-content: center; }
.phone-cluster .phone { width: clamp(160px, 22vw, 230px); }
.phone-cluster .phone:nth-child(2) { transform: translateY(-18px) scale(1.04); z-index: 2; }
@media (max-width: 640px) { .phone-cluster .phone:nth-child(3) { display: none; } }

/* --------------------------------------------------------------------------
   Screenshot gallery (Heads-Up walkthrough)
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 4vw, 40px); }
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gallery figcaption { text-align: center; max-width: 30ch; }
.gallery figcaption strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.gallery figcaption span { color: var(--muted); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: center; margin-top: 22px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; color: var(--muted); }
.trust-strip svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.hero .trust-strip { justify-content: flex-start; }

/* --------------------------------------------------------------------------
   Studio trust band (condensed philosophy on Home)
   -------------------------------------------------------------------------- */
.studio-band { display: flex; align-items: center; gap: clamp(20px, 4vw, 40px); flex-wrap: wrap; }
.studio-band .sb-copy { flex: 1 1 420px; }
.studio-band h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 10px 0 12px; }
.studio-band p { color: var(--muted); font-size: 1.03rem; margin: 0 0 14px; max-width: 60ch; }

/* --------------------------------------------------------------------------
   Founders' typographic mark (About: no photo, warmer than a logo)
   -------------------------------------------------------------------------- */
.founders-mark { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 2vw, 14px); }
.fm-initial {
  font-weight: 700; font-size: clamp(3.6rem, 11vw, 5.4rem); line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, var(--accent), var(--accent-ink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fm-p { transform: translateY(-6%) rotate(-4deg); }
.fm-b { transform: translateY(6%) rotate(4deg); opacity: 0.72; }
