/* Phosvolt site. Product catalogue: sticky nav, page hero, cards, cobalt warranty band, ink footer. Light by design. */
:root {
  --bg: #f5f6f9; --surface: #ffffff; --ink: #111317; --ink-2: #545a66; --line: #e2e5ec;
  --cobalt: #2445ff; --cobalt-h: #1733e6; --deep: #0b1a8c; --tint: #eceffe; --ok: #1fa45b;
  --f-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 18px; --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.in { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.45rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); font-weight: 500; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--f-body); white-space: nowrap; text-decoration: none; padding: 14px 22px; border-radius: 12px; border: 1.5px solid var(--cobalt); background: var(--cobalt); color: #fff; cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--cobalt-h); transform: translateY(-1px); box-shadow: 0 10px 22px -12px var(--cobalt); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-2); box-shadow: none; }
.btn.white { background: #fff; color: var(--deep); border-color: #fff; }
.btn.line-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.line-w:hover { border-color: #fff; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 19; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; gap: 28px; height: 68px; position: relative; }
.logo { --logo-gap: var(--surface); color: var(--ink); flex: none; display: block; }
.logo svg { height: 30px; width: auto; display: block; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cobalt); }
.top .btn { padding: 11px 18px; border-radius: 10px; }
.top .btn .short { display: none; }
.menu { display: none; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu svg { width: 20px; height: 20px; display: block; }
.menu .x, .top.open .menu .bars { display: none; } .top.open .menu .x { display: block; }

/* breadcrumbs + page head */
.crumbs { font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a3a9b6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.pagehead { background: var(--surface); border-bottom: 1px solid var(--line); }
.pagehead .in { padding-block: 40px 44px; display: grid; gap: 14px; }
.pagehead h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 820px; }
.pagehead .lede { font-size: 1.1rem; color: var(--ink-2); max-width: 680px; }

/* home hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding-block: 64px 56px; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); margin-top: 16px; }
.hero h1 em, .pagehead h1 em { font-style: normal; color: var(--cobalt); white-space: nowrap; }
.hero .lede { font-size: 1.12rem; color: var(--ink-2); max-width: 500px; margin-top: 20px; }
.hero .ctas { margin-top: 30px; }
.stage { position: relative; border-radius: 26px; background: radial-gradient(120% 90% at 70% 30%, #dfe4ff 0%, var(--tint) 45%, #f4f5fb 100%); aspect-ratio: 16 / 11; overflow: hidden; max-width: 100%; }
.stage .tetra { position: absolute; width: 58%; right: 4%; top: 2%; opacity: .14; }
.stage picture img, .stage > img { position: absolute; left: 3%; bottom: 8%; width: 94%; height: auto; filter: drop-shadow(0 26px 24px rgba(10,14,40,.22)); animation: rise 1s var(--ease) both; }
.chip { position: absolute; left: 18px; top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px -14px rgba(10,14,40,.4); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px #d8f3e3; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* fact strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact svg { width: 26px; height: 26px; flex: none; color: var(--cobalt); margin-top: 2px; }
.fact b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.fact span { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 2px; }

/* sections */
.sec { padding-block: 88px 0; }
.sec.tight { padding-block: 56px 0; }
.head { display: grid; gap: 12px; max-width: 680px; }
.head p { color: var(--ink-2); font-size: 1.05rem; }
.head + * { margin-top: 36px; }

/* products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.product .pic { height: 290px; display: flex; align-items: center; justify-content: center; padding: 22px; background: linear-gradient(180deg, #f1f3f8, var(--surface)); }
.product .pic img { max-width: 100%; max-height: 246px; width: auto; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 20px 18px rgba(10,14,40,.18)); }
.product .body { padding: 24px 26px 26px; display: grid; gap: 14px; align-content: start; }
.product .top-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.product h3 a { text-decoration: none; } .product h3 a:hover { color: var(--cobalt); }
.use { font-size: 13px; font-weight: 600; color: var(--cobalt); background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.big { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1; }
.big em { font-style: normal; color: var(--cobalt); }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-2); padding-right: 16px; }
.specs dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pd .shot { background: linear-gradient(180deg, #f1f3f8, var(--surface)); border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 100%; position: sticky; top: 92px; }
.pd .shot img { max-height: 100%; width: auto; filter: drop-shadow(0 26px 22px rgba(10,14,40,.2)); }
.pd .info { display: grid; gap: 22px; }
.pd .info h2 { font-size: 1.35rem; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feat li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.feat svg { width: 20px; height: 20px; color: var(--cobalt); margin-top: 3px; }
.feat b { font-weight: 600; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--cobalt); border-radius: 12px; padding: 16px 18px; font-size: 15px; }

/* prose (warranty terms etc.) */
.prose { max-width: 720px; display: grid; gap: 16px; }
.prose h2 { font-size: 1.45rem; margin-top: 18px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; align-content: start; }
.box h3 { font-size: 1.1rem; }
.box ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }

/* faq */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1 var(--f-body); color: var(--cobalt); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* build line */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); font: 600 13px/1 var(--f-mono); color: var(--cobalt); width: 30px; height: 30px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.steps b { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.steps span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* warranty band */
.band { background: var(--deep); color: #fff; margin-top: 96px; position: relative; overflow: hidden; }
.band .in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 60px; align-items: center; padding-block: 72px; position: relative; }
.three { font-family: var(--f-head); font-weight: 800; font-size: clamp(6rem, 13vw, 9.5rem); line-height: .82; letter-spacing: -.06em; }
.three small { display: block; font: 500 13px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; margin-top: 16px; color: #c9d2ff; }
.band h2 { color: #fff; }
.band p { color: #d4daff; max-width: 580px; margin-top: 14px; }
.band .ctas { margin-top: 26px; }
.band .fine { font-size: 13.5px; color: #a9b5ff; margin-top: 18px; }
.band svg.bg { position: absolute; right: -90px; bottom: -120px; width: 420px; opacity: .08; }

/* dealer cta strip */
.strip { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.strip h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.strip p { color: var(--ink-2); margin-top: 8px; max-width: 560px; }

/* dealer page */
.dealer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.perks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.perks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.perks svg { width: 22px; height: 22px; color: var(--cobalt); margin-top: 2px; }
.perks b { display: block; font-weight: 600; }
.perks span { color: var(--ink-2); font-size: 15px; }
form.enq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; box-shadow: 0 30px 60px -48px rgba(10,14,40,.45); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.enq label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
form.enq input, form.enq select, form.enq textarea { font: 400 16px/1.3 var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; width: 100%; min-width: 0; }
form.enq textarea { min-height: 84px; resize: vertical; }
form.enq input:focus, form.enq select:focus, form.enq textarea:focus { outline: 2px solid var(--cobalt); outline-offset: 0; border-color: transparent; background: var(--surface); }
.req { color: #c4302b; }
.sent { border: 1px solid #bfe6cf; background: #effaf3; border-radius: 12px; padding: 16px; display: grid; gap: 10px; font-size: 14.5px; }
.err { color: #b3261e; font-size: 14px; }

/* contact */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 6px; align-content: start; }
.cbox small { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cbox .v { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; overflow-wrap: anywhere; }
.cbox a { color: var(--cobalt); font-weight: 600; text-decoration: none; font-size: 15px; } .cbox a:hover { text-decoration: underline; }

/* footer */
footer { background: var(--ink); color: #c9ccd4; margin-top: 100px; }
footer .in { padding-block: 56px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
footer .logo { --logo-gap: var(--ink); color: #fff; } footer .logo svg { height: 28px; }
footer h2 { margin: 0 0 12px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #8d93a0; }
footer .v { display: block; color: #fff; font-weight: 500; overflow-wrap: anywhere; }
footer .kv { display: grid; gap: 12px; }
footer .kv small { display: block; font-size: 13px; color: #8d93a0; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer ul a { display: block; color: #fff; text-decoration: none; padding: 4px 0; } footer ul a:hover { text-decoration: underline; }
footer .base { grid-column: 1 / -1; border-top: 1px solid #2a2d35; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: #8d93a0; }

/* responsive */
@media (max-width: 1020px) {
  .links { gap: 18px; }
  .hero .in { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 40px; }
  .stage { width: 100%; aspect-ratio: 16 / 9; }
  .stage picture img, .stage > img { width: 76%; left: 12%; bottom: 6%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealer, .pd { grid-template-columns: 1fr; gap: 30px; }
  .pd .shot { position: static; aspect-ratio: 4 / 3; max-height: 460px; }
  footer .in { grid-template-columns: 1fr 1fr; } footer .brandcol { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .top .in { gap: 10px; height: 62px; }
  .top .btn { margin-left: auto; padding: 10px 14px; }
  .menu { display: inline-flex; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 4px max(20px, env(safe-area-inset-left, 0px)) 12px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -26px rgba(10,14,40,.4); }
  .top.open .links { display: flex; }
  .links a { padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .links a:last-child { border-bottom: 0; }
  .links a[aria-current="page"] { box-shadow: none; color: var(--cobalt); }
  .band .in { grid-template-columns: 1fr; gap: 22px; padding-block: 56px; }
  .cards3, .cols2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) { .products { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sec { padding-block: 60px 0; }
  .hero .ctas, .band .ctas { display: grid; grid-template-columns: 1fr; }
  .stage { aspect-ratio: 16 / 11; } .stage picture img, .stage > img { width: 94%; left: 3%; bottom: 8%; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; }
  .fact:last-child { border-bottom: 0; }
  .product .pic { height: 230px; } .product .pic img { max-height: 190px; }
  .product .body { padding: 20px; }
  .acts .btn, .strip .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  form.enq, .strip { padding: 20px; }
  .pd .shot { padding: 24px; }
  .band { margin-top: 64px; }
  .three { font-size: 6rem; }
  .band svg.bg { width: 260px; right: -70px; bottom: -80px; }
  footer { margin-top: 72px; }
  footer .in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 420px) { .logo svg { height: 26px; } .top .btn { padding: 10px 12px; font-size: 14px; } }
@media (max-width: 350px) { .top .btn .long { display: none; } .top .btn .short { display: inline; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* product page: price block and gallery */
.price { display: grid; gap: 4px; padding: 14px 0 4px; border-top: 1px solid var(--line); }
.price .pnow { font-family: var(--f-head); font-weight: 800; font-size: 1.9rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price .pmrp { color: var(--ink-2); text-decoration: line-through; font-size: 15px; }
.price .pnote { color: var(--ink-2); font-size: 14px; }
.price .instock { color: var(--ok); font-weight: 600; }
.gallery { display: grid; gap: 12px; position: sticky; top: 92px; }
.gallery figure { margin: 0; display: none; background: linear-gradient(180deg, #f1f3f8, var(--surface)); border: 1px solid var(--line); border-radius: 24px; padding: 28px; aspect-ratio: 1 / 1; max-width: 100%; place-items: center; }
.gallery figure.on { display: grid; }
.gallery figure img { max-height: 100%; width: auto; filter: drop-shadow(0 22px 20px rgba(10,14,40,.18)); }
.thumbs { display: flex; gap: 10px; }
.thumbs .t { width: 78px; height: 78px; padding: 6px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.thumbs .t.on { border-color: var(--cobalt); }
.thumbs .t img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 1020px) { .gallery { position: static; } .gallery figure { aspect-ratio: 4 / 3; max-height: 480px; } }
@media (max-width: 560px) { .gallery figure { padding: 16px; } .thumbs .t { width: 64px; height: 64px; } }
.pd > *, .gallery, .gallery figure { min-width: 0; }
.gallery figure picture { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.gallery figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
