/* Thinkwill — site styles
   Concept: "viewfinder". Clean white pages in the logo's black and red; the hero is a live camera feed;
   mono HUD labels carry real specs; spec sheets sit on ink-black sections. Brand colours are the first tokens below. */
:root {
  --bg: #ffffff;          /* page ground */
  --surface: #f5f5f6;     /* cards, panels */
  --raised: #ebebed;      /* hover, inputs */
  --line: rgba(10, 10, 12, .09);
  --fg: #0b0b0c;          /* logo black */
  --fg-2: #5d5d63;
  --fg-3: #8d8d94;
  --accent: #e60000;      /* logo red, a touch deeper for text contrast */
  --accent-2: #ff3b2f;    /* lighter red for gradients */
  --accent-ink: #ffffff;
  --rec: #ff3b2f;         /* REC dot only */
  --stage: #f0f0f3;       /* pedestal behind product photos */
  --stage-ink: #9a9aa1;
  --paper: #0b0b0c;       /* ink sections (spec tables) */
  --paper-fg: #f5f5f6;
  --paper-fg-2: #a3a3aa;
  --paper-line: rgba(255, 255, 255, .12);

  --display: "Geist", ui-sans-serif, -apple-system, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --body: "Geist", ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-lg: 28px;
  --r-md: 18px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(44px, 7.6vw, 104px); line-height: .98; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.dim { color: var(--fg-3); }
.lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--fg-2); max-width: 60ch; line-height: 1.45; text-wrap: pretty; }
.hud { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.hud b { color: var(--accent); font-weight: 500; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.sec { padding-block: clamp(80px, 11vw, 150px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font: 500 16px/1 var(--body); border: 0; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 500; }
.arrow::after { content: "→"; transition: transform .3s var(--ease); }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Header: floating glass pill */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; padding: 14px var(--gutter) 0; view-transition-name: hdr; }
.hdr-in {
  max-width: var(--max); margin: 0 auto; height: 58px; padding: 0 10px 0 22px;
  display: flex; align-items: center; gap: 20px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 40px -24px rgba(0,0,0,.35);
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 24px; width: auto; }
.wordmark { font: 600 20px/1 var(--display); letter-spacing: -0.03em; }
.links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: color .2s, background .2s; }
.links a:hover { color: var(--fg); background: var(--raised); }
.links a[aria-current="page"] { color: var(--fg); background: var(--raised); }
.hdr .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--raised); color: var(--fg); cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease); }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .hdr .btn { display: none; }
  .links {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 80px; flex-direction: column; gap: 0;
    padding: 10px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -20px rgba(0,0,0,.25);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .links.open { opacity: 1; transform: none; pointer-events: auto; }
  .links a { padding: 14px 16px; font-size: 18px; }
  .menu-open .menu-btn span:first-child { transform: translateY(2.75px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
}

/* Hero */
.hero { padding-block: clamp(56px, 8vw, 110px) 0; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero h1 .w { display: inline-block; }
.hero h1 .accent { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .hero h1 .w { opacity: 0; transform: translateY(.35em); filter: blur(10px); animation: word .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 100ms); }
.js .hero .fade { opacity: 0; animation: word .9s var(--ease) .6s forwards; }
@keyframes word { to { opacity: 1; transform: none; filter: blur(0); } }

/* Viewfinder: the live camera feed */
.vf { position: relative; margin-top: clamp(40px, 6vw, 72px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8.2; max-width: 100%; background: #000; box-shadow: 0 50px 100px -40px rgba(0,0,0,.45); }
.js .vf { opacity: 0; transform: translateY(40px) scale(.97); animation: rise 1.2s var(--ease) .45s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.vf canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: filter .9s var(--ease), opacity .6s; }
.vf[data-mode="night"] .scene { filter: brightness(.16) saturate(.35) contrast(1.1); }
.vf[data-mode="ir"] .scene { filter: grayscale(1) brightness(1.35) contrast(1.25); }
.vf[data-mode="colour"] .scene { filter: saturate(1.1) brightness(1.08); }
.vf .grain { mix-blend-mode: screen; opacity: 0; }
.vf[data-mode="ir"] .grain { opacity: .5; }
.vf[data-mode="night"] .grain { opacity: .25; }
.vf::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55)); }
.osd { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: var(--mono); font-size: clamp(10px, 1.1vw, 13px); letter-spacing: .08em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.8); text-transform: uppercase; }
.osd > div { position: absolute; display: flex; align-items: center; gap: 10px; }
.osd .tl { top: clamp(14px, 2.4vw, 28px); left: clamp(14px, 2.4vw, 28px); }
.osd .tr { top: clamp(14px, 2.4vw, 28px); right: clamp(14px, 2.4vw, 28px); }
.osd .bl { bottom: clamp(14px, 2.4vw, 28px); left: clamp(14px, 2.4vw, 28px); font-variant-numeric: tabular-nums; }
.osd .br { bottom: clamp(14px, 2.4vw, 28px); right: clamp(14px, 2.4vw, 28px); }
.rec { width: .8em; height: .8em; border-radius: 50%; background: var(--rec); animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 1em; }
.bars i { width: 3px; background: #fff; border-radius: 1px; }
.bars i:nth-child(1) { height: 30%; } .bars i:nth-child(2) { height: 55%; } .bars i:nth-child(3) { height: 80%; } .bars i:nth-child(4) { height: 100%; }
.corner { position: absolute; z-index: 2; top: 50%; left: 50%; width: 26px; height: 26px; border: 0 solid rgba(255,255,255,.7); }
.corner.a { transform: translate(-130%, -130%); border-top-width: 1.5px; border-left-width: 1.5px; }
.corner.b { transform: translate(30%, -130%); border-top-width: 1.5px; border-right-width: 1.5px; }
.corner.c { transform: translate(-130%, 30%); border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner.d { transform: translate(30%, 30%); border-bottom-width: 1.5px; border-right-width: 1.5px; }
.modes { display: flex; justify-content: center; margin-top: 22px; }
.modes-in { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; }
.modes button { position: relative; z-index: 1; border: 0; background: none; color: var(--fg-2); font: 500 14px/1 var(--body); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: color .3s; white-space: nowrap; }
.modes button[aria-pressed="true"] { color: var(--bg); }
.modes .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--fg); transition: left .5s var(--ease), width .5s var(--ease); }
.vf-caption { text-align: center; margin-top: 14px; min-height: 1.5em; }
@media (max-width: 640px) { .vf { aspect-ratio: 4 / 3.4; } .modes button { padding: 10px 11px; font-size: 13px; } .corner { display: none; } }

/* Marquee of places the cameras work */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; margin-top: clamp(64px, 8vw, 110px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 50s linear infinite; }
.marquee span { font: 500 clamp(18px, 2vw, 24px)/1 var(--display); letter-spacing: -0.02em; color: var(--fg-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Bento of categories */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 10px; min-width: 0;
  transition: transform .5s var(--ease);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(500px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%); }
.tile:hover::before { opacity: 1; }
.tile:hover { transform: translateY(-4px); }
.tile p { color: var(--fg-2); max-width: 34ch; }
.tile .stage { margin-top: auto; }
.tile .arrow { margin-bottom: 14px; }
.t-4g { grid-column: span 4; grid-row: span 2; }
.t-solar { grid-column: span 2; grid-row: span 2; }
.t-wifi, .t-dvr, .t-router { grid-column: span 2; }
.t-4g .stage { aspect-ratio: 16 / 9; }
.t-solar .stage { aspect-ratio: 3 / 4; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .t-4g, .t-router { grid-column: span 2; } .t-solar, .t-wifi, .t-dvr { grid-column: span 1; } .t-4g, .t-solar { grid-row: auto; } .t-solar .stage { aspect-ratio: 4 / 3; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento > .tile { grid-column: auto; } }

/* Product stage: a lit studio pedestal with a floor shadow; line drawing shows until the photo loads */
.stage {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r-md);
  background: radial-gradient(60% 55% at 50% 38%, #ffffff 0%, #f7f7f9 55%, var(--stage) 100%); color: var(--stage-ink); overflow: hidden;
  box-shadow: inset 0 1px 0 #fff, inset 0 -40px 60px -40px rgba(0, 0, 0, .06);
}
.stage svg { width: 60%; max-height: 80%; height: auto; transition: opacity .3s; }
.stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 7%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); opacity: 0; transition: opacity .4s, transform .7s var(--ease); pointer-events: none; }
.stage.has-img::after { opacity: 1; }
.stage img { position: absolute; inset: 9% 10% 12%; width: 80%; height: 79%; object-fit: contain; z-index: 1;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .14)) drop-shadow(0 3px 5px rgba(0, 0, 0, .1)); transition: transform .7s var(--ease); }
a:hover .stage::after { transform: scaleX(.9); opacity: .8; }
.stage.has-img svg { opacity: 0; }
a:hover .stage img { transform: scale(1.04); }

/* Steps: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 32px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; }
.step::before { counter-increment: step; content: "0" counter(step); font: 500 13px/1 var(--mono); color: var(--accent); letter-spacing: .1em; }
.step p { color: var(--fg-2); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Feature list */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px) 32px; }
.feat { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); min-width: 0; }
.feat .ico { color: var(--accent); }
.feat .ico svg { width: 26px; height: 26px; display: block; }
.feat p { color: var(--fg-2); }
@media (max-width: 800px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; min-width: 0; }
.stat b { font: 600 clamp(36px, 5vw, 64px)/1 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--fg-2); font-size: 15px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* CTA split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.panel { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 18px; align-content: start; justify-items: start; min-width: 0; }
.panel.glow { background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface) 60%); }
.panel p { color: var(--fg-2); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; min-width: 0; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.card .stage { aspect-ratio: 1 / 1; margin-bottom: 14px; }
.card .hud, .card h3, .card p, .card .arrow { padding-inline: 12px; }
.card h3 { font-size: 21px; }
.card p { color: var(--fg-2); font-size: 15px; flex: 1; }
.card .arrow { font-size: 15px; margin-top: 8px; }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.chip:hover { color: var(--fg); background: var(--raised); }
.chip[aria-current="page"] { background: var(--fg); color: var(--bg); box-shadow: none; }
.cat-block { display: grid; gap: 22px; margin-top: 72px; }
.cat-block h2 { font-size: clamp(26px, 3vw, 36px); }
.cat-block h2 a:hover { color: var(--accent); }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a:hover { color: var(--fg); }

/* Page intro */
.intro { display: grid; gap: 22px; justify-items: start; padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px); }

/* Product tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-2); }

/* Product page: gallery + info, sticky section tabs, bullet specs */
.pdx { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 80px); }
.gal { position: sticky; top: 92px; display: grid; gap: 12px; min-width: 0; }
.gal-main { position: relative; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--r-lg); scrollbar-width: none; outline: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.gal-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 1 / 1; border-radius: 0; scroll-snap-align: center; }
.gal-single .gal-slide { border-radius: var(--r-lg); }
.gal-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer; display: grid; place-items: center;
  background: color-mix(in srgb, #fff 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--fg);
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.3), inset 0 0 0 1px var(--line); transition: opacity .25s, transform .25s var(--ease); z-index: 2; }
.gal-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gal-nav:hover { transform: scale(1.06); }
.gal-nav[disabled] { opacity: 0; pointer-events: none; }
.gal-prev { left: 14px; } .gal-next { right: 14px; }
.gal-count { position: absolute; right: 16px; bottom: 14px; z-index: 2; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--fg-2);
  padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, #fff 80%, transparent); }
.gal-count b { color: var(--fg); font-weight: 600; }
.gal-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gal-thumb { flex: 0 0 auto; width: 76px; height: 76px; padding: 6px; border: 0; border-radius: 14px; cursor: pointer; background: var(--stage);
  box-shadow: inset 0 0 0 1px var(--line); opacity: .65; transition: opacity .2s, box-shadow .2s; }
.gal-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gal-thumb:hover { opacity: 1; }
.gal-thumb[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--accent); }

.pdx-info { display: grid; gap: 20px; justify-items: start; min-width: 0; padding-top: clamp(0px, 2vw, 24px); }
.pdx-info .hud a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.pdx-info .hud a:hover { color: var(--fg); }
.pdx-info h1 { font-size: clamp(38px, 4.6vw, 64px); }
.pdx-tagline { font: 500 clamp(19px, 1.8vw, 23px)/1.35 var(--display); letter-spacing: -.01em; }
.pdx-summary { color: var(--fg-2); font-size: 17px; max-width: 54ch; }
.glance { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.glance li { display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.glance span { font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.glance b { font-weight: 500; font-size: 15px; line-height: 1.35; }
.pdx-assure { list-style: none; margin: 0; padding: 18px 0 0; width: 100%; display: grid; gap: 10px; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 14px; }
.pdx-assure li { display: flex; align-items: center; gap: 10px; }
.pdx-assure .ico { color: var(--accent); }
.pdx-assure .ico svg { width: 18px; height: 18px; display: block; }
.pdx-assure a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

.pd-tabs { position: sticky; top: 80px; z-index: 90; margin-top: 8px; }
.pd-tabs .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.pd-tabs a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: color .2s, background .2s; }
.pd-tabs a:hover, .pd-tabs a[aria-current="true"] { color: var(--fg); background: var(--raised); }
.pd-tabs .pd-tabs-cta { margin-left: auto; background: var(--accent); color: var(--accent-ink); }
.pd-tabs .pd-tabs-cta:hover { background: var(--accent); color: var(--accent-ink); }
.pd-sec { scroll-margin-top: 136px; padding-block: clamp(64px, 8vw, 110px); }
.pd-sec:not(.paper) + .pd-sec:not(.paper) { padding-top: 0; }

.pd-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px clamp(28px, 5vw, 80px); align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.pd-about .hud { grid-column: 1 / -1; }
.pd-about h2 { font-size: clamp(28px, 3.4vw, 44px); }
.pd-about-text { display: grid; gap: 14px; color: var(--fg-2); font-size: 18px; line-height: 1.6; }

.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.spec-list li { position: relative; display: grid; gap: 6px; padding: 18px 0 18px 22px; border-bottom: 1px solid var(--paper-line); min-width: 0; }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.spec-list span { font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-fg-2); }
.spec-list b { font-weight: 500; font-size: 17px; line-height: 1.4; }
.btn-on-dark { color: var(--paper-fg); box-shadow: inset 0 0 0 1px var(--paper-line); justify-self: start; }
.btn-on-dark:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--paper-line); }

.ideal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.ideal li { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: 17px; }
.ideal svg { width: 28px; height: 28px; color: var(--accent); flex: 0 0 auto; }

.pd-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-help-card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); transition: transform .25s var(--ease), box-shadow .25s; }
a.pd-help-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -24px rgba(0,0,0,.35); }
.pd-help-card .ico { color: var(--accent); }
.pd-help-card .ico svg { width: 26px; height: 26px; display: block; }
.pd-help-card p { color: var(--fg-2); }
.pd-help-card .more { color: var(--accent); font-weight: 500; margin-top: 4px; }
.pd-help-card .store-badges { margin-top: 6px; }

.pd-bar { display: none; }
@media (max-width: 960px) {
  .pdx { grid-template-columns: 1fr; }
  .gal { position: static; }
  .pd-about { grid-template-columns: 1fr; }
  .pd-help { grid-template-columns: 1fr; }
}
@media (max-width: 880px) { .pd-tabs { top: 72px; } .pd-tabs .pd-tabs-cta { display: none; } }
@media (max-width: 640px) {
  .spec-list { grid-template-columns: 1fr; }
  .gal-nav { width: 38px; height: 38px; }
  .gal-thumb { width: 62px; height: 62px; }
  .pd-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 95; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 0 0 1px var(--line), 0 12px 40px -16px rgba(0,0,0,.4); transform: translateY(140%); transition: transform .4s var(--ease); }
  .pd-bar.on { transform: none; }
  .pd-bar span { font-size: 14px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .pd-bar span b { color: var(--fg); margin-right: 4px; }
  .pd-bar .btn { height: 42px; padding: 0 20px; font-size: 15px; flex: 0 0 auto; }
  .pd-page .ftr { padding-bottom: 90px; }
}

/* Light "paper" section for specs */
.paper { background: var(--paper); color: var(--paper-fg); }
.paper .lede, .paper .dim, .paper .hud { color: var(--paper-fg-2); }
.paper .hud b { color: var(--accent-2); }
.specs-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.specs-wrap > div:first-child { position: sticky; top: 110px; display: grid; gap: 16px; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.specs th { width: 40%; padding-right: 20px; font: 500 12px/1.7 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-fg-2); }
.specs td { font-size: 17px; }
@media (max-width: 800px) { .specs-wrap { grid-template-columns: 1fr; } .specs-wrap > div:first-child { position: static; } }

/* Contact */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); min-width: 0; }
.form input, .form select, .form textarea {
  font: 400 17px/1.4 var(--body); color: var(--fg); background: var(--raised); border: 0; border-radius: 14px; padding: 15px 16px; width: 100%;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; text-transform: none; letter-spacing: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--accent); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.clist li { display: grid; gap: 4px; font-size: 19px; }
.clist a:hover { color: var(--accent); }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding-block: 64px 36px; font-size: 14px; color: var(--fg-2); overflow: hidden; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.ftr-grid > div { display: grid; gap: 12px; align-content: start; }
.ftr h4 { margin: 0 0 2px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a:hover { color: var(--fg); }
.ftr-logo { display: inline-flex; margin-bottom: 4px; } .ftr-logo img { height: 26px; width: auto; }
.ftr-bottom { margin-top: 56px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; } }

/* Scroll-driven reveals. Without support everything simply shows; elements on screen at load are fully visible */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(48px) scale(.98); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero h1 .w, .js .hero .fade, .js .vf { opacity: 1; transform: none; filter: none; }
}

/* Footer social icons */
.ftr-bottom { align-items: center; }
.ftr-social { display: flex; gap: 8px; }
.ftr-social .soc { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--fg-2); transition: color .2s, background .2s, border-color .2s, transform .25s; }
.ftr-social .soc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ftr-social .soc:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* App store badges (official-style: black pill, store mark, two-line label) */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 12px; border-radius: 11px; background: #000; color: #fff; border: 1px solid #a6a6a6; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.store-badge:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.store-badge .sb-ico { width: 24px; height: 24px; flex: none; }
.store-badge .sb-txt { display: grid; line-height: 1.05; text-align: left; }
.store-badge small { font-size: 10px; letter-spacing: .02em; font-weight: 500; }
.store-badge b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.store-badges.on-dark .store-badge { border-color: rgba(255,255,255,.28); }
.store-badges.on-dark .store-badge:hover { border-color: rgba(255,255,255,.6); box-shadow: 0 8px 26px rgba(0,0,0,.6); }
.step-txt .store-badges { margin-top: 1rem; }
.ftr-app { margin: 8px 0 0; color: var(--fg); font-weight: 500; }
@media (max-width: 640px) {
  .store-badges { flex-wrap: nowrap; gap: 8px; max-width: 320px; }
  .store-badge { flex: 1 1 0; min-width: 0; height: 44px; padding: 0 10px; gap: 7px; justify-content: center; }
  .store-badge .sb-ico { width: 20px; height: 20px; }
  .store-badge small { font-size: 8.5px; white-space: nowrap; }
  .store-badge b { font-size: 15px; white-space: nowrap; }
}

/* Header dropdowns (desktop): Products and Support */
.hdr-in { position: relative; }
.links .caret { width: 10px; height: 10px; margin-left: 5px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.links .has-mega > a { display: inline-flex; align-items: center; white-space: nowrap; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 12px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.99); transform-origin: 50% 0; transition: opacity .2s, transform .35s var(--ease), visibility 0s .35s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.has-mega:hover > a .caret, .has-mega:focus-within > a .caret { transform: rotate(180deg); }
.links .mega .pm-name, .links .mega .pm-subs a, .links .mega .sm-col a { padding: 0; border-radius: 0; background: none; }
.pm-foot .hud { white-space: nowrap; }
.m-only { display: none; }

/* Products: feature card + category tiles */
.pm { display: grid; grid-template-columns: 300px 1fr; gap: 14px; padding: 14px; border-radius: 30px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -30px rgba(0,0,0,.4); }
.links .mega .pm-feature { position: relative; overflow: hidden; display: grid; align-content: start; gap: 8px; padding: 26px; border-radius: 22px; color: #fff; background: radial-gradient(120% 90% at 80% 100%, #3b2a2c 0%, #14151b 55%, #0b0c10 100%); min-height: 360px; isolation: isolate; }
.pm-feature .pm-badge { justify-self: start; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--accent); color: #fff; }
.pm-feature b { font: 600 26px/1.08 var(--display); letter-spacing: -0.03em; margin-top: 6px; }
.pm-feature .pm-line { font-size: 14px; color: rgba(255,255,255,.7); max-width: 22ch; }
.pm-feature img { position: absolute; right: -24px; bottom: -10px; width: 250px; height: 250px; object-fit: contain; z-index: -1; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); transition: transform .6s var(--ease); }
.pm-feature .arrow { position: absolute; left: 26px; bottom: 24px; color: #fff; }
.pm-feature:hover img { transform: scale(1.05) rotate(-2deg); }
.pm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-content: start; }
.pm-cat { display: grid; gap: 6px; align-content: start; padding: 12px 14px; border-radius: 16px; transition: background .2s; }
.pm-cat:hover { background: var(--raised); }
.links .mega .pm-name { display: flex; align-items: center; gap: 12px; color: var(--fg); }
.pm-ico { flex: none; display: grid; place-items: center; width: 46px; height: 34px; border-radius: 10px; background: var(--raised); color: var(--fg-2); transition: color .2s, background .2s; }
.pm-cat:hover .pm-ico { background: var(--surface); color: var(--accent); }
.pm-ico svg { width: 38px; height: 27px; }
.pm-ico svg * { vector-effect: non-scaling-stroke; stroke-width: 1.3; }
.pm-name > span:last-child { display: grid; gap: 2px; }
.pm-name b { font-size: 14.5px; font-weight: 600; }
.pm-name small { font: 500 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.pm-subs { display: flex; flex-wrap: wrap; gap: 2px 10px; padding-left: 58px; }
.links .mega .pm-subs a { font-size: 12.5px; color: var(--fg-2); }
.links .mega .pm-subs a:hover { color: var(--accent); }
.links .mega .pm-all-tile { display: flex; align-items: center; justify-content: center; gap: 12px; align-self: stretch; border-radius: 16px; background: var(--raised); color: var(--fg); padding: 14px 18px; white-space: nowrap; }
.pm-all-tile b { font-size: 15px; }
.links .mega .pm-all-tile:hover { background: var(--fg); color: var(--bg); }
.pm-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 12px 4px; border-top: 1px solid var(--line); }
.pm-sols { display: flex; flex-wrap: nowrap; justify-content: center; gap: 5px; min-width: 0; }
.links .mega .pm-sol { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 999px; font-size: 12px; white-space: nowrap; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, box-shadow .2s; }
.pm-sol svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.links .mega .pm-sol:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
/* narrower desktops: drop the chip icons so the row still fits on one line */
@media (max-width: 1240px) { .pm-sol svg { display: none; } .links .mega .pm-sol { padding: 5px 9px; } .pm-foot .hud { display: none; } }
@media (max-width: 980px) { .pm-sols { gap: 3px; } .links .mega .pm-sol { padding: 4px 7px; font-size: 11px; } }

/* Support: compact columns, right-aligned under its link */
.mega-support { left: auto; width: min(820px, 100%); }
.sm { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 8px 26px; padding: 26px 28px; border-radius: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -30px rgba(0,0,0,.4); }
.sm h4 { margin: 0 0 10px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.links .mega .sm-col a { font-size: 14px; color: var(--fg-2); }
.links .mega .sm-col a:hover { color: var(--fg); }
.sm-help { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 18px; background: var(--raised); }
.sm-help p { margin: 0; font-size: 13px; color: var(--fg-2); }
.links .mega .sm-help .btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; font-size: 13px; border-radius: 999px; justify-self: start; }
@media (max-width: 1180px) { .pm { grid-template-columns: 240px 1fr; } .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pm-feature img { width: 190px; height: 190px; } }
@media (max-width: 880px) { .mega, .links .caret { display: none; } .m-only { display: block; } }

/* Cloud plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: grid; gap: 14px; align-content: start; padding: 32px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font-size: 28px; margin: 0; }
.plan-days { margin: 0; color: var(--fg-2); } .plan-days b { color: var(--fg); font-size: 20px; }
.plan ul { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; color: var(--fg-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan-price { margin: auto 0 0; font: 600 18px/1.2 var(--display); }
.plan .btn { justify-self: start; }
.plan-lead { background: #0e0f13; color: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.plan-lead .hud, .plan-lead li, .plan-lead .plan-days { color: rgba(255,255,255,.7); } .plan-lead .plan-days b { color: #fff; }
.plan-tag { position: absolute; top: 20px; right: 20px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--accent); color: #fff; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Numbered list used on Cloud and Support */
.olist { list-style: none; counter-reset: o; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.olist li { counter-increment: o; position: relative; padding-left: 44px; color: var(--fg-2); }
.olist li::before { content: counter(o); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--mono); color: #fff; background: var(--accent); }
.olist b { color: var(--fg); }

/* Support page */
.sup-sec, .sup-sec [id] { scroll-margin-top: 100px; }
.dls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 100px; }
.dl h3 { margin: 4px 0 0; font-size: 21px; } .dl p { margin: 0; color: var(--fg-2); }
.dl .ico { color: var(--accent); } .dl .ico svg { width: 26px; height: 26px; display: block; }
.dl:target, .panel:target { box-shadow: inset 0 0 0 2px var(--accent); }
.howto { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.howto h3, .sup-sec .panel h3 { margin: 0; font-size: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--fg-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.qas { display: grid; width: 100%; }
.qa { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 500; color: var(--fg); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--fg-2); transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 16px; }
.gloss { margin: 0; display: grid; gap: 14px; width: 100%; }
.gloss div { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.gloss dt { font: 600 13px/1.2 var(--mono); letter-spacing: .04em; color: var(--fg); }
.gloss dd { margin: 0; color: var(--fg-2); }
.rma-steps { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rma-steps li { counter-increment: r; display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: var(--r-lg); background: var(--raised); }
.rma-steps li::before { content: "0" counter(r); font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--accent); }
.rma-steps b { font-size: 18px; } .rma-steps span { color: var(--fg-2); }
@media (max-width: 900px) { .dls { grid-template-columns: 1fr 1fr; } .howto { grid-template-columns: 1fr; } .rma-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dls, .rma-steps { grid-template-columns: 1fr; } }

/* Products: category sidebar + listing */
.shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.shop-main > .cat-block:first-child { margin-top: 0; }
.side { position: sticky; top: 96px; max-height: calc(100svh - 112px); overflow: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); scrollbar-width: thin; }
.side-head { list-style: none; padding: 18px 20px 12px; font-weight: 600; font-size: 16px; color: var(--fg); cursor: default; }
.side-head::-webkit-details-marker, .side-cat summary::-webkit-details-marker { display: none; }
.side-list { padding: 0 8px 10px; }
.side-cat { border-top: 1px solid var(--line); }
.side-cat summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 12px; cursor: pointer; font-size: 14.5px; color: var(--fg); border-radius: 10px; }
.side-cat summary > .side-name { flex: 1; color: inherit; }
.side-cat summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.side-cat[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.side-cat summary:hover { background: var(--raised); }
.side-cat[open] summary { color: var(--accent); }
.side-n { font: 500 12px/1 var(--mono, monospace); color: var(--fg-2); }
.side-req { font-size: 10px; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.side-cat ul { list-style: none; margin: 0 0 8px; padding: 2px 12px 4px 24px; display: grid; gap: 2px; }
.side-cat li a { display: block; position: relative; padding: 5px 0; font-size: 14px; color: var(--fg-2); }
.side-cat li a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 5px; height: 5px; margin-top: -3px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px currentColor; }
.side-cat li a:hover { color: var(--accent); }
.req-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px 24px; border-radius: 20px; background: var(--raised); }
.sub-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-list .chip { background: var(--surface); }
.req-row .arrow { font-size: 14px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.sub-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.sub-tile { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 20px; background: var(--raised); scroll-margin-top: 110px; transition: transform .25s var(--ease), box-shadow .25s; }
.sub-tile b { font-size: 19px; font-weight: 600; color: var(--fg); }
.sub-tile > span:last-child { font: 500 11px/1 var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.sub-tile .ico { color: var(--accent); }
.sub-tile:hover, .sub-tile:target { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--accent); }
.sub-filter { margin-bottom: 26px; }
.sub-filter .chip { border: 0; background: none; font: inherit; font-size: 14px; cursor: pointer; scroll-margin-top: 110px; }
.sub-filter .chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); box-shadow: none; }
.sub-filter .chip[data-empty] { opacity: .6; }
.card.is-hidden { display: none; }
.filter-empty { display: grid; justify-items: start; gap: 16px; padding: 28px; border-radius: 20px; background: var(--raised); }
.filter-empty[hidden] { display: none; }
.filter-empty p { margin: 0; color: var(--fg-2); }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; }
  .side-head { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; }
  .side-head::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--fg-2); }
  .side-box[open] .side-head::after { content: "−"; }
}
.sub-tile .ico svg { width: 26px; height: 26px; display: block; }
@media (max-width: 600px) { .sub-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .sub-tile { padding: 16px; gap: 8px; border-radius: 16px; } .sub-tile b { font-size: 17px; } .sub-tile > span:last-child { font-size: 9.5px; } }
