:root {
    color-scheme: light;
    --paper: #f7f7f0;
    --white: #fffefa;
    --ink: #191d17;
    --dark: #171a16;
    --muted: #565d4e;
    --line: #daddcf;
    --acid: #def66a;
    --olive: #637620;
    --font: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--font); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.05em; }
h1 { font-size: clamp(2.85rem, 7.6vw, 5.4rem); font-weight: 850; }
h2 { font-size: clamp(2rem, 4.3vw, 3.3rem); font-weight: 800; }
h3 { font-size: 1.55rem; font-weight: 790; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #65791e; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--acid); }
.wrap { width: min(1160px, 100% - clamp(32px, 9vw, 112px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); z-index: 4; background: var(--acid); color: var(--ink); padding: .6rem; }
.skip:focus { transform: none; }
.site-header, .site-footer { background: var(--dark); color: var(--paper); }
.site-header { border-bottom: 1px solid #3c4135; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: 70px; }
.brand { display: inline-block; font-size: 1.74rem; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.09em; text-decoration: none; padding-right: .15em; }
.brand span { color: var(--acid); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem, 3vw, 2rem); }
nav a { font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .24em; }
.nav-action { color: var(--acid); }
.hero { isolation: isolate; position: relative; display: grid; align-items: center; min-height: clamp(510px, 51vw, 655px); overflow: hidden; background: #22251e; color: #fffefa; }
.hero-image, .hero::after { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 26%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #11140ee8, #11140e7d 46%, transparent 78%); }
.hero-inner { padding-block: 5rem; }
.eyebrow, .edition { color: var(--olive); font-size: .73rem; font-weight: 780; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: var(--acid); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(3.6rem, 8.7vw, 8rem); line-height: .92; letter-spacing: -.057em; }
.hero em { color: var(--acid); font-style: italic; }
.hero h1 + p { max-width: 37ch; margin-top: 1.55rem; color: #eff1e6; font-size: clamp(1rem, 1.8vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.button { display: inline-flex; text-align: center; align-items: center; justify-content: center; gap: .65rem; min-height: 46px; padding: .66rem 1.1rem; border: 1px solid transparent; border-radius: 7px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.primary { background: var(--acid); color: var(--ink); border-color: #cadf65; }
.primary:hover { background: #e8fc95; }
.ghost { border-color: #ffffff66; color: #fff; background: #161a1680; }
.ghost:hover { background: #252b21; }
.outline { border-color: #aeb5a2; color: var(--ink); }
.outline:hover { background: #ebeedf; border-color: #798364; }
.section { padding-block: clamp(3rem, 7vw, 5.4rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 1.65rem; }
.section-heading p, .page-heading > p:not(.eyebrow), .feature-grid p, .recovery-strip p { color: var(--muted); max-width: 47ch; }
.version-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.version-card { padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.version-card.featured { background: #edf3d4; border-color: #b8c989; }
.version-card h3 { font-size: clamp(1.75rem, 3.6vw, 2.85rem); margin: .55rem 0 .85rem; }
.version-card h3 span { color: var(--olive); }
.card-price { font-weight: 780; }
.card-price small { color: var(--muted); font-weight: 550; margin-left: .15rem; }
.version-link { display: flex; justify-content: space-between; align-items: center; gap: .35rem; margin-top: .95rem; padding-top: .8rem; border-top: 1px solid #0002; font-size: .9rem; font-weight: 770; text-decoration: none; }
.version-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.feature-strip { background: #ecefe3; border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-grid article { border-top: 2px solid #a6b47c; padding-top: 1rem; }
.feature-grid p, .recovery-strip p, .page-heading > p:not(.eyebrow) { margin-top: .55rem; }
.text-link, .back { font-size: .95rem; font-weight: 750; }
.recovery-strip { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
.recovery-strip h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.footer-inner { padding-block: 1.7rem; }
.footer-inner p { color: #c2c9b8; font-size: .85rem; margin-top: .35rem; }
.inner { min-height: 66vh; }
.narrow { max-width: 660px; }
.back { display: inline-block; margin-bottom: 1.2rem; text-underline-offset: .2em; color: var(--muted); }
.page-heading { margin-bottom: 1.65rem; }
.page-heading .eyebrow { margin-bottom: .55rem; }
.plan-grid { display: grid; grid-template-columns: 1fr 1.12fr; align-items: start; gap: 1rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.15rem, 3vw, 2rem); }
.panel h2 { font-size: clamp(1.6rem, 3.3vw, 2.4rem); }
.panel p + p, .panel h2 + p { margin-top: .55rem; }
.premium { background: #f0f4df; border-color: #bcc796; }
.plan-title { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.plan-title p { font-size: 1.45rem; font-weight: 800; }
.features-list { margin: .95rem 0 1.25rem; padding-left: 1.1rem; }
.features-list li + li { margin-top: .3rem; }
.stack { display: grid; gap: 1rem; }
.stack .button { justify-self: start; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 750; }
.field small { color: var(--muted); }
.field input { min-width: 0; width: 100%; font: inherit; min-height: 46px; border: 1px solid #aeb5a2; border-radius: 6px; background: #fff; padding: .55rem .75rem; color: var(--ink); }
.check { display: flex; align-items: baseline; gap: .45rem; }
.check input { accent-color: #677b29; }
.terms { margin-top: 1rem; padding: 1rem; border-top: 1px solid var(--line); }
summary { font-weight: 720; cursor: pointer; }
.notice { margin-top: 1rem; border: 1px solid #b9c895; background: #edf3d9; border-radius: 7px; padding: .7rem .9rem; overflow-wrap: anywhere; }
.stack .notice { margin-top: 0; }
.error { border-color: #e0ac9d; background: #fff0ea; color: #852e1c; }
.license { font: 750 clamp(1rem, 4vw, 1.35rem)/1.5 ui-monospace, monospace; }
.confirmation-actions { margin-block-start: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.gallery a { display: block; overflow: hidden; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.gallery a:hover { border-color: #798364; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #eaede2; }
.gallery span { display: block; padding: .65rem .8rem; font-weight: 730; }
@media (max-width: 760px) {
    .hero-image { object-position: 65% center; }
    .hero::after { background: linear-gradient(90deg, #11140ef0, #11140e65 85%); }
    .hero { min-height: 515px; }
    .hero-inner { padding-block: 3.25rem; }
    .version-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading, .recovery-strip { align-items: flex-start; flex-direction: column; }
    .plan-grid, .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .header-inner { min-height: 64px; gap: .5rem; }
    .header-inner nav { gap: .58rem; }
    .header-inner nav a { font-size: .76rem; }
    .brand { font-size: 1.48rem; }
    .hero h1 { font-size: clamp(2.95rem, 13.7vw, 3.65rem); }
    .version-card { padding: .8rem; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}
.gallery span.gallery-arrow { display: inline; padding: 0; color: var(--olive); }
