:root {
  --paper: #f4efe4;
  --paper-deep: #e7dfd0;
  --card: #fffaf0;
  --ink: #142a27;
  --muted: #5b6965;
  --teal: #0e6a60;
  --teal-dark: #094c45;
  --orange: #e95e2a;
  --yellow: #f3c557;
  --line: rgba(20, 42, 39, 0.2);
  --mono: "DM Mono", ui-monospace, monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }

.site-header,
footer {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}
.wordmark b { color: var(--orange); }
.mark {
  width: 35px;
  height: 35px;
  padding: 8px;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  background: var(--teal);
  box-shadow: 2px 2px 0 var(--orange);
  transform: rotate(-2deg);
}
.mark i {
  height: 3px;
  display: block;
  border-radius: 2px;
  background: #f8f2e6;
}
.mark i:nth-child(2) { width: 70%; }
.mark i:nth-child(3) { width: 85%; }
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.86rem;
  font-weight: 650;
}
nav a { text-decoration: none; }
nav a:not(.nav-buy):hover { color: var(--orange); }
.nav-buy {
  padding: 0.62rem 1.05rem;
  border: 1px solid var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 5vw;
  align-items: center;
}
.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--teal);
  font: 500 0.7rem var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 28px;
  height: 2px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
  background: var(--orange);
}
.hero h1 {
  max-width: 620px;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.072em;
}
.lede {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
}
.hero-actions {
  margin: 1.8rem 0 1.7rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.button {
  min-height: 52px;
  padding: 0.88rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 0;
  font: 700 0.9rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.button.primary {
  color: white;
  background: var(--teal);
  box-shadow: 5px 5px 0 var(--orange);
}
.button.primary:hover {
  background: var(--teal-dark);
  box-shadow: 7px 7px 0 var(--orange);
  transform: translate(-2px, -2px);
}
.button:disabled { opacity: 0.68; cursor: wait; }
.text-link {
  font-size: 0.84rem;
  font-weight: 700;
  text-underline-offset: 5px;
}
.trial-callout {
  max-width: 510px;
  padding: 13px 16px;
  display: flex;
  gap: 8px;
  flex-direction: column;
  border-left: 3px solid var(--orange);
  background: rgba(255, 250, 240, 0.7);
  color: var(--muted);
  font-size: 0.82rem;
}
.trial-callout b { color: var(--ink); }

.real-product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #101312;
  box-shadow: 14px 14px 0 rgba(20, 42, 39, 0.16), -14px -14px 0 var(--yellow);
  transform: rotate(0.8deg);
}
.real-product-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.real-product-shot figcaption {
  padding: 10px 13px;
  border-top: 1px solid #44504d;
  color: #b8c3bf;
  background: var(--ink);
  font: 0.64rem var(--mono);
}

.purchase-section {
  padding: 92px max(32px, calc((100vw - 1180px) / 2));
  color: #f1eee5;
  background: var(--ink);
}
.purchase-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 9vw;
  align-items: center;
}
.buy-copy .kicker { color: #79cbb2; }
.buy-copy h2,
.section-heading h2,
.faq h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}
.buy-copy ul {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #61716c;
}
.buy-copy li {
  padding: 0.72rem 0;
  border-bottom: 1px solid #61716c;
  color: #b9c4c0;
  font-size: 0.9rem;
}
.buy-copy li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--yellow);
  font-weight: 800;
}

.price-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  box-shadow: 13px 13px 0 var(--orange);
}
.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}
.price-top b {
  padding: 4px 8px;
  border: 1px solid var(--teal);
  color: var(--teal);
  font: 0.6rem var(--mono);
}
.plan-choices {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.plan-choice {
  padding: 12px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.plan-choice b { font-size: 0.88rem; }
.plan-choice span {
  color: var(--muted);
  font: 0.66rem var(--mono);
  text-transform: uppercase;
}
.plan-choice.active {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
}
.price {
  margin: 25px 0;
  display: flex;
  align-items: center;
  line-height: 1;
}
.price sup {
  align-self: flex-start;
  margin-top: 14px;
  color: var(--orange);
  font: 1.4rem var(--mono);
}
.price strong {
  font-size: 5.7rem;
  letter-spacing: -0.08em;
}
.price small {
  margin-left: 16px;
  color: var(--muted);
  font: 0.62rem/1.5 var(--mono);
  text-transform: uppercase;
}
.rule { height: 1px; background: var(--line); }
.no-sub {
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.no-sub strong { color: var(--ink); }
.checkout { width: 100%; }
.checkout-message {
  min-height: 1.4em;
  margin: 0.8rem 0 0;
  color: #b83220;
  font-size: 0.76rem;
}
.stripe-line {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 0.64rem;
}
.stripe-line strong { margin-left: 3px; color: #635bff; font-size: 0.76rem; }
.lock { color: var(--teal); }

.section-pad { padding: 90px max(32px, calc((100vw - 1180px) / 2)); }
.after-purchase { background: var(--paper-deep); }
.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 4vw;
  align-items: end;
}
.after-steps {
  margin: 55px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--ink);
}
.after-steps li {
  min-height: 150px;
  padding: 27px 28px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}
.after-steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.after-steps b {
  color: var(--orange);
  font: 0.7rem var(--mono);
}
.after-steps span { max-width: 290px; font-weight: 700; line-height: 1.4; }
.privacy-note {
  margin: 30px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.84rem;
}

.faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8vw;
  background: #ece5d8;
}
.questions { border-top: 1px solid var(--ink); }
.questions details { border-bottom: 1px solid var(--ink); }
.questions summary {
  position: relative;
  padding: 23px 40px 23px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}
.questions summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--orange);
  font: 1.2rem var(--mono);
}
.questions details[open] summary::after { content: "−"; }
.questions p {
  max-width: 720px;
  padding-right: 40px;
  color: var(--muted);
  font-size: 0.88rem;
}
footer { min-height: 118px; font-size: 0.74rem; }
footer > p { margin: 0; color: var(--muted); font-family: var(--mono); }

/* Checkout success and error pages */
.success-body {
  min-height: 100vh;
  padding: 30px;
  display: grid;
  place-items: center;
  background: var(--ink);
}
.success-shell { width: min(760px, 100%); }
.success-shell > .wordmark { margin-bottom: 28px; color: white; }
.receipt-card {
  padding: clamp(32px, 7vw, 70px);
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--orange);
}
.success-state h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.success-state > p:not(.kicker) { color: var(--muted); }
.success-check {
  width: 58px;
  height: 58px;
  margin-bottom: 25px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  box-shadow: 4px 4px 0 var(--yellow);
  font-size: 1.5rem;
}
.loader {
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border: 3px solid var(--paper-deep);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.license-box {
  margin: 30px 0;
  display: flex;
  border: 1px solid var(--ink);
  background: white;
}
.license-box code {
  flex: 1;
  padding: 18px;
  font: 500 clamp(0.78rem, 2.5vw, 1rem) var(--mono);
}
.license-box button {
  padding: 0 18px;
  border: 0;
  border-left: 1px solid var(--ink);
  color: white;
  background: var(--teal);
  font: 700 0.75rem var(--sans);
  cursor: pointer;
}
.success-actions { display: flex; align-items: center; gap: 2rem; }
.success-actions > a:not(.button) { font-size: 0.8rem; }
.keep-note { margin: 28px 0 0; font-size: 0.72rem; }
.success-state[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 940px) {
  .hero,
  .purchase-inner,
  .faq { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .real-product-shot { width: min(820px, calc(100% - 12px)); margin-top: 35px; }
  .purchase-inner { gap: 60px; }
  .price-card { width: min(500px, calc(100% - 13px)); }
  .faq { gap: 50px; }
}

@media (max-width: 680px) {
  .site-header,
  footer,
  .hero { width: min(calc(100% - 32px), 1180px); }
  .site-header { min-height: 70px; }
  .site-header nav { gap: 0; }
  .site-header nav > a:not(.nav-buy) { display: none; }
  .hero { padding: 55px 0 70px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-actions,
  .success-actions { align-items: flex-start; flex-direction: column; }
  .section-heading { grid-template-columns: 1fr; }
  .after-steps { grid-template-columns: 1fr; }
  .after-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .purchase-section,
  .section-pad { padding-block: 72px; }
  .price-card { padding: 25px 21px; }
  .price strong { font-size: 4.9rem; }
  .plan-choice { align-items: flex-start; flex-direction: column; gap: 4px; }
  footer { padding-block: 32px; flex-wrap: wrap; gap: 22px; }
  footer > p { order: 3; width: 100%; }
  .license-box { flex-direction: column; }
  .license-box button { padding: 12px; border-top: 1px solid var(--ink); border-left: 0; }
}

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