@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: optional;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: optional;
}

:root {
  --paper: #f1f4f7;
  --paper-strong: #ffffff;
  --ink: #1b1c1d;
  --muted: #606260;
  --line: rgba(15, 110, 168, 0.14);
  --brand-blue: #0f6ea8;
  --brand-blue-strong: #094f79;
  --brand-blue-soft: #cdeefe;
  --brand-orange: #ff9900;
  --brand-orange-strong: #f84715;
  --shadow: 0 28px 80px rgba(9, 52, 82, 0.15);
  --card-shadow: 0 18px 40px rgba(15, 110, 168, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 168, 255, 0.22), transparent 32%),
    radial-gradient(circle at right 18%, rgba(255, 153, 0, 0.18), transparent 28%),
    linear-gradient(180deg, #ecf7ff 0%, #f8fbfe 22%, #eef2f6 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("./assets/media/snow-texture.jpg");
  background-size: 320px 320px;
  opacity: 0.12;
  animation: snowDrift 28s linear infinite;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.72));
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--brand-blue-strong);
}

img,
video {
  display: block;
  max-width: 100%;
}

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.32;
  pointer-events: none;
  z-index: -1;
}

.ambient-left {
  top: -9rem;
  left: -8rem;
  background: rgba(31, 168, 255, 0.4);
}

.ambient-right {
  right: -8rem;
  bottom: -10rem;
  background: rgba(255, 153, 0, 0.28);
}

.site-header,
.site-footer,
.section,
.document-main {
  width: var(--content-width);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
  padding: 28px 0 0;
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 26px -16px auto;
  height: 70px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(15, 110, 168, 0.08);
  z-index: -1;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  margin: -8px 0 -12px 10px;
  padding: 0;
}

.brand img {
  width: clamp(164px, 14vw, 236px);
  min-width: 148px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(9, 52, 82, 0.16));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  min-height: 70px;
  padding: 8px 22px 8px 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(15, 110, 168, 0.09);
  color: var(--brand-blue-strong);
  transform: translateY(-1px);
}

.section {
  padding: 48px 0;
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 44px;
  padding-top: 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--brand-blue-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-strong));
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 6.5vw, 6.1rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lede,
.hero-copy p,
.feature-card p,
.split-copy p,
.showcase-copy p,
.utility-card p,
.document-card p,
.document-card dd,
.info-card p {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--muted);
}

.action-row,
.pill-row,
.footer-links,
.info-grid,
.utility-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.action-row {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-orange), var(--brand-orange-strong));
  box-shadow: 0 16px 28px rgba(248, 71, 21, 0.22);
}

.button-secondary {
  color: var(--brand-blue-strong);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 110, 168, 0.12);
  box-shadow: 0 12px 24px rgba(15, 110, 168, 0.08);
}

.pill-row {
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 22px rgba(15, 110, 168, 0.06);
  color: var(--brand-blue-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  padding: 16px 18px 28px 8px;
}

.device-cluster {
  position: relative;
  min-height: clamp(560px, 60vw, 650px);
}

.stage-sprite {
  position: absolute;
  filter: drop-shadow(0 14px 28px rgba(17, 66, 100, 0.22));
  pointer-events: none;
}

.sprite-tree {
  left: -2%;
  top: 44%;
  width: clamp(86px, 14vw, 138px);
  animation: floatSprite 6s ease-in-out infinite;
}

.sprite-rock {
  right: 4%;
  bottom: 7%;
  width: clamp(70px, 12vw, 116px);
  animation: floatSprite 7.5s ease-in-out infinite;
}

.sprite-fire {
  right: 28%;
  top: 14%;
  width: clamp(44px, 7vw, 72px);
  animation: flarePulse 2.1s ease-in-out infinite;
}

.phone-shell,
.watch-shell,
.feature-card,
.showcase-card,
.utility-card,
.document-card,
.info-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--card-shadow);
}

.phone-shell {
  position: absolute;
  top: 0;
  right: 0;
  width: min(372px, 100%);
  padding: 18px;
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}

.watch-shell {
  position: absolute;
  left: 2%;
  bottom: 2%;
  width: min(250px, 60%);
  padding: 16px;
  border-radius: 34px;
  box-shadow: 0 22px 54px rgba(9, 52, 82, 0.16);
  transform: rotate(-8deg);
}

.device-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand-blue-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.device-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4be168, #1a9a3a);
  box-shadow: 0 0 0 8px rgba(75, 225, 104, 0.12);
}

.device-label {
  margin-right: auto;
}

.device-meter {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.phone-screen,
.watch-screen {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #f8fdff, #e8f5fc);
}

.phone-screen {
  aspect-ratio: 372 / 556;
}

.watch-screen {
  aspect-ratio: 218 / 260;
}

.snow-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/media/snow-texture.jpg");
  background-size: 260px 260px;
  opacity: 0.16;
  animation: snowDrift 22s linear infinite reverse;
  pointer-events: none;
}

.hero-fallback,
.hero-video {
  position: absolute;
  inset: 0;
}

.hero-fallback {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #3195ea 0%, #67baf4 50%, #d8eefc 100%);
}

.hero-fallback::before,
.hero-fallback::after,
.watch-screen::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  pointer-events: none;
}

.hero-fallback::before {
  bottom: 21%;
  height: 34%;
  background: linear-gradient(180deg, rgba(225, 243, 255, 0.96), rgba(191, 224, 246, 0.92));
  clip-path: polygon(0 86%, 16% 48%, 30% 68%, 45% 26%, 60% 58%, 73% 22%, 88% 54%, 100% 40%, 100% 100%, 0 100%);
}

.hero-fallback::after {
  bottom: -2%;
  height: 44%;
  background: linear-gradient(180deg, rgba(242, 249, 255, 0.98), rgba(219, 238, 251, 0.94));
  clip-path: polygon(0 64%, 14% 52%, 28% 58%, 42% 38%, 57% 49%, 72% 28%, 86% 44%, 100% 36%, 100% 100%, 0 100%);
}

.hero-logo-mark,
.watch-logo-mark,
.hero-tree,
.hero-skier,
.watch-skier,
.watch-tree {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 12px 14px rgba(9, 52, 82, 0.16));
}

.hero-logo-mark {
  top: 18%;
  left: 50%;
  z-index: 1;
  width: 58%;
  transform: translateX(-50%);
  opacity: 0.12;
  filter: brightness(1.4) saturate(0.8);
}

.hero-tree {
  left: 8%;
  bottom: 14%;
  z-index: 3;
  width: clamp(68px, 10vw, 86px);
}

.hero-skier {
  right: 14%;
  bottom: 7%;
  z-index: 3;
  width: clamp(92px, 13vw, 120px);
  animation: heroSlalom 5.2s ease-in-out infinite;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 260ms ease;
}

.phone-screen.is-video-ready .hero-video {
  opacity: 0.92;
}

.phone-screen.is-video-ready .hero-fallback {
  opacity: 0;
}

.watch-chip {
  position: absolute;
  top: 18px;
  z-index: 2;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(33, 42, 51, 0.16);
  color: rgba(0, 0, 0, 0.74);
  font: inherit;
  font-weight: 800;
}

.watch-close {
  left: 16px;
  width: 38px;
  padding: 0;
  font-size: 1.25rem;
}

.watch-score {
  right: 16px;
}

.watch-logo-mark {
  top: 30%;
  left: 50%;
  z-index: 1;
  width: 54%;
  transform: translateX(-50%);
  opacity: 0.1;
  filter: brightness(1.55) saturate(0.75);
}

.watch-screen::after {
  bottom: -4%;
  height: 42%;
  background: linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(217, 236, 248, 0.92));
  clip-path: polygon(0 60%, 18% 44%, 38% 56%, 56% 34%, 72% 46%, 100% 32%, 100% 100%, 0 100%);
}

.watch-skier {
  left: 58%;
  bottom: 18px;
  z-index: 3;
  width: 58px;
  transform: translateX(-50%);
  animation: watchSlalom 4.4s ease-in-out infinite;
}

.watch-tree {
  left: 22px;
  bottom: 18px;
  z-index: 3;
  width: 52px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-grid .card-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.feature-card,
.utility-card,
.info-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.feature-card::after,
.utility-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 168, 255, 0.12), transparent 65%);
}

.card-kicker,
.utility-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 110, 168, 0.09);
  color: var(--brand-blue-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3,
.utility-card h3 {
  margin-top: 18px;
}

.feature-sprite {
  margin-top: 22px;
  max-height: 120px;
  object-fit: contain;
}

.tree-card {
  margin-left: auto;
}

.fire-card {
  max-height: 100px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: start;
}

.check-list,
.document-list {
  margin: 22px 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.showcase {
  display: grid;
  gap: 18px;
  align-self: start;
  align-content: start;
  grid-auto-rows: max-content;
}

.showcase-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.mountain-card {
  background:
    radial-gradient(circle at 24% 18%, rgba(31, 168, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(220, 242, 255, 0.85), rgba(255, 255, 255, 0.92));
}

.mountain-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top center;
  padding: 0;
}

.showcase-copy {
  padding: 24px;
}

.utility-card {
  text-decoration: none;
  color: inherit;
  min-height: 240px;
}

.document-main {
  padding: 64px 0 42px;
}

.document-hero {
  max-width: 760px;
  padding: 46px 0 26px;
}

.document-card {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.document-card h2 {
  margin-top: 28px;
  font-size: 1.7rem;
}

.document-card h2:first-child {
  margin-top: 0;
}

.page-support .support-info-grid {
  align-items: stretch;
  gap: 20px;
}

.page-support .info-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 30px 32px;
}

.page-support .info-card h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.page-support .info-card p {
  margin: 0;
  font-size: 1.01rem;
  line-height: 1.65;
}

.page-support .document-card {
  margin-top: 20px;
  padding: 30px 34px 34px;
}

.page-support .document-card h2 {
  font-size: clamp(1.85rem, 2.7vw, 2.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.page-support .document-card > p {
  margin: 0;
}

.page-support .document-card > p + p,
.page-support .document-card > p + .document-list,
.page-support .document-card > .document-list + h2,
.page-support .document-card > h2 + .faq-list {
  margin-top: 16px;
}

.page-support .document-list {
  margin-top: 0;
}

.page-support .faq-list {
  gap: 18px;
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.faq-list dt {
  font-weight: 800;
}

.faq-list dd {
  margin: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  justify-content: space-between;
  padding: 20px 0 40px;
  color: var(--muted);
}

.footer-links {
  align-items: center;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

.footer-meta {
  margin-left: auto;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes snowDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-120px, 120px, 0);
  }
}

@keyframes floatSprite {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes flarePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes heroSlalom {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg);
  }
  30% {
    transform: translate(-18px, -8px) rotate(-16deg);
  }
  60% {
    transform: translate(18px, 10px) rotate(8deg);
  }
}

@keyframes watchSlalom {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-58%) translateY(-6px);
  }
  70% {
    transform: translateX(-42%) translateY(6px);
  }
}

@media (max-width: 960px) {
  .hero,
  .split-section,
  .section-grid .card-grid,
  .utility-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .device-cluster {
    min-height: 620px;
  }

  .phone-shell {
    position: relative;
    right: auto;
    width: min(340px, 100%);
    margin-inline: auto;
    transform: none;
  }

  .watch-shell {
    left: 50%;
    bottom: 0;
    width: min(236px, 72%);
    transform: translateX(-50%) rotate(-4deg);
  }

  .sprite-tree {
    left: 2%;
  }

  .sprite-rock {
    right: 2%;
  }

  .site-header {
    position: static;
    min-height: 0;
    align-items: center;
    padding-top: 18px;
  }

  .site-header::before {
    inset: 8px 0 auto;
    height: calc(100% + 12px);
  }

  .brand {
    margin: 0;
    padding: 14px 18px;
  }

  .brand img {
    width: min(190px, 42vw);
    min-width: 132px;
    filter: none;
  }

  .site-nav {
    gap: 10px;
    min-height: auto;
    padding: 10px 18px 10px 10px;
  }
}

@media (max-width: 680px) {
  :root {
    --content-width: min(100vw - 24px, 1180px);
  }

  .site-header,
  .site-footer {
    padding-inline: 0;
  }

  .brand {
    padding: 12px 14px;
  }

  .site-nav {
    justify-content: flex-start;
    padding: 0 12px 12px 12px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 34px 0;
  }

  .document-main {
    padding-top: 34px;
  }

  .feature-card,
  .utility-card,
  .document-card,
  .info-card,
  .showcase-copy {
    padding: 22px;
  }

  .phone-screen {
    aspect-ratio: 320 / 470;
  }

  .watch-screen {
    aspect-ratio: 214 / 248;
  }

  .device-cluster {
    min-height: 540px;
  }

  .footer-meta {
    margin-left: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
