@property --deep {
  syntax: "<color>";
  inherits: true;
  initial-value: #102830;
}
@property --splash-top {
  syntax: "<color>";
  inherits: true;
  initial-value: #14323c;
}
@property --splash-bottom {
  syntax: "<color>";
  inherits: true;
  initial-value: #1d4a56;
}
@property --ink {
  syntax: "<color>";
  inherits: true;
  initial-value: #173039;
}
@property --muted {
  syntax: "<color>";
  inherits: true;
  initial-value: #4c656e;
}
@property --paper {
  syntax: "<color>";
  inherits: true;
  initial-value: #f3f6f5;
}
@property --paper-deep {
  syntax: "<color>";
  inherits: true;
  initial-value: #e6efee;
}
@property --line {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(23, 48, 57, 0.14);
}
@property --teal {
  syntax: "<color>";
  inherits: true;
  initial-value: #2e5c8b;
}
@property --aqua {
  syntax: "<color>";
  inherits: true;
  initial-value: #2f8f9e;
}
@property --foam {
  syntax: "<color>";
  inherits: true;
  initial-value: #e7f4f4;
}
@property --on-dark {
  syntax: "<color>";
  inherits: true;
  initial-value: #f4f8f7;
}
@property --on-dark-muted {
  syntax: "<color>";
  inherits: true;
  initial-value: #c5d5d8;
}
@property --link-hover {
  syntax: "<color>";
  inherits: true;
  initial-value: #1a4068;
}
@property --splash-end {
  syntax: "<color>";
  inherits: true;
  initial-value: #245864;
}
@property --glass {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(243, 246, 245, 0.62);
}
@property --glass-border {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(255, 255, 255, 0.72);
}
@property --glass-shadow {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(16, 40, 48, 0.08);
}
@property --depth-from {
  syntax: "<color>";
  inherits: true;
  initial-value: #d7ebed;
}
@property --depth-to {
  syntax: "<color>";
  inherits: true;
  initial-value: #c5d6e6;
}
@property --input-bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffffff;
}
@property --danger {
  syntax: "<color>";
  inherits: true;
  initial-value: #8d2f2f;
}
@property --button-bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #14323c;
}

:root {
  --deep: #102830;
  --splash-top: #14323c;
  --splash-bottom: #1d4a56;
  --ink: #173039;
  --muted: #4c656e;
  --paper: #f3f6f5;
  --paper-deep: #e6efee;
  --line: rgba(23, 48, 57, 0.14);
  --teal: #2e5c8b;
  --aqua: #2f8f9e;
  --foam: #e7f4f4;
  --on-dark: #f4f8f7;
  --on-dark-muted: #c5d5d8;
  --link-hover: #1a4068;
  --splash-end: #245864;
  --glass: rgba(243, 246, 245, 0.62);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-shadow: rgba(16, 40, 48, 0.08);
  --depth-from: #d7ebed;
  --depth-to: #c5d6e6;
  --input-bg: #fff;
  --danger: #8d2f2f;
  --button-bg: #14323c;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --measure: 68rem;
  --header: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  transition-property: --deep, --splash-top, --splash-bottom, --splash-end, --ink, --muted, --paper,
    --paper-deep, --line, --teal, --aqua, --foam, --on-dark, --on-dark-muted, --link-hover, --glass,
    --glass-border, --glass-shadow, --depth-from, --depth-to, --input-bg, --danger, --button-bg;
  transition-duration: 500ms;
  transition-timing-function: ease-out;
}

html:has(body.home) {
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: #f4f8f7;
  color: #173039;
  padding: 0.5rem 0.8rem;
  z-index: 10;
}

.skip:focus {
  transform: none;
}

.mast {
  position: relative;
  color: var(--on-dark);
  background:
    linear-gradient(165deg, var(--splash-top) 0%, var(--splash-bottom) 78%, var(--splash-end) 100%);
  overflow: hidden;
}

.home .mast {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.mast a {
  color: var(--on-dark);
}

.mast a:hover {
  color: #ffffff;
}

.bands {
  position: absolute;
  inset: -10% -8%;
  width: 116%;
  height: 120%;
  pointer-events: none;
}

.bands svg,
.bands canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.band-field {
  inset: 0;
  width: 100%;
  height: 100%;
}

.bands polygon {
  fill: #7ec9d4;
}

.bar,
.hero,
.sheet,
.site-footer {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin-inline: auto;
}

.bar {
  position: relative;
  z-index: 1;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 2rem;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
}

.bar-end {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  width: 3.5rem;
  height: 1.75rem;
  padding: 0.125rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--on-dark);
  cursor: pointer;
}

.feature > .theme-toggle,
.cta > .theme-toggle {
  position: absolute;
  z-index: 5;
  top: calc((var(--header) - 1.75rem) / 2);
  right: max(1.25rem, calc((100% - min(var(--measure), calc(100% - 2.5rem))) / 2));
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease-out;
}

.feature > .theme-toggle.is-in,
.cta > .theme-toggle.is-in {
  opacity: 1;
  pointer-events: auto;
}

.feature > .theme-toggle {
  background: rgba(23, 48, 57, 0.08);
}

.feature .theme-toggle-thumb {
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 40, 48, 0.16);
}

.feature .theme-toggle-icon.moon {
  color: rgba(23, 48, 57, 0.45);
}

html.dark .feature > .theme-toggle {
  background: rgba(255, 255, 255, 0.12);
}

.theme-toggle:disabled {
  cursor: default;
}

.theme-toggle-thumb {
  position: absolute;
  z-index: 0;
  top: 0.125rem;
  left: 0.125rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #f4f8f7;
  box-shadow: 0 1px 2px rgba(6, 18, 24, 0.28);
  transform: translateX(0);
  transition:
    transform 500ms ease-out,
    background-color 500ms ease-out,
    box-shadow 500ms ease-out;
}

html.dark .theme-toggle-thumb {
  background: #102830;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transform: translateX(1.75rem);
}

.theme-toggle-icon {
  position: absolute;
  z-index: 1;
  top: 0.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  transition: color 500ms ease-out;
}

.theme-toggle-icon svg {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
}

.theme-toggle-icon.sun {
  left: 0.125rem;
  color: #173039;
}

.theme-toggle-icon.moon {
  left: calc(0.125rem + 1.75rem);
  color: rgba(244, 248, 247, 0.55);
}

html.dark .theme-toggle-icon.sun {
  color: rgba(244, 248, 247, 0.55);
}

html.dark .theme-toggle-icon.moon {
  color: #f4f8f7;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.7fr);
  gap: 2rem 3rem;
  align-items: center;
  flex: 1;
  padding: 1.5rem 0 3rem;
}

.hero-copy {
  padding: 1.5rem 1.65rem 1.35rem;
  border-radius: 1.35rem;
  background: rgba(12, 32, 40, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(6, 18, 24, 0.22);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.kicker {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fd4dc;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  font-weight: 500;
  color: #ffffff;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
}

.road {
  display: block;
  width: 9rem;
  margin-top: 1.6rem;
  color: #8fd0d8;
}

.hero-mark {
  justify-self: end;
  width: min(18rem, 100%);
  filter: drop-shadow(0 18px 28px rgba(8, 24, 30, 0.35));
}

.sheet {
  position: relative;
  z-index: 1;
  background: var(--paper);
  padding: 0;
}

.product {
  padding: 0;
}

.product h2,
.doc h1,
.missing h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
}

.features {
  position: relative;
  margin-top: 0;
}

.feature-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  display: block;
}

.ring {
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  border: 1.35rem solid #8fd0d8;
  top: -2rem;
  left: -9rem;
  opacity: 0.75;
}

.arc {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 1rem solid transparent;
  border-top-color: #2e5c8b;
  border-right-color: #2e5c8b;
  bottom: 4%;
  left: -2.5rem;
  opacity: 0.4;
}

.pip {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: #51a8b8;
  top: 12%;
  left: 34%;
  opacity: 0.4;
}

.dot {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #2e5c8b;
  bottom: 16%;
  left: 48%;
  opacity: 0.35;
}

.shape.bar {
  height: 4.25rem;
  border-radius: 999px;
  right: 6%;
  z-index: auto;
}

.bar-1 {
  width: 34%;
  top: 10%;
  background: #2e5c8b;
  opacity: 0.22;
}

.bar-2 {
  width: 52%;
  top: 18%;
  background: #51a8b8;
  opacity: 0.4;
}

.bar-3 {
  width: 24%;
  top: 26%;
  background: #1d4a56;
  opacity: 0.18;
  transition:
    background-color 500ms ease-out,
    opacity 500ms ease-out;
}

.bar-4 {
  width: 42%;
  top: 34%;
  background: #8fd0d8;
  opacity: 0.7;
}

.wedge-a {
  width: 42%;
  height: 48%;
  top: 6%;
  left: -8%;
  background: #1d4a56;
  opacity: 0.14;
  clip-path: polygon(18% 0, 100% 10%, 74% 100%, 0 82%);
  transition:
    background-color 500ms ease-out,
    opacity 500ms ease-out;
}

.wedge-b {
  width: 30%;
  height: 36%;
  bottom: 8%;
  left: 18%;
  background: #7ec9d4;
  opacity: 0.5;
  clip-path: polygon(0 20%, 100% 0, 82% 100%, 12% 74%);
}

.wedge-c {
  width: 18rem;
  height: 12rem;
  top: 8%;
  right: 4%;
  background: #2e5c8b;
  opacity: 0.22;
  clip-path: polygon(0 14%, 100% 0, 100% 76%, 0 100%);
  transition: opacity 500ms ease-out;
}

.wedge-d {
  width: 14rem;
  height: 9rem;
  bottom: 10%;
  right: 22%;
  background: #8fd0d8;
  opacity: 0.55;
  clip-path: polygon(0 0, 100% 24%, 100% 100%, 0 68%);
}

.feature {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17.5rem;
  gap: 2rem 3.5rem;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100vh;
  height: 100dvh;
  padding-block: clamp(1.5rem, 4vh, 4.2rem);
  padding-inline: max(1.25rem, calc((100vw - min(var(--measure), calc(100vw - 2.5rem))) / 2));
  border-top: 1px solid var(--line);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.feature.reverse {
  grid-template-columns: 17.5rem minmax(0, 1fr);
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature-copy {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.5rem 1.2rem;
  border-radius: 1.35rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 40px var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
  font-weight: 600;
}

.feature-copy p:last-child {
  margin: 0;
  max-width: 38rem;
}

.shot {
  position: relative;
  z-index: 1;
  margin: 0;
  height: auto;
  max-height: 100%;
  display: grid;
  place-items: center;
}

.shot-depth {
  position: absolute;
  width: 78%;
  height: 72%;
  border-radius: 2rem;
  background: linear-gradient(165deg, var(--depth-from) 0%, var(--depth-to) 100%);
}

.phone {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  width: min(16.25rem, calc((100dvh - 8rem) * 9 / 19.5));
  padding: 0.32rem;
  border-radius: 1.85rem;
  background: #102830;
  box-shadow: 0 22px 40px rgba(16, 40, 48, 0.18);
  transition: box-shadow 500ms ease-out;
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 1.53rem;
  background: linear-gradient(180deg, #e8f0f1 0%, #f7f8f6 100%);
}

.phone-screen::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 2.2cqw;
  left: 50%;
  width: 22cqw;
  height: 4.4cqw;
  border-radius: 999px;
  background: #102830;
  transform: translateX(-50%);
}

.phone-screen video,
.phone-screen img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen img[data-theme="dark"] {
  z-index: 1;
  opacity: 0;
}

.phone-screen[data-filled="image"] img {
  transition: opacity 500ms ease-out;
}

html.dark .phone-screen[data-dark-shot] img[data-theme="dark"] {
  opacity: 1;
}

html.dark .phone-screen[data-dark-shot] img:not([data-theme="dark"]) {
  opacity: 0;
}

.phone-screen[data-filled="video"] video,
.phone-screen[data-filled="image"] img {
  display: block;
}

.phone-screen[data-filled="video"] img,
.phone-screen[data-filled] .shot-placeholder {
  display: none;
}

.shot-placeholder {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 2.4rem 1.1rem 1.2rem;
  text-align: center;
  color: #4c656e;
  font-size: 0.92rem;
}

.shot-placeholder p {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  color: #173039;
}

.shot-placeholder code {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: rgba(23, 48, 57, 0.06);
}

.cta {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100vh;
  height: 100dvh;
  padding: 1.25rem max(1.25rem, calc((100vw - min(var(--measure), calc(100vw - 2.5rem))) / 2));
  color: var(--on-dark);
  background:
    linear-gradient(165deg, var(--splash-top) 0%, var(--splash-bottom) 78%, var(--splash-end) 100%);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.cta-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
  gap: 1.5rem 2rem;
  align-items: center;
  min-height: 0;
  height: 100%;
}

.cta-copy {
  justify-self: center;
  width: min(100%, 26rem);
  padding: 1.5rem 1.6rem 1.4rem;
  text-align: center;
  border-radius: 1.35rem;
  background: rgba(12, 32, 40, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(6, 18, 24, 0.22);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.cta-logo {
  width: min(11rem, 34vw);
  height: auto;
  display: block;
  margin: 0 auto 0.9rem;
  filter: drop-shadow(0 16px 24px rgba(8, 24, 30, 0.35));
}

.cta h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 500;
  color: #ffffff;
}

.cta p {
  margin: 0.85rem 0 0;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
  min-height: 3.35rem;
  padding: 0.4rem 1.15rem 0.45rem 0.85rem;
  border-radius: 0.7rem;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
}

.mast .store,
.mast .store:hover,
.store:hover {
  color: #000000;
}

.store:hover {
  background: var(--on-dark);
}

.apple-logo {
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
}

.store-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  text-align: left;
}

.store-kicker {
  font-size: 0.68rem;
  font-weight: 500;
}

.store-name {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cta-stage {
  position: relative;
  height: 100%;
  min-height: 0;
}

.cta-phone {
  position: absolute;
  margin: 0;
  bottom: 0;
}

.cta .phone {
  width: min(16rem, calc((100dvh - 8rem) * 9 / 19.5));
  box-shadow: 0 28px 48px rgba(6, 18, 24, 0.38);
}

.cta-phone-front {
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
}

.cta-phone-front .phone {
  width: min(20.5rem, calc((100dvh - 3.2rem) * 9 / 19.5));
}

.cta-phone-back {
  left: 2%;
  z-index: 1;
  transform: rotate(-8deg);
  transform-origin: center bottom;
}

.cta-phone-mid {
  right: 1.25rem;
  z-index: 2;
  transform: rotate(8deg);
  transform-origin: center bottom;
}

.cta-phone-back .shot-placeholder p,
.cta-phone-mid .shot-placeholder p {
  display: none;
}

.closing {
  scroll-snap-align: end;
}

.note {
  width: 100%;
  margin: 2.4rem 0 0;
  padding: 1.1rem 1.2rem;
  background: var(--foam);
  border-left: 3px solid var(--aqua);
  border-radius: 0 0.7rem 0.7rem 0;
}

.note p {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
  max-width: 28rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.doc {
  padding: 2.6rem 0 1rem;
}

.doc h1 {
  margin-bottom: 0.35rem;
}

.updated {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.doc h2 {
  margin: 2rem 0 0.45rem;
  font-size: 1.45rem;
}

.doc p,
.doc li {
  max-width: 42rem;
}

.doc ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.doc li + li {
  margin-top: 0.35rem;
}

#contact-form fieldset {
  border: 0;
  margin: 1.2rem 0 0;
  padding: 0;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error,
.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.form-error a {
  color: inherit;
}

#contact-form button {
  align-self: flex-start;
  font: inherit;
  font-weight: 600;
  color: var(--on-dark);
  background: var(--button-bg);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
}

#contact-form button:disabled,
#contact-form fieldset:disabled button {
  opacity: 0.65;
  cursor: progress;
}

.contact-sent {
  max-width: 42rem;
}

.missing {
  padding: 4.5rem 0 5rem;
}

.missing h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  margin: 0 0 0.6rem;
}

.missing p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.4rem;
    padding-bottom: 2rem;
  }

  .hero-mark,
  .hero .lede {
    display: none;
  }

  .bar,
  .hero,
  .sheet,
  .site-footer {
    width: min(var(--measure), calc(100% - 1.6rem));
  }

  .feature > .theme-toggle,
  .cta > .theme-toggle {
    right: 0.8rem;
  }
}

@media (max-height: 520px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0.35rem;
    padding-bottom: 0.6rem;
  }

  .hero-mark,
  .hero .lede,
  .hero .road {
    display: none;
  }

  .hero-copy {
    padding: 0.85rem 1rem 0.8rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vh, 2.2rem);
  }

  .kicker {
    margin-bottom: 0.4rem;
  }

  .hero .store {
    margin-top: 0.75rem;
  }
}

@media (max-width: 800px) and (min-height: 720px) {
  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.5rem;
    align-content: stretch;
    padding-block: 1.25rem;
    padding-inline: 0.8rem;
  }

  .feature.reverse .feature-copy {
    order: 0;
  }

  .shot {
    min-height: 0;
    height: 100%;
    container-type: size;
  }

  .phone {
    width: min(16.25rem, 70vw, calc((100cqh - 1.1rem) * 9 / 19.5 + 1.1rem));
    max-height: 100%;
  }

  .cta-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.8rem;
  }

  .cta-copy {
    padding: 0.9rem 1rem 0.85rem;
  }

  .cta-logo {
    width: 4.5rem;
    margin-bottom: 0.45rem;
  }

  .cta h2 {
    font-size: 1.7rem;
  }

  .cta p {
    display: none;
  }

  .cta-stage {
    container-type: size;
  }

  .cta .phone,
  .cta-phone-front .phone,
  .cta-phone-back .phone,
  .cta-phone-mid .phone {
    width: min(9.5rem, 34vw, calc((100cqh - 1.1rem) * 9 / 19.5 + 1.1rem));
  }

  .cta-phone-front .phone {
    width: min(11.5rem, 42vw, calc((100cqh - 1.1rem) * 9 / 19.5 + 1.1rem));
  }
}

@media (max-width: 800px) and (max-height: 719px) {
  .feature,
  .feature.reverse {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1rem;
    align-items: center;
    padding-block: 0.75rem;
    padding-inline: 0.8rem;
  }

  .feature.reverse {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .feature-copy {
    min-width: 0;
    padding: 0.65rem 0.75rem 0.55rem;
    font-size: clamp(0.75rem, 0.5rem + 1.15vh, 0.95rem);
    line-height: 1.35;
  }

  .feature h3 {
    margin-bottom: 0.3rem;
    font-size: clamp(1.02rem, 0.65rem + 1.5vh, 1.28rem);
  }

  .phone {
    width: min(14rem, 38vw, calc((100dvh - 4.5rem) * 9 / 19.5));
  }

  .cta-stage {
    display: none;
  }

  .cta-layout {
    grid-template-columns: 1fr;
  }

  .cta-layout {
    gap: 0.75rem;
  }

  .cta-copy {
    padding: 0.75rem 0.9rem;
  }

  .cta-logo {
    width: 3.25rem;
    margin-bottom: 0.35rem;
  }

  .cta h2 {
    font-size: 1.45rem;
  }

  .cta p {
    display: none;
  }

  .cta .phone,
  .cta-phone-back .phone,
  .cta-phone-mid .phone {
    width: min(8.5rem, 26vw, calc((100dvh - 5rem) * 9 / 19.5));
  }

  .cta-phone-front .phone {
    width: min(10.5rem, 32vw, calc((100dvh - 4rem) * 9 / 19.5));
  }
}

@media (max-width: 520px) {
  .bar-end {
    gap: 0.7rem;
  }

  .nav {
    gap: 0.8rem;
    font-size: 0.9rem;
  }

  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

html.dark {
  --ink: #f4f8f7;
  --muted: #a9c2c8;
  --paper: #121c21;
  --paper-deep: #1c2b30;
  --line: rgba(244, 248, 247, 0.14);
  --teal: #8eb8dc;
  --aqua: #5ec4d0;
  --foam: rgba(47, 143, 158, 0.2);
  --link-hover: #d7eef8;
  --splash-top: #0d1c22;
  --splash-bottom: #16343e;
  --splash-end: #1a4550;
  --deep: #0a161b;
  --glass: rgba(18, 36, 46, 0.72);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: rgba(0, 0, 0, 0.28);
  --depth-from: #1a3c48;
  --depth-to: #1a3044;
  --input-bg: rgba(255, 255, 255, 0.06);
  --danger: #f0b4b4;
  --button-bg: #245864;
  color-scheme: dark;
}

html.dark .bar-3 {
  background: #3d7a8c;
  opacity: 0.55;
}

html.dark .wedge-a {
  background: #2f6a78;
  opacity: 0.45;
}

html.dark .wedge-c {
  opacity: 0.4;
}

html.dark .phone {
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);
}

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

  html:has(body.home) {
    scroll-snap-type: none;
  }

  .theme-toggle-thumb,
  .theme-toggle-icon,
  .bar-3,
  .wedge-a,
  .wedge-c,
  .phone,
  .phone-screen img,
  .feature > .theme-toggle,
  .cta > .theme-toggle {
    transition: none;
  }
}
