@font-face {
  font-family: "Fraunces";
  src: url("assets/Fraunces-Variable.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/HankenGrotesk-Variable.ttf") format("truetype");
  font-display: swap;
}

:root {
  --night: #07111f;
  --night-soft: #0b1a2d;
  --paper: #f5f2eb;
  --paper-muted: #c9cfda;
  --aqua: #4adfd0;
  --blue: #4b9cf4;
  --line: rgba(255, 255, 255, .12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 14%, rgba(31, 126, 226, .18), transparent 28rem),
    var(--night);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header,
footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { height: 86px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 720;
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand-drop {
  width: 15px;
  height: 15px;
  background: linear-gradient(145deg, var(--aqua), var(--blue));
  border-radius: 50% 0 50% 50%;
  box-shadow: 0 0 22px rgba(74, 223, 208, .4);
}
.site-header nav,
footer nav { display: flex; gap: 28px; }
.site-header nav a,
footer a { color: var(--paper-muted); text-decoration: none; font-size: .92rem; }
.site-header nav a:hover,
footer a:hover { color: #fff; }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}
.language-switch button {
  padding: 0;
  border: 0;
  color: #718196;
  background: transparent;
  font: 700 .72rem/1 var(--sans);
  letter-spacing: .06em;
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] { color: var(--aqua); }
.language-switch span { width: 1px; height: 12px; background: var(--line); }
.language-switch button:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; border-radius: 2px; }

main { overflow: hidden; }
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 70px 0 110px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--aqua);
  font-size: .74rem;
  font-weight: 760;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1,
.promise h2,
.product h2,
.closing h2 {
  font-family: var(--serif);
  font-weight: 440;
  letter-spacing: -.04em;
}
h1 {
  margin-bottom: 26px;
  font-size: clamp(4.3rem, 8.2vw, 8.3rem);
  line-height: .86;
}
h1 em { color: var(--aqua); font-weight: 400; }
@media (min-width: 561px) {
  html[lang="en"] .hero h1 { font-size: clamp(3.4rem, 6.8vw, 5.6rem); }
}
.hero-text {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--paper-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #05151c; background: var(--aqua); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  transition: transform .2s ease, filter .2s ease;
}
.app-store-badge-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.app-store-badge-link img { display: block; height: 42px; width: auto; }
.availability { margin: 23px 0 0; color: #8e9cac; font-size: .86rem; }
.availability b { font-weight: inherit; }
.availability span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px var(--aqua);
}
.hero-art { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero-art img { position: relative; z-index: 2; width: min(92%, 600px); height: auto; border-radius: 24%; filter: drop-shadow(0 30px 70px rgba(6, 104, 226, .24)); }
.halo { position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%; background: rgba(20, 98, 193, .2); filter: blur(55px); }
.orbit { position: absolute; border: 1px solid rgba(107, 203, 255, .15); border-radius: 50%; transform: rotate(-14deg); }
.orbit-one { width: 96%; height: 45%; }
.orbit-two { width: 113%; height: 58%; }

.promise {
  padding: 120px max(20px, calc((100% - 1180px) / 2));
  color: #102034;
  background: var(--paper);
}
.promise > p { color: #4e6674; font-weight: 750; }
.promise > h2 { max-width: 900px; margin-bottom: 76px; font-size: clamp(2.7rem, 5.6vw, 5.6rem); line-height: 1.02; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principles article { padding: 28px 0 10px; border-top: 1px solid #cbd2d1; }
.principles span { color: #6c7d83; font-size: .76rem; }
.principles h3 { margin: 25px 0 8px; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.principles p { max-width: 310px; color: #596a73; }

.product {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  grid-template-areas:
    "slider slider"
    "copy phone";
  column-gap: 90px;
  row-gap: 50px;
  align-items: start;
}
.product-copy { grid-area: copy; }
.product-copy .eyebrow { min-height: 1.2em; }
.product h2,
.closing h2 { margin-bottom: 24px; font-size: clamp(3rem, 5.6vw, 5.7rem); line-height: .98; }
.product h2 { min-height: 2.94em; }
.product-copy > p:not(.eyebrow) { color: var(--paper-muted); font-size: 1.14rem; }
.product-copy > p:not(.eyebrow) { min-height: 6.2em; }
.product ul { list-style: none; margin: 42px 0 0; padding: 0; }
.product li { min-height: 86px; display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.product li span { color: #91a0b1; }
.download-callout {
  min-height: 118px;
  margin-top: 36px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(74, 223, 208, .25);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(74, 223, 208, .1), rgba(75, 156, 244, .08));
}
.download-callout p { margin: 0 0 3px; color: #fff; font-weight: 720; }
.download-callout > div > span { color: #91a0b1; font-size: .9rem; }
.download-link {
  flex: 0 0 auto;
  color: var(--aqua);
  font-size: .9rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}
.download-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.download-link:hover span { transform: translate(2px, -2px); }
.phone-stage { grid-area: phone; position: relative; min-height: 760px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; inset: 14% 5%; border-radius: 50%; background: rgba(37, 162, 209, .19); filter: blur(52px); }
.phone { position: relative; z-index: 1; width: min(390px, 78vw); padding: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 56px; background: #020910; box-shadow: 0 38px 90px rgba(0,0,0,.45); transform: rotate(3deg); }
.phone img { display: block; width: 100%; height: auto; border-radius: 47px; }
.small-card { position: absolute; z-index: 2; right: 0; bottom: 13%; width: 220px; padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(12, 30, 48, .84); backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.small-card span { display: block; margin-bottom: 8px; color: var(--aqua); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.product-slider-nav {
  grid-area: slider;
  padding: 0 0 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.product-slide-count {
  min-width: 58px;
  color: #8291a2;
  font-size: .76rem;
  font-weight: 720;
  letter-spacing: .12em;
}
.product-dots { display: flex; align-items: center; gap: 8px; }
.product-dots button {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #7e8c9d;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.product-dots button span {
  font-size: .66rem;
  font-weight: 760;
  letter-spacing: .1em;
}
.product-dots button b { font-size: .82rem; font-weight: 690; white-space: nowrap; }
.product-dots button[aria-pressed="true"] { color: var(--aqua); border-color: rgba(74, 223, 208, .3); background: rgba(74, 223, 208, .08); }
.product-arrows { display: flex; gap: 8px; }
.product-arrow {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(255,255,255,.035);
  font: 500 1.15rem/1 var(--sans);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.product-arrow:hover { color: var(--aqua); border-color: rgba(74, 223, 208, .42); transform: translateY(-2px); }
.product-arrow:focus-visible,
.product-dots button:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.product.is-changing .product-copy,
.product.is-changing .phone-stage { animation: product-reveal .38s ease both; }
@keyframes product-reveal {
  from { opacity: .3; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}
.product.is-changing.slide-backward .product-copy,
.product.is-changing.slide-backward .phone-stage { animation-name: product-reveal-backward; }
@keyframes product-reveal-backward {
  from { opacity: .3; transform: translateX(-22px); }
  to { opacity: 1; transform: translateX(0); }
}

.closing { padding: 150px 20px; text-align: center; background: linear-gradient(155deg, #0d2542, #08121f 55%); }
.closing h2 { margin-inline: auto; max-width: 930px; }
.closing > p:not(.eyebrow) { margin-bottom: 30px; color: var(--paper-muted); }
footer { min-height: 140px; border-top: 1px solid var(--line); }
footer div { display: flex; flex-direction: column; gap: 3px; }
footer span { color: #77889a; font-size: .82rem; }

@media (max-width: 840px) {
  .site-header nav a:first-child { display: none; }
  .hero { min-height: auto; padding-top: 55px; grid-template-columns: 1fr; }
  .hero-art { min-height: 460px; }
  .hero-art img { width: min(80%, 470px); }
  .promise { padding-top: 90px; padding-bottom: 90px; }
  .principles { grid-template-columns: 1fr; gap: 32px; }
  .product {
    grid-template-columns: 1fr;
    grid-template-areas: "slider" "copy" "phone";
    gap: 50px;
    padding: 95px 0;
  }
  .product h2 { min-height: 1.96em; }
  .product-copy > p:not(.eyebrow) { min-height: 4.7em; }
  .phone-stage { min-height: 690px; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: .82rem; }
  .language-switch { gap: 6px; padding: 5px 7px; }
  .hero { width: min(100% - 28px, 1180px); padding-top: 56px; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.5rem); }
  .hero-art { min-height: 370px; }
  .hero-art img { width: 94%; }
  .promise > h2 { margin-bottom: 56px; }
  .product li { grid-template-columns: 1fr; gap: 4px; }
  .product h2 { min-height: 2.94em; }
  .product-copy > p:not(.eyebrow) { min-height: 7.75em; }
  .download-callout { align-items: flex-start; flex-direction: column; }
  .download-callout { min-height: 178px; }
  .phone-stage { min-height: 620px; }
  .small-card { right: -8px; bottom: 7%; width: 190px; }
  .product-slider-nav { grid-template-columns: 1fr auto; gap: 14px; }
  .product-slide-count { grid-column: 1; grid-row: 1; }
  .product-arrows { grid-column: 2; grid-row: 1; }
  .product-dots { grid-column: 1 / -1; grid-row: 2; gap: 5px; }
  .product-dots button { min-width: 0; padding-inline: 10px; }
  .product-dots button b { font-size: .74rem; }
  .closing { padding: 105px 20px; }
  footer { min-height: 180px; padding: 35px 0; align-items: flex-start; flex-direction: column; }
  footer nav { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
