:root {
  color-scheme: dark light;
  --black: #000;
  --carbon: #111;
  --carbon-raised: #19191b;
  --control: #333336;
  --white: #fff;
  --polar: #f5f5f7;
  --ink: #1d1d1f;
  --muted-dark: #a1a1a6;
  --muted-light: #6e6e73;
  --line-dark: #38383a;
  --line-light: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --header-height: 96px;
  --page: min(1120px, calc(100vw - 48px));
  --page-wide: min(1440px, calc(100vw - 32px));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--polar);
  text-rendering: optimizeLegibility;
}

body,
button {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

button {
  color: inherit;
}

.page-width {
  width: var(--page);
  margin-inline: auto;
}

.page-width-wide {
  width: var(--page-wide);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #2997ff;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, .93);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: saturate(150%) blur(16px);
}

.global-bar,
.product-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.global-bar {
  min-height: 44px;
}

.brand-wordmark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--polar);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-decoration: none;
}

.language-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #85858a;
  font-size: 12px;
}

.language-nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.language-nav a[aria-current="page"] {
  color: var(--polar);
}

.product-bar {
  background: rgba(17, 17, 17, .88);
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.product-bar-inner {
  min-height: 52px;
}

.product-bar-inner > strong {
  font-size: 17px;
  letter-spacing: -.02em;
}

.product-bar nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}

.product-bar nav a {
  text-decoration: none;
}

.product-bar nav a:not(.purchase-pill) {
  color: rgba(245, 245, 247, .78);
}

.product-bar nav a:not(.purchase-pill):hover {
  color: var(--white);
}

.purchase-pill,
.blue-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
}

.purchase-pill {
  min-width: 64px;
  padding-inline: 16px;
}

.purchase-pill:hover,
.blue-link:hover {
  background: var(--blue-hover);
}

.hero {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 62%) minmax(360px, 38%);
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  min-height: calc(100dvh - var(--header-height));
  overflow: hidden;
}

.hero-media img {
  --hero-shift-y: 0px;
  --hero-scale-extra: 0;
  width: 116%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 52%;
  transform: translate3d(-8%, var(--hero-shift-y), 0) scale(calc(1.08 + var(--hero-scale-extra)));
  will-change: transform;
}

.hero-copy {
  align-self: center;
  z-index: 2;
  max-width: 520px;
  padding: 72px 48px 112px 18px;
}

.eyebrow,
.story-stage-copy > p {
  margin: 0 0 18px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--polar);
  font-size: clamp(48px, 4.6vw, 72px);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.055em;
}

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

.hero-body {
  max-width: 420px;
  margin: 28px 0 26px;
  color: #d2d2d7;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
}

.blue-link {
  min-height: 48px;
  padding-inline: 24px;
  gap: 14px;
  font-size: 15px;
}

.motion-ready .hero-copy > * {
  animation: hero-copy-enter 700ms cubic-bezier(.16, 1, .3, 1) both;
}

.motion-ready .hero-copy > :nth-child(2) { animation-delay: 70ms; }
.motion-ready .hero-copy > :nth-child(3) { animation-delay: 140ms; }
.motion-ready .hero-copy > :nth-child(4) { animation-delay: 210ms; }

.motion-ready .hero-media {
  animation: hero-media-enter 900ms ease-out both;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(.16, 1, .3, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes hero-copy-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-media-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.concept-note {
  position: absolute;
  right: 24px;
  bottom: 18px;
  margin: 0;
  color: #77777c;
  font-size: 11px;
}

.story {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 62%) minmax(360px, 38%);
}

.story-stage {
  height: calc(100dvh - var(--header-height));
  min-height: 650px;
  position: sticky;
  top: var(--header-height);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.story-product {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: transform 420ms cubic-bezier(.2, .7, .2, 1), opacity 280ms ease;
  will-change: transform, opacity;
}

.story-product-isolated {
  opacity: 1;
  object-position: 48% 50%;
  transform: scale(.92) translate3d(0, 0, 0);
}

.story-product-hand {
  object-position: 55% 52%;
  transform: scale(1.04) translate3d(2%, 4%, 0);
}

.story-stage[data-active="1"] .story-product-isolated {
  transform: scale(.68) translate3d(0, -2%, 0) rotate(-7deg);
}

.story-stage[data-active="2"] .story-product-isolated {
  opacity: 0;
  transform: scale(.58) translate3d(0, -4%, 0);
}

.story-stage[data-active="2"] .story-product-hand {
  opacity: 1;
  transform: scale(1.2) translate3d(3%, 4%, 0);
}

.story-stage-copy {
  position: absolute;
  z-index: 4;
  bottom: 42px;
  left: clamp(56px, 7vw, 108px);
  width: min(580px, calc(100% - 160px));
  pointer-events: none;
}

.story-stage-copy h2 {
  margin: 0;
  max-width: 600px;
  color: var(--polar);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.052em;
  white-space: nowrap;
}

.progress-rail {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 26px;
  display: grid;
  gap: 82px;
  transform: translateY(-50%);
}

.progress-rail::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 13px;
  bottom: 13px;
  left: 5px;
  width: 1px;
  background: #4b4b4f;
}

.progress-rail span {
  width: 28px;
  color: #6e6e73;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.progress-rail span::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 9px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: #6e6e73;
}

.progress-rail span.is-active {
  color: #29c6ee;
}

.progress-rail span.is-active::before {
  background: #29c6ee;
}

.story-chapter {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  align-content: center;
  gap: 30px;
  padding: 72px clamp(28px, 4vw, 68px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: var(--carbon);
}

.chapter-copy {
  position: relative;
  z-index: 2;
}

.chapter-copy > span {
  display: block;
  margin-bottom: -4px;
  color: #4c4c50;
  font-size: clamp(54px, 5vw, 78px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.055em;
}

.chapter-copy h3 {
  margin: 0 0 15px;
  color: var(--polar);
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -.045em;
}

.chapter-copy p {
  max-width: 440px;
  margin: 0;
  color: #d2d2d7;
  font-size: 17px;
  line-height: 1.6;
}

.phone-view {
  width: min(330px, 100%);
  height: clamp(300px, 47vh, 470px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #5a5a5e;
  border-radius: 28px;
  background: #f7f7f5;
  color: #161719;
}

.phone-statusbar,
.phone-appbar,
.phone-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #151a1f;
  color: #f7f7f7;
}

.phone-statusbar {
  min-height: 28px;
  padding: 0 18px;
  font-size: 9px;
}

.phone-appbar {
  min-height: 50px;
  padding: 0 18px;
}

.phone-appbar strong {
  letter-spacing: .08em;
}

.phone-appbar span {
  color: #c9c9ce;
  font-size: 11px;
}

.phone-content {
  min-height: calc(100% - 122px);
  padding: 18px;
}

.phone-screen-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.phone-state-card,
.phone-resource-card,
.phone-player {
  border-radius: 12px;
}

.phone-state-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 18px 15px;
}

.phone-state-success {
  border: 1px solid #8bc7b0;
  background: #e8f4ed;
}

.phone-state-success > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #0a9464;
  color: var(--white);
  font-size: 14px;
}

.phone-state-card strong,
.phone-resource-card > strong,
.phone-player > strong {
  display: block;
  margin-bottom: 7px;
  color: #047ea0;
  font-size: 18px;
}

.phone-state-card p,
.phone-resource-card p,
.phone-player p {
  margin: 0;
  color: #68707a;
  font-size: 12px;
  line-height: 1.5;
}

.phone-resource-card {
  padding: 14px;
  border: 1px solid #8bc7b0;
  background: #eef6f1;
}

.phone-status-label {
  display: block;
  margin-bottom: 8px;
  color: #0a9464;
  font-size: 11px;
}

.phone-resource-card ul {
  display: grid;
  gap: 5px;
  margin: 11px 0;
  padding: 0;
  color: #43484f;
  font-size: 11px;
  list-style: none;
}

.phone-primary-action {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-radius: 9px;
  background: #21b9dc;
  color: #071419;
  font-size: 13px;
  font-weight: 700;
}

.phone-player {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: #111820;
  color: var(--polar);
}

.phone-player > span:first-child {
  margin-bottom: auto;
  color: #8d949c;
  font-size: 11px;
}

.phone-player > strong {
  color: var(--polar);
}

.phone-player p {
  color: #aeb4bc;
}

.phone-tabs {
  min-height: 44px;
  justify-content: space-around;
  color: #c2c6cc;
  font-size: 10px;
}

.manifesto {
  min-height: 62vh;
  display: grid;
  align-items: center;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 36%);
  align-items: center;
  gap: 48px;
  padding-block: 128px;
}

.manifesto h2,
.color-copy h2 {
  margin: 0;
  color: var(--polar);
  font-size: clamp(48px, 6vw, 92px);
  line-height: .98;
  letter-spacing: -.055em;
}

.manifesto p,
.color-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted-dark);
  font-size: 18px;
  line-height: 1.6;
}

.manifesto img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  object-position: 50% 50%;
}

.color-section {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 68%) minmax(300px, 32%);
  grid-template-rows: auto 1fr;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.color-copy {
  grid-column: 1;
  z-index: 2;
  padding: 96px 0 0 max(32px, calc((100vw - 1376px) / 2));
}

.color-copy h2 {
  font-size: clamp(44px, 5vw, 76px);
}

.color-stage {
  grid-column: 1;
  grid-row: 2;
  min-height: 590px;
  overflow: hidden;
}

.color-stage img {
  width: 112%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 48% 50%;
  transform: translateX(-6%) scale(1.12);
  opacity: 1;
  transition: opacity 180ms ease, transform 480ms cubic-bezier(.2, .7, .2, 1);
}

.color-stage img.is-changing {
  opacity: .18;
  transform: translateX(-6%) scale(1.08);
}

.color-options {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  gap: 10px;
  padding: 96px clamp(30px, 5vw, 78px);
}

.color-options button {
  min-height: 56px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #a1a1a6;
  cursor: pointer;
  text-align: left;
}

.color-options button:hover {
  background: rgba(255, 255, 255, .06);
  color: var(--polar);
}

.color-options button[aria-pressed="true"] {
  background: var(--control);
  color: var(--white);
}

.color-swatch {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  background: #343438;
}

[data-color-key="silver"] .color-swatch { background: #e4e4e5; }
[data-color-key="blue"] .color-swatch { background: #19bde7; }
[data-color-key="mint"] .color-swatch { background: #9de4c4; }
[data-color-key="coral"] .color-swatch { background: #ff7e5c; }

.color-options button[aria-pressed="true"] .color-swatch {
  outline: 2px solid #29c6ee;
  outline-offset: 3px;
}

.design-section,
.purchase-section,
.site-footer {
  background: var(--polar);
  color: var(--ink);
}

.design-section {
  padding: 120px 0 90px;
}

.design-grid {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.65fr);
  column-gap: 64px;
}

.design-copy h2,
.purchase-heading h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.052em;
}

.design-copy p,
.purchase-heading p {
  margin: 22px 0 0;
  color: var(--muted-light);
  font-size: 18px;
  line-height: 1.6;
}

.orthographic-view {
  margin: 0;
}

.orthographic-view img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.spec-list {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 12px 0 0;
}

.spec-list div {
  min-height: 96px;
  padding: 20px 24px;
  border-left: 1px solid var(--line-light);
}

.spec-list div:first-child {
  border-left: 0;
  padding-left: 0;
}

.spec-list dt {
  font-size: 16px;
  font-weight: 650;
}

.spec-list dd {
  margin: 8px 0 0;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.45;
}

.purchase-section {
  padding: 96px 0 110px;
  border-top: 1px solid var(--line-light);
}

.purchase-grid {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.4fr);
  gap: 48px 80px;
}

.purchase-heading {
  grid-row: 1 / 3;
}

.purchase-panel {
  border-top: 1px solid var(--line-light);
}

.purchase-panel-heading,
.international-panel,
.channel-list a,
.channel-disabled {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.purchase-panel-heading {
  padding: 22px 0 18px;
}

.purchase-panel h3,
.international-panel h3 {
  margin: 0;
  font-size: 18px;
}

.purchase-panel p,
.international-panel p {
  margin: 7px 0 0;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.45;
}

.selected-color-dot {
  width: 18px;
  height: 18px;
  border: 4px solid var(--polar);
  border-radius: 50%;
  background: #19bde7;
  outline: 2px solid #19bde7;
}

.selected-color-dot[data-selected-color="black"] { background: #343438; outline-color: #343438; }
.selected-color-dot[data-selected-color="silver"] { background: #e4e4e5; outline-color: #c9c9ca; }
.selected-color-dot[data-selected-color="blue"] { background: #19bde7; outline-color: #19bde7; }
.selected-color-dot[data-selected-color="mint"] { background: #9de4c4; outline-color: #78cba6; }
.selected-color-dot[data-selected-color="coral"] { background: #ff7e5c; outline-color: #ff7e5c; }

.channel-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.channel-list li {
  border-bottom: 1px solid var(--line-light);
}

.channel-list a,
.channel-disabled {
  min-height: 60px;
  padding: 0 2px;
  text-decoration: none;
}

.channel-list a > span {
  color: var(--blue);
}

.channel-list a:hover > span {
  text-decoration: underline;
}

.channel-disabled {
  color: #9a9a9f;
}

.channel-disabled > span {
  font-size: 14px;
}

.international-panel {
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-light);
}

.international-panel > span {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e8e8ed;
  color: var(--muted-light);
  font-size: 13px;
}

.purchase-section {
  color-scheme: light;
}

.purchase-grid-checkout {
  grid-template-columns: 1fr;
  gap: 66px;
}

.purchase-grid-checkout .purchase-heading {
  grid-row: auto;
  max-width: 760px;
}

.section-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.region-unavailable {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 0;
  border-block: 1px solid var(--line-light);
}

.region-unavailable-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #e8e8ed;
  color: var(--muted-light);
  font-size: 22px;
}

.region-unavailable h3 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.035em;
}

.region-unavailable p:last-child {
  max-width: 660px;
  margin: 12px 0 0;
  color: var(--muted-light);
  line-height: 1.55;
}

.restricted-channels {
  max-width: 760px;
}

.checkout-form {
  min-width: 0;
}

.checkout-error-summary {
  margin-bottom: 28px;
  padding: 16px 18px;
  border-left: 4px solid #d70015;
  background: #fff1f2;
  color: #a40012;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: start;
  gap: 64px;
}

.checkout-fields {
  min-width: 0;
}

.checkout-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 54px;
  border: 0;
  border-top: 1px solid var(--line-light);
}

.checkout-section + .checkout-section {
  margin-top: 2px;
}

.checkout-section legend {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 26px 0 24px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.checkout-section legend span {
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.form-grid label,
.disabled-card-fields label {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: #3a3a3c;
  font-size: 13px;
  font-weight: 600;
}

.form-wide {
  grid-column: 1 / -1;
}

.checkout-form input:not([type="checkbox"]),
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  appearance: none;
  background: var(--white);
  border: 1px solid #b8b8bd;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
}

.checkout-form select {
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.checkout-form textarea {
  min-height: 94px;
  padding-block: 13px;
  resize: vertical;
}

.checkout-form input:not([type="checkbox"]):focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 113, 227, .18);
}

.checkout-form [aria-invalid="true"] {
  border-color: #d70015 !important;
}

.phone-inputs {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
}

.field-error {
  color: #b00014;
  font-size: 12px;
  font-weight: 500;
}

.choice-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3a3a3c;
  font-size: 13px;
  line-height: 1.45;
}

.choice-row input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue);
}

.billing-fields {
  margin-top: 22px;
}

.billing-fields[hidden] {
  display: none;
}

.payment-method-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.payment-method-heading div {
  display: grid;
  gap: 7px;
}

.payment-method-heading small {
  max-width: 560px;
  color: var(--muted-light);
  line-height: 1.45;
}

.payment-method-heading > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8e8ed;
  color: #55555a;
  font-size: 12px;
}

.disabled-card-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 120px;
  gap: 12px;
  padding: 18px;
  background: #ececf0;
  border: 1px solid #dfdfe4;
  border-radius: 12px;
}

.checkout-form .disabled-card-fields input:disabled {
  background: #f8f8fa;
  border-color: #d2d2d7;
  color: #8b8b91;
  cursor: not-allowed;
  opacity: 1;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .06);
}

.checkout-summary h3 {
  margin: 9px 0 24px;
  font-size: 28px;
  letter-spacing: -.035em;
}

.checkout-summary dl {
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.checkout-summary dl > div {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 1.2fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border-bottom: 1px solid var(--line-light);
}

.checkout-summary dt {
  color: var(--muted-light);
  font-size: 13px;
}

.checkout-summary dd {
  margin: 0;
  text-align: right;
}

.checkout-summary select {
  min-height: 44px;
  padding-left: 10px;
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  font-size: 13px;
}

.quantity-row dd {
  display: grid;
  grid-template-columns: 44px 42px 44px;
  align-items: center;
  justify-content: end;
}

.quantity-row button {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}

.quantity-row input {
  min-height: 44px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  text-align: center;
  -moz-appearance: textfield;
}

.quantity-row input::-webkit-outer-spin-button,
.quantity-row input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.consent-row {
  margin-top: 24px;
}

.checkout-submit {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 0 18px;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 650;
}

.checkout-submit:hover {
  background: var(--blue-hover);
}

.checkout-submit[aria-busy="true"] {
  cursor: wait;
  opacity: .72;
}

.maintenance-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.45;
}

.maintenance-note span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 650;
}

.maintenance-note p {
  margin: 0;
}

.maintenance-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  color: var(--muted-light);
  font-size: 12px;
}

.footer-inner strong {
  margin-right: 8px;
  color: var(--ink);
  letter-spacing: .08em;
}

.footer-inner small {
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.success-page {
  min-height: 100dvh;
  background: var(--polar);
  color: var(--ink);
}

.success-main {
  width: min(680px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.success-brand {
  color: var(--ink);
}

.success-card {
  margin-top: 80px;
}

.success-card h1 {
  margin: 14px 0;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -.05em;
}

.success-card p {
  color: var(--muted-light);
  line-height: 1.6;
}

.success-card dl {
  margin: 36px 0;
  padding: 24px 0;
  border-block: 1px solid var(--line-light);
}

.success-card dt {
  color: var(--muted-light);
  font-size: 13px;
}

.success-card dd {
  margin: 8px 0 0;
}

.success-check {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #ddf6e7;
  color: #087d45;
  font-size: 28px;
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 40px, 760px);
    --page-wide: 100%;
  }

  .hero {
    grid-template-columns: minmax(0, 58%) minmax(320px, 42%);
  }

  .hero-copy {
    padding-inline: 0 28px;
  }

  .story-layout {
    grid-template-columns: minmax(0, 55%) minmax(340px, 45%);
  }

  .story-stage-copy {
    left: 50px;
    width: calc(100% - 90px);
  }

  .manifesto-inner {
    padding-inline: 32px;
  }

  .design-grid,
  .purchase-grid {
    grid-template-columns: 1fr;
  }

  .design-copy,
  .purchase-heading {
    max-width: 680px;
  }

  .spec-list,
  .purchase-heading {
    grid-column: auto;
    grid-row: auto;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 96px;
    --page: calc(100vw - 36px);
  }

  .product-bar nav {
    gap: 10px;
  }

  .purchase-pill {
    min-height: 44px;
  }

  .product-bar nav > a:not(.purchase-pill) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 52svh;
    grid-row: 2;
  }

  .hero-media img {
    --hero-scale-extra: 0;
    width: 112%;
    height: 62svh;
    transform: translate3d(-6%, var(--hero-shift-y), 0) scale(calc(1.05 + var(--hero-scale-extra)));
  }

  .hero-copy {
    grid-row: 1;
    max-width: none;
    padding: 72px 22px 36px;
  }

  .hero h1 {
    font-size: clamp(40px, 11.3vw, 44px);
    line-height: 1.02;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-body {
    font-size: 17px;
  }

  .concept-note {
    position: static;
    grid-row: 3;
    padding: 0 22px 26px;
  }

  .story-layout {
    display: block;
    position: relative;
  }

  .story-stage {
    height: calc(100svh - var(--header-height));
    min-height: 560px;
    position: sticky;
    z-index: 1;
    top: var(--header-height);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .story-stage-copy {
    top: 28px;
    bottom: auto;
    left: 22px;
    width: calc(100% - 126px);
  }

  .story-stage-copy h2 {
    font-size: clamp(32px, 9vw, 42px);
    white-space: normal;
  }

  .progress-rail {
    top: 30px;
    right: 18px;
    left: auto;
    display: flex;
    gap: 5px;
    transform: none;
  }

  .progress-rail::before {
    display: none;
  }

  .progress-rail span {
    width: auto;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #77777c;
    font-size: 10px;
    transition: border-color 240ms ease, color 240ms ease, background 240ms ease;
  }

  .progress-rail span::before {
    display: none;
  }

  .progress-rail span.is-active {
    border-color: #29c6ee;
    background: rgba(41, 198, 238, .14);
    color: #a9efff;
  }

  .story-product {
    inset: 50% auto auto 50%;
    width: 142%;
    height: auto;
    object-fit: contain;
    object-position: 50% 50%;
  }

  .story-product-isolated {
    opacity: 1;
    transform: translate3d(-50%, -54%, 0) scale(1.04);
  }

  .story-product-hand {
    display: block;
    opacity: 0;
    transform: translate3d(-50%, -48%, 0) scale(.88);
  }

  .story-stage[data-active="1"] .story-product-isolated {
    opacity: .22;
    transform: translate3d(-50%, -57%, 0) scale(.7) rotate(-7deg);
  }

  .story-stage[data-active="1"] .story-product-hand {
    opacity: .72;
    transform: translate3d(-50%, -49%, 0) scale(.96);
  }

  .story-stage[data-active="2"] .story-product-isolated {
    opacity: 0;
    transform: translate3d(-50%, -58%, 0) scale(.62);
  }

  .story-stage[data-active="2"] .story-product-hand {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1.04);
  }

  .story-chapters {
    position: relative;
    z-index: 2;
  }

  .story-chapter {
    min-height: 122svh;
    align-content: end;
    gap: 18px;
    padding: 52svh 18px 64px;
    border-bottom: 0;
    background: transparent;
  }

  .chapter-copy {
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: rgba(17, 17, 17, .88);
    backdrop-filter: saturate(135%) blur(18px);
  }

  .chapter-copy > span {
    margin-bottom: 2px;
    font-size: 48px;
  }

  .chapter-copy h3 {
    font-size: 36px;
  }

  .chapter-copy p {
    font-size: 16px;
  }

  .phone-view {
    width: min(310px, calc(100vw - 54px));
    height: min(50svh, 430px);
    border-color: rgba(255, 255, 255, .42);
  }

  .manifesto {
    min-height: auto;
  }

  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 96px 22px;
  }

  .manifesto h2,
  .color-copy h2 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .manifesto img {
    width: min(430px, 100%);
    margin-inline: auto;
  }

  .color-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .color-copy {
    order: 1;
    padding: 92px 22px 0;
  }

  .color-stage {
    order: 2;
    min-height: 420px;
  }

  .color-stage img {
    width: 125%;
    transform: translateX(-12%) scale(1.05);
  }

  .color-stage img.is-changing {
    transform: translateX(-12%) scale(1.02);
  }

  .color-options {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 18px 72px;
  }

  .color-options button {
    min-width: calc(50% - 4px);
    flex: 1 1 calc(50% - 4px);
  }

  .design-section {
    padding: 88px 0 64px;
  }

  .design-grid {
    gap: 34px;
  }

  .orthographic-view {
    margin-inline: -8px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .spec-list div,
  .spec-list div:first-child {
    min-height: 84px;
    padding: 20px 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .purchase-section {
    padding: 80px 0 84px;
  }

  .purchase-grid {
    gap: 50px;
  }

  .purchase-grid-checkout {
    gap: 42px;
  }

  .form-grid,
  .disabled-card-fields {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: auto;
  }

  .checkout-section {
    padding-bottom: 42px;
  }

  .payment-method-heading {
    display: grid;
  }

  .payment-method-heading > span {
    justify-self: start;
  }

  .checkout-summary {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .region-unavailable {
    grid-template-columns: 1fr;
  }

  .purchase-panel-heading,
  .international-panel {
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 360px) {
  :root {
    --page: calc(100vw - 28px);
  }

  .global-bar {
    padding-inline: 2px;
  }

  .hero-copy,
  .story-chapter,
  .manifesto-inner,
  .color-copy {
    padding-inline: 18px;
  }

  .phone-view {
    height: min(48svh, 400px);
  }

  .color-options button {
    min-width: 100%;
  }

  .phone-inputs {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .checkout-summary dl > div {
    grid-template-columns: minmax(70px, .7fr) minmax(0, 1fr);
  }
}

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

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
