@font-face {
  font-family: "JetBrains Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.309/webfonts/JetBrainsSans-Regular.woff2")
    format("woff2");
}

@font-face {
  font-family: "JetBrains Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.309/webfonts/JetBrainsSans-Medium.woff2")
    format("woff2");
}

@font-face {
  font-family: "JetBrains Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.309/webfonts/JetBrainsSans-SemiBold.woff2")
    format("woff2");
}

@font-face {
  font-family: "JetBrains Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.309/webfonts/JetBrainsSans-Bold.woff2")
    format("woff2");
}

@font-face {
  font-family: "JetBrains Sans";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("https://resources.jetbrains.com/storage/jetbrains-sans/google-fonts/v1.309/webfonts/JetBrainsSans-ExtraBold.woff2")
    format("woff2");
}

:root {
  color-scheme: light;

  /* Warm neutrals. Light earth-tone base. */
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-muted: #f7f3ee;
  --surface-dark: #111318;
  --line: #e6ded4;
  --line-strong: #cdc0b2;
  --text: #1b1814;
  --muted: #6b6259;

  /* Brand accent, unchanged. */
  --accent: #b91c1c;
  --accent-dark: #7f1d1d;
  --white: #ffffff;

  /* Earth-tone washes for section panels */
  --clay: #c9704f;
  --sand: #f2e9df;
  --sage: #e7ece3;
  --sky: #e8eef3;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(60, 48, 38, 0.07);
  --shadow-md: 0 18px 44px rgba(60, 48, 38, 0.12);
  --shadow-soft: 0 12px 32px rgba(60, 48, 38, 0.08);
  --focus-ring: 0 0 0 3px rgba(185, 28, 28, 0.32);

  --container: min(1160px, calc(100% - 40px));
  --font: "JetBrains Sans", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(244, 236, 227, 0.9) 0, rgba(250, 248, 245, 0) 460px),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

code {
  padding: 0.12rem 0.34rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(215, 221, 229, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  position: relative;
  z-index: 51;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 12px 20px;
  box-sizing: border-box;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.brand img {
  display: block;
  width: auto;
  max-width: min(100%, 15rem);
  min-width: 0;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--text);
  border-radius: 12px;
  background: var(--text);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  outline: none;
}

.nav-toggle:focus-visible {
  box-shadow: var(--focus-ring);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    top 180ms ease,
    background 180ms ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-header.is-nav-open .nav-toggle {
  border-color: var(--text);
  background: var(--text);
  color: var(--white);
}

.site-header.is-nav-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(27, 24, 20, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(22rem, 86vw);
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 5.75rem 1.4rem 2rem;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 220ms ease,
    visibility 220ms ease;
  font-weight: 400;
}

.nav-drawer-kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.15rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.2;
  transition: color 180ms ease, padding-left 180ms ease;
}

.nav-drawer a:hover,
.nav-drawer a:focus-visible {
  color: var(--accent);
  background: none;
  outline: none;
}

.nav-drawer a[aria-current="page"] {
  color: var(--accent);
  padding-left: 0.7rem;
  box-shadow: inset 3px 0 0 var(--accent);
}

.site-header.is-nav-open .nav-backdrop,
body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header.is-nav-open .nav-drawer,
body.nav-open .nav-drawer {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.hero,
.page-title,
.app-hero,
.section-band,
.tutorial-grid,
.blog-grid,
.contact-section,
.app-showcase {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 3.5rem;
  align-items: center;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.file-label {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 22ch;
  margin-bottom: 1.1rem;
  color: var(--text);
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-title h1 {
  max-width: 20ch;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: clamp(1.75rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-copy > p:not(.eyebrow),
.page-title > p,
.download-panel p,
.tutorial-body p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy > p:not(.eyebrow) {
  font-size: 1.13rem;
}

.hero-actions,
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions {
  align-items: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.social-card:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.social-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--focus-ring);
  outline: none;
}

.nav-drawer a:focus-visible {
  border-radius: 0;
}

a:focus-visible {
  border-radius: 8px;
  box-shadow: var(--focus-ring);
  outline: none;
}

.button.primary {
  background: var(--accent);
  box-shadow: 0 10px 26px rgba(185, 28, 28, 0.22);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.primary:focus-visible {
  box-shadow: var(--focus-ring);
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--text);
  box-shadow: var(--shadow-soft);
}

.button.secondary:focus-visible {
  border-color: var(--text);
  box-shadow: var(--focus-ring);
}

.signal-panel,
.download-panel,
.contact-form,
.result-panel,
.contact-card,
.tutorial-card,
.blog-card,
.social-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.signal-panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-color: rgba(18, 21, 27, 0.2);
  background: var(--surface-dark);
  box-shadow: var(--shadow-md);
}

.signal-panel::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  content: "";
  pointer-events: none;
}

.signal-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-band {
  padding: 4.25rem 0 5rem;
}

.section-band[id] {
  scroll-margin-top: 120px;
}

.social-section {
  padding: 0 0 2rem;
}

.social-heading {
  max-width: 680px;
  margin: 0 auto 1.55rem;
  text-align: center;
}

.social-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

/* Copy stacked above the buttons, so the platform buttons read as one row
   across the panel rather than a column crammed beside the text. */
.download-panel {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(90deg, rgba(185, 28, 28, 0.08), transparent 32%),
    var(--surface);
}

.download-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
  content: "";
}

.download-panel .button {
  flex: 0 0 auto;
}

.download-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.contact-section {
  padding: 0 0 5rem;
}

.contact-form,
.result-panel,
.contact-card {
  display: grid;
  gap: 1.4rem;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 2.5rem 2.25rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.contact-card {
  justify-items: start;
}

.contact-card h2 {
  margin-bottom: 0;
}

.contact-card p:not(.file-label) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-card .file-label {
  margin-bottom: 0;
}

.field-group {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: normal;
}

.field-group input {
  min-height: 48px;
  padding: 0 0.9rem;
}

.field-group textarea {
  min-height: 220px;
  resize: vertical;
  padding: 0.85rem 0.9rem;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.14);
  outline: none;
}

.contact-form .button {
  width: 100%;
  margin-top: 0.35rem;
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.18);
}

.result-panel .button {
  justify-self: start;
}

.field-error {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.status-message {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.status-message.is-success {
  border-color: rgba(22, 101, 52, 0.28);
  background: #f0fdf4;
  color: #14532d;
}

.status-message.is-error {
  border-color: rgba(185, 28, 28, 0.28);
  background: #fef2f2;
  color: var(--accent-dark);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.social-grid {
  align-items: center;
  justify-content: center;
}

.social-card {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.social-card:hover,
.social-card:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #1877f2;
  color: var(--white);
  font-family: var(--font);
  font-size: 2.3rem;
  font-weight: 900;
}

.social-icon.play {
  background: var(--accent);
  font-size: 1.35rem;
}

.social-icon.instagram {
  background:
    radial-gradient(circle at 30% 105%, #fdf497 0 18%, #fd5949 43%, transparent 44%),
    linear-gradient(135deg, #833ab4, #c13584 45%, #e1306c 70%, #f77737);
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.social-icon.instagram svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-title {
  padding: 4.5rem 0 2rem;
}

.page-title p a {
  color: var(--accent);
  font-weight: 700;
}

.page-title p a:hover,
.page-title p a:focus-visible {
  text-decoration: underline;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 5rem;
}

.tutorial-card {
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.tutorial-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.video-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(18, 21, 27, 0.08), transparent 46%),
    linear-gradient(180deg, #ffffff, #eef2f6);
}

.tutorial-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-placeholder span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(185, 28, 28, 0.55);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}

.video-placeholder.coming-soon span {
  width: auto;
  min-width: 92px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tutorial-body {
  padding: 1.15rem;
}

.tutorial-body h2 {
  font-size: 1.28rem;
  line-height: 1.16;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 5rem;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.blog-card-media,
.blog-hero-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-muted);
}

.blog-card-media {
  border-bottom: 1px solid var(--line);
}

.blog-card-media img,
.blog-hero {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.blog-card-body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.blog-card-body h2 {
  margin-bottom: 0.45rem;
  font-size: 1.28rem;
  line-height: 1.2;
}

.blog-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.blog-article {
  width: min(760px, var(--container));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

.blog-article .eyebrow {
  margin-bottom: 0.6rem;
}

.blog-article h1 {
  max-width: none;
  margin-bottom: 0.85rem;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.15;
}

.blog-article .blog-lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.blog-hero-frame {
  margin: 0 0 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.blog-hero {
  margin: 0;
  border: 0;
}

.blog-article h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.blog-article p,
.blog-article li {
  color: var(--text);
  font-size: 1.05rem;
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 1.2rem;
  padding-left: 1.25rem;
}

.blog-article li {
  margin-bottom: 0.45rem;
}

.blog-article li strong {
  color: var(--text);
}

.blog-cta {
  margin-top: 2.25rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.blog-cta p:last-child {
  margin-bottom: 0;
}

.blog-cta .button {
  margin-top: 0.35rem;
}

.blog-all {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.blog-all h2 {
  margin-top: 0;
}

.blog-all ul {
  list-style: none;
  padding-left: 0;
}

.blog-all li {
  margin-bottom: 0.65rem;
}

.blog-all a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.app-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 3.2vw, 2.75rem);
  align-items: start;
  padding: clamp(3rem, 5.5vw, 4.75rem) 0 clamp(2.25rem, 4vw, 3.25rem);
}

.app-hero-copy {
  max-width: 640px;
}

.app-hero-copy h1 {
  max-width: 16ch;
}

.app-hero-copy > p:not(.eyebrow) {
  max-width: 48ch;
  margin-bottom: 1.6rem;
  color: var(--muted);
}

.app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.app-hero-visual,
.product-glow {
  position: relative;
}

.app-hero-visual::before,
.product-glow::before {
  position: absolute;
  inset: 12% -10% -14% 8%;
  z-index: 0;
  border-radius: 36px;
  background: linear-gradient(
    145deg,
    rgba(185, 28, 28, 0.18),
    rgba(201, 112, 79, 0.12) 50%,
    rgba(232, 238, 243, 0.75)
  );
  transform: rotate(2.6deg);
  content: "";
  pointer-events: none;
}

.product-frame,
.app-hero-shot {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow:
    0 2px 4px rgba(60, 48, 38, 0.06),
    0 28px 64px rgba(60, 48, 38, 0.16);
}

.product-frame::before,
.app-hero-shot::before {
  display: block;
  height: 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f4f1 0%, #efeae4 100%);
  content: "";
}

.product-frame::after,
.app-hero-shot::after {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e05a4f;
  box-shadow: 17px 0 0 #e6b84c, 34px 0 0 #5cba6a;
  content: "";
  pointer-events: none;
}

.product-frame img,
.app-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.page-band {
  width: 100%;
}

.page-band-sand {
  background: linear-gradient(180deg, rgba(242, 233, 223, 0.72), rgba(250, 248, 245, 0));
}

.page-band-sage {
  background: linear-gradient(180deg, rgba(231, 236, 227, 0.78), rgba(250, 248, 245, 0));
}

.page-band-sky {
  background: linear-gradient(180deg, rgba(232, 238, 243, 0.78), rgba(250, 248, 245, 0));
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.brand-icon,
.feature-icon,
.lp-audience-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.lp-audience-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  background: rgba(255, 255, 255, 0.8);
}

.brand-icon svg,
.feature-icon svg,
.lp-audience-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-audience-icon svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1180px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .app-hero {
    padding-top: 3.25rem;
  }

  .app-hero-copy h1 {
    max-width: 20ch;
  }

  .app-hero-visual::before {
    inset: 8% 4% -10% 4%;
    transform: rotate(1.4deg);
  }
}

.app-showcase {
  margin-top: 1rem;
}

.app-showcase .signal-panel {
  aspect-ratio: 16 / 9;
  max-width: 960px;
  margin: 0 auto;
}

.showcase-caption {
  max-width: 960px;
  margin: 0.9rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.65rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.16rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.steps {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.4rem;
}

.step-num {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.3rem;
  font-size: 1.16rem;
}

.step p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow:
    0 2px 4px rgba(60, 48, 38, 0.06),
    0 18px 40px rgba(60, 48, 38, 0.12);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
}

.shot figcaption {
  padding: 0.95rem 1.15rem;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.req-list {
  display: grid;
  gap: 0.6rem;
  max-width: 62ch;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.req-list strong {
  color: var(--text);
}

.sysreq-specs {
  display: grid;
  grid-template-columns: minmax(7rem, auto) 1fr;
  gap: 0.55rem 1.1rem;
  margin: 0;
  font-size: 0.95rem;
}

.sysreq-specs dt {
  color: var(--text);
  font-weight: 700;
}

.sysreq-specs dd {
  margin: 0;
  color: var(--muted);
}

/* Sub-heading inside a section that already has a .section-heading. */
.sysreq-subhead {
  margin-top: 2.25rem;
}

.sysreq-subhead h3 {
  font-size: 1.3rem;
}

.sysreq-note {
  max-width: 68ch;
  margin: 1.5rem 0 0;
  border-left: 3px solid var(--line-strong);
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading p:not(.eyebrow) {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Three spec lists side by side get too narrow to read before the shared
   .feature-grid breakpoints kick in, so this one collapses on its own. */
@media (max-width: 1080px) {
  .feature-grid.three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .feature-grid.three-up {
    grid-template-columns: 1fr;
  }
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-dark);
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.report-viewer {
  max-width: 820px;
  height: min(85vh, 1060px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  box-shadow: var(--shadow-md);
}

.report-viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.report-actions {
  max-width: 820px;
  margin: 1rem auto 0;
  text-align: center;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.4rem;
}

.check-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #16a34a;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.check-list h3 {
  margin-bottom: 0.3rem;
  font-size: 1.16rem;
}

.check-list p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.check-list a {
  color: var(--accent);
  font-weight: 700;
}

.check-list a:hover,
.check-list a:focus-visible {
  text-decoration: underline;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.price-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px rgba(185, 28, 28, 0.12),
    0 18px 44px rgba(185, 28, 28, 0.18);
}

.price-badge {
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card.featured .price-badge {
  background: var(--accent);
  color: var(--white);
}

.price-card h3 {
  margin-bottom: 0.15rem;
  font-size: 1.35rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.5rem 0 0.15rem;
}

.price-value {
  color: var(--text);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.price-period {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.price-features {
  display: grid;
  gap: 0.5rem;
  margin: 1.15rem 0 1.6rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.98rem;
}

.price-features li {
  position: relative;
  padding-left: 1.5rem;
}

.price-features li::before {
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 900;
  content: "✓";
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.release-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-entry {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.75rem 1.6rem 2rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.release-entry:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.release-entry::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--line-strong);
  content: "";
}

.release-entry.is-current::before {
  background: var(--accent);
}

.release-entry.is-planned::before {
  background: repeating-linear-gradient(
    180deg,
    var(--line-strong) 0 10px,
    transparent 10px 18px
  );
}

.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.35rem;
}

.release-head h2 {
  margin-bottom: 0;
  font-size: 1.55rem;
}

.release-badge {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.release-badge.current {
  background: var(--accent);
  color: var(--white);
}

.release-badge.planned {
  border: 1px solid var(--line-strong);
}

.release-summary {
  max-width: 62ch;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 1rem;
}

.change-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 68ch;
}

.change-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.98rem;
}

.change-list strong {
  color: var(--text);
  font-weight: 800;
}

.change-tag {
  flex: 0 0 auto;
  min-width: 62px;
  padding: 0.16rem 0.45rem;
  border-radius: 4px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.change-tag.new {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.change-tag.improved {
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
}

.release-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.change-tag.fixed {
  background: rgba(185, 28, 28, 0.1);
  color: var(--accent-dark);
}

.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(242, 233, 223, 0.5), rgba(250, 248, 245, 0));
}

.site-footer-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 3rem 0 2rem;
}

.site-footer-copy {
  display: flex;
  align-items: center;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .brand img {
    height: 76px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }

  .signal-panel {
    max-width: 820px;
  }

  .contact-form,
  .result-panel {
    max-width: none;
  }

  .tutorial-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(1160px, calc(100% - 28px));
  }

  .blog-hero-frame {
    width: calc(100% + 28px);
    max-width: none;
    margin-left: -14px;
    margin-right: -14px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .site-header-inner {
    padding: 10px 14px 12px;
  }

  .brand img {
    height: 64px;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .hero {
    gap: 2rem;
    padding: 3rem 0 3.25rem;
  }

  .hero-copy > p:not(.eyebrow),
  .page-title > p,
  .download-panel p,
  .tutorial-body p {
    font-size: 1rem;
  }

  .button,
  .download-panel .button {
    width: 100%;
  }

  .section-band {
    padding: 3rem 0 4rem;
  }

  .page-title {
    padding: 3.25rem 0 1.5rem;
  }

  .app-hero {
    padding: 2.75rem 0 2rem;
  }

  .app-hero-actions .button {
    width: 100%;
  }

  .download-panel {
    padding: 1.35rem;
  }

  .contact-section {
    padding-bottom: 4rem;
  }

  .contact-form,
  .result-panel {
    padding: 1.35rem;
  }

  .social-section {
    padding: 0 0 1.75rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  /* Label above value. Two columns get too narrow to read here. */
  .sysreq-specs {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .sysreq-specs dd {
    margin-bottom: 0.6rem;
  }

  .report-viewer {
    height: min(75vh, 720px);
  }

  .step,
  .check-list li {
    padding: 1.1rem;
  }

  .release-entry {
    padding: 1.3rem 1.1rem 1.25rem 1.4rem;
  }

  .release-head h2 {
    font-size: 1.35rem;
  }

  .change-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .site-footer-inner {
    padding: 2.5rem 0 1.6rem;
  }
}

/* ==========================================================================
   Landing page (index.html)
   All selectors below are new and prefixed `lp-`. Nothing here redefines an
   existing selector, so the other pages cannot regress from this block.
   ========================================================================== */

.lp-hero,
.lp-section,
.lp-cta-inner {
  width: var(--container);
  margin: 0 auto;
}

/* Keep in-page anchor targets clear of the sticky header. */
.lp-section[id],
.lp-band[id] {
  scroll-margin-top: 120px;
}

/* --- Scroll reveal ------------------------------------------------------- */
/* Scoped to `.js` so that with JavaScript off every element stays visible. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --- Hero --------------------------------------------------------------- */

.lp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
  padding: clamp(2.75rem, 5vw, 4.75rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.lp-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.lp-hero-copy h1 {
  max-width: 20ch;
}

.lp-lede {
  max-width: 46ch;
  margin-bottom: 1.9rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.65;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.lp-reassure {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Soft frequency curves behind the hero copy. Decorative only. */
.lp-curves {
  position: absolute;
  top: 50%;
  left: -8%;
  z-index: 0;
  width: 78%;
  max-width: 780px;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}

.lp-curves path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.lp-curves .c1 {
  stroke: rgba(185, 28, 28, 0.28);
  animation: lp-drift 14s ease-in-out infinite;
}

.lp-curves .c2 {
  stroke: rgba(201, 112, 79, 0.3);
  animation: lp-drift 18s ease-in-out infinite reverse;
}

.lp-curves .c3 {
  stroke: rgba(107, 98, 89, 0.2);
  animation: lp-drift 22s ease-in-out infinite;
}

@keyframes lp-drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Light framed product shot. Deliberately not `.signal-panel`, which
   forces a dark background and fights the light palette. */
.lp-hero-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 26px 60px rgba(60, 48, 38, 0.14);
}

.lp-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Generic light section ---------------------------------------------- */

.lp-section {
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
}

.lp-section-head {
  max-width: 62ch;
  margin: 0 auto clamp(2rem, 3.5vw, 2.75rem);
  text-align: center;
}

.lp-section-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.lp-section-foot {
  margin: clamp(2rem, 3.5vw, 2.75rem) 0 0;
  text-align: center;
}

.lp-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(242, 233, 223, 0.55), rgba(250, 248, 245, 0));
}

/* --- Problem: old way vs. new way -------------------------------------- */

.lp-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.lp-compare-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.lp-compare-card.is-before {
  background: var(--surface-muted);
}

.lp-compare-card.is-after {
  background: var(--sage);
}

.lp-compare-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.85rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-compare-card.is-after .lp-compare-label {
  color: #3f6b46;
}

.lp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1.75rem;
  color: var(--muted);
  font-size: 1rem;
}

.lp-list li::before {
  position: absolute;
  top: 0.42rem;
  left: 0;
  font-weight: 700;
  content: "•";
}

.lp-compare-card.is-before .lp-list li::before {
  color: var(--line-strong);
}

.lp-compare-card.is-after .lp-list li::before {
  color: #4a8055;
  content: "✓";
}

.lp-timecost {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(107, 98, 89, 0.16);
  color: var(--text);
  font-weight: 700;
}

/* --- Solution: alternating step rows ----------------------------------- */

.lp-steps {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.lp-step {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

/* Alternate sides. The column widths swap too, so the screenshot always gets
   the wider track and every shot renders at the same size. */
.lp-step:nth-child(even) {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.lp-step:nth-child(even) .lp-step-copy {
  order: 2;
}

.lp-step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.lp-step-copy p {
  max-width: 52ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.lp-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.lp-shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(60, 48, 38, 0.13);
}

.lp-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-report-wrap {
  min-width: 0;
}

.lp-report {
  display: flex;
  flex-direction: column;
  height: min(70vh, 640px);
}

.lp-report:hover {
  transform: none;
}

.lp-report iframe {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: var(--surface);
}

.lp-report-link {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.lp-report-link a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
}

.lp-report-link a:hover,
.lp-report-link a:focus-visible {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* --- Who it's for ------------------------------------------------------- */

.lp-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.lp-audience-card {
  border: 1px solid rgba(107, 98, 89, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-soft);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.lp-audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(60, 48, 38, 0.12);
}

.lp-audience-card:nth-child(1) {
  background: var(--sand);
}

.lp-audience-card:nth-child(2) {
  background: var(--sage);
}

.lp-audience-card:nth-child(3) {
  background: var(--sky);
}

.lp-audience-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.lp-audience-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* --- Testimonials ------------------------------------------------------ */

.lp-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.lp-quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(1.5rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-soft);
}

.lp-quote blockquote {
  margin: 0 0 1.2rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
}

.lp-quote-mark {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--clay);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 0.6;
}

.lp-quote figcaption {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.lp-quote-name {
  display: block;
  color: var(--text);
  font-weight: 700;
}

/* --- Final CTA --------------------------------------------------------- */

.lp-cta {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      120% 100% at 50% 0%,
      rgba(242, 233, 223, 0.85),
      rgba(250, 248, 245, 0) 70%
    );
}

.lp-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(3.25rem, 6vw, 5rem) 0;
}

.lp-cta-copy h2 {
  max-width: 18ch;
}

.lp-cta-copy > p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.lp-cta-sub {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lp-cta-sub a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 700;
}

.lp-cta-sub a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.lp-cta-mark {
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.lp-cta-mark img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 900px) {
  .lp-hero,
  .lp-step,
  .lp-step:nth-child(even),
  .lp-cta-inner,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .lp-report {
    height: min(70vh, 560px);
  }

  .lp-step:nth-child(even) .lp-step-copy {
    order: 0;
  }

  .lp-curves {
    left: -14%;
    width: 100%;
    opacity: 0.35;
  }

  .lp-cta-mark {
    order: -1;
    max-width: 340px;
  }
}

@media (max-width: 560px) {
  .lp-actions .button {
    width: 100%;
  }

  .lp-section-head {
    text-align: left;
  }

  .lp-curves {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   Stereo Image Visualization
   Light site chrome around a white plot. Image traces are black ink on white.
   --------------------------------------------------------------------------- */

.stereo-image {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 4.5rem;
}

.si-band-bass {
  --si-band: #3f6ea8;
}

.si-band-mid {
  --si-band: #2f8f6d;
}

.si-band-high {
  --si-band: var(--clay);
}

.si-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
}

.si-panel + .si-panel {
  margin-top: 1.25rem;
}

/* Transport ---------------------------------------------------------------- */

.si-transport {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.si-file {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.si-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.si-file:focus-within {
  border-color: var(--text);
  box-shadow: var(--focus-ring);
}

.si-play:disabled {
  transform: none;
  box-shadow: none;
  background: var(--line-strong);
  color: var(--surface);
  cursor: not-allowed;
}

.si-status {
  display: flex;
  flex: 1 1 12rem;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.si-spinner {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: si-spin 0.7s linear infinite;
}

@keyframes si-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The picker is disabled mid-load so a second pick cannot race the first. */
.si-file.is-busy {
  opacity: 0.55;
  cursor: progress;
}

.si-file.is-busy input {
  cursor: progress;
}

.si-filename {
  flex: 1 1 12rem;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.si-seek {
  width: 100%;
  margin-top: 1.25rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.si-seek:disabled {
  cursor: default;
  opacity: 0.5;
}

.si-time {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.si-formats {
  margin: 1rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.si-formats strong {
  color: var(--text);
  font-weight: 700;
}

.si-error {
  display: none;
  margin: 0.9rem 0 0;
  border: 1px solid rgba(185, 28, 28, 0.28);
  border-radius: 8px;
  background: rgba(185, 28, 28, 0.06);
  padding: 0.7rem 0.85rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.si-error.is-shown {
  display: block;
}

.si-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Stage -------------------------------------------------------------------- */

.si-stage {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  border-radius: 12px;
  background: #ffffff;
}

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

/* Band lanes --------------------------------------------------------------- */

.si-bands {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.si-band-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.si-band-row span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.si-lane {
  position: relative;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  box-shadow: inset 0 0 0 1px var(--line);
}

.si-lane::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: var(--line-strong);
}

.si-mark {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 18px;
  height: 16px;
  border-radius: var(--radius-pill);
  background: var(--si-band, var(--accent));
  opacity: 0.85;
  transform: translateX(-50%);
  transition: left 90ms linear, width 90ms linear;
}

.si-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-left: 5.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Reading guide ------------------------------------------------------------ */

.si-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.si-guide .feature-icon {
  background: color-mix(in srgb, var(--si-band, var(--accent)) 16%, var(--surface-muted));
  color: var(--si-band, var(--accent));
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .si-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .si-panel {
    padding: 1.2rem;
  }

  .si-stage {
    aspect-ratio: 4 / 3;
  }

  .si-band-row {
    grid-template-columns: 3.4rem minmax(0, 1fr);
  }

  .si-scale {
    padding-left: 4.15rem;
  }

  .si-transport .button {
    width: 100%;
  }

  .si-status {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .si-mark {
    transition: none;
  }

  /* A ring that cannot spin reads as broken; the status text still says
     "Decoding…", so hide the ring rather than freeze it. */
  .si-spinner {
    display: none;
  }
}
