:root {
    --ink: #181b1e;
    --charcoal: #13171a;
    --paper: #f5f2ec;
    --gold: #d6a64f;
    --light: #f0d292;
    --line: #ddd8ce;
    font-family: Inter, Arial, sans-serif;
    color: #fff;
    background: var(--charcoal);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
p { max-width: 63ch; margin: 0 0 20px; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.14; letter-spacing: -.035em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.7rem); text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 4vw, 2.45rem); }
h3 { font-size: 1.22rem; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #ac7829; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 12px; z-index: 2; background: #fff; color: #111; padding: 8px; }
.skip:focus { top: 8px; }
.site-head { border-bottom: 1px solid #ffffff24; background: #0d0f11; }
.head-inner, nav, .actions { display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; }
.head-inner { justify-content: space-between; padding-block: 12px; }
.brand img { display: block; width: 136px; height: 70px; object-fit: contain; }
nav a { font-size: .95rem; font-weight: 700; }
.hero, .paper, .support { padding-block: clamp(42px, 7vw, 88px); }
.hero { background: radial-gradient(ellipse at 80% 0, #392c19, transparent 65%), #111518; }
.hero p, .support p { color: #d7d8d8; }
.hero p { font-size: clamp(1rem, 2vw, 1.24rem); }
.back { display: inline-block; margin-bottom: 20px; color: var(--light); font-weight: 700; }
.hero-grid, .support-grid, .grid { display: grid; gap: clamp(16px, 4vw, 34px); }
.hero-grid, .support-grid, .two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-grid { align-items: center; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.image-panel, .product img { background: #e9e6de; }
.image-panel { border-radius: 11px; overflow: hidden; }
.image-panel img, .product img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.image-panel img[hidden] { display: none; }
.image-panel:has([data-autotuner-offer]:not([hidden])) { max-width: 460px; width: 100%; justify-self: center; background: #14171b; }
.image-panel img[data-autotuner-offer] { height: auto; aspect-ratio: 4 / 5; }
.offer { padding: 14px 18px; margin-bottom: 20px; border: 1px solid #856331; border-radius: 11px; background: #1c1a16; }
.offer p { margin: 0; font-size: .94rem; }
.offer strong { color: var(--light); font-size: 1.35rem; }
.facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 24px; }
.facts dt { color: #79501e; font-weight: 700; }
.facts dd { margin: 0; font-weight: 600; }
.buying .button { margin-top: 16px; }
.packages .detail .button { margin-top: 16px; }
.buying p + p { margin-top: 10px; }
.paper + .packages { padding-top: 0; }
.paper { background: var(--paper); color: var(--ink); }
.paper p { color: #4d5153; }
.paper h2 + .grid, .grid + p { margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.product { display: flex; flex-direction: column; }
.product > div, .detail { padding: clamp(18px, 4vw, 30px); }
.detail p { margin-bottom: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 17px; border: 1px solid currentColor; border-radius: 6px; font-weight: 700; text-decoration: none; }
.primary { color: #18130b; background: var(--gold); border-color: transparent; }
.button:hover { text-decoration: underline; }
details { border-top: 1px solid #ffffff30; padding: 12px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; }
footer { border-top: 1px solid #ffffff26; padding-block: 28px; }
footer p { margin: 0 0 8px; }
footer a + a { margin-inline-start: 12px; }

@media (max-width: 720px) {
    .hero-grid, .support-grid, .two, .three { grid-template-columns: minmax(0, 1fr); }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .head-inner, nav { column-gap: 16px; }
    .brand img { width: 105px; height: 55px; }
}
