:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --panel: #fffdfa;
  --panel-soft: #f0ede6;
  --panel-strong: #e6e1d7;
  --text: #1d1e24;
  --muted: #5d5f69;
  --accent: #343aa4;
  --accent-strong: #252b86;
  --accent-soft: #e9e9fb;
  --accent-ink: #ffffff;
  --border: #d5d0c7;
  --focus: #a84800;
  --warning: #7f4400;
  --warning-soft: #f8e8cf;
  --shadow: 0 16px 42px rgba(29, 30, 36, 0.07);
  --shadow-small: 0 8px 22px rgba(29, 30, 36, 0.07);
  --radius: 1.25rem;
  --content: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111217;
    --panel: #1a1b22;
    --panel-soft: #22242d;
    --panel-strong: #2b2e39;
    --text: #f3f1eb;
    --muted: #bbb8b0;
    --accent: #b8bcff;
    --accent-strong: #d0d2ff;
    --accent-soft: #292b4b;
    --accent-ink: #17182b;
    --border: #3a3c48;
    --focus: #ffb45f;
    --warning: #ffbe68;
    --warning-soft: #3b2d1d;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --shadow-small: 0 8px 26px rgba(0, 0, 0, 0.2);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-width {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.site-header {
  padding: 3.5rem 0 2rem;
}

.product-header {
  padding-top: 1.2rem;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.brand-link {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-note {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  letter-spacing: -0.05em;
}

.product-hero h1 {
  max-width: 13ch;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.15rem;
}

p,
li {
  max-width: 75ch;
}

.lede {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
}

.section-intro {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  color: var(--text);
  font-weight: 680;
  text-decoration: none;
}

.site-nav a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.product-header .site-nav {
  justify-content: center;
  margin-top: 1rem;
}

section {
  margin-bottom: 1.4rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  scroll-margin-top: 1rem;
}

.section-plain {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-grid,
.card-grid,
.platform-grid,
.output-grid,
.audience-grid,
.sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.app-card,
.feature-card,
.output-card,
.audience-card,
.sample-card {
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--panel-soft);
}

.app-card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  align-items: flex-start;
}

.app-card.featured {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
  background: var(--accent-soft);
}

.app-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.18rem;
}

.app-label {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-card p,
.app-card span {
  color: var(--muted);
}

.app-card .text-link {
  margin-top: auto;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 1rem;
  padding: 0;
  list-style: none;
}

.badge-list li,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.3rem;
  font-weight: 750;
}

.summary {
  padding: 1rem 1.1rem;
  border-left: 0.3rem solid var(--accent);
  border-radius: 0.35rem 0.8rem 0.8rem 0.35rem;
  background: var(--panel-soft);
}

.summary p {
  margin: 0.35rem 0;
}

ul,
ol {
  padding-left: 1.35rem;
}

.site-footer {
  padding: 1rem 0 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
}

.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  color: var(--accent-ink);
  box-shadow: var(--shadow-small);
}

.button.secondary {
  background: var(--panel);
  color: var(--accent-strong);
}

.button[aria-disabled="true"],
.button.disabled {
  cursor: not-allowed;
  border-color: var(--border);
  background: var(--panel-strong);
  color: var(--muted);
  box-shadow: none;
  opacity: 0.88;
  pointer-events: none;
}

.trust-line {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.product-hero {
  padding: clamp(2.25rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.25rem);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.product-hero h1 {
  max-width: 23ch;
  margin-inline: auto;
}

.product-hero .lede,
.product-hero .fine-print,
.product-hero .trust-line {
  margin-inline: auto;
}

.product-hero .button-row,
.product-hero .platform-note {
  justify-content: center;
}

.platform-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.platform-note strong,
.platform-note span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.platform-note strong {
  background: var(--accent);
  color: var(--accent-ink);
}

.platform-note span {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
}

.device-stage {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.device-placeholder {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  background: var(--panel);
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow-small);
}

.device-placeholder::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 16px, color-mix(in srgb, var(--accent) 6%, transparent) 16px 17px);
  content: "";
  pointer-events: none;
}

.device-placeholder span {
  position: relative;
  max-width: 17ch;
  padding: 1rem;
  font-size: 0.82rem;
  font-weight: 720;
}

.device-mac {
  inset: 2rem 2.25rem 7rem;
  border: 0.65rem solid color-mix(in srgb, var(--text) 82%, transparent);
  border-radius: 0.9rem;
}

.device-ipad {
  right: 1.2rem;
  bottom: 1.25rem;
  width: 34%;
  height: 40%;
  border: 0.45rem solid color-mix(in srgb, var(--text) 82%, transparent);
  border-radius: 1rem;
}

.device-iphone {
  bottom: 1rem;
  left: 1.6rem;
  width: 20%;
  height: 38%;
  border: 0.42rem solid color-mix(in srgb, var(--text) 82%, transparent);
  border-radius: 1.1rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0;
  counter-reset: problem-step;
  list-style: none;
}

.problem-grid li {
  min-height: 8.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--panel-soft);
  counter-increment: problem-step;
}

.problem-grid li::before {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  content: counter(problem-step, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.closing-line {
  margin: 1.4rem 0 0;
  color: var(--accent-strong);
  font-size: 1.18rem;
  font-weight: 780;
}

.workflow-pipeline {
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 0.5rem;
  align-items: center;
  justify-content: start;
  margin: 1.4rem 0 1.8rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
}

.pipeline-node {
  min-width: 8.25rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--panel-soft);
  text-align: center;
  font-weight: 760;
}

.pipeline-arrow {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 850;
}

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

.workflow-card {
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: var(--panel-soft);
}

.workflow-card h3 {
  margin-top: 0;
}

.workflow-number {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.workflow-card ul {
  margin-bottom: 0;
}

.demo-placeholder {
  display: grid;
  min-height: 16rem;
  margin-top: 1.5rem;
  place-items: center;
  padding: 1.5rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--border));
  border-radius: 1rem;
  background: var(--panel-soft);
  text-align: center;
}

.demo-placeholder strong {
  display: block;
  font-size: 1.12rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--panel-soft);
  font-weight: 680;
}

.local-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--accent-soft);
}

.founder-note {
  max-width: 70ch;
  margin: 1.4rem 0 0;
  padding: 1.1rem 1.2rem;
  border-left: 0.28rem solid var(--accent);
  background: var(--panel-soft);
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 700;
}

.local-card h3 {
  margin-top: 0;
}

.output-card h3,
.audience-card h3,
.sample-card h3,
.feature-card h3 {
  margin-top: 0;
}

.output-card p,
.audience-card p,
.sample-card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
}

table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  background: var(--panel);
}

caption {
  padding: 1rem;
  color: var(--muted);
  text-align: left;
}

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

th {
  background: var(--panel-soft);
  font-size: 0.9rem;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.check {
  color: var(--accent-strong);
  font-weight: 780;
}

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

.pricing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.4rem;
  padding: 1.4rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: 1rem;
  background: var(--accent-soft);
}

.price {
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.pricing-card p {
  margin: 0.3rem 0 0;
}

.coming-soon {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 0.78rem;
  font-weight: 780;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

details {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--panel-soft);
}

summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 760;
}

details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

.legal-note {
  margin-top: 1.2rem;
  padding: 1rem;
  border-left: 0.25rem solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.final-cta {
  padding-block: clamp(2rem, 6vw, 4rem);
  background: var(--panel);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-inline: auto;
}

.final-cta .button-row {
  justify-content: center;
}

@media (max-width: 58rem) {
  .split-layout {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: 25rem;
  }

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

@media (max-width: 36rem) {
  .site-header {
    padding-top: 2rem;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1.5rem;
  }

  section {
    border-radius: 1rem;
  }

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

  .site-nav a {
    justify-content: center;
    text-align: center;
  }

  .product-hero {
    padding: 2rem 1.15rem;
  }

  .device-stage {
    min-height: 20rem;
  }

  .device-mac {
    inset: 1.25rem 1.25rem 5.5rem;
  }

  .problem-grid,
  .workflow-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .problem-grid li {
    min-height: 0;
  }

  .pricing-card {
    grid-template-columns: 1fr;
  }

  .pricing-card .button {
    width: 100%;
  }
}

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

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