:root {
  --bg: #141625;
  --bg-elevated: #1A1E32;
  --surface: #1C2035;
  --surface-2: #262B45;
  --border: #343B5C;
  --text: #DCE9FF;
  --muted: #9AADC8;
  --primary: #5B9DFF;
  --primary-soft: rgba(91, 157, 255, 0.22);
  --primary-rgb: 91, 157, 255;
  --link: #B9A4FF;
  --link-hover: #D4C8FF;
  --ink: #DCE9FF;
  --radius: 14px;
  --shell: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.55;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 123, 255, 0.2), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(91, 53, 255, 0.18), transparent 50%),
    var(--bg);
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(20, 22, 37, 0.82);
  border-bottom: 1px solid rgba(52, 59, 92, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand > span {
  color: #ffffff;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  box-sizing: border-box;
  box-shadow: 0 0 18px rgba(var(--primary-rgb), 0.35);
}

.footer-brand-link {
  margin-bottom: 0.55rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Main */
main {
  flex: 1;
  padding: 0 0 4rem;
}

body.page-home main {
  padding-bottom: 0;
}

.cta-bleed {
  margin-top: 4rem;
  margin-bottom: 0;
  padding: 3.5rem 0;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(var(--primary-rgb), 0.22), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.page-hero,
.prose,
.downloads,
.changelog,
.faq-list,
.pricing-grid,
.contact-layout,
.shell-block,
.compare-wrap,
.page-cta {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.shell-block + .shell-block {
  margin-top: 2.25rem;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1,
.section-title,
.hero-copy h1,
.cta-inner h2 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 0.85rem;
}

.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 18ch; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 22ch; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.lead, .hero-lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 42rem;
  margin: 0;
}

.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.25), 0 0 22px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover { color: var(--ink); background: #7EB3FF; box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.4), 0 0 28px rgba(var(--primary-rgb), 0.5); }

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

.btn-ghost:hover { color: var(--text); border-color: var(--primary); background: var(--primary-soft); }

.text-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--link);
}

/* Hero */
.hero-bleed {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 18% 20%, rgba(var(--primary-rgb), 0.22), transparent 60%),
    radial-gradient(700px 420px at 82% 30%, rgba(91, 53, 255, 0.18), transparent 55%),
    linear-gradient(165deg, #1A1E32 0%, #141625 48%, #1C2035 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  mix-blend-mode: soft-light;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin: 0 0 0.35rem;
  line-height: 1;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 14ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-panel {
  background: linear-gradient(160deg, rgba(28, 32, 53, 0.97), rgba(26, 30, 50, 0.94));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.85rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: panel-rise 1s ease both;
}

@keyframes panel-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.dot:first-child { background: #e11d48; }
.dot:nth-child(2) { background: #eab308; }
.dot:nth-child(3) { background: #22c55e; }

.hero-panel-label {
  margin-left: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.rec-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fecdd3;
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.55);
  animation: rec-pulse 1.4s ease-out infinite;
}

@keyframes rec-pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.capture-video {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}

.capture-screen-top {
  display: flex;
  gap: 5px;
  padding: 0.45rem 0.65rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.capture-screen-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.capture-screen-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  min-height: 148px;
  padding: 0.85rem;
  background:
    radial-gradient(420px 160px at 20% 0%, rgba(var(--primary-rgb), 0.16), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--bg-elevated) 70%);
}

.capture-slide-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.capture-slide-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.capture-slide ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.capture-slide li { margin: 0.2rem 0; }

.capture-cam {
  align-self: end;
  width: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  background: var(--surface-2);
  text-align: center;
}

.capture-cam-face {
  height: 54px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--primary);
}

.capture-cam-face .icon {
  width: 1.85rem;
  height: 1.85rem;
}

.capture-cam span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.2rem 0 0.3rem;
  background: rgba(20, 22, 37, 0.7);
}

.capture-audio {
  margin-top: 0.7rem;
  padding: 0.55rem 0.65rem 0.45rem;
  border-radius: 12px;
  background: rgba(20, 22, 37, 0.85);
  border: 1px solid var(--border);
}

.capture-audio-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.capture-audio-meta span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--link);
}

.capture-wave {
  display: block;
  width: 100%;
  height: 44px;
}

.wave-playhead {
  animation: playhead-scrub 4.5s ease-in-out infinite;
}

@keyframes playhead-scrub {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(18px); }
}

.capture-transcript {
  margin-top: 0.7rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: rgba(20, 22, 37, 0.7);
  border: 1px solid var(--border);
}

.capture-transcript-label {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--link);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.transcript-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.55rem;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
}

.transcript-line + .transcript-line { margin-top: 0.2rem; }

.transcript-line.active {
  background: var(--primary-soft);
  border: 1px solid rgba(var(--primary-rgb), 0.28);
}

.transcript-line.dim { opacity: 0.55; }

.transcript-line .speaker {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  padding-top: 0.1rem;
}

.transcript-line .speaker.you { color: var(--primary); }

.transcript-line p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text);
}

.hero-fine {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Icons (Heroicons) */
.icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.2em;
}

.icon-xs { width: 0.95rem; height: 0.95rem; }
.icon-sm { width: 1.1rem; height: 1.1rem; }
.icon-xl { width: 2.4rem; height: 2.4rem; }

.icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border: 0;
  margin-bottom: 0.85rem;
}

.icon-badge .icon {
  width: 1.35rem;
  height: 1.35rem;
  vertical-align: 0;
}

.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.icon-card-grid.four { grid-template-columns: repeat(4, 1fr); }

.icon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.06), 0 10px 36px rgba(var(--primary-rgb), 0.08);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.icon-card:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.18), 0 12px 40px rgba(var(--primary-rgb), 0.16);
}

.icon-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.icon-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.icon-card.compact { padding: 1.1rem; }

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42rem;
  margin: 0.35rem 0 0;
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border: 0;
  flex-shrink: 0;
}

.feature-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
  vertical-align: 0;
}

.cta-with-icon {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
}

.cta-icon-wrap {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border: 0;
}

.btn .icon {
  margin-right: 0.15rem;
}

/* Sections */
.section { padding: 4rem 0 1rem; }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.usp {
  padding: 0.35rem 0 0.5rem;
}

.usp .icon-duo {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1.15rem;
}

.usp .icon-duo .icon {
  width: 3.75rem;
  height: 3.75rem;
  display: block;
}

.usp .icon-duo-wash,
.usp .icon-duo-line {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.usp .icon-duo-wash .icon {
  color: var(--primary);
  fill: currentColor;
  stroke: none;
  opacity: 0.28;
  transform: translate(0.12rem, 0.12rem);
}

.usp .icon-duo-wash .icon path {
  stroke: none;
  fill: currentColor;
}

.usp .icon-duo-line .icon {
  color: var(--link);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.35));
}

.usp .icon-duo-line .icon path {
  fill: none;
  stroke: currentColor;
}

.usp h3,
.feature-row h3,
.founder h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.usp p,
.feature-row p {
  margin: 0;
  color: var(--muted);
}

.band {
  margin: 3rem 0;
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(28, 32, 53, 0.55), rgba(28, 32, 53, 0.15));
  border-block: 1px solid rgba(52, 59, 92, 0.5);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.plain-list li { margin: 0.55rem 0; }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.callout p { margin: 0 0 0.85rem; }

.feature-rows { margin-top: 1.5rem; }

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.pricing-intro {
  width: min(100% - 2.5rem, var(--shell));
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
}

.pricing-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-cta,
.page-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cta-inner { text-align: center; }
.cta-inner p { color: var(--muted); margin: 0 0 1.25rem; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  padding: 1rem 0 2rem;
}

.why-grid article {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.compare-wrap { padding: 0 0 1rem; }
.compare-wrap h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-table tr:last-child td { border-bottom: 0; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0.5rem 0 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.06), 0 10px 36px rgba(var(--primary-rgb), 0.08);
}

.price-card.featured {
  border-color: rgba(var(--primary-rgb), 0.65);
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.12), var(--surface) 45%);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.28), 0 14px 48px rgba(var(--primary-rgb), 0.22);
}

.price-card.free {
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.12), 0 10px 36px rgba(var(--primary-rgb), 0.12);
}

.price-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 7.25rem;
}

.price-badge-slot {
  min-height: 1.45rem;
  display: flex;
  align-items: center;
}

.price-badge {
  margin: 0;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--primary);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.price-badge.ghost {
  background: transparent;
  color: var(--link);
  border: 1px solid rgba(var(--primary-rgb), 0.45);
}

.price-card h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.4rem;
}

.price {
  font-family: var(--font-body);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-variant-numeric: tabular-nums lining-nums;
}

.currency {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.period {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.price-blurb { margin: 0; color: var(--muted); font-size: 0.98rem; }

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  flex: 1;
}

.price-card li { margin: 0.35rem 0; }
.discounts { color: var(--link) !important; list-style: none; padding-left: 0 !important; }
.discounts li { font-size: 0.92rem; }

.price-card .btn { margin-top: 0.5rem; width: 100%; }

/* Download */
.download-hero {
  width: min(100% - 2.5rem, var(--shell));
  margin: 0 auto;
  padding: 3.5rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.download-hero-copy .lead {
  max-width: 36ch;
}

.download-primary {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
  justify-items: start;
}

.download-primary .btn[hidden],
.download-detected[hidden],
.download-badge[hidden] {
  display: none !important;
}

.download-detected,
.download-hero-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.download-hero-art {
  display: grid;
  place-items: center;
}

.download-art {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(var(--primary-rgb), 0.12));
}

.downloads {
  width: min(100% - 2.5rem, var(--shell));
  margin: 0.5rem auto 1.5rem;
}

.downloads-head {
  margin-bottom: 1.25rem;
}

.downloads-head .section-lead {
  margin-top: 0.35rem;
}

.download-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0.5rem 0 1.25rem;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.download-card:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.08), 0 12px 32px rgba(var(--primary-rgb), 0.1);
}

.download-card.is-recommended {
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.12), 0 14px 36px rgba(var(--primary-rgb), 0.16);
  transform: translateY(-2px);
}

.download-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.download-os-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
}

.download-os-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.download-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--primary);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.download-card h3 {
  font-family: var(--font-display);
  margin: 0;
}

.download-card .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.downloads-note,
.unavailable,
.download-size {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.download-perks {
  padding-top: 0.5rem;
}

.download-perks .icon-card,
.download-perks .icon-card:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-download .page-cta {
  width: 100%;
  max-width: none;
  margin: 2rem 0 0;
  padding: 2.75rem 1.25rem 3rem;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.page-download .page-cta .cta-inner {
  width: min(100%, var(--shell));
  margin-inline: auto;
}

.download-changelog {
  width: 100%;
  margin: 2rem 0 0;
  padding: 2.75rem 1.25rem 3.25rem;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.04), transparent 70%);
  border-top: 1px solid var(--border);
}

.download-changelog-inner {
  width: min(100%, var(--shell));
  margin-inline: auto;
}

.download-changelog-body {
  margin: 1rem 0 1.5rem;
  max-width: none;
}

.download-changelog-body h3 {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.25rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.download-changelog-body ul {
  margin: 0;
  padding-left: 1.2rem;
}

.download-changelog-body li {
  margin: 0.35rem 0;
}

.changelog { margin: 0 auto 3rem; }
.page-changelog .changelog {
  width: min(100% - 2.5rem, var(--shell));
}
.changelog h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
}

.changelog-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.06);
}

.changelog-body h2 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.changelog-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.changelog-body h3 {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.25rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.changelog-body ul { margin: 0; padding-left: 1.2rem; }
.changelog-body li { margin: 0.35rem 0; }
.changelog-body p { color: var(--muted); }

/* About / prose */
.prose {
  max-width: 720px;
  padding-bottom: 1rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
}

.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.founder {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--surface);
}

.founder p { margin: 0.35rem 0 0; }
.placeholder-note {
  border-left: 3px solid var(--primary);
  padding: 0.35rem 0 0.35rem 1rem;
}

/* FAQ */
.faq-list { max-width: 760px; padding: 0.5rem 0 1rem; }

.faq-item {
  border-top: 1px solid var(--border);
  padding: 0.35rem 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.08rem;
  padding: 1rem 2rem 1rem 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 500;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 58ch;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 1rem;
}

.contact-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.contact-card h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(var(--primary-rgb), 0.45);
  border-color: var(--primary);
}

.form-note { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Auth / account */
.page-auth .page-hero {
  width: min(100% - 2.5rem, 26rem);
  text-align: center;
  padding-bottom: 0.75rem;
}

.page-auth .page-hero h1 {
  max-width: none;
  margin-inline: auto;
}

.page-auth .page-hero .lead {
  margin-inline: auto;
}

.auth-card {
  width: min(100% - 2.5rem, 26rem);
  margin: 0.5rem auto 3rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.08), 0 12px 40px rgba(var(--primary-rgb), 0.12);
}

.account-checking {
  text-align: center;
  margin: 3rem auto;
}

.account-panel {
  width: min(100% - 2.5rem, var(--shell));
  margin: 0 auto 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.08), 0 12px 40px rgba(var(--primary-rgb), 0.12);
}

.auth-form,
.account-plan-actions {
  display: grid;
  gap: 0.85rem;
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.auth-form input {
  font: inherit;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.auth-form input:focus {
  outline: 2px solid rgba(var(--primary-rgb), 0.45);
  border-color: var(--primary);
}

.auth-google { width: 100%; }
.auth-divider {
  display: grid;
  place-items: center;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.auth-divider span {
  background: var(--surface);
  padding: 0 0.65rem;
  position: relative;
  z-index: 1;
}

.auth-status {
  min-height: 1.25rem;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-status[data-kind="error"] { color: #fda4af; }
.auth-status[data-kind="ok"] { color: var(--primary); }

.auth-switch {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.account-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin: 0.35rem 0 0.9rem;
  word-break: break-word;
}

.account-plans-title {
  font-family: var(--font-display);
  margin: 0 0 0.85rem;
}

.why-faq {
  max-width: none;
  width: 100%;
  padding: 0.75rem 0 0;
}

.nav-account {
  color: var(--primary) !important;
}

/* Footer */
.site-footer {
  --footer-gap: 2.5rem;
  border-top: 1px solid rgba(52, 59, 92, 0.65);
  padding: var(--footer-gap) 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  background: rgba(20, 22, 37, 0.9);
  display: flex;
  flex-direction: column;
  gap: var(--footer-gap);
}

.site-footer .shell {
  width: min(100%, var(--shell));
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--footer-gap);
  align-items: start;
  padding-bottom: 0;
}

.footer-brand-block {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-self: start;
}

.footer-brand-link {
  margin: 0;
}

.footer-logo {
  opacity: 0.7;
  box-shadow: none;
}

.footer-brand-link span {
  color: #ffffff;
}

.footer-tag {
  margin: 0;
  max-width: 34ch;
  line-height: 1.45;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.35rem 0 0;
}

.footer-social a {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--primary);
  box-shadow: none;
}

.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: right;
  align-items: flex-end;
}

.footer-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text);
  margin: 0;
  font-weight: 400;
}

.footer-col a[aria-current="page"],
.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--footer-gap);
  padding-top: var(--footer-gap);
  border-top: 1px solid rgba(52, 59, 92, 0.55);
}

.footer-copy {
  margin: 0;
  max-width: 52rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-legal-inline {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--footer-gap);
  font-size: 0.88rem;
  font-weight: 400;
}

.footer-legal-inline a {
  color: var(--muted);
  text-decoration: none;
}

.footer-legal-inline a:hover {
  color: var(--primary);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.delay-1 { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-panel,
  .rec-dot,
  .wave-playhead {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .pricing-grid,
  .icon-card-grid,
  .icon-card-grid.four,
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-stage,
  .usp-grid,
  .split,
  .footer-main,
  .contact-layout,
  .founder-grid,
  .account-grid,
  .pricing-intro,
  .cta-with-icon,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .feature-row { grid-template-columns: auto 1fr; }
  .brand-mark { font-size: 2.6rem; }
  .hero-bleed { min-height: auto; padding-top: 2.5rem; }
  .cta-with-icon { text-align: center; justify-items: center; }
  .download-hero-art { order: -1; }
}

@media (max-width: 780px) {
  .pricing-grid,
  .icon-card-grid,
  .icon-card-grid.four,
  .download-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: calc(100% + 0.35rem);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: var(--primary-soft);
  }

  .header-inner { position: relative; }
}
