:root {
  --ink: #15221d;
  --paper: #f3f0e9;
  --lime: #c9ff36;
  --mint: #b8e3cf;
  --muted: #67726d;
  --line: rgba(21, 34, 29, .17);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: min(1180px, calc(100% - 3rem)); margin: 0 auto; min-height: 82px; }
.brand { font-size: 1.7rem; font-weight: 850; letter-spacing: -.08em; text-decoration: none; }
.brand span { color: #6f9b00; }
nav { display: flex; gap: 1.4rem; font-size: .9rem; font-weight: 650; }
nav a { text-decoration: none; border-bottom: 1px solid transparent; }
nav a:hover, nav a:focus-visible { border-color: currentColor; }
.header-cta { padding: .65rem .95rem; background: var(--ink); color: white; text-decoration: none; border-radius: 100px; font-size: .85rem; font-weight: 700; }

.hero { width: min(1180px, calc(100% - 3rem)); margin: 1.5rem auto 4.5rem; padding: clamp(3rem, 8vw, 7rem) clamp(1.4rem, 7vw, 6.4rem); background: var(--mint); border-radius: 2rem; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 42vw; height: 42vw; max-width: 470px; max-height: 470px; border: 2.2rem solid var(--lime); border-radius: 50%; right: -14%; top: -35%; opacity: .8; }
.hero > * { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1rem; color: #48725d; font-size: .74rem; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3 { margin-top: 0; line-height: 1.03; letter-spacing: -.055em; }
h1, h2 { font-family: var(--display); font-weight: 500; }
h1 { max-width: 780px; margin-bottom: 1.35rem; font-size: clamp(3rem, 7vw, 6.6rem); }
h1 em { color: #4c7400; font-style: italic; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.4rem); }
.hero-copy { max-width: 640px; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 3.1rem; padding: .8rem 1.2rem; border-radius: 100px; text-decoration: none; font-size: .94rem; font-weight: 800; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: #32483f; }
.button-secondary { border: 1px solid var(--ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 4.5rem; font-size: .83rem; font-weight: 700; }
.trust-row span::before { content: "•"; margin-right: .45rem; color: #5c8700; }

.notice { display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem 1rem; margin: 0 auto; padding: .95rem 1.4rem; background: var(--lime); color: #263800; text-align: center; font-size: .9rem; }
.console-promo { display: flex; align-items: end; justify-content: space-between; gap: 2rem; width: min(1050px, calc(100% - 3rem)); margin: 4.5rem auto 0; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 1.1rem; background: #f9f7f1; }
.console-promo h2 { margin-bottom: .75rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.console-promo p:not(.eyebrow) { max-width: 570px; margin-bottom: 0; color: var(--muted); }
.console-promo .button { flex: 0 0 auto; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 8vw, 9rem); width: min(1050px, calc(100% - 3rem)); margin: 7rem auto; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.steps span, .feature-number { color: #668d00; font-size: .78rem; font-weight: 850; letter-spacing: .1em; }
.steps strong { font-size: 1.05rem; }
.steps p, .feature-grid p, .status-card p { margin: .25rem 0 0; color: var(--muted); font-size: .94rem; }
code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .88em; }

.code-section { padding: 6.2rem max(1.5rem, calc((100% - 1050px) / 2)); background: var(--ink); color: #edf5ee; }
.code-section .eyebrow { color: var(--lime); }
.section-heading { max-width: 650px; }
.section-heading p:not(.eyebrow) { color: #bdc9c0; }
.code-card { position: relative; max-width: 900px; margin-top: 2rem; border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; background: #0c1511; overflow: auto; }
pre { margin: 0; padding: 2.1rem 1.4rem 1.4rem; font-size: .88rem; line-height: 1.7; white-space: pre-wrap; }
.copy-button { position: absolute; right: .75rem; top: .65rem; border: 1px solid rgba(255,255,255,.28); border-radius: .4rem; padding: .3rem .55rem; background: transparent; color: white; cursor: pointer; font: inherit; font-size: .74rem; }
.copy-button:hover { background: rgba(255,255,255,.12); }
.fine-print { color: #bdc9c0; font-size: .82rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { min-height: 290px; padding: clamp(1.8rem, 5vw, 4.5rem); background: var(--paper); }
.feature-grid h3 { margin: 2.8rem 0 .7rem; font-family: var(--display); font-size: 2rem; font-weight: 500; }

.status-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 8vw, 9rem); width: min(1050px, calc(100% - 3rem)); margin: 7rem auto; }
.status-card { border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem; background: #f9f7f1; }
.status-line { display: grid; grid-template-columns: .75rem 1fr auto; align-items: center; gap: .6rem; padding-top: .25rem; }
.status-line b { color: #507600; font-size: .76rem; }
.status-line + p { margin: .8rem 0 1.7rem 1.35rem; }
.status-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #7fb000; }
.status-dot-wait { background: #d8b857; }

.payment-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2.5rem, 7vw, 7rem); width: min(1050px, calc(100% - 3rem)); margin: 7rem auto; }
.payment-intro > p:not(.eyebrow) { max-width: 400px; color: var(--muted); }
.payment-demo { border: 1px solid var(--line); border-radius: 1.2rem; padding: clamp(1.2rem, 4vw, 2.2rem); background: #f9f7f1; box-shadow: 0 1rem 2.4rem rgba(21, 34, 29, .05); }
.payment-disclaimer { margin: 0; padding: .75rem .9rem; border-radius: .55rem; background: #fff2c7; color: #5a4300; font-size: .86rem; }
.payment-progress { display: flex; gap: .65rem; flex-wrap: wrap; margin: 1.15rem 0 .55rem; color: #668d00; font-size: .76rem; font-weight: 800; letter-spacing: .03em; }
.payment-progress span + span::before { content: "→"; margin-right: .65rem; color: var(--muted); }
.payment-status { min-height: 1.5rem; margin: 0 0 1.1rem; color: var(--muted); font-size: .9rem; }
.payment-step[hidden] { display: none !important; }
.payment-step h3 { margin-bottom: 1.1rem; font-family: var(--display); font-size: 2rem; font-weight: 500; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.plan-card { position: relative; padding: 1.2rem; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.plan-card-featured { border-color: #88af16; }
.plan-card h4 { margin: 0; font-size: 1.1rem; }
.plan-card p:not(.plan-price):not(.plan-badge) { min-height: 3rem; color: var(--muted); font-size: .84rem; }
.plan-price { margin: .45rem 0; color: #385400; font-size: 1.32rem; font-weight: 850; letter-spacing: -.04em; }
.plan-price small { color: var(--muted); font-size: .75rem; font-weight: 650; letter-spacing: 0; }
.plan-badge { position: absolute; top: .8rem; right: .8rem; margin: 0; color: #5c8700; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.payment-button, .payment-link-button { min-height: 2.75rem; border: 0; border-radius: .5rem; padding: .65rem .85rem; background: var(--ink); color: white; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 800; }
.payment-button:hover:not(:disabled) { background: #32483f; }
.payment-button:disabled, .payment-link-button:disabled { cursor: not-allowed; opacity: .55; }
.payment-button-outline { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.payment-button-outline:hover:not(:disabled) { background: #edf0e8; }
.payment-button-muted { background: #65726c; }
.payment-link-button { min-height: auto; padding: .65rem 0; background: transparent; color: var(--ink); text-decoration: underline; }
.payment-link-button:hover:not(:disabled) { background: transparent; color: #4c7400; }
.confirmation-card, .result-card { padding: 1.2rem; border-radius: .8rem; background: white; border: 1px solid var(--line); }
.confirmation-card p { color: var(--muted); font-size: .9rem; }
.confirmation-card strong { display: block; font-size: 1.2rem; }
.payment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.1rem; }
.payment-processing { min-height: 185px; display: grid; place-content: center; text-align: center; }
.payment-processing p { max-width: 390px; margin: 0; color: var(--muted); }
.spinner { width: 2.1rem; height: 2.1rem; margin: 0 auto 1rem; border: .28rem solid #d8e5dc; border-top-color: #648e00; border-radius: 50%; animation: payment-spin .8s linear infinite; }
.result-card { border-left: .35rem solid #658e00; }
.result-card.is-failed { border-left-color: #a85a4a; }
.result-card.is-cancelled { border-left-color: #b38b22; }
@keyframes payment-spin { to { transform: rotate(360deg); } }

.download-section { margin: 0; padding: 7rem 1.5rem; background: var(--lime); text-align: center; }
.download-section h2 { margin-bottom: .8rem; }
.download-section > p:not(.eyebrow):not(.fine-print) { max-width: 570px; margin: 0 auto 1.7rem; }
.download-section .fine-print { margin: 1.3rem auto 0; max-width: 630px; color: #435500; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem; width: min(1180px, calc(100% - 3rem)); min-height: 100px; margin: 0 auto; color: var(--muted); font-size: .78rem; }
footer p { margin: 0; }

@media (max-width: 760px) {
  .site-header { min-height: 70px; width: min(100% - 2rem, 1180px); }
  nav { display: none; }
  .header-cta { font-size: .76rem; }
  .hero { width: min(100% - 2rem, 1180px); border-radius: 1.4rem; margin-top: .5rem; }
  .split-section, .status-section, .payment-section { grid-template-columns: 1fr; margin: 4.5rem auto; }
  .console-promo { align-items: stretch; flex-direction: column; width: min(100% - 2rem, 1050px); margin-top: 3.2rem; }
  .console-promo .button { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .plan-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: .45rem; padding: 1.7rem 0; }
}
