:root {
  --bg: oklch(1 0 0);
  --ink: oklch(0.15 0 0);
  --muted: oklch(0.42 0 0);
  --soft: oklch(0.955 0 0);
  --line: oklch(0.86 0 0);
  --blue: #0067b8;
  --blue-dark: #005da6;
  --hero-black: oklch(0.035 0.006 255);
  --hero-ink: oklch(0.09 0.012 252);
  --hero-warm: oklch(0.25 0.04 55);
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.official-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 46px);
  border-top: 1px solid var(--line);
  background: oklch(0.98 0 0);
  color: var(--muted);
}

.official-footer__brand,
.official-footer__links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.official-footer__brand strong {
  color: var(--ink);
}

.official-footer__links a {
  min-height: 36px;
  text-decoration: none;
}

.official-footer__links a:hover {
  color: var(--blue-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin-bottom: clamp(16px, 2vw, 24px);
  color: white;
  font-size: clamp(2.18rem, 3.55vw, 3.36rem);
  font-weight: 800;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.18rem, 3.55vw, 3.36rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.22rem, 1.8vw, 1.68rem);
}

.mock-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 12px clamp(18px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: oklch(1 0 0 / 0.96);
  backdrop-filter: blur(8px);
}

.mock-brand,
.mock-nav,
.mock-actions,
.hero-buttons {
  display: flex;
  align-items: center;
}

.mock-brand {
  gap: 10px;
  color: oklch(0.22 0 0);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 2px;
}

.brand-grid i {
  display: block;
}

.brand-grid i:nth-child(1) {
  background: var(--blue);
}

.brand-grid i:nth-child(2) {
  background: oklch(0.2 0 0);
}

.brand-grid i:nth-child(3) {
  background: oklch(0.58 0 0);
}

.brand-grid i:nth-child(4) {
  background: oklch(0.84 0 0);
}

.mock-nav {
  gap: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.mock-nav a,
.text-action,
.text-forward {
  text-decoration: none;
}

.mock-nav a {
  min-height: 38px;
  padding: 7px 12px;
}

.mock-nav a:hover,
.text-action:hover,
.text-forward:hover {
  color: var(--blue-dark);
}

.mock-actions {
  gap: 14px;
  white-space: nowrap;
}

.solid-action,
.outline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.solid-action {
  background: var(--blue);
  color: white;
}

.solid-action:hover,
.outline-action:hover {
  transform: translateY(-1px);
}

.solid-action:hover {
  background: var(--blue-dark);
}

.outline-action {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.large {
  min-height: 50px;
  padding-inline: 24px;
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 64px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 65% 20%, oklch(0.82 0.014 250 / 0.16), transparent 18%),
    radial-gradient(circle at 77% 78%, oklch(0.35 0.055 55 / 0.52), transparent 26%),
    linear-gradient(135deg, var(--hero-black), var(--hero-ink) 58%, oklch(0.07 0.012 40));
  color: white;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 0 36%, oklch(0.035 0.006 255 / 0.38) 54%, oklch(0.032 0.006 255 / 0.9) 78%, oklch(0.03 0.006 255 / 0.98)),
    linear-gradient(90deg, oklch(0.02 0.004 255 / 0.5), transparent 45%);
  pointer-events: none;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  overflow: visible;
  perspective: 1200px;
  pointer-events: none;
}

.studio-glow {
  position: absolute;
  inset: 2% -2% 18% 34%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 36%, oklch(1 0 0 / 0.22), transparent 24%),
    radial-gradient(circle at 72% 58%, oklch(0.78 0.035 62 / 0.32), transparent 28%);
  filter: blur(18px);
}

.studio-ring {
  position: absolute;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 999px;
  transform: rotateX(72deg) rotateZ(-7deg);
}

.studio-ring-one {
  right: 9%;
  bottom: 25%;
  width: 52%;
  height: 23%;
}

.studio-ring-two {
  right: 23%;
  bottom: 32%;
  width: 30%;
  height: 12%;
  opacity: 0.7;
}

.u40-render {
  position: absolute;
  top: clamp(56px, 10vh, 96px);
  right: clamp(38px, 6.5vw, 120px);
  width: min(830px, 55vw);
  transform: rotateX(3deg) rotateY(-7deg) rotateZ(0.18deg);
  transform-style: preserve-3d;
}

.u40-render::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 2%;
  z-index: -1;
  width: 74%;
  height: 11%;
  border-radius: 999px;
  background: oklch(0 0 0 / 0.5);
  filter: blur(24px);
}

.hero-u40 {
  width: 100%;
  max-width: none;
  filter:
    drop-shadow(0 34px 26px oklch(0 0 0 / 0.48))
    drop-shadow(0 8px 3px oklch(1 0 0 / 0.06));
}

.hero-note,
.hero-commerce {
  display: none;
}

.hero-copy {
  position: absolute;
  left: clamp(28px, 4vw, 58px);
  right: clamp(28px, 4vw, 58px);
  bottom: clamp(26px, 4.6vh, 54px);
  z-index: 4;
  max-width: none;
}

.product-label,
.section-label {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-weight: 800;
}

.hero-section .product-label {
  color: oklch(0.9 0 0);
}

.hero-section h1 {
  max-width: 13.5ch;
}

.hero-lead,
.section-copy p,
.billing-copy p,
.network-copy p,
.business-copy p,
.closing-cta p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  text-wrap: pretty;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: oklch(0.9 0 0);
}

.hero-purchase-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  width: min(960px, 100%);
  min-height: 76px;
  margin-top: clamp(20px, 2.4vw, 30px);
  padding: 12px 14px 12px 22px;
  border: 1px solid oklch(1 0 0 / 0.13);
  border-radius: 4px;
  background: oklch(0.16 0 0 / 0.96);
  color: white;
  box-shadow: 0 12px 22px oklch(0 0 0 / 0.22);
}

@media (min-width: 1800px) {
  .hero-copy {
    left: clamp(72px, 4.8vw, 96px);
    bottom: clamp(34px, 5.2vh, 64px);
  }

  .u40-render {
    top: clamp(112px, 13vh, 140px);
    right: clamp(48px, 4vw, 76px);
    width: min(980px, 58vw);
  }

  .studio-glow {
    inset: 5% -1% 14% 38%;
  }

  .studio-ring-one {
    right: 5%;
    bottom: 22%;
    width: 58%;
  }

  .studio-ring-two {
    right: 20%;
    bottom: 30%;
    width: 34%;
  }
}

@media (min-width: 1081px) and (max-width: 1499px) {
  .u40-render {
    right: clamp(-180px, -12vw, -96px);
    width: min(880px, 66vw);
  }

  .studio-glow {
    inset: 2% -8% 18% 42%;
  }

  .studio-ring-one {
    right: -4%;
  }

  .studio-ring-two {
    right: 13%;
  }
}

.purchase-summary {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.purchase-summary span {
  color: oklch(0.78 0 0);
  font-size: 0.88rem;
  font-weight: 800;
}

.purchase-summary strong {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.2;
}

.purchase-summary small {
  min-width: 0;
  color: oklch(0.82 0 0);
  font-size: 0.9rem;
  line-height: 1.35;
}

.purchase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.bar-link,
.bar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.bar-link {
  color: white;
}

.bar-button {
  background: white;
  color: var(--ink);
}

.hero-buttons {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.fact-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(18px, 4vw, 46px);
  background: white;
}

.fact-bar div {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.fact-bar div + div {
  border-left: 1px solid var(--line);
}

.fact-bar span,
.fact-bar strong {
  display: block;
}

.fact-bar span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.fact-bar strong {
  margin-top: 4px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.device-showcase,
.network-section,
.business-section,
.closing-cta {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 4vw, 46px);
}

.section-copy,
.network-copy,
.business-copy,
.closing-cta {
  max-width: var(--max);
  margin: 0 auto clamp(32px, 5vw, 58px);
}

.section-copy {
  max-width: min(1240px, 100%);
  text-align: center;
}

#business-title span {
  display: block;
}

#closing-title span {
  display: block;
}

.section-copy p:not(.section-label) {
  max-width: 760px;
  margin: 0 auto;
}

#devices .section-copy p:not(.section-label) {
  max-width: none;
  white-space: nowrap;
}

#device-title {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0 0.48em;
  max-width: none;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.08;
}

#device-title span {
  display: inline-block;
  white-space: nowrap;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.device-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.device-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: clamp(22px, 3vw, 40px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 72%, oklch(0.82 0 0 / 0.36), transparent 30%),
    linear-gradient(180deg, oklch(0.98 0 0), oklch(0.915 0 0));
}

.device-image::after {
  content: "";
  position: absolute;
  inset: auto 14% 11% 14%;
  height: 11%;
  border-radius: 999px;
  background: oklch(0 0 0 / 0.12);
  filter: blur(18px);
}

.device-image img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 84%;
  max-height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 20px 16px oklch(0 0 0 / 0.13));
}

.u40-panel .device-image img {
  max-width: 86%;
  max-height: 80%;
}

.device-image-r45 .r45-photo {
  width: auto;
  height: auto;
  max-width: 64%;
  max-height: 82%;
  mix-blend-mode: multiply;
  filter:
    contrast(1.04)
    saturate(0.94)
    drop-shadow(0 20px 16px oklch(0 0 0 / 0.1));
}

.x200-panel .device-image img {
  max-width: 82%;
  max-height: 70%;
}

.device-text {
  padding: clamp(24px, 3vw, 36px);
  background: white;
}

.device-text h3 {
  margin-bottom: 16px;
  line-height: 1.16;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
}

.device-text span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-weight: 900;
}

.device-text p,
.scene-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.device-text p {
  max-width: 30em;
  line-height: 1.85;
  text-wrap: pretty;
}

.device-text p .phrase {
  display: inline;
  margin-bottom: 0;
  color: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.billing-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding: clamp(76px, 10vw, 140px) clamp(18px, 4vw, 46px);
  background:
    radial-gradient(circle at 10% 20%, oklch(0.24 0.04 45), transparent 34%),
    linear-gradient(135deg, oklch(0.09 0.008 45), oklch(0.16 0.024 45));
  color: white;
}

.billing-visual {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: oklch(0.22 0.02 45);
}

.billing-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.billing-copy {
  max-width: 600px;
}

.billing-copy .section-label,
.billing-copy p {
  color: oklch(0.86 0 0);
}

.billing-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.billing-points div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid oklch(1 0 0 / 0.16);
  border-radius: 8px;
  background: oklch(1 0 0 / 0.06);
}

.billing-points span {
  color: oklch(0.82 0 0);
}

.billing-points .billing-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.4em;
}

.billing-points .billing-note span {
  white-space: nowrap;
}

.text-forward {
  display: inline-flex;
  margin-top: 28px;
  color: white;
  font-weight: 900;
}

.text-forward::after {
  content: ">";
  margin-left: 9px;
}

.network-section {
  background: white;
}

.network-copy {
  text-align: center;
}

.carrier-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
}

.carrier-row span {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 900;
}

.business-section {
  background: var(--soft);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.scene-grid article {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.scene-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.scene-card-copy {
  padding: clamp(22px, 2.6vw, 30px);
}

.scene-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-weight: 900;
}

.closing-cta {
  text-align: center;
}

.closing-cta p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.closing-cta .hero-buttons {
  justify-content: center;
}

@media (max-width: 1080px) {
  .mock-nav {
    display: none;
  }

  .billing-section {
    grid-template-columns: 1fr;
  }

  .u40-render {
    top: clamp(38px, 6vh, 62px);
    right: clamp(-76px, -6vw, -32px);
    width: min(720px, 80vw);
  }

  .hero-copy {
    bottom: clamp(22px, 4vh, 40px);
  }

  .hero-section h1 {
    max-width: 12.5ch;
    font-size: clamp(2.58rem, 6.2vw, 3.36rem);
  }

  .hero-purchase-bar {
    width: min(820px, 100%);
  }
}

@media (max-width: 820px) {
  .mock-header {
    align-items: center;
  }

  .text-action {
    display: none;
  }

  .hero-section {
    min-height: calc(100svh - 64px);
  }

  .u40-render {
    top: clamp(20px, 4vh, 36px);
    right: -18%;
    width: 78vw;
  }

  .hero-section h1 {
    max-width: 14ch;
    font-size: clamp(2.65rem, 6.35vw, 3.36rem);
  }

  .hero-purchase-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(680px, 100%);
    padding: 12px 12px 12px 16px;
  }

  .purchase-summary {
    grid-template-columns: auto auto;
    gap: 4px 10px;
  }

  .purchase-summary small {
    grid-column: 1 / -1;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .purchase-actions {
    justify-content: flex-end;
  }

  .fact-bar,
  .device-grid,
  .carrier-row,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .fact-bar div + div {
    border-top: 0;
    border-left: 0;
  }

  .device-panel {
    grid-template-rows: auto auto;
  }

  .device-image {
    aspect-ratio: 16 / 10;
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .hero-purchase-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .purchase-actions {
    justify-content: space-between;
  }

  .bar-link,
  .bar-button {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .mock-header {
    align-items: flex-start;
  }

  .mock-brand span:last-child {
    max-width: 160px;
    white-space: normal;
    line-height: 1.2;
  }

  .hero-section {
    min-height: calc(100svh - 64px);
  }

  .u40-render {
    top: 28px;
    right: -38%;
    width: 110vw;
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 20px;
  }

  .hero-section h1 {
    font-size: clamp(2rem, 8.4vw, 2.8rem);
  }

  .hero-purchase-bar {
    gap: 10px;
    padding: 12px;
  }

  .purchase-summary small {
    white-space: normal;
  }

  .purchase-actions {
    flex-direction: row;
  }

  .bar-link,
  .bar-button {
    min-height: 44px;
    width: auto;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons a {
    width: 100%;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .device-image {
    min-height: 260px;
  }

  #device-title {
    flex-direction: column;
    gap: 0.08em;
  }

  #devices .section-copy p:not(.section-label) {
    max-width: 760px;
    white-space: normal;
  }

  .billing-visual,
  .billing-visual img {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .solid-action,
  .outline-action {
    transition: none;
  }
}

.hero-three-devices {
  display: grid;
  min-height: calc(100svh - 64px);
  padding: clamp(22px, 2.8vw, 32px) clamp(18px, 4vw, 46px) clamp(28px, 3vw, 36px);
  background:
    radial-gradient(circle at 50% 17%, oklch(0.46 0.018 250 / 0.22), transparent 26%),
    radial-gradient(circle at 50% 68%, oklch(0.29 0.012 250 / 0.34), transparent 38%),
    linear-gradient(180deg, oklch(0.09 0.008 248), oklch(0.055 0.007 248) 48%, oklch(0.035 0.006 248));
}

.hero-three-devices .hero-backdrop {
  z-index: 0;
  background:
    linear-gradient(180deg, oklch(0 0 0 / 0.04), oklch(0 0 0 / 0.28)),
    radial-gradient(ellipse at 50% 36%, oklch(1 0 0 / 0.06), transparent 54%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  gap: clamp(20px, 2.25vw, 28px);
  width: min(1288px, 100%);
  margin: 0 auto;
}

.hero-device-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
}

.hero-device-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.22;
  border: 1px solid oklch(1 0 0 / 0.78);
  border-radius: 8px;
  background: oklch(0.09 0.008 248);
}

.hero-device-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, oklch(0 0 0 / 0.84));
  pointer-events: none;
}

.hero-device-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms var(--ease);
}

.hero-device-card:hover img {
  transform: scale(1.025);
}

.hero-device-copy {
  position: absolute;
  right: clamp(24px, 2.4vw, 32px);
  bottom: clamp(21px, 2.2vw, 28px);
  left: clamp(24px, 2.4vw, 32px);
  z-index: 2;
  display: grid;
  gap: 2px;
  color: white;
}

.hero-device-copy strong {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1;
}

.hero-device-copy span {
  color: oklch(0.86 0 0);
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
}

.hero-three-devices .hero-copy {
  position: static;
  display: grid;
  justify-items: center;
  max-width: none;
  text-align: center;
}

.hero-three-devices .product-label {
  display: block;
  margin: 0 0 16px;
  color: white;
  font-size: clamp(1.34rem, 1.85vw, 1.76rem);
  font-weight: 900;
  line-height: 1.2;
}

.hero-three-devices h1 {
  max-width: min(100%, 1080px);
  margin-bottom: 16px;
  font-size: clamp(2.18rem, 3.55vw, 3.36rem);
  line-height: 1.12;
}

.hero-three-devices h1 span {
  display: block;
  white-space: normal;
}

.hero-subline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.8em;
  row-gap: 0.12em;
  margin: 0 0 14px;
  color: white;
  font-size: clamp(1.08rem, 1.5vw, 1.38rem);
  font-weight: 800;
  line-height: 1.38;
  text-wrap: balance;
}

.hero-three-devices .hero-lead {
  max-width: 980px;
  margin: 0;
  color: oklch(0.88 0 0);
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}

.hero-three-devices .hero-purchase-bar {
  grid-template-columns: 1fr;
  justify-items: center;
  width: min(760px, 100%);
  min-height: 72px;
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: 12px 18px;
  border: 1px solid oklch(1 0 0 / 0.9);
  background: white;
  color: var(--ink);
  box-shadow: none;
}

.hero-three-devices .purchase-actions {
  justify-content: center;
  width: min(520px, 100%);
}

.hero-three-devices .bar-link {
  color: var(--ink);
}

.hero-three-devices .bar-button {
  background: var(--blue);
  color: white;
}

.hero-three-devices .bar-button:hover {
  background: var(--blue-dark);
}

.device-image {
  padding: 0;
  background: oklch(0.09 0.008 248);
}

.device-image::after {
  display: none;
}

.device-image img,
.u40-panel .device-image img,
.x200-panel .device-image img,
.device-image-r45 .r45-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  mix-blend-mode: normal;
  filter: none;
}

@media (max-width: 1080px) {
  .hero-three-devices {
    min-height: auto;
  }

  .hero-inner {
    gap: 30px;
  }

  .hero-device-row {
    gap: 14px;
  }

  .hero-three-devices h1 {
    font-size: clamp(2.16rem, 5.3vw, 3.05rem);
  }

  h2 {
    font-size: clamp(2.16rem, 5.3vw, 3.05rem);
  }
}

@media (max-width: 820px) {
  .hero-three-devices {
    padding-inline: 18px;
  }

  .hero-device-row {
    gap: 10px;
  }

  .hero-device-card {
    border-radius: 7px;
  }

  .hero-three-devices .hero-purchase-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 16px;
  }

  .hero-three-devices .purchase-actions {
    justify-content: stretch;
  }

  .hero-three-devices .bar-link,
  .hero-three-devices .bar-button {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .hero-device-row {
    grid-auto-flow: column;
    grid-auto-columns: minmax(244px, 84vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-device-row::-webkit-scrollbar {
    display: none;
  }

  .hero-device-card {
    scroll-snap-align: center;
  }
}

@media (max-width: 560px) {
  .hero-three-devices {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .hero-device-row {
    grid-auto-columns: minmax(238px, 84vw);
  }

  .hero-three-devices h1 {
    max-width: 100%;
    font-size: clamp(1.66rem, 7.2vw, 1.98rem);
    line-height: 1.18;
  }

  h2 {
    font-size: clamp(1.66rem, 7.2vw, 1.98rem);
  }

  .hero-three-devices h1 span {
    display: block;
    white-space: normal;
  }

  .hero-subline {
    font-size: clamp(1.08rem, 5.2vw, 1.42rem);
  }

  .hero-three-devices .purchase-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-device-card img {
    transition: none;
  }
}

@media (min-width: 721px) {
  #devices .device-lead {
    display: flex;
    justify-content: center;
    gap: 0.45em;
    max-width: none;
    width: max-content;
    margin-inline: auto;
    font-size: clamp(0.94rem, 1.1vw, 1.08rem);
    line-height: 1.55;
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

@media (max-width: 720px) {
  #devices .device-lead {
    display: grid;
    justify-items: center;
    gap: 0.1em;
    width: auto;
    max-width: 760px;
    white-space: normal;
    text-wrap: pretty;
  }

  #devices .device-lead span {
    display: block;
  }
}
