:root {
    --background: #faf8f5;
    --surface: #f2efe9;
    --surface-bright: #fffefd;
    --text: #3d3530;
    --text-secondary: #7a6f68;
    --line: #e8e2da;
    --primary: #4c735a;
    --lavender: #d4bad0;
    --radius-card: 28px;
    --radius-button: 12px;
    --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at 86% 8%, rgba(212, 186, 208, 0.48), transparent 22rem), radial-gradient(circle at 4% 42%, rgba(137, 163, 142, 0.18), transparent 24rem), var(--background);
    font-family: "Nunito", system-ui, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand__logo { width: 38px; height: 38px; }
.brand__text { font-size: 1rem; }
.topbar__link { color: var(--primary); font-size: 0.92rem; font-weight: 800; }
.topbar__link:hover, .topbar__link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.topbar__actions { display: inline-flex; align-items: center; gap: 18px; }
.topbar__language { color: var(--text-secondary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.topbar__language:hover, .topbar__language:focus-visible { color: var(--primary); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); align-items: center; gap: clamp(32px, 7vw, 100px); min-height: min(760px, calc(100vh - 78px)); padding: clamp(54px, 8vw, 102px) 4.5% clamp(58px, 9vw, 116px); }
.hero__copy { max-width: 620px; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; letter-spacing: 0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.205rem, 4.06vw, 3.99rem); line-height: 0.99; }
h1 span { display: block; color: var(--primary); }
h2 { font-size: clamp(1.54rem, 2.8vw, 2.8rem); line-height: 1.06; }
.hero__lede { max-width: 50ch; margin: 24px 0 0; color: var(--text-secondary); font-size: 1.08rem; line-height: 1.65; }
.hero__actions { margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 20px; border-radius: var(--radius-button); color: #fff; background: var(--primary); box-shadow: 0 10px 22px rgba(76, 115, 90, 0.16); font-weight: 800; transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.button:hover, .button:focus-visible { background: #3d6249; box-shadow: 0 14px 26px rgba(76, 115, 90, 0.22); transform: translateY(-2px); }
.offer, .hero__note { margin: 15px 0 0; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.55; }
.offer { display: flex; flex-wrap: wrap; gap: 5px 12px; }
.offer strong { color: var(--text); }

.hero__visual { position: relative; display: grid; justify-items: center; min-height: 500px; padding: 20px; }
.hero__glow { position: absolute; top: 50%; left: 50%; width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(212, 186, 208, 0.72), rgba(212, 186, 208, 0) 70%); transform: translate(-50%, -50%); }
.hero__visual img { position: relative; width: min(100%, 280px); border-radius: 29px; filter: drop-shadow(0 28px 26px rgba(61, 53, 48, 0.18)); transform: rotate(3deg); }

.intro { max-width: 780px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) 0 clamp(58px, 10vw, 126px); text-align: center; }
.intro > p:last-child { max-width: 58ch; margin: 22px auto 0; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }
.features { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 8vw, 100px); align-items: start; padding: clamp(34px, 6vw, 68px); border: 1px solid rgba(255, 255, 255, 0.72); border-radius: var(--radius-card); background: linear-gradient(135deg, var(--surface-bright), var(--surface)); box-shadow: 0 18px 48px rgba(61, 53, 48, 0.06); }
.features__copy .eyebrow { margin-top: 7px; }
.features__list { display: grid; gap: 0; }
.features__list article { position: relative; padding: 22px 0 22px 48px; border-top: 1px solid var(--line); }
.features__list article:last-child { border-bottom: 1px solid var(--line); }
.feature-number { position: absolute; top: 24px; left: 0; color: var(--primary); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; }
.features h3 { font-size: 1.04rem; font-weight: 800; letter-spacing: -0.02em; }
.features p { margin: 7px 0 0; color: var(--text-secondary); line-height: 1.65; }

.showcase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr); align-items: center; gap: clamp(42px, 10vw, 140px); padding: clamp(78px, 12vw, 156px) 8%; }
.showcase__copy { max-width: 510px; }
.showcase__copy > p:last-child { margin: 20px 0 0; color: var(--text-secondary); line-height: 1.7; }
.showcase__image { position: relative; justify-self: center; margin: 0; padding: 20px; }
.showcase__image::before { position: absolute; inset: 12% 0; z-index: -1; border-radius: var(--radius-card); background: var(--lavender); content: ""; opacity: 0.4; transform: rotate(-5deg); }
.showcase__image img { width: min(100%, 270px); border-radius: 29px; box-shadow: 0 22px 42px rgba(61, 53, 48, 0.16); transform: rotate(3deg); }

.closing { padding: clamp(54px, 9vw, 102px) 9%; border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--primary); color: #fff; text-align: center; }
.closing .eyebrow { color: #d9eadb; }
.closing h2 { max-width: 700px; margin: 0 auto; }
.closing__lede { max-width: 50ch; margin: 20px auto 28px; color: rgba(255, 255, 255, 0.78); line-height: 1.65; }
.closing .button { color: var(--primary); background: #fff; box-shadow: none; }
.closing .button:hover, .closing .button:focus-visible { background: #f2efe9; }
.closing > p:last-child { margin: 14px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 0.86rem; }
.footer { padding: 28px 0 38px; text-align: center; }
.footer a { color: var(--text-secondary); font-size: 0.86rem; }
.footer a:hover, .footer a:focus-visible { color: var(--primary); }

.store-dialog { width: min(calc(100% - 32px), 660px); padding: 0; border: 1px solid var(--line); border-radius: 20px; color: var(--text); background: var(--surface-bright); box-shadow: 0 26px 80px rgba(61, 53, 48, 0.22); }
.store-dialog::backdrop { background: rgba(61, 53, 48, 0.35); backdrop-filter: blur(4px); }
.store-dialog__content { position: relative; padding: clamp(28px, 5vw, 46px); text-align: center; }
.store-dialog h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.store-dialog__content > p:not(.eyebrow) { max-width: 43ch; margin: 18px auto 0; color: var(--text-secondary); line-height: 1.6; }
.store-dialog__close { position: absolute; top: 12px; right: 15px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--text); background: transparent; cursor: pointer; font: 2rem/1 system-ui, sans-serif; }
.store-dialog__close:hover, .store-dialog__close:focus-visible { background: var(--surface); }
.store-dialog__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.store-option { display: grid; justify-items: center; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color 160ms ease, transform 160ms ease; }
.store-option:hover, .store-option:focus-visible { border-color: var(--primary); transform: translateY(-2px); }
.store-option img { width: min(100%, 180px); height: auto; aspect-ratio: 1; align-self: start; padding: 8px; background: #fff; image-rendering: pixelated; }
.store-option strong { margin-top: 7px; }
.store-option span { color: var(--text-secondary); font-size: 0.82rem; }

@media (max-width: 760px) {
    .page-shell { width: min(calc(100% - 32px), var(--container)); }
    .topbar { padding: 16px 0; }
    .brand__logo { width: 34px; height: 34px; }
    .hero { grid-template-columns: 1fr; min-height: auto; padding: 62px 0 70px; }
    .hero__visual { min-height: 370px; margin-top: -12px; }
    .hero__visual img { width: min(100%, 225px); }
    .intro { padding: 36px 4px 68px; }
    .features, .showcase { grid-template-columns: 1fr; }
    .features { gap: 34px; padding: 30px 24px; }
    .showcase { gap: 42px; padding: 88px 4% 96px; }
    .showcase__image { grid-row: 1; }
    .showcase__image img { width: min(100%, 220px); }
    .store-dialog__options { grid-template-columns: 1fr; }
}

.tester-offer {
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #d5ddd1;
    border-radius: 20px;
    background: #f3f6ee;
}

.tester-offer[hidden] { display: none; }
