:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: #111d36;
  background: #f3f6fc;
  font-synthesis: none;
  --muted: #4e5d76;
  --blue: #204fd3;
  --line: #dce4f1;
  --white: #fff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: #1745bb; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #2f68eb; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.55; }
section[id] { scroll-margin-top: 1.25rem; }

.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 5; padding: .65rem; background: white; }

.topbar { background: #fff; border-bottom: 1px solid #e5ebf5; }
.topbar-inner { display: flex; min-height: 4.6rem; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { flex: 0 0 auto; }
.brand img, .footer img { height: auto; }
.topbar nav { display: flex; align-items: center; gap: clamp(1rem, 4vw, 2.9rem); margin-inline-start: auto; }
.topbar nav a { display: inline-flex; align-items: center; min-height: 44px; color: #33415e; text-decoration: none; font-size: .92rem; font-weight: 670; }
.topbar nav a:hover { color: var(--blue); }

.hero { background: linear-gradient(111deg, #102556 0%, #152d72 50%, #2455d8 100%); color: white; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(1rem, 6vw, 5rem); align-items: center; padding-block: 3.3rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: #c6d9ff; font-size: .84rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 730; }
.eyebrow span { width: 1.25rem; height: 2px; border-radius: 5px; background: #7ab0ff; }
.hero h1 { font-size: clamp(2.7rem, 5vw, 4.65rem); line-height: .99; letter-spacing: -.065em; margin-block: .95rem 1rem; font-weight: 800; }
.hero-copy > p:not(.eyebrow) { color: #e0eaff; font-size: clamp(1rem, 1.6vw, 1.19rem); max-width: 31ch; }
.hero-copy strong { color: white; }
.hero-link { display: inline-flex; min-height: 46px; align-items: center; margin-top: 1.5rem; padding: .5rem .96rem; border: 1px solid #7792ce; border-radius: .52rem; color: white; font-size: .91rem; font-weight: 710; text-decoration: none; }
.hero-link:hover { background: #ffffff1c; border-color: #a7c3ff; }
.hero-link:focus-visible { outline-color: #c9dcff; }

.hero-visual { display: flex; align-items: center; justify-content: flex-end; }
.product-stage {
  position: relative;
  width: min(100%, 31rem);
  min-height: 16rem;
  aspect-ratio: 1.68;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  border-radius: 1.1rem;
  border: 1px solid #b3c9ff6b;
  background:
    repeating-linear-gradient(0deg, transparent 0 26px, #b0c9ff1c 26px 27px),
    repeating-linear-gradient(90deg, transparent 0 26px, #b0c9ff1c 26px 27px),
    radial-gradient(ellipse at 55% 43%, #5685f0 0%, #315bb4 55%, #183c99 100%);
  isolation: isolate;
  box-shadow: inset 0 0 0 6px #bdd4ff13, 0 18px 35px #0b173862;
}
.product-stage::after { content: ''; position: absolute; z-index: -1; inset: 7% 23%; border: 1px solid #b6ceff35; border-radius: 50%; box-shadow: 0 0 0 21px #a8c8ff17, 0 0 0 42px #a8c8ff10; }
.hero-device { display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: center; justify-items: center; height: min(78%, 14.8rem); padding: .25rem .6rem; gap: .7rem; }
.hero-device img { object-fit: contain; width: 100%; height: 100%; min-height: 0; filter: drop-shadow(0 14px 16px #07132cae); }
.hero-device-usb img { transform: scale(.86); }
.hero-device span { display: block; background: #102969; border: 1px solid #9cb6f975; color: #eef4ff; border-radius: 99px; padding: .29rem .62rem; font-size: .72rem; font-weight: 750; letter-spacing: .055em; }

.content { padding-block: 2.35rem 3rem; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: .9rem 1.4rem; margin-bottom: 1.12rem; }
.section-heading h2 { font-size: clamp(1.65rem, 3.1vw, 2.35rem); line-height: 1.12; letter-spacing: -.045em; }
.section-heading p { margin-top: .42rem; color: var(--muted); }
.comparison { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 24px #1b376709; }
.controls { display: flex; align-items: flex-end; justify-content: space-between; gap: .4rem 1.25rem; padding: 1rem 1.15rem .87rem; }
.control-label { color: #263552; font-weight: 750; font-size: .86rem; margin-bottom: .38rem; }
.filters, .model-options { display: flex; flex-wrap: wrap; gap: .42rem; }
.filters button, .model-chip, .case-button, .subtle-button, .primary-button {
  border: 1px solid #d2deee;
  border-radius: .5rem;
  background: #fff;
  color: #31415e;
  padding: .5rem .7rem;
  min-height: 44px;
  line-height: 1.25;
  font-size: .88rem;
  font-weight: 670;
}
.filters button:hover, .model-chip:hover, .case-button:hover, .subtle-button:hover { border-color: #7e9fe7; background: #f0f5ff; }
.filters button[aria-pressed="true"], .case-button[aria-pressed="true"] { color: #123995; background: #e8efff; border-color: #b0c5f9; }
.diff-control { position: relative; min-height: 44px; display: flex; align-items: center; gap: .58rem; color: #31415e; font-size: .9rem; font-weight: 680; cursor: pointer; }
.diff-control:has(:disabled) { opacity: .52; cursor: default; }
.diff-control input, .model-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { display: block; position: relative; width: 2.15rem; height: 1.24rem; background: #7786a1; border-radius: 2rem; }
.switch::before { content: ''; position: absolute; inset: .18rem auto auto .18rem; width: .88rem; height: .88rem; background: white; border-radius: 50%; }
.diff-control input:checked + .switch { background: var(--blue); }
.diff-control input:checked + .switch::before { transform: translateX(.9rem); }
.diff-control:has(:focus-visible), .model-chip:has(:focus-visible) { outline: 3px solid #2f68eb; outline-offset: 2px; }
.selection { padding: .75rem 1.15rem .95rem; border-top: 1px solid #edf1f8; }
.selection-top { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
#model-count { color: var(--muted); font-size: .85rem; }
.model-chip { position: relative; display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.model-chip:has(:checked) { color: #14377e; background: #f2f6ff; border-color: #bacedf; }
.model-check { display: grid; place-content: center; width: .92rem; height: .92rem; border: 1px solid #8194b3; border-radius: .23rem; background: white; }
.model-chip input:checked + .model-check { background: var(--blue); border-color: var(--blue); }
.model-chip input:checked + .model-check::after { content: ''; width: .44rem; height: .24rem; border: solid white; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.scroll-hint { padding: .45rem 1.15rem; border-top: 1px solid var(--line); background: #f5f8ff; color: #415573; font-size: .82rem; }
.table-scroll { overflow-x: auto; max-width: 100%; overscroll-behavior-inline: contain; scrollbar-color: #7793c9 #eef2fa; }
.table-scroll:focus-visible { outline-offset: -3px; }
table { width: 100%; min-width: var(--full-table-width, 0); border-spacing: 0; table-layout: fixed; font-size: .9rem; }
.feature-col { width: 10.25rem; }
th, td { text-align: left; vertical-align: top; padding: .86rem .82rem; border-top: 1px solid var(--line); }
th + th, th + td, td + td { border-left: 1px solid #e8edf6; }
th:first-child { position: sticky; z-index: 1; left: 0; box-shadow: 1px 0 #dce4f1; }
thead th { background: #eef3ff; padding-top: .85rem; padding-bottom: .95rem; }
thead th:first-child { vertical-align: bottom; color: #405576; font-size: .87rem; }
tbody th { background: #f5f8fd; font-weight: 730; color: #243651; }
tbody td { color: #32435f; line-height: 1.4; overflow-wrap: anywhere; }
tbody tr:nth-child(even) td { background: #fbfcff; }
.model-picture { width: 100%; height: 4rem; object-fit: contain; margin-bottom: .55rem; object-position: left center; mix-blend-mode: multiply; }
.model-kind { display: block; color: #526886; font-weight: 600; font-size: .76rem; }
.model-name { display: block; color: #132e69; font-size: .96rem; margin-top: .19rem; line-height: 1.24; }
td .confirmed { display: inline-flex; align-items: center; gap: .34rem; color: #146047; font-weight: 750; }
.confirmed::before { content: ''; width: .45rem; height: .45rem; border-radius: 50%; background: #188266; }
td .price { color: #132e69; font-size: 1.08rem; letter-spacing: -.03em; white-space: nowrap; }
td .currency { color: #546480; font-size: .76rem; font-weight: 640; margin-left: .2rem; }
.comparison-notes { margin: .82rem .15rem 0; color: #536078; font-size: .86rem; }
.empty { text-align: center; color: var(--muted); padding: 2rem; border-top: 1px solid var(--line); }
.empty button { margin-top: .6rem; }

.guide-section { margin-top: 2.75rem; }
.guide { display: grid; grid-template-columns: minmax(14rem, .82fr) minmax(0, 1.65fr); gap: .92rem; border: 1px solid var(--line); border-radius: 1rem; padding: .95rem; background: white; }
.case-options { display: grid; gap: .42rem; align-content: start; }
.case-button { text-align: left; padding-inline: .78rem; background: #f8faff; }
.case-content { background: #eef4ff; border: 1px solid #e1eafd; border-radius: .7rem; padding: clamp(1rem, 3vw, 1.7rem); display: grid; align-content: center; justify-items: start; }
.case-content h3 { color: #183979; font-size: clamp(1.32rem, 2.8vw, 1.85rem); letter-spacing: -.035em; line-height: 1.18; }
.case-content p { color: #405371; max-width: 57ch; margin-top: .55rem; }
.primary-button { background: #204fd3; color: white; border-color: #204fd3; margin-top: 1rem; }
.primary-button:hover { background: #153fb7; }

.sources-section { margin-top: 1.5rem; }
.sources-section details { background: white; border: 1px solid var(--line); border-radius: .7rem; padding: 0 1rem; }
.sources-section summary { cursor: pointer; padding: .85rem .12rem; color: #263958; font-weight: 720; }
.sources-section p { color: #4e5d76; font-size: .9rem; }
.source-list { display: grid; gap: .65rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 1.2rem; margin-block: .9rem 1.25rem; font-size: .88rem; }
.source-list a { text-underline-offset: .16rem; }
.footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { min-height: 4.5rem; display: flex; justify-content: space-between; align-items: center; gap: .65rem; color: #4f607d; font-size: .85rem; }

@media (max-width: 58rem) {
  .hero-inner { gap: 1.6rem; }
  .desktop-break { display: none; }
}
@media (max-width: 44rem) {
  .wrap { width: min(100% - 2rem, 75rem); }
  .topbar-inner { min-height: 3.65rem; gap: .72rem; }
  .brand img { width: 122px; }
  .topbar nav { gap: .8rem; }
  .topbar nav a { font-size: .81rem; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 1.95rem 1.7rem; gap: 1.26rem; }
  .hero h1 { margin-block: .65rem .72rem; }
  .hero-copy > p:not(.eyebrow) { max-width: 37ch; }
  .hero-link { margin-top: .85rem; }
  .hero-visual { display: block; }
  .product-stage { min-height: 0; aspect-ratio: 2.55; width: 100%; max-width: 31rem; overflow: hidden; }
  .hero-device { height: 92%; gap: .18rem; }
  .hero-device span { font-size: .65rem; }
  .content { padding-top: 1.55rem; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .feature-col { width: 7.15rem; }
  table { min-width: var(--mobile-table-width, 0); }
  th, td { padding-inline: .55rem; }
  .controls { flex-wrap: wrap; padding: .8rem .82rem .5rem; }
  .selection { padding: .65rem .82rem .8rem; }
  .scroll-hint { padding-inline: .82rem; }
  .guide-section { margin-top: 2.1rem; }
  .guide { grid-template-columns: 1fr; padding: .7rem; }
  .case-options { grid-template-columns: 1fr 1fr; }
  .source-list { grid-template-columns: 1fr; }
}
@media (max-width: 23rem) {
  .topbar-inner { gap: .42rem; }
  .brand img { width: 83px; }
  .topbar nav { gap: .45rem; }
  .topbar nav a { font-size: .74rem; }
  .hero h1 { font-size: 2.44rem; }
  .hero-device span { font-size: .57rem; white-space: nowrap; padding-inline: .45rem; }
  .footer img { width: 100px; }
  .case-options { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
