*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--mz-ink); background: var(--mz-paper); font: 500 1rem/1.6 var(--mz-body); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.shell { width: min(100% - clamp(2rem, 8vw, 7.5rem), 1260px); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: .5rem; transform: translateY(-150%); z-index: 5; background: var(--mz-paper); padding: .6rem 1rem; }
.skip-link:focus { transform: none; }
.site-header { background: var(--mz-paper); border-bottom: 1px solid var(--mz-line); }
.nav-wrap, .footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand, .footer-wrap > span { display: inline-flex; align-items: center; gap: .65rem; color: var(--mz-plum); font: 700 1.75rem/1 var(--mz-display); text-decoration: none; }
.brand img, .footer-wrap img { width: 34px; height: 34px; object-fit: contain; }
.top-nav, .nav-actions, .hero-actions { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.7rem); }
.top-nav a { text-decoration: none; color: var(--mz-muted); font-size: .87rem; font-weight: 650; }
.top-nav a:hover { color: var(--mz-wine); text-decoration: underline; }
.nav-actions { gap: .55rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .6rem; min-height: 43px; padding: .58rem 1rem; border: 1px solid transparent; border-radius: 9px; text-decoration: none; cursor: pointer; font: 720 .86rem/1.25 var(--mz-body); transition: transform .2s var(--mz-ease), background-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--mz-wine); color: white; }
.button-primary:hover { background: var(--mz-wine-dark); box-shadow: var(--mz-shadow); }
.button-outline { border-color: var(--mz-line); color: var(--mz-wine-dark); background: var(--mz-paper); }
.button-outline:hover { background: var(--mz-soft); }
.button-large { min-height: 52px; padding: .75rem 1.15rem; }
.hero { display: grid; position: relative; isolation: isolate; min-height: clamp(530px, 46vw, 680px); align-items: center; background: var(--mz-plum); color: #fff9f4; }
.hero-media, .hero-media img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: center 52%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #261523fa 0%, #261523d9 25%, #26152380 53%, #2615230d 85%), linear-gradient(0deg, #26152378, transparent 34%); }
.hero-inner { padding-block: clamp(3.5rem, 7vw, 7rem) clamp(4rem, 8vw, 8rem); }
.hero-copy { max-width: 52rem; animation: home-enter .65s var(--mz-ease) both; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; color: var(--mz-wine); font-weight: 770; font-size: .71rem; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 1.55rem; height: 1px; background: currentColor; }
.hero .eyebrow { color: var(--mz-gold); }
.hero h1 { font: 500 clamp(3.6rem, 5.9vw, 6rem)/.98 var(--mz-display); letter-spacing: -.052em; margin-block: 1.05rem 1.3rem; }
.hero h1 em { color: #f2cda8; font-weight: 400; }
.hero p { color: #f4e7e4; max-width: 31rem; font-size: clamp(.99rem, 1.7vw, 1.16rem); }
.hero-actions { margin-top: 1.8rem; flex-wrap: wrap; gap: .7rem; }
.hero .button-primary { color: var(--mz-plum); background: #f1cda9; }
.hero .button-primary:hover { background: #ffe0c3; }
.button-ghost { color: #fff9f4; border-color: #fff9f47a; background: #301a2b5c; }
.button-ghost:hover { background: #533149; }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; margin-top: -2rem; z-index: 1; border: 1px solid var(--mz-line); border-radius: var(--mz-radius); background: var(--mz-paper); box-shadow: var(--mz-shadow); }
.workflow > div { display: flex; align-items: center; gap: .9rem; padding: clamp(1rem, 2.6vw, 1.9rem); }
.workflow > div + div { border-left: 1px solid var(--mz-line); }
.workflow-icon, .feature > i { display: grid; place-items: center; width: 45px; height: 45px; flex: none; border-radius: 13px; color: var(--mz-wine); background: var(--mz-soft); font-size: 1.18rem; }
.workflow strong, .workflow small { display: block; }
.workflow small { color: var(--mz-muted); font-size: .79rem; }
.section { padding-block: clamp(3.7rem, 8vw, 7rem); scroll-margin-top: 1rem; }
.section-soft { background: var(--mz-canvas); }
.section-heading { margin-bottom: 2rem; }
.section h2, .closing h2 { font: 500 clamp(2.55rem, 5vw, 4.45rem)/1.03 var(--mz-display); letter-spacing: -.045em; margin: .65rem 0 .8rem; }
.section-heading p, .search-layout p, .feature p, .offer p { color: var(--mz-muted); max-width: 56ch; }
.feature-grid, .offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature, .offer, .search-panel { background: var(--mz-paper); border: 1px solid var(--mz-line); border-radius: var(--mz-radius); padding: clamp(1.1rem, 3vw, 1.8rem); }
.feature { transition: transform .25s var(--mz-ease), box-shadow .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--mz-shadow); }
.feature h3, .offer h3 { font: 650 1.5rem/1.15 var(--mz-display); margin: .9rem 0 .45rem; }
.feature p, .offer p, .offer ul { font-size: .93rem; }
.offer { display: flex; flex-direction: column; align-items: flex-start; }
.offer-trial { background: #f2e7e6; border-color: #e2ced5; }
.offer-label { color: var(--mz-wine-dark); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.offer ul { padding-inline-start: 1.2rem; margin-block: .8rem 1.5rem; }
.offer .button { margin-top: auto; }
.offer .offer-price { color: var(--mz-ink); font-size: 1.5rem; font-weight: 800; }
.offer-price small { font-size: .75rem; }
.section-footnote { color: var(--mz-muted); font-size: .85rem; margin-top: 1.1rem; }
.search-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.search-panel { box-shadow: var(--mz-shadow); min-width: 0; }
.search-panel label { display: block; font-weight: 700; margin-bottom: .55rem; }
.search-input-row { display: flex; gap: .5rem; }
.search-input-row input { min-width: 0; width: 100%; padding: .65rem; border: 1px solid var(--mz-line); border-radius: 9px; color: var(--mz-ink); background: white; font: inherit; }
.search-results a { display: grid; padding: .75rem 0; border-bottom: 1px solid var(--mz-line); }
.search-results span { color: var(--mz-muted); font-size: .85rem; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); padding: clamp(1.5rem, 5vw, 3rem); border-radius: var(--mz-radius); background: var(--mz-plum); color: var(--mz-paper); }
.closing .eyebrow { color: var(--mz-gold); }
.closing h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0; }
.closing .button { background: #f1cda9; color: var(--mz-plum); }
.site-footer { border-top: 1px solid var(--mz-line); color: var(--mz-muted); }
.notice { margin: .75rem 0; padding: .7rem 1rem; border-radius: 9px; background: var(--mz-soft); }
@keyframes home-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
[data-reveal].is-revealed { animation: home-enter .5s var(--mz-ease) both; }
@media (max-width: 850px) {
    .nav-wrap { flex-wrap: wrap; padding: .7rem 0; gap: .55rem 1rem; }
    .top-nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid var(--mz-line); padding-top: .65rem; }
    .hero h1 { font-size: clamp(3.3rem, 8vw, 5rem); }
    .feature-grid, .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
    .nav-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
    .brand { font-size: 1.32rem; gap: .35rem; }
    .brand img { width: 27px; height: 27px; }
    .nav-actions .button { min-height: 36px; padding: .37rem .55rem; font-size: .72rem; }
    .top-nav { grid-column: 1 / -1; justify-content: space-between; gap: .3rem; }
    .top-nav a { font-size: .73rem; }
    .hero { min-height: 522px; align-items: end; }
    .hero-media img { object-position: 67% center; }
    .hero::after { background: linear-gradient(0deg, #261523 1%, #261523f5 27%, #261523b8 59%, #26152321 100%); }
    .hero-inner { padding-block: 6rem 4rem; }
    .hero h1 { font-size: clamp(2.55rem, 10.3vw, 3.8rem); }
    .hero-actions { margin-top: 1.25rem; }
    .hero-actions .button { min-height: 44px; font-size: .78rem; padding-inline: .7rem; }
    .workflow, .feature-grid, .offer-grid, .search-layout { grid-template-columns: 1fr; }
    .workflow > div { padding: .7rem .9rem; }
    .workflow > div + div { border-left: 0; border-top: 1px solid var(--mz-line); }
    .workflow-icon { width: 36px; height: 36px; }
    .closing { align-items: flex-start; flex-direction: column; }
    .footer-wrap small { font-size: .72rem; }
}
@media (max-width: 350px) {
    .search-input-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-copy, [data-reveal].is-revealed { animation: none; }
    .feature, .button { transition: none; }
    .feature:hover, .button:hover { transform: none; }
}
