:root {
  --ink: #111111;
  --muted: #69646b;
  --paper: #f7f4ef;
  --cream: #f3eee7;
  --accent: #09a9f8;
  --blue: #416fae;
  --clay: #c86850;
  --gold: #d6a43b;
  --rose: #df675d;
  --line: rgba(17, 17, 17, 0.1);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #fbfaf7;
  color: var(--ink);
  min-height: 100%;
}

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.68) 46%, rgba(255, 255, 255, 0.2) 100%),
    radial-gradient(circle at 76% 46%, rgba(65, 111, 174, 0.08), transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(200, 104, 80, 0.06), transparent 34%),
    linear-gradient(146deg, #fffdf8 0%, #f7fbfc 48%, #fff9f2 100%);
  margin: 0;
  min-height: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 17, 17, 0.055) 1px, transparent 1.3px),
    radial-gradient(circle at 16px 9px, rgba(9, 169, 248, 0.045) 0.8px, transparent 1.2px),
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.016) 1px, transparent 1px);
  background-size: 19px 19px, 29px 29px, 58px 58px, 58px 58px;
  content: "";
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

body::after {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(255, 255, 255, 0.36) 78%, transparent 100%),
    repeating-linear-gradient(8deg, rgba(17, 17, 17, 0.008) 0 1px, transparent 1px 12px);
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.24;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

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

button {
  color: inherit;
  font: inherit;
}

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

img,
svg {
  display: block;
}

::selection {
  background: rgba(214, 164, 59, 0.34);
}

@keyframes textile-drift {
  0%,
  100% {
    background-position: 0% 50%, 0 0;
    transform: rotate(-8deg) translate3d(0, 0, 0);
  }
  50% {
    background-position: 100% 50%, 34px 21px;
    transform: rotate(-5deg) translate3d(18px, -10px, 0);
  }
}

.skip-link {
  background: var(--ink);
  border-radius: 999px;
  color: var(--paper);
  left: 18px;
  padding: 10px 14px;
  position: fixed;
  top: 18px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
  z-index: 20;
}

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

.home {
  --credit-opacity: 0;
  --credit-y: 10px;
  --copy-opacity: 1;
  --copy-y: 0px;
  --focus-bg-opacity: 0;
  --globe-opacity: 1;
  --phone-rotate: -1.2deg;
  --phone-scale: 1.08;
  --phone-y: 96px;
  --preview-y: 72px;
  --texture-opacity: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.68) 42%, rgba(255, 255, 255, 0.1) 100%),
    radial-gradient(circle at 76% 48%, rgba(11, 24, 43, 0.06), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.64));
  isolation: isolate;
  min-height: 285dvh;
  overflow: visible;
  position: relative;
}

.home::before,
.home::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.home::before {
  animation: textile-drift 22s ease-in-out infinite;
  background:
    conic-gradient(
      from 248deg at 58% 45%,
      rgba(17, 17, 17, 0.045) 0deg,
      transparent 18deg,
      rgba(65, 111, 174, 0.12) 54deg,
      transparent 92deg,
      rgba(200, 104, 80, 0.1) 145deg,
      transparent 190deg,
      rgba(214, 164, 59, 0.1) 246deg,
      transparent 304deg,
      rgba(9, 169, 248, 0.08) 336deg,
      rgba(17, 17, 17, 0.045) 360deg
    ),
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 28px);
  filter: blur(7px) saturate(1.24);
  inset: -22vw -18vw;
  mix-blend-mode: multiply;
  opacity: calc(0.2 * var(--texture-opacity));
  will-change: opacity, transform;
}

.home::after {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7) 34%, transparent 70%),
    linear-gradient(156deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.96) 52%, rgba(255, 251, 246, 0.96));
  inset: 0;
  opacity: var(--focus-bg-opacity);
  position: fixed;
  will-change: opacity;
}

.globe-scene {
  filter: saturate(0.9) brightness(1.06);
  inset: 0;
  opacity: var(--globe-opacity);
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  transform: translateZ(0);
  transition: opacity 80ms linear;
  will-change: opacity;
  z-index: -1;
}

.globe-scene::before {
  background:
    radial-gradient(circle at 71% 45%, rgba(255, 255, 255, 0.56), transparent 20%),
    radial-gradient(circle at 76% 48%, rgba(9, 22, 38, 0.16), transparent 37%),
    radial-gradient(circle at 72% 46%, rgba(68, 132, 202, 0.2), transparent 46%),
    radial-gradient(circle at 83% 62%, rgba(255, 152, 105, 0.11), transparent 31%);
  content: "";
  inset: -12%;
  pointer-events: none;
  position: absolute;
}

#route-globe {
  display: block;
  height: 100%;
  opacity: 0;
  position: absolute;
  transition: opacity 700ms ease;
  width: 100%;
}

.globe-ready #route-globe {
  opacity: 0.68;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 50%;
  max-width: 1180px;
  padding: clamp(18px, 3vw, 34px);
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  z-index: 10;
}

.site-credit {
  align-items: center;
  bottom: clamp(10px, 2.4vh, 18px);
  color: rgba(17, 17, 17, 0.5);
  display: inline-flex;
  font-size: 11px;
  font-weight: 720;
  left: 50%;
  letter-spacing: 0.02em;
  line-height: 1.25;
  opacity: var(--credit-opacity);
  pointer-events: none;
  position: fixed;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.9);
  transform: translate3d(-50%, var(--credit-y), 0);
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
  z-index: 9;
}

.site-credit::before,
.site-credit::after {
  display: none;
}

.home.is-credit-visible .site-credit {
  pointer-events: auto;
}

.site-credit:hover,
.site-credit:focus-visible {
  color: var(--ink);
  opacity: 1;
  outline: none;
  transform: translate3d(-50%, calc(var(--credit-y) - 1px), 0);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 11px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
  height: 34px;
  width: 34px;
}

.nav-actions {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 245, 0.58);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.ghost-button {
  cursor: pointer;
}

.ghost-button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 13px;
  font-weight: 720;
  padding: 10px 14px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: rgba(17, 17, 17, 0.07);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(20px, 5vw, 76px);
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.8fr);
  height: 100dvh;
  isolation: isolate;
  left: 50%;
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
  padding: clamp(78px, 10vh, 118px) clamp(18px, 4vw, 34px) clamp(18px, 5vh, 46px);
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
}

.hero::before,
.hero::after {
  display: none;
}

.hero::before {
  background:
    radial-gradient(circle at 56% 50%, rgba(255, 255, 255, 0.5), transparent 50%),
    linear-gradient(128deg, rgba(65, 111, 174, 0.1), rgba(9, 169, 248, 0.08) 46%, rgba(200, 104, 80, 0.08));
  clip-path: polygon(20% 0, 100% 10%, 86% 100%, 0 82%);
  inset: 9% -9% 7% 47%;
  opacity: 0.58;
}

.hero::after {
  background:
    repeating-linear-gradient(158deg, transparent 0 13px, rgba(17, 17, 17, 0.048) 13px 14px, transparent 14px 28px),
    linear-gradient(128deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  clip-path: polygon(0 16%, 78% 0, 100% 82%, 16% 100%);
  inset: 19% 34% 12% -8%;
  opacity: 0.42;
}

.hero-copy {
  max-width: 520px;
  opacity: var(--copy-opacity);
  pointer-events: auto;
  position: relative;
  transform: translate3d(0, var(--copy-y), 0);
  z-index: 2;
}

.home.is-preview-focused .hero-copy {
  pointer-events: none;
}

.hero-copy,
.site-credit {
  will-change: opacity, transform;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(58px, 9vw, 128px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.82;
  margin-bottom: 24px;
  max-width: 7ch;
}

.lede {
  color: rgba(17, 17, 17, 0.7);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 530;
  line-height: 1.55;
  margin-bottom: 30px;
  max-width: 510px;
}

.cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.app-store-button {
  align-items: center;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow:
    0 22px 52px rgba(17, 17, 17, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: inline-flex;
  gap: 12px;
  min-height: 58px;
  padding: 11px 18px 12px 16px;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    background 190ms ease;
}

.app-store-button:hover,
.app-store-button:focus-visible {
  background: #050505;
  box-shadow:
    0 28px 68px rgba(17, 17, 17, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.app-store-button svg {
  fill: currentColor;
  height: 29px;
  width: 29px;
}

.app-store-button span {
  display: grid;
  font-size: 20px;
  font-weight: 760;
  line-height: 1.02;
}

.app-store-button small {
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.04em;
  opacity: 0.74;
}

.preview {
  align-items: center;
  --phone-edge-gap: clamp(24px, 6vw, 56px);
  backface-visibility: hidden;
  display: grid;
  gap: 18px;
  justify-items: center;
  padding-inline: var(--phone-edge-gap);
  position: relative;
  transform: translate3d(0, var(--preview-y), 0);
  will-change: transform;
  width: 100%;
  z-index: 1;
}

.preview::before {
  background:
    radial-gradient(circle at 52% 45%, rgba(255, 255, 255, 0.52), transparent 42%),
    radial-gradient(circle at 58% 50%, rgba(65, 111, 174, 0.13), transparent 58%);
  content: "";
  height: min(48vw, 540px);
  opacity: 0.42;
  position: absolute;
  width: min(48vw, 540px);
  z-index: -1;
}

.preview-card {
  min-height: clamp(520px, 80vh, 720px);
  position: relative;
}

.phone {
  aspect-ratio: 646 / 1400;
  background: #080808;
  border-radius: clamp(38px, 4.6vw, 52px);
  box-shadow:
    0 38px 90px rgba(18, 25, 16, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  backface-visibility: hidden;
  contain: paint;
  height: auto;
  overflow: hidden;
  position: relative;
  transform: translate3d(0, var(--phone-y), 0) scale(var(--phone-scale)) rotate(var(--phone-rotate));
  transform-origin: center center;
  will-change: transform;
  width: min(clamp(300px, 31vw, 370px), calc(100vw - var(--phone-edge-gap) - var(--phone-edge-gap)));
}

.phone::before {
  border: clamp(7px, 0.9vw, 10px) solid #080808;
  border-radius: inherit;
  box-sizing: border-box;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.phone::after {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.26), transparent 26%, transparent 70%, rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 18%);
  content: "";
  border-radius: inherit;
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.phone img {
  border-radius: inherit;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition:
    opacity 170ms ease,
    transform 220ms ease;
  transform: translateZ(0);
  will-change: opacity, transform;
  width: 100%;
}

.phone.is-switching img {
  opacity: 0.68;
  transform: translateZ(0) scale(1.006);
}

.preview-reflection {
  background: rgba(20, 22, 18, 0.15);
  border-radius: 50%;
  bottom: -24px;
  filter: blur(20px);
  height: 52px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 78%;
}

.policy-topbar {
  position: fixed;
}

.policy-page {
  min-height: 100dvh;
  padding: clamp(112px, 16vh, 150px) clamp(18px, 5vw, 52px) clamp(70px, 12vh, 120px);
  position: relative;
  z-index: 1;
}

.policy-page::before {
  background:
    radial-gradient(circle at 76% 22%, rgba(65, 111, 174, 0.16), transparent 28%),
    radial-gradient(circle at 12% 76%, rgba(200, 104, 80, 0.1), transparent 30%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.policy-shell {
  margin: 0 auto;
  max-width: 760px;
}

.policy-shell h1 {
  font-size: clamp(46px, 9vw, 96px);
  line-height: 0.9;
  margin-bottom: 22px;
  max-width: 10ch;
}

.policy-copy {
  color: rgba(17, 17, 17, 0.72);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 520;
  line-height: 1.75;
  margin-top: clamp(34px, 6vw, 58px);
}

.policy-copy h2 {
  color: var(--ink);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.05;
  margin: 38px 0 10px;
}

.policy-copy p {
  margin-bottom: 0;
}

.policy-copy a {
  border-bottom: 1px solid rgba(17, 17, 17, 0.34);
  color: var(--ink);
  font-weight: 720;
}

.effective-date {
  color: var(--accent);
  font-weight: 760;
}

@media (max-width: 860px) {
  .home {
    --phone-rotate: 0deg;
    min-height: 295dvh;
  }

  .hero {
    align-content: start;
    gap: clamp(14px, 2.8dvh, 30px);
    grid-template-columns: 1fr;
    height: 100dvh;
    padding-top: 92px;
    text-align: center;
  }

  .hero-copy {
    justify-self: center;
  }

  h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .preview-card {
    min-height: clamp(520px, 82vh, 700px);
  }

  .phone {
    width: min(clamp(310px, 84vw, 356px), calc(100vw - var(--phone-edge-gap) - var(--phone-edge-gap)));
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 14px;
  }

  .brand span {
    display: none;
  }

  .ghost-button {
    padding: 9px 12px;
  }

  .hero {
    gap: clamp(10px, 2dvh, 16px);
    padding: 76px 16px 18px;
  }

  .hero-copy {
    max-width: min(100%, 360px);
    width: 100%;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 68px);
    line-height: 0.88;
    margin-bottom: 16px;
    max-width: min(9ch, 100%);
  }

  .lede {
    font-size: 15px;
    line-height: 1.46;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
  }

  .cta-row {
    align-items: center;
    flex-direction: column;
    gap: 9px;
  }

  .app-store-button {
    min-height: 54px;
  }

  .preview {
    --phone-edge-gap: clamp(20px, 5.6vw, 34px);
    gap: 12px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate3d(-50%, calc(-50% + var(--preview-y)), 0);
    width: 100%;
  }

  .preview-card {
    display: grid;
    min-height: 100dvh;
    place-items: center;
    width: 100%;
  }

  .phone {
    width: min(clamp(300px, 84vw, 348px), calc(100vw - var(--phone-edge-gap) - var(--phone-edge-gap)));
  }

  .globe-ready #route-globe {
    opacity: 0.54;
  }

  .site-credit {
    bottom: 10px;
    font-size: 10px;
    left: 50%;
  }

  .policy-page {
    padding: 96px 20px 64px;
  }

  .policy-shell h1 {
    font-size: clamp(42px, 15vw, 64px);
  }
}

@media (max-height: 720px) and (min-width: 861px) {
  .hero {
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(56px, 8vw, 96px);
  }

  .lede {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .preview-card {
    min-height: clamp(500px, 78vh, 610px);
  }

  .phone {
    width: min(clamp(280px, 30vw, 320px), calc(100vw - var(--phone-edge-gap) - var(--phone-edge-gap)));
  }
}

@media (max-width: 560px) and (max-height: 720px) {
  .hero {
    gap: 10px;
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 62px);
    margin-bottom: 12px;
  }

  .lede {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .cta-row {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .app-store-button {
    border-radius: 16px;
    min-height: 48px;
    padding: 9px 15px 10px 13px;
  }

  .app-store-button svg {
    height: 24px;
    width: 24px;
  }

  .app-store-button span {
    font-size: 17px;
  }

  .preview-card {
    min-height: 100dvh;
  }

  .phone {
    width: min(clamp(274px, 80vw, 318px), calc(100vw - var(--phone-edge-gap) - var(--phone-edge-gap)));
  }
}

@media (pointer: coarse) {
  .home::before {
    animation-duration: 36s;
    filter: blur(4px) saturate(1.16);
  }

  .phone img {
    transition:
      opacity 120ms ease,
      transform 160ms ease;
  }

  .preview-reflection {
    filter: blur(16px);
  }
}

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