:root {
  --navy: #02182e;
  --navy-2: #0c2a47;
  --blue: #0088c7;
  --cyan: #00a3e0;
  --magenta: #e5007d;
  --yellow: #ffd400;
  --ink: #1d1f24;
  --text: #2a3442;
  --muted: #5d6877;
  --line: #e2e7ee;
  --bg: #ffffff;
  --soft: #f3f6f9;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, sans-serif; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: Archivo, Inter, sans-serif; color: var(--navy); line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; font-style: italic; letter-spacing: -.01em; }
h3 { font-weight: 700; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); margin: 0 0 .6em; }
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; padding: .8em 1.3em; border-radius: 999px; border: 2px solid var(--navy); }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { color: #fff; }
select, input, button { font: inherit; }
select { width: 100%; padding: .7em .8em; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-weight: 600; }
select:focus { outline: none; border-color: var(--cyan); }

/* CMYK stripe used across the page */
.topbar { background: var(--navy); color: #cfe3f2; font-size: .85rem; position: relative; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, var(--cyan) 0 33.3%, var(--magenta) 33.3% 66.6%, var(--yellow) 66.6%); }
.topbar-in { display: flex; justify-content: center; gap: 36px; padding: 8px 20px; flex-wrap: wrap; }
.topbar b { color: #fff; }

.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 28px; padding: 10px 20px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--magenta); }
.basket { position: relative; color: var(--navy); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); }
.basket b { position: absolute; top: -3px; right: -3px; background: var(--magenta); color: #fff; font-size: .7rem; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; }

/* hero */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--soft), #fff); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-in > * { min-width: 0; }
.cutoff { display: inline-block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--yellow); padding: .45em .9em; border-radius: 8px; font-size: .92rem; color: var(--navy); margin: 0 0 18px; }
.cutoff b { color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; }
h1 .c { color: var(--blue); } h1 .m { color: var(--magenta); } h1 .y { color: var(--navy); background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); padding: 0 .05em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.finder { margin-top: 26px; background: var(--navy); border-radius: var(--radius); padding: 20px 22px 22px; color: #fff; box-shadow: 0 18px 40px -20px rgba(2, 24, 46, .55); }
.finder-t { font-family: Archivo, sans-serif; font-weight: 800; font-style: italic; font-size: 1.2rem; margin: 0 0 12px; }
.finder-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.finder label span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #9fc2dd; margin-bottom: 4px; }
.finder select { border-color: transparent; }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 30% 50%; width: 100%; }
.drops { position: absolute; left: -18px; bottom: 26px; display: flex; flex-direction: column; gap: 8px; }
.drops i { width: 34px; height: 34px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); border: 3px solid #fff; }
.dc { background: var(--cyan); } .dm { background: var(--magenta); } .dy { background: var(--yellow); } .dk { background: var(--ink); }

/* finder results */
.results { padding: 8px 0 56px; }
.res-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 8px; margin-bottom: 8px; }
.res-head h2 { font-size: 1.6rem; margin: 0; }
.res-head p { margin: 0; }
.item { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sw { display: flex; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.sw i { flex: 1; }
.kind { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.item h3 { font-size: 1.1rem; margin: 2px 0; }
.yield { font-size: .88rem; color: var(--muted); }
.opts { display: flex; gap: 10px; }
.opt { display: grid; grid-template-columns: auto auto; grid-template-areas: "tag tag" "pr add" "cpp add"; column-gap: 14px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px 8px 14px; min-width: 200px; }
.opt-c { border-color: #bfe6f6; background: #f2fafe; }
.tag { grid-area: tag; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.opt-c .tag { color: var(--blue); }
.pr { grid-area: pr; font-family: Archivo, sans-serif; font-size: 1.3rem; color: var(--navy); }
.cpp { grid-area: cpp; font-size: .8rem; color: var(--muted); }
.add { grid-area: add; justify-self: end; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: .5em 1.1em; font-weight: 700; cursor: pointer; }
.opt-c .add { background: var(--blue); }
.add:hover { background: var(--magenta); }

/* brands */
.brands { background: var(--soft); padding: 22px 0; }
.brands-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.brands p { margin: 0; font-weight: 600; color: var(--muted); }
.brands ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.brands li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em 1em; font-weight: 700; color: var(--navy); font-size: .95rem; }

/* shop by type */
.shop { padding: 70px 0; }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--navy); }
.cat-big { grid-column: span 2; grid-row: span 2; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat:hover img { transform: scale(1.04); }
.cat span { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(2, 24, 46, .88)); font-size: .9rem; color: #d6e6f3; }
.cat b { display: block; font-family: Archivo, sans-serif; font-size: 1.25rem; font-style: italic; font-weight: 800; color: #fff; }
.cat-big b { font-size: 1.8rem; }
.cat::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--cyan); }
.cat:nth-child(2)::after { background: var(--magenta); } .cat:nth-child(3)::after { background: var(--yellow); } .cat:nth-child(4)::after { background: var(--blue); } .cat:nth-child(5)::after { background: var(--navy-2); }

/* compatibles */
.compat { background: var(--navy); color: #c9dcec; padding: 80px 0; }
.compat h2, .compat h3 { color: #fff; }
.compat .eyebrow { color: var(--yellow); }
.compat-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.compat-in > * { min-width: 0; }
.rebuild { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rebuild li { counter-increment: s; background: var(--navy-2); border-radius: 12px; padding: 14px 14px 14px 52px; position: relative; }
.rebuild li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--navy); background: var(--cyan); }
.rebuild li:nth-child(2)::before { background: var(--magenta); color: #fff; } .rebuild li:nth-child(3)::before { background: var(--yellow); } .rebuild li:nth-child(4)::before { background: #fff; }
.rebuild b { color: #fff; }
.compat-photo { border-radius: var(--radius); height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 65% 50%; width: 100%; }
.saver { background: #fff; color: var(--text); border-radius: 20px; padding: 28px; position: sticky; top: 100px; }
.saver h3 { color: var(--navy); font-size: 1.5rem; font-style: italic; font-weight: 800; }
.saver label { display: block; font-weight: 600; color: var(--navy); margin: 16px 0 6px; font-size: .95rem; }
.saver input[type=range] { width: 100%; accent-color: var(--magenta); }
.saver-out { margin: 20px 0 0; display: grid; gap: 8px; }
.saver-out div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px; background: var(--soft); border-radius: 10px; }
.saver-out dt { color: var(--muted); }
.saver-out dd { margin: 0; font-weight: 700; color: var(--navy); }
.saver-out .save { background: var(--yellow); }
.saver-out .save dt { color: var(--navy); font-weight: 600; }
.saver-out .save dd { font-family: Archivo, sans-serif; font-size: 1.6rem; font-weight: 800; }
.fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* popular searches */
.popular { padding: 70px 0 30px; }
.pop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pop-grid button { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 20px; cursor: pointer; color: var(--muted); font-size: .92rem; position: relative; transition: border-color .2s, transform .2s; }
.pop-grid button::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--magenta); font-weight: 700; font-size: 1.2rem; }
.pop-grid button:hover { border-color: var(--cyan); transform: translateY(-2px); }
.pop-grid b { display: block; color: var(--navy); font-size: 1.05rem; }

/* support */
.support { padding: 70px 0; }
.support-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.support-in > * { min-width: 0; }
.support-photo { border-radius: 22px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.fixes, .faq-list { display: grid; gap: 8px; margin: 22px 0; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; background: #fff; }
details[open] { border-color: #bfe6f6; background: #f7fcfe; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--magenta); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--muted); }
.contact { display: flex; gap: 10px; flex-wrap: wrap; }
.contact .btn-ghost { overflow-wrap: anywhere; }
.hours { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }

.faq { background: var(--soft); padding: 70px 0; }
.faq-in { max-width: 820px; }

.footer { background: var(--navy); color: #9fb6ca; padding: 46px 0 30px; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--cyan) 0 33.3%, var(--magenta) 33.3% 66.6%, var(--yellow) 66.6%); }
.footer-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.footer .brand img { height: 64px; background: #fff; border-radius: 12px; padding: 6px 10px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.footer nav a { color: #fff; text-decoration: none; font-weight: 600; }
.legal, .copy { grid-column: 1 / -1; margin: 0; font-size: .85rem; }
.legal { border-top: 1px solid var(--navy-2); padding-top: 18px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%); visibility: hidden; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .3s ease, visibility .3s; z-index: 50; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

@media (max-width: 980px) {
  .nav { display: none; }
  .basket { margin-left: auto; }
  .hero-in, .compat-in, .support-in { grid-template-columns: 1fr; }

  .hero-media img { aspect-ratio: 16 / 9; }
  .saver { position: static; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item { grid-template-columns: 48px minmax(0, 1fr); }
  .sw { width: 48px; height: 48px; }
  .opts { grid-column: 1 / -1; }
  .opt { flex: 1; min-width: 0; }
  .support-photo { aspect-ratio: 16 / 10; object-position: 50% 30%; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-in { gap: 4px 16px; font-size: .78rem; }
  .topbar-in span:nth-child(3) { display: none; }
  .brand img { height: 44px; }
  .hero { padding: 24px 0 30px; }
  .finder-row { grid-template-columns: 1fr; }
  .drops { display: none; }
  .cats { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .cat-big { grid-column: auto; grid-row: span 1; }
  .cat-big b { font-size: 1.4rem; }
  .opts { flex-direction: column; }
  .rebuild, .pop-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
}
