:root {
  --bg: #111827;
  --bg-deep: #0b111c;
  --card: #1c2433;
  --card-soft: #202b3d;
  --accent: #f6b100;
  --positive: #47ff47;
  --negative: #ff5252;
  --text: #f4f7fa;
  --muted: #aab4c3;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.36);
  --radius: 12px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(246, 177, 0, 0.08), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(71, 255, 71, 0.05), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(17, 24, 39, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(17, 24, 39, 0.94);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 152px;
  min-height: 44px;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.brand-line {
  display: block;
  width: 64px;
  height: 6px;
  margin-bottom: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c7ff 0%, #ffb000 100%);
  box-shadow:
    0 0 8px rgba(34, 199, 255, 0.34),
    0 0 8px rgba(255, 176, 0, 0.24);
}

.brand-wordmark {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.btn-primary {
  border-color: rgba(246, 177, 0, 0.62);
  background: var(--accent);
  color: #101722;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(246, 177, 0, 0.42);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.hero,
.section,
.final-cta {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 80px 0 64px;
  align-items: center;
}

.section {
  padding: 88px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
}

.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.hero-copy,
.section-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6.5vw, 5.8rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.hero-subtitle,
.section-copy > p,
.wide-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 32px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.screenshot-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: 0 28px 90px var(--shadow);
}

.screenshot-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame {
  aspect-ratio: 980 / 637;
  box-shadow: 0 0 0 1px var(--border), 0 36px 110px rgba(246, 177, 0, 0.16), 0 30px 90px var(--shadow);
}

.cropped-frame {
  aspect-ratio: 1.34;
}

.cropped-frame img {
  object-position: 50% 34%;
}

.portrait-frame {
  width: min(100%, 560px);
  justify-self: center;
  aspect-ratio: 561 / 629;
}

.settings-frame {
  max-height: 680px;
}

.settings-frame img {
  object-position: 50% 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.card-grid.compact {
  margin-top: 26px;
}

.card,
.price-card,
.checkout-callout {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--card);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.card {
  padding: 26px;
}

.card:hover,
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 177, 0, 0.26);
}

.card p,
.feature-stack p,
.price-card li {
  color: var(--muted);
}

.wide-copy {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
}

.feature-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feature-stack article {
  padding-left: 18px;
  border-left: 3px solid rgba(246, 177, 0, 0.72);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(71, 255, 71, 0.08), rgba(246, 177, 0, 0.08)), var(--card);
}

.check-grid,
.check-list {
  display: grid;
  gap: 12px;
}

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

.check-grid span,
.check-list span {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-weight: 700;
}

.tutorial-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.tutorial-section .section-heading {
  max-width: 860px;
}

.tutorial-section .section-heading p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.tutorial-section .section-heading .btn {
  margin-top: 20px;
}

.tutorial-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 42px;
}

.tutorial-steps {
  display: grid;
  gap: 14px;
}

.tutorial-steps article {
  position: relative;
  padding: 22px 22px 22px 76px;
  border: 1px solid rgba(246, 177, 0, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 177, 0, 0.09), rgba(255, 255, 255, 0.02)),
    var(--card);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.tutorial-steps span {
  position: absolute;
  left: 22px;
  top: 24px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.tutorial-steps h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.tutorial-steps p {
  margin: 0;
  color: var(--muted);
}

.tutorial-showcase {
  display: grid;
  gap: 16px;
}

.tutorial-main-frame {
  aspect-ratio: 980 / 637;
}

.tutorial-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tutorial-mini-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.tutorial-mini-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tutorial-mini-grid figcaption {
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.tutorial-hero,
.tutorial-note,
.tutorial-toc,
.tutorial-article {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.tutorial-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(246, 177, 0, 0.1), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(71, 255, 71, 0.055), transparent 24rem),
    var(--bg);
}

.tutorial-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding: 72px 0 48px;
}

.tutorial-hero-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
}

.tutorial-hero-frame {
  aspect-ratio: 980 / 637;
}

.tutorial-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(246, 177, 0, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(246, 177, 0, 0.1), rgba(255, 255, 255, 0.025));
  color: var(--muted);
}

.tutorial-note strong {
  flex: 0 0 auto;
  color: var(--text);
}

.tutorial-toc {
  position: sticky;
  top: 76px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0 18px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(18px);
}

.tutorial-toc a {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.tutorial-toc a:hover {
  border-color: rgba(246, 177, 0, 0.38);
  color: var(--text);
}

.tutorial-article {
  display: grid;
  gap: 28px;
  padding: 32px 0 96px;
}

.tutorial-block,
.quick-start-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--card);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.tutorial-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.tutorial-block.with-image {
  align-items: center;
}

.tutorial-block h2,
.quick-start-panel h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.tutorial-block p,
.quick-start-panel li {
  color: var(--muted);
}

.tutorial-block > div > p:not(.eyebrow) {
  font-size: 1.03rem;
}

.instruction-grid,
.frequency-grid {
  display: grid;
  gap: 14px;
}

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

.instruction-grid div,
.frequency-grid article,
.callout-panel,
.decision-list,
.order-strip span {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.instruction-grid div {
  padding: 18px;
}

.instruction-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.instruction-grid p,
.frequency-grid p,
.decision-list p,
.callout-panel p {
  margin: 0;
}

.tutorial-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.tutorial-list li {
  margin-bottom: 8px;
}

.callout-panel,
.decision-list {
  padding: 22px;
}

.callout-panel {
  border-color: rgba(246, 177, 0, 0.25);
  background: linear-gradient(135deg, rgba(246, 177, 0, 0.1), rgba(255, 255, 255, 0.02));
}

.callout-panel.warning {
  border-color: rgba(255, 82, 82, 0.28);
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.09), rgba(255, 255, 255, 0.02));
}

.decision-list {
  display: grid;
  gap: 12px;
}

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

.order-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.order-strip span {
  padding: 12px 14px;
  color: var(--text);
  font-weight: 800;
}

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

.frequency-grid article {
  padding: 20px;
}

.frequency-grid h3 {
  margin-bottom: 4px;
}

.frequency-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.tutorial-checks {
  margin-top: 20px;
}

.quick-start-panel {
  background:
    linear-gradient(135deg, rgba(246, 177, 0, 0.13), rgba(71, 255, 71, 0.05)),
    var(--card);
}

.quick-start-panel ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0 0 28px;
  padding-left: 22px;
}

.quick-start-panel li {
  padding-left: 4px;
}

.check-grid span::before,
.check-list span::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--positive);
  border-bottom: 2px solid var(--positive);
  transform: translateY(-58%) rotate(-45deg);
}

.check-list {
  margin-top: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.metric {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.metric strong {
  display: block;
  color: var(--positive);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 32px;
}

.price-card.pro {
  border-color: rgba(246, 177, 0, 0.42);
  background: linear-gradient(180deg, rgba(246, 177, 0, 0.12), rgba(255, 255, 255, 0.015)), var(--card);
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(246, 177, 0, 0.35);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin: 10px 0 20px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.price-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
}

.limitations li::before {
  width: 10px;
  height: 2px;
  border: 0;
  background: var(--negative);
  transform: translateY(-50%);
}

.beta-section {
  padding-top: 52px;
  padding-bottom: 52px;
}

.beta-panel {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(246, 177, 0, 0.28);
  background:
    radial-gradient(circle at 0 0, rgba(246, 177, 0, 0.13), transparent 22rem),
    linear-gradient(135deg, rgba(246, 177, 0, 0.08), rgba(71, 255, 71, 0.035)),
    var(--card);
}

.beta-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.beta-copy .button-row {
  margin-top: 26px;
}

.beta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.beta-points span {
  min-height: 64px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.beta-form {
  display: grid;
  gap: 15px;
  align-self: stretch;
  padding: clamp(22px, 3vw, 30px);
  background: rgba(11, 17, 28, 0.76);
}

.beta-form-head {
  margin-bottom: 2px;
}

.beta-form-head h3 {
  margin-bottom: 5px;
  font-size: 1.18rem;
}

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

.beta-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.beta-field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.beta-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.beta-field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

.beta-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  padding: 0 14px;
  outline: none;
}

.beta-field input:focus {
  border-color: rgba(246, 177, 0, 0.58);
  box-shadow: 0 0 0 3px rgba(246, 177, 0, 0.12);
}

.beta-field input::placeholder {
  color: rgba(170, 180, 195, 0.74);
}

.beta-submit {
  width: 100%;
  cursor: pointer;
}

.beta-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.beta-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.beta-form-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.92rem;
}

.beta-form-status.is-success {
  border-color: rgba(71, 255, 71, 0.3);
  color: #baffba;
}

.beta-form-status.is-error {
  border-color: rgba(255, 82, 82, 0.32);
  color: #ffb4b4;
}

.checkout-section {
  padding-top: 42px;
}

.checkout-callout {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px;
  text-align: center;
}

.checkout-callout p {
  color: var(--muted);
}

.checkout-page {
  min-height: 100vh;
}

.checkout-nav {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.checkout-hero {
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - 76px - 96px);
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  align-items: center;
}

.checkout-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 177, 0, 0.11), rgba(71, 255, 71, 0.045)),
    var(--card);
  box-shadow: 0 30px 100px var(--shadow);
}

.checkout-copy h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.checkout-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.checkout-copy code {
  color: var(--text);
}

.checkout-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.72);
}

.checkout-price {
  margin-bottom: 22px;
}

.checkout-price span,
.checkout-note {
  color: var(--muted);
}

.checkout-price strong {
  display: block;
  margin-top: 8px;
  font-size: 3.4rem;
  line-height: 1;
}

.checkout-features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.checkout-features li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  color: var(--muted);
}

.checkout-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--positive);
  border-bottom: 2px solid var(--positive);
  transform: translateY(-58%) rotate(-45deg);
}

.checkout-panel .checkout-button {
  width: 100%;
}

.checkout-button {
  cursor: pointer;
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.checkout-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.checkout-download {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkout-download a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-error {
  margin: 14px 0 0;
  color: #ffb4b4;
  font-size: 0.9rem;
}

.content-page {
  min-height: 100vh;
}

body.content-page .content-shell {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 56px 0 88px;
}

body.content-page .content-panel {
  max-width: 100%;
  padding: 0;
}

body.content-page .content-panel h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 4vw, 3.15rem) !important;
  line-height: 1.04 !important;
}

body.content-page .content-panel h2 {
  margin-bottom: 8px;
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
}

body.content-page .content-panel p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

body.content-page .content-panel a:not(.btn) {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.content-page .content-date {
  margin: -2px 0 16px;
  color: var(--accent) !important;
  font-size: 0.86rem !important;
  font-weight: 700;
}

body.content-page .content-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text) !important;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem) !important;
  line-height: 1.55 !important;
}

body.content-page .content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

body.content-page .content-grid article,
body.content-page .content-stack article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
}

body.content-page .content-stack {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-top: 30px;
}

body.content-page .content-stack article {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

body.content-page .content-stack article h2 {
  margin: 0;
  color: var(--text);
}

body.content-page .content-stack article p {
  margin-bottom: 0;
}

body.content-page .content-stack article > div {
  display: grid;
  gap: 12px;
}

body.content-page .support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

body.content-page .content-path {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text) !important;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 64px 0 96px;
}

.final-content p {
  color: var(--muted);
}

.download-meta {
  max-width: 560px;
  font-size: 0.94rem;
}

.download-alt {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.download-alt a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.final-frame {
  aspect-ratio: 980 / 637;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner strong {
  color: var(--text);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section-grid,
  .reverse,
  .final-cta,
  .split-band,
  .tutorial-layout,
  .tutorial-hero,
  .tutorial-block,
  .beta-panel,
  .checkout-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

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

  .content-stack article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-copy {
    max-width: 760px;
  }

  .beta-points {
    grid-template-columns: 1fr;
  }

  .split-band {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .nav-shell {
    min-height: 68px;
  }

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

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(17, 24, 39, 0.98);
    box-shadow: 0 20px 60px var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .checkout-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links .btn {
    margin-top: 6px;
  }

  .section {
    padding: 64px 0;
  }

  .hero,
  .section,
  .final-cta {
    width: min(100% - 24px, var(--max));
  }

  .card-grid.two,
  .check-grid,
  .instruction-grid,
  .frequency-grid,
  .quick-start-panel ol,
  .tutorial-mini-grid,
  .beta-field-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .tutorial-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .tutorial-toc {
    position: static;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .btn,
  .price-card .btn,
  .checkout-callout .btn {
    width: 100%;
  }

  .footer-inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
