/* Shared v2 look (Qoves direction). Each page sets --hero, --ar, --shift, --mpos, --tint1/2 and --img inline. */
:root {
  --bg: #ffffff;
  --ink: #0f1214;
  --muted: #8d979e;
  --line: #e8ebed;
  --card: #ffffff;
  --soft: #f3f5f6;
  --accent: #111417;
  --on-accent: #ffffff;
  --hero: #31403f;
  --font-head: "Switzer", sans-serif;
  --font-body: "Switzer", sans-serif;
  --font-mono: "Switzer", sans-serif;
  --head-weight: 400;
  --head-tracking: -0.035em;
  --card-radius: 18px;
}
html { scroll-behavior: smooth; }
body { font-size: 16px; letter-spacing: -0.005em; }
a { text-decoration: none; }
.q-wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* Floating glass nav */
.q-nav {
  position: fixed; z-index: 30; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1320px, calc(100% - 32px)); height: 60px; padding: 0 8px 0 20px;
  display: flex; align-items: center; gap: 24px; border-radius: 999px; color: #fff;
  background: rgba(32, 38, 40, .48); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35);
}
.q-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; color: inherit; }
.q-logo svg { width: 22px; height: 22px; }
.q-logo.dark { color: var(--ink); }
.q-links { display: flex; gap: 32px; margin: 0 auto; font-size: 14px; }
.q-links a { color: rgba(255, 255, 255, .82); }
.q-links a:hover { color: #fff; }

/* Buttons */
.q-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px;
  border: 0; border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer;
  font: 500 15px/1 var(--font-body); letter-spacing: -0.01em; transition: transform .15s, background .15s;
}
.q-btn:hover { transform: translateY(-1px); }
.q-btn.small { height: 44px; padding: 0 20px; font-size: 14px; }
.q-btn.ghost { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); }
.q-btn.dark { background: var(--ink); color: #fff; }

/* Hero */
.q-hero { position: relative; height: 100vh; min-height: 720px; max-height: 980px; overflow: hidden; background: var(--hero); color: #fff; }
.q-photo { position: absolute; top: 0; bottom: 0; right: -20%; height: 100%; aspect-ratio: 16 / 9; }
.q-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.78) contrast(1.03); }
.q-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--hero) 0%, rgba(49, 64, 63, .92) 26%, rgba(49, 64, 63, 0) 52%),
    linear-gradient(0deg, rgba(25, 32, 32, .75) 0%, rgba(25, 32, 32, 0) 30%);
}
.q-marks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.q-marks line { stroke: rgba(255, 255, 255, .7); stroke-width: 1; vector-effect: non-scaling-stroke; }
.q-dot { position: absolute; z-index: 2; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .22); }
.q-chip {
  position: absolute; z-index: 3; min-width: 168px; padding: 11px 15px 12px; border-radius: 14px; color: #fff;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.q-chip small { display: block; font: 500 10.5px/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .09em; color: rgba(255, 255, 255, .72); }
.q-chip b { display: block; font-weight: 400; font-size: 30px; letter-spacing: -0.04em; line-height: 1.15; margin-top: 4px; }
.q-chip b sup { font-size: .45em; letter-spacing: 0; }
.q-chip em { display: block; font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.q-chip.wide { min-width: 230px; }
.q-spark { width: 200px; height: 40px; display: block; margin: 6px 0 4px; }
.q-spark polyline { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; opacity: .9; }

.q-hero-copy { position: relative; z-index: 4; max-width: 1320px; margin: 0 auto; padding: 200px 40px 0; }
.q-kicker { font-size: 14px; color: rgba(255, 255, 255, .78); margin: 0 0 22px; }
.q-h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.0; letter-spacing: -0.045em; max-width: 9.5em; margin: 0; }
.q-h1 span, .q-title span, .q-statement span, .q-stats h3 span { color: var(--muted); }
.q-h1 span { color: rgba(255, 255, 255, .5); }
.q-lede { max-width: 30em; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .74); margin: 26px 0 32px; }
.q-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.q-hero-stats {
  position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: 44px;
  width: min(1320px, 100%); padding: 0 40px; display: grid; grid-template-columns: repeat(3, 220px); gap: 0;
}
.q-hero-stats div { padding: 2px 20px 2px 18px; border-left: 1px solid rgba(255, 255, 255, .28); }
.q-hero-stats div:first-child { padding-left: 0; border-left: 0; }
.q-hero-stats b { display: block; font-weight: 400; font-size: 17px; letter-spacing: -0.02em; }
.q-hero-stats span { font-size: 14px; color: rgba(255, 255, 255, .62); }

/* Sections */
.q-sec { padding: 120px 0; border-top: 1px solid var(--line); }
.q-label { font: 500 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 22px; }
.q-title, .q-statement { font-family: var(--font-head); font-weight: 400; letter-spacing: -0.04em; margin: 0; }
.q-title { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; max-width: 14em; }
.q-statement { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.1; max-width: 21em; }
.q-body { color: #5d666c; font-size: 17px; max-width: 26em; margin: 20px 0 28px; }

.q-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 72px; }
.q-stats article { border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 22px; min-height: 290px; display: flex; flex-direction: column; }
.q-stats h3 { font-weight: 400; font-size: 26px; letter-spacing: -0.035em; margin: 0 0 12px; }
.q-stats p { color: #5d666c; margin: 0; font-size: 15.5px; line-height: 1.5; }
.q-stats cite { margin-top: auto; padding-top: 24px; font: 400 11.5px/1.45 var(--font-mono); font-style: normal; color: var(--muted); }

.q-way { display: grid; grid-template-columns: 220px 1fr; align-items: center; border-radius: 20px; padding: 30px 30px; margin-top: 18px; }
.q-sec #how, #how .q-title { margin-bottom: 0; }
#how .q-title { margin-bottom: 56px; }
.q-way.old { border: 1px solid var(--line); color: #5d666c; }
.q-way.new { background: linear-gradient(100deg, #2e3c3b, #5f7471); color: #fff; }
.q-way-name { display: flex; align-items: center; gap: 14px; font-size: 22px; letter-spacing: -0.03em; }
.q-way-name i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 15px; border: 1px solid currentColor; opacity: .8; }
.q-way ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.q-way ol::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px dashed currentColor; opacity: .35; }
.q-way li { position: relative; padding-top: 22px; font-size: 15.5px; letter-spacing: -0.01em; padding-right: 14px; }
.q-way li::before { content: ""; position: absolute; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .7; }
.q-way li small { display: block; font: 500 10.5px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; opacity: .6; margin-bottom: 6px; }

.q-measure { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.q-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.q-list li { display: grid; grid-template-columns: 64px 1fr auto 28px; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.q-list li::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted); text-align: right; }
.q-list b { font-weight: 400; font-size: 20px; letter-spacing: -0.025em; }
.q-list em { font-style: normal; font-size: 13.5px; color: var(--muted); }
.q-thumb {
  width: 64px; height: 64px; border-radius: 12px; background-color: var(--hero);
  background-image: url("https://images.unsplash.com/photo-1758600434324-41712d1f530e?w=900&q=70&auto=format");
  background-size: var(--s) auto; background-position: var(--x) var(--y); filter: saturate(.75);
}

.q-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.q-cards figure { position: relative; margin: 0; }
.q-cards img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; display: block; filter: saturate(.72); }
.q-chip.in { left: 16px; right: 16px; bottom: 74px; min-width: 0; background: rgba(20, 26, 28, .32); }
.q-cards figcaption { margin-top: 14px; color: #5d666c; font-size: 15px; max-width: 24em; }

.q-price .q-wrap { text-align: center; }
.q-price .q-title { margin: 0 auto; }
.q-price-row { margin: 48px auto 0; max-width: 560px; }
.q-amount { font-size: 72px; letter-spacing: -0.05em; line-height: 1; }
.q-amount s { font-size: 28px; color: var(--muted); margin-right: 14px; vertical-align: middle; }
.q-price-row p { color: #5d666c; margin: 18px 0 28px; }

.q-faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.q-faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.q-faq details:last-child { border-bottom: 1px solid var(--line); }
.q-faq summary { font-weight: 400; font-size: 19px; letter-spacing: -0.02em; }
.q-faq details p { color: #5d666c; }

.q-final { position: relative; height: 620px; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; border-top: 0; padding: 0; }
.q-final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) brightness(.6); }
.q-final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 38, 38, .7), rgba(30, 38, 38, .25)); }
.q-final-copy { position: relative; }
.q-final .q-title { color: #fff; margin: 0 auto 32px; }
.q-final .q-title span { color: rgba(255, 255, 255, .55); }

.q-foot { padding: 48px 0 60px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.q-foot p { max-width: 760px; }
.q-foot a { text-decoration: underline; }

/* Funnel inherits the base styles; tune for this look */
.funnel .brand { font-family: var(--font-body); font-weight: 500; }
.opt, .input, .field select { border-radius: 14px; }

@media (max-width: 960px) {
  .q-wrap { padding: 0 20px; }
  .q-links { display: none; }
  .q-nav { justify-content: space-between; height: 56px; top: 10px; }
  .q-hero { height: auto; min-height: 0; max-height: none; padding-bottom: 36px; }
  .q-photo { position: relative; right: auto; width: 100%; height: auto; aspect-ratio: 4 / 5; overflow: hidden; }
  .q-photo img { object-position: 54% 40%; }
  .q-marks, .q-dot, .q-chip:not(.in):not(.keep) { display: none; }
  .q-hero::before { background: linear-gradient(0deg, var(--hero) 0%, var(--hero) 46%, rgba(49, 64, 63, 0) 62%); }
  .q-hero-copy { margin-top: -150px; padding: 0 20px; }
  .q-hero-stats { position: relative; left: auto; bottom: auto; transform: none; margin-top: 40px; padding: 0 20px; grid-template-columns: 1fr; gap: 14px; }
  .q-hero-stats div, .q-hero-stats div:first-child { border-left: 1px solid rgba(255, 255, 255, .28); padding-left: 14px; }
  .q-sec { padding: 80px 0; }
  .q-stats { grid-template-columns: 1fr; margin-top: 44px; }
  .q-stats article { min-height: 0; }
  .q-way { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .q-way ol { grid-template-columns: 1fr; gap: 16px; }
  .q-way ol::before { display: none; }
  .q-way li { padding: 0 0 0 22px; }
  .q-way li::before { top: 4px; }
  .q-measure, .q-faq { grid-template-columns: 1fr; gap: 40px; }
  .q-cards { grid-template-columns: 1fr; }
  .q-final { height: 480px; }
  .sticky .btn { border-radius: 999px; background: var(--ink); }
}

/* ---------- Generalised for every site ---------- */
.q-photo { right: var(--shift, -20%); aspect-ratio: var(--ar, 1.5); }
.q-hero::before {
  background:
    linear-gradient(90deg, var(--hero) 0%, color-mix(in srgb, var(--hero) 92%, transparent) var(--solid, 26%), color-mix(in srgb, var(--hero) 0%, transparent) var(--fade, 54%)),
    linear-gradient(0deg, color-mix(in srgb, var(--hero) 80%, #000 20%) 0%, transparent 30%);
}
.q-over { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.q-chip .q-mini { display: flex; gap: 3px; align-items: flex-end; height: 26px; margin: 8px 0 4px; }
.q-chip .q-mini i { flex: 1; background: currentColor; opacity: .85; border-radius: 2px; }
.q-chip .q-mini i.off { opacity: .25; }
.q-way.new { background: linear-gradient(100deg, var(--tint1, #2e3c3b), var(--tint2, #5f7471)); }
.q-thumb { background-image: var(--img); }
.q-badge {
  width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; text-align: center;
  background: var(--soft); color: var(--ink); font: 500 12px/1.2 var(--font-mono); letter-spacing: -0.01em;
}

/* Light hero (light photo backdrops) */
.q-hero.light { color: var(--ink); }
.q-hero.light .q-kicker { color: rgba(15, 18, 20, .65); }
.q-hero.light .q-h1 span { color: rgba(15, 18, 20, .42); }
.q-hero.light .q-lede { color: rgba(15, 18, 20, .68); }
.q-hero.light .q-btn { background: var(--ink); color: #fff; }
.q-hero.light .q-btn.ghost { background: rgba(15, 18, 20, .07); color: var(--ink); }
.q-hero.light .q-hero-stats div { border-left-color: rgba(15, 18, 20, .18); }
.q-hero.light .q-hero-stats span { color: rgba(15, 18, 20, .55); }
.q-hero.light::before {
  background:
    linear-gradient(90deg, var(--hero) 0%, color-mix(in srgb, var(--hero) 90%, transparent) 28%, color-mix(in srgb, var(--hero) 0%, transparent) 54%);
}
.q-hero.light .q-chip { background: rgba(255, 255, 255, .62); color: var(--ink); border-color: rgba(15, 18, 20, .08); box-shadow: 0 18px 40px -24px rgba(15, 18, 20, .45); }
.q-hero.light .q-chip small, .q-hero.light .q-chip em { color: rgba(15, 18, 20, .58); }

/* Stacked hero: centred copy above a rounded photo panel */
.q-hero.stack { height: auto; max-height: none; min-height: 0; padding: 150px 0 64px; text-align: center; }
.q-hero.stack::before { display: none; }
.q-hero.stack .q-hero-copy { padding: 0 40px; }
.q-hero.stack .q-h1 { margin: 0 auto; max-width: 13em; }
.q-hero.stack .q-lede { margin-left: auto; margin-right: auto; }
.q-hero.stack .q-actions { justify-content: center; }
.q-panel { position: relative; width: min(1240px, calc(100% - 80px)); margin: 56px auto 0; aspect-ratio: 16 / 7.4; border-radius: 26px; overflow: hidden; }
.q-panel img { width: 100%; height: 100%; object-fit: cover; object-position: var(--ppos, 50% 40%); display: block; filter: saturate(.8); }
.q-hero.stack .q-hero-stats { position: static; transform: none; margin: 40px auto 0; justify-content: center; text-align: left; }

/* Fineprint brand: editorial serif headlines */
body.fine { --font-head: "Gambetta", Georgia, serif; }
body.fine .q-h1, body.fine .q-title, body.fine .q-statement, body.fine .q-stats h3, body.fine .q-amount, body.fine .q-way-name, body.fine .q-list b { font-family: var(--font-head); letter-spacing: -0.02em; }
body.fine .q-h1 { font-weight: 400; letter-spacing: -0.025em; line-height: 1.04; }

@media (max-width: 960px) {
  .q-photo { aspect-ratio: 4 / 5; }
  .q-photo img { object-position: var(--mpos, 50% 40%); }
  .q-over { display: none; }
  .q-hero::before, .q-hero.light::before { background: linear-gradient(0deg, var(--hero) 0%, var(--hero) 46%, color-mix(in srgb, var(--hero) 0%, transparent) 62%); }
  .q-hero.light .q-hero-stats div, .q-hero.light .q-hero-stats div:first-child { border-left-color: rgba(15, 18, 20, .18); }
  .q-hero.stack { padding: 110px 0 40px; }
  .q-hero.stack .q-hero-copy { margin-top: 0; padding: 0 20px; }
  .q-panel { width: calc(100% - 40px); aspect-ratio: 4 / 5; margin-top: 36px; }
  .q-hero.stack .q-hero-stats { margin-top: 32px; }
}

.q-amount.claim { font-size: 64px; }
.q-amount.claim small { display: block; font: 400 15px var(--font-body); letter-spacing: 0; color: var(--muted); margin-top: 12px; text-transform: none; }

/* Storefront hero (product page) */
.q-hero.store { height: auto; min-height: 0; max-height: none; padding: 112px 0 0; background: var(--hero); }
.q-hero.store::before { display: none; }
.q-store { max-width: 1320px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.q-main { position: relative; aspect-ratio: 1 / 1; border-radius: 26px; overflow: hidden; background: #e7e3dc; }
.q-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q-tag { position: absolute; left: 18px; top: 18px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 500; }
.q-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.q-thumbbtn { padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1 / 1; }
.q-thumbbtn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q-thumbbtn.on { border-color: var(--ink); }
.q-buy { position: sticky; top: 100px; padding-top: 8px; }
.q-buy .q-kicker { color: var(--muted); }
.q-h1.store-name { font-size: clamp(44px, 4.6vw, 64px); margin: 0 0 14px; }
.q-tagline { font-size: 18px; color: #4f575d; margin: 0 0 26px; max-width: 26em; }
.q-pricebox { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.q-now { font-size: 46px; letter-spacing: -0.04em; line-height: 1; }
.q-unit { color: var(--muted); }
.q-save { font-size: 13px; font-weight: 500; background: #e3efe6; color: #1f5a37; padding: 5px 10px; border-radius: 999px; }
.q-compare { color: var(--muted); margin: 8px 0 26px; font-size: 15px; }
.q-opt { border-top: 1px solid var(--line); padding: 20px 0 22px; }
.q-optlabel { font-size: 15px; color: #4f575d; }
.q-optlabel b { color: var(--ink); font-weight: 500; }
.q-swatches { display: flex; gap: 12px; margin-top: 12px; }
.q-swatch { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.q-swatch.on { box-shadow: 0 0 0 2px var(--hero), 0 0 0 3.5px var(--ink); }
.q-btn.wide { width: 100%; height: 58px; font-size: 16px; }
.q-fine { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 22px; }
.q-perks { margin-bottom: 18px; }
.q-acc { border-top: 1px solid var(--line); padding: 16px 0; }
.q-acc:last-child { border-bottom: 1px solid var(--line); }
.q-acc summary { font-size: 16px; font-weight: 500; }
.q-acc p { color: #5d666c; font-size: 15px; }
.q-strip { max-width: 1320px; margin: 64px auto 0; padding: 26px 40px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.q-strip div { padding-left: 18px; border-left: 1px solid var(--line); }
.q-strip div:first-child { padding-left: 0; border-left: 0; }
.q-strip b { display: block; font-weight: 500; font-size: 17px; }
.q-strip span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
  .q-hero.store { padding-top: 84px; }
  .q-store { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .q-buy { position: static; }
  .q-strip { grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 20px; margin-top: 40px; }
  .q-strip div:nth-child(3) { padding-left: 0; border-left: 0; }
}
.q-main { background: #fff; }
