/* Clearwake - winter utility. Amber is reserved for buying actions only. */
:root {
  --navy: #0F2A44; --ink: #0F2A44; --slate: #4E5E6D; --frost: #F5F9FC; --ice: #DCEFFB; --line: #D5E1EA;
  --white: #FFFFFF; --amber: #FFB020; --amber-press: #F2A100; --ok: #1F7A4D;
  --r: 12px; --wrap: 1180px;
  --h: "Archivo", system-ui, sans-serif; --b: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--frost); color: var(--ink); font: 17px/1.6 var(--b); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--h); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
/* vertical rhythm: every section gets the same generous spacing (section.wrap must not lose it to .wrap) */
section, section.wrap, .band { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 860px) { section, section.wrap, .band { padding-top: 104px; padding-bottom: 104px; } }
section.pdp, section.pdp.wrap { padding-top: 12px; padding-bottom: 56px; }
section.stats { padding: 40px 0; }
h2 { margin-bottom: .6em; }
.kicker { font: 600 14px var(--b); color: var(--slate); margin: 0 0 8px; letter-spacing: .02em; }
.kicker.light, .light { color: #C9DCEA; }
.band.tint { background: var(--ice); }
.band.navy { background: var(--navy); color: var(--white); }
.rounded { border-radius: var(--r); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* header */
.announce { background: var(--navy); color: var(--white); font-size: 14px; text-align: center; padding: 8px 16px; }
.announce .sep { opacity: .4; margin: 0 6px; }
.announce .wide { display: none; }
@media (min-width: 700px) { .announce .wide { display: inline; } }
.top { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 800 21px var(--h); color: var(--navy); }
.logo svg { width: 30px; height: 30px; }
.logo.light { color: var(--white); }
.top nav { display: none; gap: 24px; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.cart-btn { position: relative; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--navy); }
.cart-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-btn .count { position: absolute; top: 4px; right: 2px; background: var(--navy); color: var(--white); font: 600 11px var(--b); border-radius: 10px; min-width: 18px; height: 18px; line-height: 18px; display: none; }
.cart-btn .count.has { display: block; }
@media (min-width: 900px) { .top nav { display: flex; } }

/* product */
.hook { font: 700 15px var(--h); color: var(--slate); margin: 6px 0 10px; }
.pdp-grid { display: grid; gap: 22px; }
.pdp-grid > * { min-width: 0; }
@media (min-width: 960px) { .pdp-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; } .gallery { position: sticky; top: 76px; } }
.stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ice); aspect-ratio: 1; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 12px; bottom: 12px; border: 0; border-radius: 30px; background: rgba(15, 42, 68, .88); color: var(--white); font: 600 14px var(--b); padding: 10px 16px; cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: none; }
.thumbs button.on { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.rating { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 15px; color: var(--slate); margin-bottom: 6px; }
.rating b { color: var(--navy); }
.stars { color: var(--navy); letter-spacing: 1px; }
.sub { color: var(--slate); margin-bottom: 12px; }
.chips { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.chips li { padding-left: 28px; position: relative; font-size: 16px; }
.chips li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.mechanism { background: var(--white); border-left: 4px solid var(--navy); border-radius: 0 8px 8px 0; padding: 10px 14px; font-size: 16px; margin-bottom: 16px; }

.tiers { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.tiers legend { font: 700 16px var(--h); margin-bottom: 8px; }
.tier { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 2px solid var(--line); border-radius: var(--r); padding: 14px; cursor: pointer; }
.tier:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.tier input { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; }
.t-main b { display: block; font: 700 17px var(--h); }
.t-main small { display: block; color: var(--slate); font-size: 14px; }
.t-main em { display: block; font-style: normal; font-size: 14px; color: var(--ok); font-weight: 600; }
.t-price { text-align: right; }
.t-price b { font: 800 20px var(--h); display: block; }
.t-price small { color: var(--ok); font-weight: 600; font-size: 13px; }
.badge { position: absolute; top: -10px; right: 12px; background: var(--navy); color: var(--white); font: 600 12px var(--b); padding: 2px 10px; border-radius: 20px; }

.bump { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 1px dashed var(--slate); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; cursor: pointer; background: var(--white); }
.bump input { width: 20px; height: 20px; accent-color: var(--navy); }
.bump small { display: block; color: var(--slate); font-size: 14px; }
.bump-price { font-weight: 600; }

.atc { width: 100%; display: flex; justify-content: center; gap: 10px; align-items: center; min-height: 58px; border: 0; border-radius: var(--r); background: var(--amber); color: var(--navy); font: 800 19px var(--h); cursor: pointer; text-decoration: none; transition: background .15s; }
.atc:hover { background: var(--amber-press); }
.atc .atc-price, .atc span + span { opacity: .85; font-weight: 700; }
.under-atc { text-align: center; font-size: 14px; color: var(--slate); margin: 8px 0 12px; }
.express { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.pay { min-height: 44px; border-radius: 8px; border: 0; font: 600 15px var(--b); cursor: pointer; }
.pay.gpay { background: #fff; color: #3C4043; box-shadow: inset 0 0 0 1px #747775; } .pay.apple { background: #000; color: #fff; } .pay.paypal { background: #FFC439; color: #003087; } .pay.link { background: #00D66F; color: #011E0F; }
.pay.paypal b, .pay.gpay b, .pay.link b { font-weight: 800; }

.eta { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; position: relative; }
.eta::before { content: ""; position: absolute; top: 9px; left: 16%; right: 16%; border-top: 2px dotted var(--slate); }
.eta li { position: relative; font-size: 14px; }
.eta li::before { content: ""; display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); margin: 0 auto 4px; border: 3px solid var(--frost); }
.eta b { display: block; font-size: 14px; } .eta span { color: var(--slate); }
.xmas { text-align: center; font-size: 15px; background: var(--white); border-radius: 8px; padding: 8px; margin: 10px 0 16px; }
.trust { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; font-size: 14px; font-weight: 500; }
.trust li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust svg { width: 26px; height: 26px; margin: 0; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linejoin: round; }

.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; list-style: none; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; font-weight: 400; }
.acc details[open] summary::after { content: "-"; }
.acc details p { color: var(--slate); margin: 0 0 14px; }

/* content sections */
.two { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.problem img, .gift img { border-radius: var(--r); }
.demo-media { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.demo-media video { width: 100%; height: 100%; object-fit: cover; }
.play.big { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); font-size: 17px; padding: 14px 24px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding: 4px 0 4px 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--ok); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; }
.steps img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 10px; }
.steps b { display: block; font: 700 18px var(--h); }
.steps b::before { content: counter(s) ". "; }
.steps span { color: var(--slate); }
.box-list { padding-left: 20px; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.fit > div { background: var(--white); border-radius: var(--r); padding: 14px 16px; }
.fit ul { padding-left: 18px; margin: 0; font-size: 15px; }
.specs { font-size: 14px; color: var(--slate); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); border-radius: var(--r); overflow: hidden; font-size: 15px; }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { font: 700 15px var(--h); background: var(--frost); }
tbody th { font-weight: 600; }
.us { background: var(--ice); font-weight: 700; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { border-top: 3px solid var(--ice); padding-top: 12px; }
.timeline b { display: block; font: 800 20px var(--h); }
.timeline span { color: #C9DCEA; }
.btn-secondary { display: inline-block; border: 2px solid var(--navy); color: var(--navy); background: transparent; border-radius: var(--r); padding: 12px 22px; font: 700 16px var(--h); text-decoration: none; cursor: pointer; }

/* reviews */
.rev-head { display: grid; gap: 20px; align-items: center; margin-bottom: 20px; }
@media (min-width: 760px) { .rev-head { grid-template-columns: 220px 1fr; } }
.score b { font: 800 52px var(--h); display: block; line-height: 1; }
.score small { display: block; color: var(--slate); }
.hist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-width: 460px; }
.hist li { display: grid; grid-template-columns: 52px 1fr 40px; gap: 10px; align-items: center; font-size: 14px; }
.hist i { height: 8px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.hist i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--navy); }
.rev-photos { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; }
.rev-photos img { width: 96px; height: 128px; object-fit: cover; border-radius: 8px; }
.rev-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.rev-filter button { border: 1px solid var(--line); background: var(--white); border-radius: 20px; padding: 8px 14px; font: 500 14px var(--b); cursor: pointer; color: var(--navy); }
.rev-filter button.on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.rev-list { list-style: none; padding: 0; margin: 0 0 16px; }
.rev-list li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.r-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--slate); }
.r-title { display: block; margin: 4px 0; font-size: 17px; }
.r-photo { width: 140px; height: 186px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.r-meta { font-size: 14px; color: var(--slate); margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.r-meta b { color: var(--navy); }
.verified { color: var(--ok); font-weight: 600; }
.r-reply { background: var(--white); border-radius: 8px; padding: 10px 14px; margin-top: 10px; font-size: 15px; }
.r-reply p { margin: 0; color: var(--slate); }

/* guarantee */
.guarantee { background: var(--navy); color: var(--white); }
.g-inner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .g-inner { grid-template-columns: 160px 1fr; } }
.g-num { font: 800 120px/1 var(--h); color: var(--ice); }
.guarantee p { color: #DCE7F0; max-width: 62ch; }

/* sticky add to cart */
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--white); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
.sticky-atc.show { transform: none; }
.sticky-atc img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.sticky-atc div { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.sticky-atc div span { display: block; color: var(--slate); }
.sticky-atc button { border: 0; border-radius: 10px; background: var(--amber); color: var(--navy); font: 800 16px var(--h); padding: 0 18px; min-height: 48px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .sticky-atc { transition: none; } html { scroll-behavior: auto; } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(5, 15, 25, .82); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(420px, 100%); }
.modal video { width: 100%; border-radius: var(--r); background: #000; }
.close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: var(--white); font-size: 34px; cursor: pointer; }

/* cart drawer */
.drawer-shade { position: fixed; inset: 0; background: rgba(5, 15, 25, .5); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--white); z-index: 71; transform: translateX(100%); transition: transform .25s; padding: 18px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.cart-open .drawer-shade { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h2 { font-size: 22px; margin: 0; }
.drawer .close { position: static; color: var(--navy); }
.lines { list-style: none; padding: 0; margin: 0; }
.lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lines img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.lines small { display: block; color: var(--slate); }
.link { background: none; border: 0; padding: 0; color: var(--slate); text-decoration: underline; font-size: 13px; cursor: pointer; }
.upgrade { text-align: left; background: var(--ice); border: 2px solid var(--navy); border-radius: var(--r); padding: 12px 14px; cursor: pointer; color: var(--navy); font: 500 15px var(--b); }
.upgrade small { display: block; color: var(--slate); }
.d-eta { margin: 0; font-size: 15px; }
.d-total { display: flex; justify-content: space-between; font: 700 19px var(--h); }
.empty { color: var(--slate); }

/* footer */
.foot { background: var(--navy); color: #DCE7F0; padding: 48px 0 20px; margin-top: 0; font-size: 15px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; } }
.foot h3 { color: var(--white); font-size: 16px; }
.foot a { color: #DCE7F0; display: block; text-decoration: none; padding: 3px 0; }
.foot p a { display: inline; }
.foot .small { font-size: 13px; color: #A9BCCD; }
.pays { font-size: 13px; color: #A9BCCD; }
.copy { font-size: 13px; color: #A9BCCD; margin-top: 24px; }
body:has(.sticky-atc.show) .foot { padding-bottom: 96px; }

/* inner pages + checkout */
.page { padding: 40px 0 64px; max-width: 760px; }
.page h1 { font-size: clamp(28px, 4vw, 38px); }
.page h2 { font-size: 22px; margin-top: 1.4em; }
.page table { min-width: 0; }
.co-grid { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 64px; }
@media (min-width: 900px) { .co-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.co-form label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 4px; }
.co-form input, .co-form select { width: 100%; min-height: 50px; border: 1px solid #B9C7D3; border-radius: 8px; padding: 0 14px; font: 16px var(--b); background: var(--white); color: var(--ink); }
.co-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-form .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.co-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.ship-opt { display: flex; justify-content: space-between; border: 2px solid var(--navy); border-radius: 8px; padding: 14px; font-size: 15px; margin-top: 8px; }
.summary { list-style: none; padding: 0; margin: 0 0 12px; }
.summary li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.summary small { display: block; color: var(--slate); }
.tot { display: flex; justify-content: space-between; padding: 6px 0; }
.tot.big { font: 800 21px var(--h); border-top: 1px solid var(--line); padding-top: 12px; }
.secure { font-size: 13px; color: var(--slate); text-align: center; }
.up-card { max-width: 560px; margin: 32px auto 64px; background: var(--white); border-radius: var(--r); padding: 24px; text-align: center; border: 1px solid var(--line); }
.up-card img { border-radius: var(--r); margin: 0 auto 16px; }
.up-card .was { text-decoration: line-through; color: var(--slate); margin-right: 8px; }
.no-thanks { display: inline-block; margin-top: 12px; color: var(--slate); font-size: 15px; }
.steps-done { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.steps-done li { background: var(--white); border-radius: var(--r); padding: 14px 16px; border-left: 4px solid var(--navy); }
