:root {
  color-scheme: light;
  --brand: #008b7d;
  --primary: #00766a;
  --primary-hover: #006158;
  --primary-soft: #e6f5f3;
  --ink: #18252f;
  --muted: #5f6b72;
  --border: #dce4e3;
  --surface: #ffffff;
  --danger: #b42318;
  --focus: #ffbf47;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f7faf9; color: var(--ink); }
button, input { font: inherit; }
a { color: var(--primary); }

.page-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 0.9fr) minmax(540px, 1.1fr); }
.value-panel { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; color: #fff; background: linear-gradient(145deg, #072d31 0%, #0a3d40 54%, #006f65 100%); }
.value-panel::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -230px; bottom: -230px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.brand { display: inline-flex; align-items: center; width: fit-content; padding: 10px 14px; background: #fff; border-radius: 4px; box-shadow: 0 12px 32px rgba(0,0,0,.13); }
.brand img { display: block; width: clamp(210px, 22vw, 286px); height: auto; aspect-ratio: 838 / 247; object-fit: contain; }
.value-copy { margin: auto 0; max-width: 620px; padding: 70px 0; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.value-panel .eyebrow { color: #7ddbd1; }
h1, h2 { font-family: Outfit, Inter, sans-serif; }
h1 { margin: 0; max-width: 650px; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.06; letter-spacing: -.025em; }
.intro { margin: 24px 0 28px; max-width: 590px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.65; }
.benefits { padding: 0; margin: 0; list-style: none; display: grid; gap: 16px; }
.benefits li { display: flex; gap: 12px; font-weight: 650; }
.benefits span { color: #7ddbd1; }
.trust-note { display: grid; gap: 5px; max-width: 600px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: rgba(255,255,255,.68); }
.trust-note strong { color: #fff; }

.form-panel { padding: clamp(24px, 5vw, 72px); display: grid; place-items: center; background: radial-gradient(circle at top right, rgba(0,139,125,.12), transparent 37%), #f7faf9; }
.form-card { width: min(100%, 680px); min-height: 550px; padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 24px 70px rgba(20, 55, 54, .10); }
.choice-grid { display: grid; gap: 14px; }
.choice-card { width: 100%; min-height: 132px; display: grid; align-content: center; gap: 9px; padding: 22px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.choice-card:hover { border-color: var(--primary); background: var(--primary-soft); }
.choice-title { display: flex; justify-content: space-between; gap: 16px; color: var(--primary); font-family: Outfit, Inter, sans-serif; font-size: 21px; font-weight: 700; }
.choice-description { max-width: 48ch; color: var(--muted); font-size: 14px; line-height: 1.5; }
.choice-back { margin: 0 0 12px; padding: 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0 0 38px; }
.steps li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 12px; text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 14px; left: calc(50% + 21px); width: calc(100% - 42px); height: 1px; background: var(--border); }
.steps span { position: relative; z-index: 1; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: #edf1f2; font-weight: 800; }
.steps .active { color: var(--ink); }
.steps .active span { background: var(--primary); color: white; }
.steps .complete span { background: var(--primary-soft); color: var(--primary); }
.form-heading { margin-bottom: 26px; }
.form-heading h2 { margin: 0 0 8px; font-size: clamp(25px, 3vw, 33px); letter-spacing: -.02em; }
.form-heading p { margin: 0; color: var(--muted); line-height: 1.55; }
.centered { text-align: center; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.field input { width: 100%; border: 1px solid var(--border); border-radius: 4px; padding: 13px 14px; color: var(--ink); background: var(--surface); outline: none; }
.field input:hover { border-color: #a8b5bb; }
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21,107,103,.14); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field small, .consent-error { min-height: 17px; color: var(--danger); font-size: 12px; font-weight: 500; }
.duration-field { grid-column: 1 / -1; min-width: 0; padding: 0; margin: 0; border: 0; }
.duration-field legend { margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.duration-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.duration-options label { cursor: pointer; }
.duration-options input { position: absolute; opacity: 0; pointer-events: none; }
.duration-options span { min-height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 4px; color: var(--ink); background: var(--surface); font-size: 14px; font-weight: 650; }
.duration-options input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.duration-options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.duration-field small { display: block; min-height: 17px; margin-top: 7px; color: var(--danger); font-size: 12px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.consent input { margin-top: 2px; accent-color: var(--primary); }
.consent-error { display: block; margin: 4px 0 12px 26px; }
.turnstile-wrap:not(:empty) { margin-top: 20px; }
.primary-button, .secondary-button, .copy-button, .text-button { border: 0; border-radius: 4px; cursor: pointer; font-weight: 600; text-decoration: none; }
.primary-button { min-height: 48px; padding: 12px 18px; display: flex; justify-content: center; align-items: center; gap: 12px; background: var(--primary); color: #fff; }
form > .primary-button { width: 100%; }
.primary-button:hover { background: var(--primary-hover); }
.secondary-button { min-height: 48px; padding: 12px 18px; background: #fff; color: var(--ink); border: 1px solid var(--border); }
.secondary-button:hover { background: #f5f8f7; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button[disabled] { opacity: .6; cursor: wait; }
.button-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 22px; }
.text-button { margin: 16px auto 0; display: block; padding: 8px; background: transparent; color: var(--primary); }
.code-field { max-width: 300px; margin: 0 auto; }
.code-field input { text-align: center; font-size: 28px; letter-spacing: .26em; font-weight: 800; }
.status-message { padding: 12px 14px; margin: -18px 0 22px; border-radius: 10px; background: #fff0ef; border: 1px solid #f6c6c2; color: var(--danger); font-size: 14px; }
.status-message--info { background: var(--primary-soft); border-color: var(--primary); color: var(--ink); }
.success-icon { margin: 0 auto 18px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--primary); font-size: 28px; font-weight: 800; }
.activation-code-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 24px 0 10px; }
.activation-code-row code { padding: 15px 18px; border: 1px dashed var(--primary); border-radius: 10px; background: var(--primary-soft); color: var(--ink); font-size: clamp(22px, 4vw, 30px); font-weight: 850; letter-spacing: .12em; }
.copy-button { min-height: 46px; padding: 10px 14px; background: #e9eeed; color: var(--ink); }
.expiry-note, .help-note, .security-note { color: var(--muted); font-size: 13px; text-align: center; }
.demo-expiration { margin: 18px 0 0; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--primary-soft); color: var(--ink); font-size: 14px; font-weight: 700; text-align: center; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.download-button { text-align: center; }
.security-note { margin: 16px 0 0; }
.build-label { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; text-align: center; letter-spacing: .02em; }

@media (max-width: 900px) {
  .page-shell { grid-template-columns: 1fr; }
  .value-panel { padding: 18px 24px; }
  .brand { padding: 6px 10px; }
  .brand img { width: 180px; }
  .value-copy { padding: 18px 0 12px; }
  .value-copy h1 { font-size: clamp(27px, 4vw, 36px); line-height: 1.12; }
  .intro { margin: 10px 0 0; font-size: 14px; line-height: 1.45; }
  .benefits { display: none; }
  .trust-note { display: grid; gap: 2px; padding-top: 10px; font-size: 11px; line-height: 1.35; }
  .form-panel { padding: 16px 16px 40px; }
}

@media (max-width: 540px) {
  .form-card { padding: 22px 18px; min-height: auto; border-radius: 16px; }
  .field-grid, .download-grid { grid-template-columns: 1fr; }
  .steps b { font-size: 11px; }
  .steps { margin-bottom: 28px; }
  .activation-code-row { align-items: stretch; flex-direction: column; }
  .choice-card { min-height: 118px; padding: 18px; }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --primary: #69d6ca;
    --brand: #69d6ca;
    --primary-hover: #8fe3d7;
    --primary-soft: #173b39;
    --ink: #eef7f5;
    --muted: #b3c3c1;
    --border: #3a4d4d;
    --surface: #182424;
    --danger: #ffb4ab;
    --focus: #ffd166;
  }
  body { background: #101919; }
  .value-panel { background: linear-gradient(145deg, #061f22 0%, #082f32 58%, #075149 100%); }
  .form-panel { background: radial-gradient(circle at top right, rgba(116,214,201,.13), transparent 37%), #101919; }
  .form-card { box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
  .field input, .secondary-button { background: #121d1d; }
  .secondary-button:hover { background: #213130; }
  .status-message { background: #3a1d1d; border-color: #72403c; }
  .status-message--info { background: var(--primary-soft); border-color: var(--primary); color: var(--ink); }
  .copy-button { background: #293837; }
  .steps span { background: #293635; }
  .primary-button, .success-icon { background: #1c6a65; color: #fff; }
  .primary-button:hover { background: #155651; }
  .steps .active span { background: #1c6a65; color: #fff; }
}
