*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #09090a;
  --background-deep: #030304;
  --foreground: #f6f6f7;
  --muted-foreground: #a4a4ab;
  --soft-foreground: #d9d9de;
  --surface: #121214;
  --surface-strong: #18181b;
  --surface-soft: #222226;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --accent: #e61f2e;
  --accent-bright: #ff303c;
  --accent-soft: rgba(230, 31, 46, 0.16);
  --blue: #2f80ff;
  --radius: 8px;
  --duration-fast: 150ms;
  --duration-default: 260ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

/* Horizontal overflow is contained per-section (the hero clips its own decorative
   layers), so the root is left scrollable. Do NOT add overflow-x: clip/hidden here:
   without a fixed root height it silently breaks vertical scrolling on the long legal
   pages and the stacked mobile hero. */
body {
  min-height: 100svh;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Home page is a flex column so the footer can sit below a flexible hero. */
body:not(.legal-page) {
  display: flex;
  flex-direction: column;
}

body:not(.legal-page) main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body:not(.legal-page) main .hero-section {
  flex: 1 1 auto;
  min-height: 0;
}

/* Tablet and up: lock the home page to a single viewport that never scrolls. The hero
   shrinks (min-height:0) and the phone is sized by available HEIGHT (capped) so the
   whole hero + footer always fit, instead of clipping on short laptop screens. Mobile
   (<=640px) keeps the stacked layout and may scroll, which is an accepted compromise. */
@media (min-width: 641px) {
  body:not(.legal-page) {
    height: 100svh;
    overflow: hidden;
  }

  /* Center the hero block vertically in the viewport (harmonious spacing); the slightly
     larger top padding biases it a touch lower while still clearing the brand nav. */
  body:not(.legal-page) main .hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(5rem, 8vh, 7rem) 0 clamp(1.5rem, 3vh, 2.75rem);
  }

  body:not(.legal-page) .hero-mockup .phone-mockup-wrapper {
    width: auto;
    height: min(44rem, calc(100svh - 19rem));
    max-width: 100%;
  }

  body:not(.legal-page) .hero-mockup .phone-mockup {
    width: auto;
    height: 100%;
  }
}

/* Tablets: cap the phone smaller so it fits its narrow mockup column instead of
   letting the height-driven desktop size overflow it. */
@media (min-width: 641px) and (max-width: 1023px) {
  body:not(.legal-page) .hero-mockup .phone-mockup-wrapper {
    height: min(27rem, calc(100svh - 19rem));
  }
}

body.is-splashing {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

header {
  position: relative;
}

/* Launch splash: simple logo zoom. The lockup scales in as one element, then
   the overlay clears into the hero. Reduced motion never shows the splash at
   all (display: none in the media query below plus the JS early-out). */
.site-splash {
  --splash-mark-size: clamp(70px, 16vw, 88px);
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgb(10, 10, 13);
  pointer-events: all;
  transform-origin: center;
  animation: splash-overlay-exit 180ms ease-out 680ms both paused;
}

.site-splash.is-playing {
  animation-play-state: running;
}

.splash-stage {
  position: relative;
  display: grid;
  place-items: center;
  transform: translateZ(0);
}

.splash-lockup {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  transform-origin: center;
  will-change: transform;
}

.site-splash.is-playing .splash-lockup {
  animation: splash-logo-zoom 420ms cubic-bezier(0.18, 0.86, 0.28, 1) both;
}

.splash-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--splash-mark-size);
  height: var(--splash-mark-size);
}

.splash-pick {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.34));
}

.splash-pick img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.splash-wordmark {
  width: min(15rem, 70vw);
  height: auto;
}

.site-splash.splash-hidden {
  pointer-events: none;
}

@keyframes splash-logo-zoom {
  from {
    transform: scale(0.9);
  }

  to {
    transform: scale(1);
  }
}

@keyframes splash-overlay-exit {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.025);
  }
}

.brand-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  pointer-events: none;
}

.brand-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.15rem 3.5rem 0;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 4.45rem;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.62rem;
  background: var(--surface-strong);
  pointer-events: auto;
}

.lang-trigger {
  display: inline-flex;
  min-width: 4.45rem;
  min-height: 1.9rem;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.2rem 0.7rem;
  border-radius: calc(0.62rem - 1px);
  color: var(--muted-foreground);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}

.lang-trigger:hover,
.lang-switch.is-open .lang-trigger {
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
}

.lang-trigger-caret {
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.18rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.72;
  transform: rotate(45deg);
  transition: transform var(--duration-fast) ease;
}

.lang-switch.is-open .lang-trigger-caret {
  margin-top: 0.14rem;
  transform: rotate(225deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  max-height: min(70vh, 21rem);
  min-width: 12.25rem;
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--background);
  box-shadow: 0 1.25rem 2.75rem rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem) scale(0.98);
  transform-origin: top right;
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease, visibility var(--duration-fast) ease;
  visibility: hidden;
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.lang-option {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.6rem;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  cursor: pointer;
  text-align: left;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}

.lang-code {
  color: var(--foreground);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lang-name {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-option:hover,
.lang-option:focus-visible,
.lang-option[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
}

.lang-option[aria-selected="true"] .lang-code {
  color: var(--accent-bright);
}

.lang-trigger:focus-visible,
.lang-option:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  width: fit-content;
  pointer-events: auto;
}

.brand-wordmark {
  --brand-wordmark-align-shift: -1rem;
  width: auto;
  height: 4.35rem;
  object-fit: contain;
  translate: var(--brand-wordmark-align-shift) 0;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0, rgba(230, 31, 46, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.045), transparent 26rem),
    linear-gradient(180deg, #09090a 0%, var(--background-deep) 100%);
}

.legal-page .brand-header {
  position: relative;
  inset: auto;
}

.legal-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) 3.5rem clamp(4rem, 7vw, 6rem);
}

.legal-hero {
  display: grid;
  gap: 0.95rem;
  max-width: 45rem;
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
}

.legal-kicker {
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 14ch;
  color: var(--foreground);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.legal-hero p {
  max-width: 38rem;
  color: var(--muted-foreground);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
}

.legal-date {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
  font-weight: 700;
}

/* Calm editorial flow: sections are separated by generous spacing, not dividers,
   and the section labels stay small so the page has one large heading (the H1). */
.legal-content {
  display: grid;
  gap: clamp(2rem, 4vw, 2.85rem);
  max-width: 52rem;
}

.legal-section h2 {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.legal-section p {
  max-width: 45rem;
  color: rgba(246, 246, 247, 0.66);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-section p + p,
.legal-section p + .legal-data-list,
.legal-data-list + p {
  margin-top: 0.9rem;
}

/* Provider contact block: an emphasized company name over tight stacked lines. */
.legal-emphasis {
  color: var(--foreground);
  font-weight: 700;
}

.legal-contact p {
  color: rgba(246, 246, 247, 0.72);
}

.legal-contact p + p {
  margin-top: 0.15rem;
}

.legal-contact .legal-emphasis + p {
  margin-top: 0.45rem;
}

.legal-section a {
  color: var(--foreground);
  font-weight: 800;
  text-decoration: none;
}

/* Provider data as one calm panel instead of a stack of hairline rows. */
/* Plain data rows, no card/panel. */
.legal-data-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.legal-data-list.compact {
  max-width: 42rem;
}

.legal-data-list div {
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
  gap: 0.35rem 1rem;
  align-items: baseline;
}

.legal-data-list dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-data-list dd {
  color: rgba(246, 246, 247, 0.78);
  font-size: 0.95rem;
}

.legal-placeholder {
  color: rgba(246, 246, 247, 0.82);
  font-weight: 700;
  font-style: italic;
}

.legal-note {
  border-left: 2px solid var(--accent-bright);
  padding-left: 1rem;
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --hero-photo-x: 95%;
  --hero-photo-y: 42%;
  --hero-photo-shift: 112px;
  min-height: min(740px, 82svh);
  padding: clamp(6.75rem, 10vh, 7.75rem) 0 clamp(3rem, 5vh, 4rem);
  background: var(--background-deep);
}

.hero-photo,
.hero-scrim {
  position: absolute;
  pointer-events: none;
}

.hero-photo {
  top: calc(var(--hero-photo-shift) * -1);
  right: 0;
  bottom: calc(var(--hero-photo-shift) * -1);
  left: 0;
  z-index: 0;
  background-image: url("assets/hero-guitar-session.jpg");
  background-position: var(--hero-photo-x) var(--hero-photo-y);
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.43;
  transform: translate3d(0, var(--hero-photo-shift), 0);
  will-change: transform;
}

.hero-scrim {
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(90deg, rgba(3, 3, 4, 0.98) 0%, rgba(3, 3, 4, 0.86) 32%, rgba(3, 3, 4, 0.48) 49%, rgba(3, 3, 4, 0.24) 63%, rgba(3, 3, 4, 0.32) 100%),
    linear-gradient(180deg, rgba(3, 3, 4, 0.42) 0%, rgba(3, 3, 4, 0.2) 48%, rgba(3, 3, 4, 0.96) 100%);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-section::before {
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(104deg, transparent 0%, transparent 46%, rgba(255, 255, 255, 0.07) 56%, rgba(230, 31, 46, 0.08) 68%, transparent 78%),
    linear-gradient(90deg, rgba(230, 31, 46, 0.1), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.04));
  opacity: 0.58;
  mix-blend-mode: screen;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

.hero-section::after {
  right: -8%;
  bottom: -1px;
  left: -8%;
  z-index: 2;
  height: 38%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18) 58%, transparent);
  opacity: 0.72;
  transform: perspective(760px) rotateX(64deg);
  transform-origin: center bottom;
}

.hero-container {
  position: relative;
  z-index: 4;
  display: grid;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 3.5rem;
  gap: clamp(2.75rem, 6vw, 5rem);
  align-items: center;
  min-height: 30rem;
}

.hero-left {
  display: flex;
  max-width: 36rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.hero-title {
  max-width: 18ch;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.99rem, 4.52vw, 4.15rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--foreground);
  text-wrap: balance;
}

.title-reveal {
  position: relative;
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  will-change: transform, filter, opacity;
}

.title-reveal > span {
  display: block;
  will-change: transform;
}

.hero-description {
  max-width: 36rem;
  margin-top: 1.15rem;
  color: var(--soft-foreground);
  font-size: 1.18rem;
  white-space: nowrap;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-store-link {
  display: inline-flex;
  align-items: center;
  border-radius: 0.55rem;
  line-height: 0;
  box-shadow: 0 1rem 1.8rem rgba(0, 0, 0, 0.34);
}

.hero-store-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 4px;
}

.hero-store-link img {
  width: 10.5rem;
  height: auto;
}

.hero-mockup {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  translate: 0 30px;
}

.hero-mockup .phone-mockup-wrapper {
  max-width: min(20.1rem, 100%);
}

.hero-mockup .mockup-glow {
  inset: -16% -24%;
}

.hero-mockup .mockup-glow-circle {
  width: min(27rem, 78vw);
  height: min(27rem, 78vw);
  opacity: 0.82;
}

/* Stage centers the phone in the column so the dots below line up under its centre.
   The explicit width gives the phone wrapper (width:100%) a definite basis. */
.mockup-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-stage .phone-mockup-wrapper {
  flex: 0 1 auto;
  min-width: 0;
}

/* The changing vertical caption hangs to the LEFT of the frame and its baseline sits
   at the bottom edge of the phone (reads bottom-to-top, large grey block letters). */
.mockup-caption {
  position: absolute;
  right: 100%;
  bottom: 10%;
  margin-right: clamp(0.05rem, 0.2vw, 0.18rem);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--muted-foreground);
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.4;
  transition: opacity 0.35s ease;
}

.mockup-caption.is-swapping {
  opacity: 0;
}

/* Dot pager centered under the frame; the active screenshot's dot is accent-red. */
.mockup-dots {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  padding: 0.35rem 0 0.55rem;
}

.mockup-dot {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.mockup-dot::before {
  content: "";
  display: block;
  width: 0.37rem;
  height: 0.37rem;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s ease, transform 0.3s ease;
}

.mockup-dot:hover::before {
  background: rgba(255, 255, 255, 0.5);
}

.mockup-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 999px;
}

.mockup-dot[aria-selected="true"]::before {
  background: var(--accent);
  transform: scale(1.3);
}

.phone-mockup-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 23.75rem;
  margin: 0 auto;
  cursor: pointer;
  scale: 1.21;
  transform-origin: center;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.phone-mockup-wrapper img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.phone-mockup-wrapper.is-swiping {
  cursor: grabbing;
}

.phone-mockup {
  position: relative;
  --mockup-cube-depth: 9rem;
  width: min(23.75rem, 100%);
  aspect-ratio: 490 / 1000;
  margin: 0 auto;
  border-radius: 3rem;
  box-shadow: 0 2.4rem 4.2rem rgba(0, 0, 0, 0.54);
}

.phone-mockup .screen {
  position: absolute;
  top: 2.5%;
  right: 5.33%;
  bottom: 2.5%;
  left: 5.33%;
  overflow: hidden;
  border-radius: 7%;
  background: #050506;
  perspective: 64rem;
  perspective-origin: 50% 50%;
}

.screen-cube {
  position: absolute;
  inset: 0;
  /* Rotation is driven by the pager (--cube-rot, set per step in JS), no auto-spin. */
  transform: translateZ(calc(-1 * var(--mockup-cube-depth))) rotateY(var(--cube-rot, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.72, 0, 0.28, 1);
  will-change: transform;
}

.cube-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #050506;
  backface-visibility: hidden;
  box-shadow: inset 0 0 2.5rem rgba(0, 0, 0, 0.3);
}

.cube-face-front {
  transform: rotateY(0deg) translateZ(var(--mockup-cube-depth));
}

.cube-face-right {
  transform: rotateY(90deg) translateZ(var(--mockup-cube-depth));
}

.cube-face-back {
  transform: rotateY(180deg) translateZ(var(--mockup-cube-depth));
}

.cube-face-left {
  transform: rotateY(270deg) translateZ(var(--mockup-cube-depth));
}

.mockup-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-mockup .frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.phone-mockup .frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mockup-glow {
  position: absolute;
  inset: -10% -12%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
}

.mockup-glow-circle {
  width: min(30rem, 86vw);
  height: min(30rem, 86vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(230, 31, 46, 0.18) 0%, rgba(230, 31, 46, 0.08) 42%, rgba(255, 255, 255, 0.025) 68%, transparent 86%);
  opacity: 0.9;
  filter: blur(2px);
}

.footer-section {
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 50% 0, rgba(230, 31, 46, 0.075), transparent 26rem),
    linear-gradient(180deg, var(--background-deep) 0%, #030304 100%);
  color: #a1a1aa;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0 1.5rem;
}

.footer-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: clamp(5rem, 8vw, 7rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 1, 2, 0.96) 0%, rgba(8, 1, 2, 0.48) 48%, rgba(0, 0, 0, 0) 100%);
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 3.5rem;
}

/* Footer: minimal legal row, no divider, no brand mark. */
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem 0;
  text-align: left;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.26);
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-copyright::after,
.footer-links a + a::before {
  content: "·";
  display: inline-block;
  color: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.footer-copyright::after {
  margin: 0 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  text-align: left;
}

.footer-links a + a::before {
  margin: 0 0.75rem;
}

.footer-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color var(--duration-fast) ease;
}

.footer-links a[aria-current="page"] {
  color: rgba(255, 255, 255, 0.48);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 641px) {
  .footer-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem 0;
  }

  .footer-links {
    width: auto;
  }
}

@media (min-width: 1024px) {
  body:not(.legal-page) .brand-nav .lang-switch {
    margin-right: 0.75rem;
  }

  body:not(.legal-page) .hero-mockup .phone-mockup-wrapper {
    height: min(44rem, calc(100svh - 19rem));
  }

  body:not(.legal-page) .footer-section {
    padding: 0.75rem 0;
  }

  .footer-bar {
    gap: 0.45rem 0;
  }

  .footer-links {
    box-sizing: border-box;
    padding-right: 0;
  }

  .hero-container {
    grid-template-columns: minmax(0, 35rem) minmax(16rem, 23rem);
    justify-content: space-between;
  }

  .hero-mockup {
    --mockup-phone-width: min(21.56rem, calc(49svh - 9.31rem));
    --mockup-align-shift: calc((23rem - var(--mockup-phone-width)) / 2 - 2.9rem);
    gap: 4rem;
    translate: 0.15rem clamp(48px, 6.7vh, 60px);
  }

  .hero-mockup .mockup-stage {
    translate: 0 0;
  }

  .hero-mockup .phone-mockup-wrapper,
  .hero-mockup .mockup-dots {
    translate: var(--mockup-align-shift) 0;
  }
}

@media (min-width: 1024px) and (min-height: 760px) {
  .hero-mockup {
    translate: 0.15rem clamp(48px, 6.7vh, 60px);
  }
}

@media (min-width: 641px) and (max-width: 1180px) {
  .hero-description {
    max-width: 26rem;
    line-height: 1.38;
    white-space: normal;
  }
}

@media (max-width: 1023px) {
  .brand-nav {
    padding: 1rem 1.5rem 0;
  }

  .brand-wordmark {
    --brand-wordmark-align-shift: -0.77rem;
    height: 3.35rem;
  }

  .legal-main {
    padding: clamp(3.75rem, 9vw, 5rem) 1.5rem clamp(3.25rem, 8vw, 4.5rem);
  }

  .footer-container {
    padding: 0 1.5rem;
  }

  .phone-mockup {
    --mockup-cube-depth: 8rem;
  }

  .hero-section {
    --hero-photo-x: 62%;
    min-height: auto;
    padding: 6.5rem 0 3.5rem;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 15rem);
    padding: 0 1.5rem;
    gap: clamp(1.25rem, 5vw, 2.75rem);
    min-height: 32rem;
    text-align: left;
  }

  .hero-left {
    align-items: flex-start;
    margin: 0;
  }

  .hero-title {
    max-width: 12ch;
    font-size: 3.1rem;
  }

  .hero-description {
    max-width: min(26rem, 100%);
    line-height: 1.38;
    white-space: normal;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-mockup .phone-mockup-wrapper {
    max-width: min(18rem, 100%);
  }

}

@media (max-width: 640px) {
  .brand-nav {
    padding-top: 0.9rem;
  }

  .brand-lockup {
    gap: 0.18rem;
  }

  .brand-wordmark {
    --brand-wordmark-align-shift: -0.67rem;
    height: 2.9rem;
  }

  .legal-main {
    padding-top: 3rem;
  }

  .legal-hero {
    margin-bottom: 2.4rem;
  }

  .legal-hero h1 {
    font-size: 3.1rem;
  }

  .legal-data-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .phone-mockup {
    --mockup-cube-depth: 6rem;
  }

  .hero-section {
    --hero-photo-x: 64%;
    min-height: auto;
    padding: 5.25rem 0 2.75rem;
  }

  .hero-section::before {
    opacity: 0.54;
  }

  .hero-container {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
    justify-items: center;
    text-align: center;
  }

  .hero-left {
    position: relative;
    z-index: 2;
    max-width: min(23rem, calc(100vw - 1rem));
    align-items: center;
    margin: 0 auto;
  }

  .hero-mockup {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: min(21rem, 88vw);
    margin-top: clamp(1.75rem, 7vw, 2.25rem);
    opacity: 1;
    transform: none;
    translate: 0 24px;
  }

  .hero-mockup .phone-mockup-wrapper {
    max-width: min(17.25rem, 70vw);
  }

  .hero-mockup .mockup-dots {
    margin-top: clamp(1.25rem, 6vw, 1.75rem);
  }

  .hero-title {
    max-width: 11ch;
    font-size: 2.39rem;
    text-align: center;
  }

  .hero-description {
    max-width: calc(100vw - 1rem);
    font-size: 0.93rem;
    text-align: center;
  }

  .hero-ctas {
    width: auto;
    justify-content: center;
  }

  .hero-store-link {
    justify-content: center;
  }

  .hero-store-link img {
    width: 10.5rem;
  }

  .footer-section {
    padding: 2.75rem 0 1.5rem;
  }

  .footer-container {
    padding: 0 1.5rem;
  }

  .footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .site-splash {
    display: none;
  }

  /* Paging still works, but the quarter turn snaps instantly (global 1ms transition). */
  .screen-cube {
    transform: translateZ(calc(-1 * var(--mockup-cube-depth))) rotateY(var(--cube-rot, 0deg));
  }
}
