@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }

:root {
  --dark: #013207;
  --green: #3c9647;
  --lime: #c1ff72;
  --gray: #f5f5f5;
  --muted: #6b7b73;
  --ink: #000;
  --wrap: 1120px;
  --gutter: clamp(16px, 5vw, 40px);
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: #fff;
  color: var(--ink);
  font-family: "Clash Display", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--lime); color: var(--dark); padding: 8px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.lime { color: var(--lime); }

/* Logo: the white wordmark used as a mask so it takes the text color. */
.logo {
  display: block; width: 132px; height: 21px; background: currentColor;
  -webkit-mask: url("media/logo.png") left center / contain no-repeat;
  mask: url("media/logo.png") left center / contain no-repeat;
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: #fff; transition: background .3s, box-shadow .3s; }
.nav.solid { background: rgba(1, 50, 7, .86); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav-in { height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav-cta {
  font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
  background: var(--lime); color: var(--dark); padding: 10px 18px; border-radius: 999px; transition: transform .15s;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- type ---------- */
h1, h2 { font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; }
h1 { font-size: clamp(46px, 7.4vw, 92px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
.eyebrow, .kicker { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.kicker { color: var(--green); margin-bottom: 16px; }
.copy p:not(.kicker), .lede { color: var(--muted); max-width: 30em; margin-top: 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 40%, #0b4a14 0%, var(--dark) 58%);
  padding: calc(var(--nav-h) + clamp(28px, 6vw, 72px)) 0 clamp(40px, 6vw, 72px);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(16px, 4vw, 48px); }
.hero .eyebrow { display: inline-block; color: var(--lime); border: 1px solid rgba(193, 255, 114, .35); border-radius: 999px; padding: 7px 14px; margin-bottom: 26px; }
.hero .lede { color: rgba(255, 255, 255, .78); font-size: clamp(18px, 1.6vw, 21px); margin: 24px 0 32px; }
.hero-media { position: relative; margin-left: auto; width: 100%; max-width: 640px; }
.hero-media img { width: 100%; max-width: 640px; margin-left: auto; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }
.hero-copy .store { margin-top: 8px; }
.store { display: inline-block; border-radius: 12px; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store img { height: 55px; width: auto; }

/* ---------- features ---------- */
.feature { padding: clamp(72px, 10vw, 128px) 0; }
.feature.tint { background: var(--gray); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 7vw, 96px); }
.feature.flip .copy { order: 2; }
.media { display: flex; justify-content: center; }
.phone { width: min(340px, 78vw); aspect-ratio: 1 / 2; }
.phone > video, .phone > img { width: 100%; height: 100%; object-fit: contain; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 30em; }
.chips li { font-weight: 600; font-size: 15px; text-transform: uppercase; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; padding: 8px 14px; color: var(--dark); }

/* ---------- apple watch ---------- */
.watch { background: #000; color: #fff; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.watch .kicker { color: var(--lime); }
.watch .copy p:not(.kicker) { color: rgba(255, 255, 255, .7); }
.watch-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 7vw, 96px); }
.steps { list-style: none; margin-top: 32px; display: grid; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; text-transform: uppercase; font-size: 16px; }
.steps span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); box-shadow: inset 0 0 0 1.5px var(--lime); font-size: 15px; }
/* Bezel geometry is set from the bezel image by site.js (data-screen="x y w h" in bezel pixels). */
.watch-frame { position: relative; width: min(420px, 82vw); }
.watch-bezel { position: relative; width: 100%; height: auto; pointer-events: none; }
.watch-screen { position: absolute; object-fit: cover; background: #000; }

/* ---------- cta + footer ---------- */
.cta { background: var(--dark); color: #fff; padding: clamp(80px, 11vw, 140px) 0; text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.cta h2 { font-size: clamp(40px, 6.4vw, 84px); max-width: 12em; }
.foot { background: var(--dark); color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .1); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .logo { color: #fff; width: 110px; height: 18px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { text-decoration: none; color: #fff; font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.foot p { margin-left: auto; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .hero-grid, .feature-grid, .watch-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-media img { margin: 8px auto 0; max-width: 460px; }
  .feature.flip .copy { order: 0; }
  .copy { text-align: center; }
  .copy p:not(.kicker) { margin-left: auto; margin-right: auto; }
  .chips, .steps { justify-content: center; margin-left: auto; margin-right: auto; }
  .steps { justify-items: center; }
  .foot-in { justify-content: center; text-align: center; }
  .foot p { margin: 0; width: 100%; }
}
@media (max-width: 420px) {
  .store img { height: 50px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
}
