:root {
    color-scheme: light;
    --ink: #142820;
    --forest: #122b25;
    --cloud: #f5f7f3;
    --mint: #e6f0e5;
    --line: #d5dfd5;
    --lime: #d4f491;
    --muted: #4c6055;
    --paper: #fff;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--cloud);
    color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.6; }
section[id] { scroll-margin-top: 1.75rem; }
:focus-visible { outline: .18rem solid #398a70; outline-offset: .25rem; }
.shell { width: min(100% - 4rem, 74rem); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .75rem 1rem; background: var(--lime); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header, .hero, .site-footer { background: var(--forest); color: var(--paper); }
.header-inner, .footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    min-height: 5rem;
}
.header-inner { border-bottom: 1px solid #ffffff29; }
.brand {
    width: max-content;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 750;
    letter-spacing: -.055em;
}
.brand > span:last-child { color: var(--lime); }
.brand-mark {
    position: relative;
    display: inline-block;
    width: 1.7rem;
    height: 1.7rem;
    margin-right: .65rem;
    border: .35rem solid var(--lime);
    border-radius: 50% 50% 50% .22rem;
    transform: rotate(-15deg);
}
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
nav a, .footer-inner > a:last-child { padding-block: .55rem; text-decoration: none; font-size: .95rem; color: #e1e9e1; }
nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; text-underline-offset: .3rem; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.7rem);
    padding-block: clamp(2.7rem, 7vw, 6rem);
}
.hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 6vw, 5.85rem);
    line-height: .99;
    font-weight: 720;
    letter-spacing: -.075em;
}
.hero h1 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.065em; }
.hero p { max-width: 30rem; margin-top: 1.55rem; color: #dbe8df; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1.15;
    object-fit: cover;
    object-position: 54% 50%;
    border-radius: 1.35rem;
    background: #30483a;
}
.button {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 3.1rem;
    margin-top: 1.65rem;
    padding: .7rem 1.25rem;
    border-radius: .6rem;
    text-decoration: none;
    font-weight: 700;
}
.button-lime { background: var(--lime); color: var(--forest); }
.button-lime:hover { background: #e2ffaf; }
.button-dark { background: var(--forest); color: var(--paper); }
.button-dark:hover { background: #21483a; }

.products, .plans { padding-block: clamp(3.3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.062em; line-height: 1.08; }
.product-grid, .plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.75rem; }
.product, .plan {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
    padding: clamp(1.25rem, 2.6vw, 1.9rem);
}
.product { display: flex; flex-direction: column; align-items: flex-start; }
.product h3, .plan h3 { margin-bottom: .55rem; font-size: 1.5rem; letter-spacing: -.04em; line-height: 1.2; }
.product p, .plan > p:last-child, .plan-intro { color: var(--muted); }
.product > p { margin-bottom: 1.2rem; }
.product-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.1rem;
    border-radius: .75rem;
    font-weight: 800;
    letter-spacing: -.025em;
}
.mark-loyalty { background: #deedb9; color: #354719; }
.mark-cycle { background: #dcebe8; color: #1c504b; }
.mark-quote { background: #f2e8dc; color: #6d4b2d; }
.card-link, summary { font-weight: 700; text-decoration: underline; text-underline-offset: .24rem; }
.card-link, .product details { margin-top: auto; }
.card-link:hover, summary:hover { color: #305d50; }
summary { cursor: pointer; }
details p { padding-top: .75rem; }

.feature { background: var(--mint); }
.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    padding-block: clamp(3.25rem, 7vw, 5.7rem);
}
.product-name { margin-bottom: .65rem; color: #315444; font-weight: 750; }
.feature-copy h2 { max-width: 17ch; }
.feature-list { display: grid; gap: 1rem; margin: 1.55rem 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; gap: .12rem; }
.feature-list span { color: var(--muted); line-height: 1.55; }
.card-preview {
    display: grid;
    justify-items: center;
    gap: 1.15rem;
    padding: clamp(1.2rem, 4vw, 2.75rem);
    border-radius: 1.25rem;
    background: #cbded1;
}
.preview-card {
    width: min(100%, 24rem);
    padding: clamp(1rem, 3vw, 1.8rem);
    border: 1px solid #b8cabb;
    border-top: .32rem solid #557659;
    border-radius: .95rem;
    background: #fffefa;
    box-shadow: 0 .6rem 1.6rem #17372b1a;
}
.preview-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.preview-brand span { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .45rem; background: #315444; color: white; font-size: .85rem; }
.preview-title { display: block; margin-block: 1.25rem .8rem; font-size: 1.4rem; line-height: 1.12; letter-spacing: -.03em; }
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; margin-bottom: .85rem; }
.stamps i { aspect-ratio: 1; max-width: 3rem; border: 1px solid #b1c2a8; border-radius: .52rem; background: #f2f6ec; }
.stamps i:nth-child(-n+4) { background: #315444; border-color: #315444; position: relative; }
.stamps i:nth-child(-n+4)::after {
    content: "";
    position: absolute;
    width: 42%;
    height: 25%;
    left: 29%;
    top: 33%;
    border-bottom: .15rem solid var(--lime);
    border-left: .15rem solid var(--lime);
    transform: rotate(-45deg);
}
.preview-card p { font-size: .93rem; color: var(--muted); }
figcaption { text-align: center; font-size: .9rem; color: #365244; }

.plan-intro { margin-top: .7rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin: .7rem 0 .85rem; }
.price strong { color: var(--forest); font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.06em; line-height: 1; }
.price span { font-size: .93rem; color: var(--muted); }
.plan-brand { background: #edf4e4; border-color: #9ead8b; }
.footer-inner { min-height: 6rem; }

@media (max-width: 52rem) {
    .shell { width: min(100% - 3rem, 48rem); }
    .hero-grid, .feature-grid { gap: 2rem; }
    .product-grid, .plan-grid { gap: .85rem; }
}
@media (max-width: 42rem) {
    .shell { width: calc(100% - 2rem); }
    .hero-grid, .feature-grid, .product-grid, .plan-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: 12ch; }
    .hero-photo { aspect-ratio: 1.45; }
    .header-inner, .footer-inner { padding-block: .8rem; }
    .card-preview { padding-block: 1.5rem; }
}
