:root {
  --bg: #f4f6fb;
  --paper: #ffffff;
  --ink: #1f2937;
  --muted: #6c757d;
  --line: #e5e7eb;
  --line-strong: #d8dde7;
  --navy: #003399;
  --accent: #ED6455;
  --brand-gold: #f6b331;
  --heading: #08245c;
  --soft: #f8f9fc;
  --soft-alt: #eef2f7;
  --max: 1240px;
  --sans: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Courier New", Courier, monospace;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 41, 55, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(229,231,235,.85); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.nav { display: grid; grid-template-columns: 230px auto 1fr auto; gap: 18px; align-items: center; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; color: var(--heading); }
.brand-logo { display: block; width: auto; height: 42px; object-fit: contain; }
.footer-logo { height: 44px; }
.auth-brand-logo { height: 50px; }
.mark { width: 32px; height: 32px; border: 2px solid currentColor; display: grid; place-items: center; font-size: 13px; font-weight: 900; transform: rotate(-8deg); border-radius: 4px; }
.menu { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.menu a { border: 1px solid transparent; border-radius: 999px; padding: 7px 12px; transition: .18s ease; }
.menu a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.menu .active { background: var(--accent); color: #fff; border-color: var(--accent); }
.menu .active:hover { background: var(--navy); border-color: var(--navy); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--navy); padding: 9px 13px; min-height: 38px; font-size: 13px; font-weight: 800; background: var(--paper); color: var(--navy); border-radius: 999px; }
.cart { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; color: #111827; border: 0; background: transparent; border-radius: 999px; transition: .18s ease; }
.cart:hover, .cart.active { color: var(--navy); background: rgba(0,51,153,.08); }
.cart-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: #ff7a00; color: #fff; font-size: 10px; line-height: 1; font-weight: 900; }
.nav-toggle { display: none; cursor: pointer; }
.icon svg, .hero-points svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero { padding: 74px 0 46px; border-bottom: 1px solid var(--line); background: linear-gradient(rgba(248,249,252,.92), rgba(248,249,252,.97)), url("https://placehold.co/1800x900/eef2f7/003399?text=Glider+Awards"); background-size: cover; background-position: center; overflow: hidden; }
.hero.home-hero-photo { position: relative; min-height: 660px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(3,18,46,.76), rgba(3,18,46,.42) 48%, rgba(3,18,46,.16)), url("../images/glider-above-mountains.jpg"); background-size: cover; background-position: center; color: #fff; }
.hero.home-hero-photo h1 { color: #fff; text-shadow: 0 12px 28px rgba(0,0,0,.24); }
.hero.home-hero-photo .lead { color: rgba(255,255,255,.86); }
.hero.home-hero-photo .btn.secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.58); }
.hero.home-hero-photo .btn.secondary:hover { background: #fff; color: var(--navy); border-color: #fff; }
.photo-credit { position: absolute; right: 22px; bottom: 14px; margin: 0; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.42); color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.2; }
.photo-credit a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.hero-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 46px; align-items: center; }
.hero-grid.single { grid-template-columns: 1fr; padding-bottom: 58px; }
.hero-copy { max-width: 860px; }
h1 { font-size: 48px; line-height: 1.18; font-weight: 800; margin: 0 0 20px; max-width: 900px; color: var(--heading); }
h2 { font-size: 34px; line-height: 1.24; font-weight: 800; margin: 0; max-width: 880px; color: var(--navy); }
h3 { font-size: 20px; line-height: 1.25; font-weight: 800; margin: 0 0 10px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; max-width: 760px; color: #586171; margin: 0 0 28px; line-height: 1.8; }
.muted { color: var(--muted); }
.hero-actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.actions.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--navy); background: var(--navy); color: white; font-weight: 800; font-size: 14px; border-radius: 999px; cursor: pointer; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,51,153,.18); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.secondary { background: transparent; color: var(--navy); border-color: rgba(0,51,153,.35); }
.btn.light { background: #fff; border-color: #fff; color: var(--navy); }
.btn.ghost-light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.65); color: #fff; }

.card, .panel, .hero-card { background: var(--paper); border: 1px solid var(--line); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card { margin-top: 24px; margin-bottom: 0; border-radius: 18px; padding: 28px; }
.hero-card h3 { margin-top: 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; color: var(--navy); font-size: 13px; font-weight: 700; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,51,153,.08); border-radius: 999px; padding: 7px 10px; }
.badge-strip { align-items: center; }

.hero-product-slider { overflow: hidden; width: 100%; }
.hero-product-slider-track { display: flex; width: 300%; animation: hero-product-slide 12s infinite; }
.hero-product-slide { flex: 0 0 33.333%; width: 33.333%; }
.hero-product-item { min-width: 0; display: grid; gap: 10px; justify-items: center; text-align: center; }
.hero-product-item .product-art { width: min(150px, 90%); height: 118px; }
.hero-product-item strong { font-size: 13px; line-height: 1.25; }
@keyframes hero-product-slide { 0%, 26% { transform: translateX(0); } 34%, 60% { transform: translateX(-33.333%); } 68%, 94% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }

.section { padding: 66px 0; border-bottom: 1px solid var(--line); background: var(--soft); }
main > .section:nth-of-type(even) { background: var(--paper); }
main > .section:nth-of-type(odd):not(.hero) { background: var(--soft-alt); }
.section-head { display: grid; grid-template-columns: 280px 1fr; gap: 24px; margin-bottom: 30px; }
.clean-head { grid-template-columns: 1fr; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product { position: relative; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 475px; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: .18s ease; }
.product:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(31,41,55,.12); }
.product-img { background: linear-gradient(135deg, #f8fafc, #edf2f7); min-height: 178px; display: grid; place-items: center; border-bottom: 1px solid var(--line); padding: 22px; }
.product-art { width: min(210px, 86%); height: 142px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(31,41,55,.12)); }
.product-slider { width: min(230px, 90%); overflow: hidden; }
.product-slider-track { display: flex; width: 300%; animation: product-slide 12s infinite; }
.product-slider .product-art { flex: 0 0 33.333%; width: 33.333%; max-width: none; }
@keyframes product-slide { 0%, 26% { transform: translateX(0); } 34%, 60% { transform: translateX(-33.333%); } 68%, 94% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
.product-body { padding: 20px 20px 0; display: flex; flex-direction: column; flex: 1; }
.coin { width: 108px; aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid #a3aab8; background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%), repeating-conic-gradient(from 0deg, #f8fafc 0 8deg, #d9dee8 8deg 16deg); display: grid; place-items: center; font-weight: 800; box-shadow: 0 16px 28px rgba(31,41,55,.12); }
.coin.gold { background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%), repeating-conic-gradient(from 0deg, #ffe08a 0 8deg, #b88716 8deg 16deg); }
.coin.diamond { background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%), repeating-conic-gradient(from 0deg, #f0fbff 0 8deg, #87c8e8 8deg 16deg); }
.coin span { font-size: 13px; background: white; padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; }
.spec { font-family: var(--mono); font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 12px; margin: auto 0 0; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px 20px; }
.price { font-size: 25px; font-weight: 800; color: #111827; }
.add { width: 33.333%; min-width: 118px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--navy); background: var(--navy); color: white; height: 40px; font-weight: 800; cursor: pointer; border-radius: 999px; }
.add-form { width: 33.333%; min-width: 118px; }
.add-form .add { width: 100%; min-width: 0; }
.add .icon svg { width: 16px; height: 16px; }
.ribbon { position: absolute; top: 16px; right: 12px; max-width: calc(100% - 24px); background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; z-index: 2; white-space: nowrap; }
.featured-product { border-color: rgba(237, 100, 85, .65); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.four-col { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); }
.row:last-child { border-bottom: 0; }
.row strong { font-size: 17px; }
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.matrix > div { background: var(--paper); min-height: 140px; padding: 18px; }
.matrix .big { font-size: 34px; font-weight: 800; }
.download { border: 1px solid var(--line); background: var(--paper); padding: 20px; min-height: 190px; display: flex; flex-direction: column; border-radius: var(--radius); box-shadow: var(--shadow); }
.filetype { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 36px; }
.download a { margin-top: auto; border-top: 1px dashed var(--line-strong); padding-top: 12px; font-weight: 800; color: var(--navy); }
blockquote { margin: 0; font-size: 19px; line-height: 1.35; }
cite { display: block; font-style: normal; color: var(--muted); margin-top: 22px; font-family: var(--mono); font-size: 12px; }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner-logo { border: 1px dashed var(--line-strong); background: var(--paper); min-height: 220px; display: grid; gap: 12px; place-items: center; padding: 22px; font-size: 24px; font-weight: 800; text-align: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.partner-logo img { width: auto; max-width: 72%; height: 45px; object-fit: contain; border: 0; border-radius: 0; }
.partner-logo img.logo-omg { height: 36px; }
.partner-logo small { display: block; font-size: 13px; line-height: 1.55; color: var(--muted); font-weight: 500; margin-top: 0; }
.partner-url { font-family: var(--mono); font-size: 12px; color: var(--navy); }
.club-badge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.club-badge { min-height: 150px; display: grid; place-items: center; text-align: center; padding: 20px; background: linear-gradient(135deg, #f8fafc, #edf2f7); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.club-badge strong { display: block; color: var(--heading); font-size: 26px; line-height: 1.1; margin-bottom: 8px; }
.club-badge span { color: var(--muted); font-weight: 700; }
.club-card-row { margin-top: 18px; }
.club-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step-card { min-height: 230px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step-card > span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 28px; padding: 0 9px; margin-bottom: 34px; border-radius: 999px; background: rgba(237,100,85,.12); color: var(--accent); font-family: var(--mono); font-size: 12px; font-weight: 800; }
.quote-panel-wide { max-width: 980px; }
.quote-panel figure { margin: 24px 0 0; padding-top: 20px; border-top: 1px dashed var(--line-strong); }
.blockquote { margin: 0; }
.blockquote p { margin: 0; color: var(--heading); font-size: 20px; line-height: 1.55; font-weight: 500; }
.blockquote-footer { display: block; margin-top: 8px; color: #8792a6; font-size: 14px; font-style: normal; }
.quote-context { margin-top: 24px; padding: 20px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.quote-context h3 { margin-bottom: 10px; }
.countries { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.countries span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--heading); font-weight: 800; box-shadow: var(--shadow); }
.article { max-width: 860px; }
.article p, .article ul { font-size: 18px; }
.note { color: var(--muted); font-size: 13px; border-top: 1px dashed var(--line-strong); padding-top: 15px; margin-top: 16px; }


.achievement-timeline { position: relative; display: grid; gap: 26px; }
.achievement-timeline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 50%; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--accent), var(--navy)); opacity: .28; }
.achievement-block { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr); gap: 22px; align-items: center; }
.achievement-block .achievement-copy { grid-column: 1; grid-row: 1; align-self: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.achievement-block .achievement-media { grid-column: 3; grid-row: 1; align-self: center; }
.achievement-block.reverse .achievement-copy { grid-column: 3; order: initial; }
.achievement-block.reverse .achievement-media { grid-column: 1; order: initial; }
.achievement-marker { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: var(--paper); border: 2px solid var(--accent); color: var(--heading); font-family: var(--mono); font-size: 12px; font-weight: 900; box-shadow: var(--shadow); z-index: 1; }
.achievement-copy h2 { font-size: 28px; }
.achievement-copy p { color: var(--muted); font-size: 17px; line-height: 1.72; margin-top: 12px; }
.achievement-media { min-height: 150px; display: grid; place-items: center; overflow: hidden; }
.achievement-media img { width: min(150px, 74%); max-height: 150px; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(31,41,55,.12)); }

.faq-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
.faq-help { position: sticky; top: 92px; }
.faq-help h2 { font-size: 26px; margin-bottom: 12px; }
.faq-help .btn { margin-top: 8px; }
.faq-content { display: grid; gap: 24px; }
.faq-group { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-group h2 { padding: 22px 24px; font-size: 24px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff, #f8f9fc); }
.faq-list { display: grid; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { list-style: none; position: relative; padding: 20px 62px 20px 24px; color: var(--heading); font-weight: 800; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; transform: translateY(-50%); background: rgba(0,51,153,.08); color: var(--navy); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "-"; background: var(--accent); color: #fff; }
.faq-item p { padding: 0 62px 22px 24px; color: var(--muted); font-size: 16px; line-height: 1.72; margin: 0; }
.form-wrap { max-width: 920px; }
.contact-form { padding: 28px; border: 1px dashed var(--line-strong); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid p { margin: 0; }
.form-wide { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.form-control { width: 100%; min-height: 44px; border: 0; padding: 10px 12px; font: inherit; background: #f8f9fc; border-radius: 10px; outline: 1px solid transparent; transition: .18s ease; }
.form-control:focus { outline-color: rgba(0,51,153,.35); background: #fff; }
.textarea { min-height: 150px; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; }
.notice { border: 1px solid var(--line); padding: 12px 14px; margin-bottom: 18px; border-radius: 12px; font-weight: 700; }
.notice.success { color: #0f6b43; background: #eaf8f1; border-color: #bee8d1; }
.contact-confirm { display: grid; gap: 4px; padding: 18px 20px; background: #dff7e9; border-color: #9fdfbd; color: #0b5f3a; box-shadow: 0 10px 24px rgba(15, 107, 67, .12); }
.contact-confirm strong { font-size: 18px; }
.contact-confirm span { font-weight: 600; color: #26724d; }
.notice.error { color: #9f2b1f; background: #fff0ee; border-color: #fac7c1; }
.notice.info { color: var(--navy); background: #edf4ff; border-color: #c9daf7; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 86px 100px auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); }
.cart-row:last-child { border-bottom: 0; }
.cart-row span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.qty-control { min-height: 38px; text-align: center; }
.cart-actions { justify-content: space-between; margin-top: 20px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-strong); }
.summary-row.accent { color: var(--accent); }
.summary-row.total { border-bottom: 0; font-size: 21px; }
.coupon-form { margin: 22px 0 12px; }
.coupon-line { display: flex; gap: 10px; }
.checkout-btn { width: 100%; margin-top: 20px; }
.checkout-btn.disabled { opacity: .65; }
.link-button { border: 0; background: transparent; color: var(--navy); font: inherit; font-weight: 800; cursor: pointer; padding: 0; }
.btn.ghost { background: transparent; color: var(--navy); border-color: rgba(0,51,153,.35); }
.checkout-form { width: 100%; }
.payment-actions { justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.cta-section { --cta-bg-y: calc(50% - 115px); min-height: 370px; display: grid; align-items: center; padding: 70px 0; background-size: cover; background-position: center; }
main > .section.cta-section.cta-blanik { background-image: linear-gradient(rgba(0,26,80,.72), rgba(0,26,80,.78)), url("../images/blanik-lhdk-hu.jpg"); background-size: cover, cover; background-position: center center, center var(--cta-bg-y); background-repeat: no-repeat, no-repeat; }
main > .section.cta-section.cta-ls8 { background: linear-gradient(rgba(0,26,80,.72), rgba(0,26,80,.78)), url("../images/ls8-logo-at.jpg") center / cover no-repeat; }
.cta-band { min-height: 230px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 42px 0; background: transparent; overflow: hidden; box-shadow: none; }
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { max-width: 680px; color: rgba(255,255,255,.78); font-size: 17px; margin: 12px 0 0; }

.auth-screen { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 58px 28px; background: var(--soft-alt); }
.auth-card { position: relative; width: min(520px, 100%); overflow: hidden; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 42px 32px; box-shadow: var(--shadow); }
.auth-pattern { position: absolute; top: -60px; right: -60px; width: 220px; aspect-ratio: 1 / 1; opacity: .08; background: radial-gradient(circle at 30% 30%, var(--accent), transparent 34%), radial-gradient(circle at 70% 30%, var(--navy), transparent 36%), radial-gradient(circle at 48% 74%, #f9bf59, transparent 36%); transform: rotate(18deg); }
.auth-brand-block { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; margin-bottom: 24px; }
.error-code { font-size: 72px; line-height: 1; font-weight: 900; color: #f9bf59; margin-bottom: 14px; }
.auth-card h1 { font-size: 30px; text-transform: uppercase; margin-bottom: 12px; }
.auth-card .lead { margin-left: auto; margin-right: auto; }
.maintenance-card { width: min(660px, 100%); }
.maintenance-illustration { width: min(320px, 80%); margin: 0 auto 18px; }

.footer { padding: 44px 0 52px; background: #111827; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer a, .footer p { color: #cfd4dc; }
.footer h3 { color: #fff; font-size: 18px; }
.footer .brand { color: #fff; margin-bottom: 22px; }
.footer-brand { align-items: center; }
.mini { font-family: var(--mono); color: #aab1bd; font-size: 12px; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #aab1bd; }

main > .section:last-child { padding-bottom: 0; border-bottom: 0; }
main > .section:last-child .wrap { margin-bottom: 0; }
main > .section.cta-section:last-child { min-height: 370px; padding: 70px 0; }
.pricing-panel .row { grid-template-columns: 170px 1fr; }

@media (max-width: 1040px) {
  .nav { grid-template-columns: 1fr auto auto; padding: 14px 0; }
  .nav-toggle { display: inline-flex; }
  .menu { grid-column: 1 / -1; display: none; }
  .menu.open { display: flex; }
}

@media (max-width: 900px) {
  .hero-grid, .section-head, .two-col, .footer-grid, .cta-band, .faq-layout { grid-template-columns: 1fr; }
  .achievement-timeline::before { left: 23px; transform: none; }
  .achievement-block, .achievement-block.reverse { grid-template-columns: 46px minmax(0, 1fr); align-items: start; }
  .achievement-marker { grid-column: 1; }
  .achievement-block .achievement-copy, .achievement-block.reverse .achievement-copy { grid-column: 2; }
  .achievement-block .achievement-media, .achievement-block.reverse .achievement-media { grid-column: 2; grid-row: 2; justify-self: start; min-height: 92px; }
  .hero { padding-top: 54px; }
  .hero.home-hero-photo { min-height: 720px; }
  .hero-card { margin-bottom: 0; border-radius: 18px; }
  .achievement-media img { width: min(110px, 70%); max-height: 110px; }
  .faq-help { position: static; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .products, .four-col, .three-col, .logo-grid, .club-badge-grid, .club-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .products, .four-col, .three-col, .logo-grid, .club-badge-grid, .club-steps, .matrix, .form-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  h1 { font-size: 36px; }
  .photo-credit { right: 18px; bottom: 10px; max-width: calc(100% - 36px); }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .cta-band { padding: 30px 22px; }
  .product-footer { align-items: flex-start; flex-direction: column; }
  .add, .add-form { width: auto; }
  .cart-layout, .cart-row { grid-template-columns: 1fr; }
  .faq-item summary { padding-right: 54px; }
  .faq-item p { padding-right: 24px; }
  .cart-actions, .coupon-line { flex-direction: column; align-items: stretch; }
}

