:root {
  color-scheme: dark;
  --bg: #10101d;
  --panel: #201b35;
  --panel-bright: #2b2249;
  --text: #fcfbff;
  --muted: #c0bcda;
  --accent: #dbfc81;
  --violet: #b7a5ff;
  --ice: #94eaff;
  --border: #3a345b;
  --section-padding: clamp(1.5rem, 2.4vw, 2rem);
  --display: 'Bahnschrift', 'Aptos Display', 'Segoe UI', sans-serif;
  --body: 'Inter', 'Aptos', 'Segoe UI', system-ui, sans-serif;
  --lift: 0 3px 6px #08061545, 0 18px 32px #08061556, 0 40px 70px #08061533;
  font: 100% var(--body);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { color: var(--text); background: var(--bg); margin: 0; line-height: 1.62; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
button, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.03; }
h2 { font-size: clamp(2.3rem, 4.45vw, 4rem); font-weight: 730; letter-spacing: -.052em; text-wrap: balance; }
h3 { font-size: 1.34rem; letter-spacing: -.027em; }
section[id], article[id] { scroll-margin-top: 6rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.container { width: min(100% - 4rem, 75rem); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 20;
  top: .5rem;
  left: .5rem;
  padding: .6rem 1rem;
  transform: translateY(-150%);
  background: var(--bg);
}
.skip:focus { transform: translateY(0); }

.masthead {
  position: sticky;
  z-index: 10;
  top: 0;
  background: linear-gradient(110deg, #17132af5, #211736f5 70%, #2b1b41f5);
  border-bottom: 1px solid #a58bea40;
  backdrop-filter: blur(18px);
}
.masthead-inner {
  display: flex;
  min-height: 4.65rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}
.brand { flex: 0 0 auto; padding: .4rem 0; }
.masthead nav { display: flex; align-items: center; gap: clamp(.55rem, 2.2vw, 1.75rem); }
.masthead nav a, .footer a {
  font-size: .9rem;
  font-weight: 640;
  text-decoration: none;
}
.masthead nav a { display: flex; min-height: 2.75rem; align-items: center; color: var(--muted); white-space: nowrap; }
.masthead nav a:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.16rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  font-weight: 740;
  font-size: .94rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.button.primary {
  color: #1d280c;
  border-color: #e9ffac;
  background: linear-gradient(145deg,#efffc4,#c8f66c);
  box-shadow: inset 0 1px 0 #ffffff95, 0 3px 10px #0b0a14a6, 0 9px 21px #a1f75628;
}
.button.primary:hover:enabled, a.button.primary:hover {
  color: #111a07;
  background: linear-gradient(145deg,#f5ffd9,#dcfe9a);
  box-shadow: inset 0 1px 0 #fff, 0 0 26px #c6ff6355;
  transform: translateY(-2px);
}
.button.secondary { color: var(--text); border-color: #ffffff4d; background: #1c173a8c; }
.button.secondary:hover:enabled, a.button.secondary:hover { background: #51418380; border-color: var(--violet); }
.button:disabled, .button.primary:disabled { background: #29263d; border-color: #46415d; color: #ccc8dc; box-shadow: none; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-bottom: 1px solid #a48bfa50;
  background:
    radial-gradient(ellipse at 79% 66%, #965dffbc 0, #7141d673 23%, transparent 51%),
    linear-gradient(114deg,#151222 2%,#241842 44%,#302057 75%,#19142e 100%);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background:
    linear-gradient(158deg,transparent 46%,#ccc5ff20 53%,transparent 64%),
    radial-gradient(ellipse at 15% 110%, #914ef233, transparent 57%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.09fr);
  align-items: center;
  gap: clamp(1rem,4vw,3rem);
  padding-block: clamp(3rem,5vw,5.35rem) clamp(2rem,3.5vw,3.25rem);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(3.65rem,7vw,7.2rem);
  letter-spacing: -.076em;
  line-height: .94;
  margin-top: 1rem;
  text-wrap: balance;
  max-width: 10ch;
}
.hero h1 em {
  display: block;
  font-style: normal;
  color: #d0b4ff;
  background: linear-gradient(100deg,#e1d0ff 1%,#c0a0ff 39%,#ffc09e 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro {
  max-width: 33rem;
  color: #e3d9f7;
  font-size: clamp(1.03rem,1.52vw,1.2rem);
  margin: 1.42rem 0 1.55rem;
}
.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
  color: #ddd1f1;
  font-size: .875rem;
}
.hero-details li + li::before { content: '·'; color: var(--accent); margin-right: 1rem; }

.hero-visual { position: relative; min-width: 0; }
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(27rem,46vw,37rem);
  isolation: isolate;
  perspective: 1050px;
}
.phone-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: auto 4% 1.7rem;
  height: 22%;
  background:
    radial-gradient(ellipse at 50% 52%, #0c0811c9 8%, transparent 60%),
    radial-gradient(ellipse at 55% 62%, #f0b4ff3c 12%, transparent 64%);
  filter: blur(9px);
  transform: rotate(-7deg) skewX(-13deg);
}
.phone {
  --metal-light: #fff0ff;
  --metal-shine: #8b7bbf;
  --metal-mid: #3a3656;
  --metal-dark: #18152d;
  position: relative;
  isolation: isolate;
  display: block;
  width: var(--phone-width, 15rem);
  border-radius: 13% / 6%;
  padding: 1.8%;
  background: linear-gradient(122deg,var(--metal-light) 0%,var(--metal-mid) 12%,var(--metal-dark) 37%,var(--metal-shine) 78%,var(--metal-dark) 100%);
  box-shadow: inset 0 0 0 1px #f3dfff8a, 0 2px 3px #24143f96;
}
.phone::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: .14rem -.44rem -.55rem .37rem;
  border-radius: inherit;
  background:
    linear-gradient(88deg,#171320 0%,var(--metal-mid) 43%,var(--metal-dark) 95%),
    var(--metal-dark);
  box-shadow: inset -2px -2px 0 #f8dbff38, inset 0 -6px 8px #0009, 8px 18px 27px #1009238c, 13px 36px 62px #110a24a6;
}
.phone::after {
  content: '';
  position: absolute;
  inset: 24% -.52rem auto auto;
  width: .21rem;
  height: 13%;
  border-radius: 0 .22rem .22rem 0;
  background: linear-gradient(90deg,var(--metal-dark),var(--metal-shine));
  box-shadow: 1px 1px 1px #090612b0;
}
.phone-face {
  position: relative;
  display: block;
  border-radius: 10.9% / 5%;
  overflow: hidden;
  background: #10151b;
  box-shadow: inset 0 0 0 1px #000a, 0 0 0 1px #06050a;
}
.phone-face img { width: 100%; }
.phone-demo .phone-face { aspect-ratio: 384 / 848; }
.phone-demo .phone-face img { height: 100%; object-fit: contain; }
.phone-face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(152deg,#fff2ff2a 0%,transparent 28%,transparent 71%,#ceb8fa1a 100%);
  box-shadow: inset 1px 1px 2px #e6deff49;
  pointer-events: none;
}
.phone-hero, .phone-rear { position: absolute; margin: 0; }
.phone-hero {
  z-index: 2;
  --phone-width: clamp(12rem,20vw,16rem);
  left: 18%;
  top: 1.5%;
  transform: rotateY(-17deg) rotateX(8deg) rotateZ(-11deg) translateZ(40px);
}
.phone-rear {
  --metal-shine: #aa7deb;
  --metal-mid: #533d72;
  --phone-width: clamp(10.6rem,17vw,14.4rem);
  left: 52%;
  top: 12%;
  opacity: .96;
  transform: rotateY(-21deg) rotateX(8deg) rotateZ(12deg) translateZ(-25px);
}
.hero-visual figcaption {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  color: #e9dfff;
  font-size: .875rem;
  line-height: 1.4;
  text-align: center;
}
.hero-visual figcaption span {
  flex: 0 0 auto;
  width: .44rem;
  height: .44rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px #b3ffbd99;
}

.section, main > .videos-section { padding-block: var(--section-padding); }
.section h2 { margin-top: .63rem; }
.section-heading { max-width: 48rem; }
.section-heading > p:last-child, .order-copy > p:not(.eyebrow), .support-card > p:not(.eyebrow) { color: var(--muted); margin-top: 1rem; }

.capture-section {
  --mode-glow: #9b6eff7a;
  --mode-accent: #e4ceff;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 22% 60%,var(--mode-glow) 0,transparent 44%),
    linear-gradient(131deg,#201631,#1d1730 65%,#161327);
}
.capture-section[data-mode='lean'] { --mode-glow: #5cb7a17f; --mode-accent: #b9f0df; }
.capture-section[data-mode='homogeneous'] { --mode-glow: #6375d578; --mode-accent: #c3ceff; }
.capture-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  grid-template-areas: "screen heading" "screen detail" "screen map";
  align-items: start;
  gap: 1.05rem clamp(1.5rem, 4vw, 3.75rem);
}
.capture-heading { grid-area: heading; }
.capture-heading .eyebrow { color: var(--mode-accent); }
.capture-intro { margin-top: .75rem; color: var(--muted); }
.capture-options { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.capture-options button {
  background: linear-gradient(160deg,#302650,#231e38);
  color: var(--text);
  padding: .65rem .85rem;
  min-height: 2.75rem;
  border-radius: .68rem;
  border: 1px solid #665587;
  font-weight: 665;
  font-size: .88rem;
}
.capture-options button:hover { border-color: var(--mode-accent); }
.capture-options button[aria-pressed='true'] { background: var(--mode-accent); color: #251938; border-color: transparent; }
.capture-details { grid-area: detail; padding-block: .8rem; border-block: 1px solid var(--border); }
.capture-details h3 { color: var(--mode-accent); }
.capture-details p { margin-top: .45rem; color: var(--muted); font-size: .94rem; }
.phone-demo { grid-area: screen; align-self: center; width: min(100%,15rem); padding: .44rem; margin-inline: auto; transform: perspective(920px) rotateY(9deg) rotateZ(-4deg); }
.mode-map {
  grid-area: map;
  min-width: 0;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: .9rem;
  background: #171326;
}
.mode-map figcaption { font-weight: 700; }
.mode-map-axis { color: var(--muted); font-size: .8rem; }
.mode-map-axis--load { margin-block: .4rem .18rem; }
.mode-map-axis--speed { margin-block: .18rem .35rem; text-align: right; }
.mode-map-plot {
  position: relative;
  isolation: isolate;
  height: clamp(8rem, 18vw, 10.5rem);
  border-left: 1px solid #a292bb;
  border-bottom: 1px solid #a292bb;
}
.mode-map-plot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, #ffffff22 1px, transparent 1px),
                    linear-gradient(to bottom, #ffffff22 1px, transparent 1px);
  background-size: 20% 25%;
}
.mode-region { position: absolute; inset: 0; background: var(--region-fill); }
.mode-region--homogeneous { --region-fill: #303c65; }
.mode-region--lean {
  --region-fill: #285951;
  clip-path: polygon(4% 100%, 4% 71%, 10% 49%, 21% 37%, 44% 38%, 60% 48%, 70% 70%, 74% 100%);
}
.mode-region--stratified {
  --region-fill: #563f83;
  clip-path: polygon(8% 100%, 8% 84%, 15% 72%, 26% 68%, 43% 69%, 54% 80%, 59% 100%);
}
.mode-map-label {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  padding: .17rem .36rem;
  border: 1px solid transparent;
  border-radius: .3rem;
  background: #171326ed;
  color: var(--text);
  font-size: .75rem;
  font-weight: 680;
  line-height: 1.25;
  white-space: nowrap;
}
.mode-map-label--homogeneous { left: 60%; top: 20%; }
.mode-map-label--lean { left: 34%; top: 55%; }
.mode-map-label--stratified { left: 29%; top: 86%; }
[data-mode='homogeneous'] .mode-region--homogeneous { --region-fill: #5267a1; }
[data-mode='lean'] .mode-region--lean { --region-fill: #397b6e; }
[data-mode='stratified'] .mode-region--stratified { --region-fill: #795caf; }
[data-mode='homogeneous'] .mode-map-label--homogeneous,
[data-mode='lean'] .mode-map-label--lean,
[data-mode='stratified'] .mode-map-label--stratified { border-color: var(--mode-accent); color: var(--mode-accent); }
.mode-map p { color: var(--muted); font-size: .8rem; }

.diagnostics-section {
  color-scheme: light;
  color: #211338;
  background: linear-gradient(136deg,#f1eaff 0%,#fbf7ff 48%,#faedea 100%);
  box-shadow: inset 0 1px 0 #fff;
}
.diagnostics-section .eyebrow { color: #6733be; }
.diagnostics-section .section-heading > p:last-child { color: #554861; max-width: 60ch; }
.diagnostics-section :focus-visible { outline-color: #6723b9; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.feature {
  --tile-tone: #e6d9ff;
  --tile-ink: #532ca3;
  position: relative;
  isolation: isolate;
  border-radius: 1.25rem;
  background: linear-gradient(147deg,#fff,#fbf8ff);
  border: 1px solid #e0d4ef;
  box-shadow: 0 2px 4px #33215110, 0 10px 18px #43236a0d, 0 21px 32px #6627ad10;
  padding: clamp(1.2rem,2.5vw,1.75rem);
}
.feature:nth-child(3n + 2) { --tile-tone: #d9f3ef; --tile-ink: #236b62; }
.feature:nth-child(3n) { --tile-tone: #ffebe0; --tile-ink: #a04431; }
.feature-symbol {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: .88rem;
  border: 1px solid #fff8;
  background: var(--tile-tone);
  color: var(--tile-ink);
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: inset 0 1px 2px #fff, 0 4px 10px #31244318;
}
.feature p { color: #51435d; margin-top: .65rem; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.support-card, .order-card {
  padding: clamp(1.45rem,3.25vw,2.5rem);
  border: 1px solid #8067b067;
  border-radius: 1.35rem;
  background: linear-gradient(152deg,#292145,#1e192f 72%);
  box-shadow: inset 0 1px 0 #e7d6ff26, var(--lift);
}
.guide-card {
  background:
    radial-gradient(ellipse at 90% 0,#b17dfc63,transparent 70%),
    linear-gradient(126deg,#3c2180,#5935a3 65%,#392665);
}
.guide-card > p:not(.eyebrow) { color: #eadffb; }
.compatibility-list { margin: 1.35rem 0 0; }
.compatibility-list div { padding: .72rem 0; border-top: 1px solid #8c74ac54; }
.compatibility-list dt { font-weight: 730; }
.compatibility-list dd { margin: .15rem 0 0; color: var(--muted); }
.guide-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }

.order-section {
  border-top: 1px solid #866ab74d;
  background:
    radial-gradient(ellipse at 20% 74%,#6f3dbd59,transparent 62%),
    linear-gradient(133deg,#1c152e,#191629 57%,#19122e);
}
.order-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: clamp(1.75rem,6vw,5rem); align-items: start; }
.order-copy > p:not(.eyebrow) { max-width: 36rem; }
.international-rates { width: min(100%,29rem); margin-top: 1.15rem; border-top: 1px solid var(--border); padding-top: .75rem; }
.international-rates summary { color: var(--accent); cursor: pointer; font-weight: 680; }
.international-rates p { margin: .65rem 0; color: var(--muted); font-size: .9rem; }
.international-rates dl { margin: .8rem 0; }
.international-rates dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--border); }
.international-rates dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }
.international-rates a { color: var(--accent); }
.international-estimate label { display: block; margin: .75rem 0 .35rem; }
.international-estimate select {
  display: block; width: 100%; padding: .55rem .7rem; border: 1px solid var(--border);
  border-radius: .55rem; color: var(--text); background: #242039;
}
.international-estimate output { display: block; color: var(--text); font-variant-numeric: tabular-nums; }
.international-estimate output:not(:empty) { margin-top: .6rem; }
.box-contents { width: min(100%,29rem); margin-top: 1.7rem; }
.box-contents h3 { margin: 0 0 .65rem; font-size: 1.1rem; }
.box-contents-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.product-preview {
  width: min(100%,29rem);
  margin-top: 1.7rem;
  padding: .75rem;
  border-radius: 1.22rem;
  border: 1px solid #bca4eb58;
  background: linear-gradient(160deg,#6852908c,#2b2146);
  box-shadow: var(--lift);
}
.product-preview img { width: 100%; border-radius: .75rem; }
.product-preview figcaption { padding: .62rem .2rem .17rem; color: #e1d6f0; font-size: .86rem; }
.product-preview--photo { margin: 0; background: radial-gradient(ellipse at 50% 32%,#6a588b,#2b2146 79%); }
.product-preview--photo img { aspect-ratio: 4 / 3; object-fit: contain; }
.order-card { background: linear-gradient(146deg,#30254e,#201830 70%); }
.product-name { font-weight: 710; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .67rem; margin-top: .5rem; }
.price-row strong { font-family: var(--display); font-size: clamp(3rem,6vw,4.3rem); line-height: 1.1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.price-row span, .order-shipping, .checkout-status { color: var(--muted); font-size: .91rem; }
.order-shipping { margin: .6rem 0 1rem; }
.postage { border-block: 1px solid var(--border); padding-block: .88rem; }
.postage label { display: block; font-size: .9rem; font-weight: 680; }
.postage select, .evri-checkout input:not([type='radio'],[type='checkbox']) {
  color: var(--text);
  background: #201b37;
  border: 1px solid #685788;
  border-radius: .65rem;
  min-height: 2.8rem;
}
.postage select { appearance: none; display: block; width: 100%; margin-top: .4rem; padding: .55rem 1.9rem .55rem .7rem; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  width: .49rem;
  height: .49rem;
  right: 1rem;
  top: 44%;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(45deg);
  pointer-events: none;
}
.postage output { display: block; margin-top: .6rem; color: var(--accent); font-weight: 670; }
.postage small { display: block; color: var(--muted); font-size: .85rem; margin-top: .35rem; }
.checkout-status { margin-top: .8rem; }
.order-contact { color: var(--accent); display: inline-block; margin-top: .5rem; }
.footer { background: #120e20; border-top: 1px solid #5f4c804b; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.15rem; min-height: 6rem; padding-block: 1.2rem; }
.footer p { color: var(--muted); font-size: .9rem; }
.product-safety {
  --safety-gap: clamp(.9rem, 2.25vw, 1.6rem);
  padding-block: 1.2rem;
  border-top: 1px solid var(--border);
}
.product-safety h2 { font-size: 1.2rem; letter-spacing: normal; }
.product-summary, .product-contacts, .product-warnings { display: grid; gap: var(--safety-gap); }
.product-summary { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-top: .85rem; }
.product-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.product-warnings { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; margin-top: 1.1rem; }
.product-warnings details { border: 1px solid var(--border); border-radius: .6rem; background: #181329; }
.product-warnings summary { padding: .65rem .8rem; cursor: pointer; font-size: .9rem; font-weight: 700; }
.product-warnings summary::marker { color: var(--accent); }
.product-warnings details p { margin: 0; padding: 0 .8rem .8rem; }
.product-contacts dt, .product-safety h3 { font: 700 .9rem/1.4 var(--body); letter-spacing: normal; }
.product-contacts dd, .product-safety p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.product-summary a { color: var(--accent); overflow-wrap: anywhere; text-decoration: underline; }
.footer-documents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.35rem;
  padding-block: 1.2rem 1.8rem;
  border-top: 1px solid var(--border);
}
.footer-documents h2 { font-size: 1rem; letter-spacing: normal; }
.footer-documents ul { margin: .55rem 0 0; padding-left: 1rem; color: var(--muted); font-size: .9rem; }
.footer-documents li + li { margin-top: .25rem; }

/* The checkout build appends its stylesheet after this one. */
.order-card .evri-checkout input:not([type='radio'],[type='checkbox']),
.order-card .evri-checkout .evri-checkout__option { background: #201b37; border-color: #685788; border-radius: .65rem; }
.order-card .evri-checkout .evri-checkout__option:focus-within,
.order-card .evri-checkout .evri-checkout__option:hover { border-color: var(--accent); }

@media (max-width: 970px) {
  .hero h1 { font-size: clamp(3.7rem,7.6vw,5.2rem); }
  .phone-hero { left: 14%; }
  .phone-rear { left: 48%; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .container { width: min(100% - 2rem,75rem); }
  .masthead-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 0; gap: .12rem 1rem; padding-block: .53rem .24rem; }
  .brand { width: 88px; }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .5rem; }
  .masthead nav a { font-size: .83rem; }
  .header-order { min-height: 2.7rem; }
  section[id], article[id] { scroll-margin-top: 7rem; }
  .hero-grid, .capture-grid, .support-grid, .order-grid { grid-template-columns: minmax(0,1fr); }
  .product-summary, .product-contacts, .product-warnings { grid-template-columns: minmax(0,1fr); }
  .hero-grid { padding-block: clamp(2.65rem,8vw,4.1rem) 2.3rem; gap: 1.75rem; }
  .hero h1 { font-size: clamp(3.2rem,11.4vw,5.25rem); }
  .hero-visual { width: min(100%,32rem); margin-inline: auto; }
  .phone-stage { min-height: clamp(25rem,108vw,34rem); }
  .phone-hero { --phone-width: clamp(10.5rem,41vw,14.1rem); left: 14%; top: 3%; }
  .phone-rear { --phone-width: clamp(9.6rem,37vw,12.2rem); left: 50%; top: 11%; }
  .capture-grid { grid-template-areas: "heading" "detail" "map" "screen"; gap: 1rem; }
  .product-warnings { gap: .45rem; }
  .phone-demo { width: min(100%,13rem); }
}
@media (max-width: 430px) {
  .hero-details { gap: .24rem .7rem; }
  .hero-details li + li::before { margin-right: .7rem; }
  .actions .button { padding-inline: .76rem; font-size: .86rem; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .phone-hero, .phone-rear { transition: transform .42s cubic-bezier(.22,.75,.24,1); }
  .phone-stage:hover .phone-hero { transform: rotateY(-13deg) rotateX(5deg) rotateZ(-9deg) translateZ(55px); }
  .phone-stage:hover .phone-rear { transform: rotateY(-17deg) rotateX(4deg) rotateZ(15deg) translateZ(-25px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

