:root {
  --ink: #111218;
  --ink-soft: #343844;
  --paper: #ffffff;
  --paper-warm: #fff8e2;
  --yellow: #ffcd3d;
  --orange: #ff9f1c;
  --green: #0a7048;
  --blue: #126ef8;
  --line: #d9dbe2;
  --muted: #676b76;
  --max-width: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

a:hover {
  text-decoration-thickness: 2px;
}

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

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

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(17, 18, 24, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 10px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font-size: 24px;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: clamp(680px, calc(100svh - 140px), 760px);
  overflow: hidden;
  background: var(--yellow);
}

.hero-inner {
  position: relative;
  min-height: inherit;
  padding-block: 102px 86px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(550px, 49%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: 92px;
  font-weight: 800;
}

.hero-lede {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 28px;
  line-height: 1.34;
}

.app-store-badge {
  display: inline-block;
}

.app-store-badge img {
  width: 180px;
  height: auto;
}

.microcopy {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-devices {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
  align-items: end;
  gap: 24px;
  width: min(620px, 54%);
  padding: 42px 8px 44px 0;
  box-sizing: border-box;
}

.device {
  position: relative;
  flex: 0 0 auto;
}

.device-screen,
.device-bezel {
  position: absolute;
  display: block;
  max-width: none;
}

.device-screen {
  z-index: 1;
  object-fit: cover;
}

.device-bezel {
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.iphone-device {
  aspect-ratio: 1350 / 2760;
}

.iphone-device .device-screen {
  left: 5.3333%;
  top: 2.5%;
  width: 89.3333%;
  height: 95%;
  border-radius: 8%;
}

.watch-series {
  aspect-ratio: 560 / 880;
}

.watch-series .device-screen {
  left: 12.5%;
  top: 21.5909%;
  width: 75%;
  height: 56.8182%;
  border-radius: 20%;
}

.watch-ultra {
  aspect-ratio: 600 / 960;
}

.watch-ultra .device-screen {
  left: 14.5%;
  top: 23.0208%;
  width: 71%;
  height: 53.9583%;
  border-radius: 20%;
}

.hero-iphone {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 310px;
  justify-self: end;
}

.hero-watch {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 250px;
  justify-self: end;
}

.section {
  padding-block: 92px;
}

.section-compact {
  padding-block: 64px;
}

.section-warm {
  background: var(--paper-warm);
}

.section-dark {
  color: var(--paper);
  background: var(--ink);
}

.section-green {
  color: var(--paper);
  background: #087a59;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.section-dark .section-kicker {
  color: var(--yellow);
}

.section-green .section-kicker {
  color: var(--paper);
}

h2 {
  margin-bottom: 18px;
  font-size: 56px;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
}

.section-header p,
.page-lede {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
}

.section-dark .section-header p,
.section-green .section-header p {
  color: rgba(255, 255, 255, 0.78);
}

.section-intro {
  padding-block: 88px 68px;
}

.section-intro .section-header {
  margin-bottom: 0;
}

.product-band {
  padding-block: 88px;
}

.product-band-yellow {
  background: #fff4cc;
}

.product-band-mint {
  background: #e5f4ee;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.feature-band-reverse .feature-device-stage {
  order: 2;
}

.feature-copy h2 {
  max-width: 600px;
  font-size: 50px;
}

.feature-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

.feature-copy ul,
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li,
.check-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 30px;
}

.feature-copy li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.feature-device-stage {
  display: grid;
  min-height: 620px;
  place-items: center;
}

.feature-watch {
  width: min(420px, 92%);
}

.feature-watch-ultra {
  width: min(380px, 88%);
}

.feature-iphone {
  width: min(290px, 76%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.step {
  min-height: 250px;
  padding: 32px;
  background: var(--paper);
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 800;
}

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

.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.callout h2 {
  margin-bottom: 12px;
}

.callout p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: var(--ink);
  background: var(--yellow);
}

.button-light {
  border-color: var(--paper);
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover {
  border-color: var(--yellow);
  background: var(--yellow);
}

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

.portfolio-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 138px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}

.portfolio-link:hover {
  border-color: var(--ink);
}

.portfolio-link strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 21px;
}

.portfolio-link span {
  color: var(--muted);
}

.portfolio-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.arrow {
  color: var(--ink) !important;
  font-size: 26px;
}

.page-hero {
  padding-block: 88px 70px;
  background: var(--yellow);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: 92px;
}

.page-hero .page-lede {
  max-width: 760px;
  color: var(--ink-soft);
}

.prose {
  width: min(calc(100% - 40px), 800px);
  margin-inline: auto;
}

.prose h2 {
  margin-top: 54px;
  margin-bottom: 16px;
  font-size: 34px;
}

.prose h3 {
  margin-top: 34px;
  font-size: 23px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose li + li {
  margin-top: 8px;
}

.prose .updated {
  color: var(--muted);
  font-size: 15px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.faq-item h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

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

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.facts {
  display: grid;
  grid-template-columns: 160px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts dt,
.facts dd {
  margin: 0;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-weight: 700;
}

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

.asset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.asset-preview {
  display: grid;
  min-height: 290px;
  place-items: center;
  padding: 18px;
  background: var(--paper-warm);
}

.asset-preview img {
  max-height: 260px;
  width: auto;
}

.asset-preview-icon img {
  width: 170px;
  border-radius: 32px;
}

.asset-copy {
  padding: 18px;
}

.asset-copy strong {
  display: block;
  margin-bottom: 7px;
}

.asset-copy a {
  font-size: 15px;
  font-weight: 700;
}

.site-footer {
  padding-block: 50px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: var(--paper);
  font-size: 21px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 26px;
}

.footer-links a {
  color: var(--paper);
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.not-found {
  min-height: calc(100svh - 68px);
  display: grid;
  place-items: center;
  padding-block: 80px;
  background: var(--yellow);
  text-align: center;
}

.not-found h1 {
  margin-bottom: 18px;
  font-size: 120px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 12px 6px;
  }

  .hero {
    min-height: 0;
    overflow: visible;
  }

  .hero-inner {
    min-height: 0;
    padding-block: 68px 64px;
  }

  .hero-copy {
    width: 100%;
    max-width: 590px;
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 44px;
  }

  .hero-lede {
    font-size: 22px;
  }

  .hero-devices {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
    align-items: end;
    gap: 24px;
    width: min(100%, 470px);
    height: auto;
    margin: 40px auto 0;
    padding: 0;
  }

  .hero-iphone {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 230px;
    justify-self: end;
  }

  .hero-watch {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 190px;
    justify-self: end;
  }

  .feature-copy h2 {
    font-size: 42px;
  }

  .page-hero h1 {
    font-size: 60px;
  }

  .not-found h1 {
    font-size: 84px;
  }

  .feature-band,
  .callout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-band-reverse .feature-device-stage {
    order: initial;
  }

  .steps,
  .press-assets {
    grid-template-columns: 1fr;
  }

  .asset-preview {
    min-height: 240px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container,
  .prose {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 62px;
  }

  .site-nav {
    top: 62px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding-block: 48px 54px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-lede {
    max-width: 100%;
    font-size: 19px;
  }

  .hero-devices {
    width: 100%;
    gap: 14px;
    margin-top: 32px;
  }

  .hero-iphone {
    width: 100%;
    max-width: 170px;
  }

  .hero-watch {
    width: 100%;
    max-width: 145px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  .feature-copy h2 {
    font-size: 36px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .not-found h1 {
    font-size: 68px;
  }

  .section {
    padding-block: 68px;
  }

  .section-header {
    margin-bottom: 34px;
  }

  .section-header p,
  .page-lede {
    font-size: 18px;
  }

  .product-band {
    padding-block: 64px;
  }

  .feature-device-stage {
    min-height: 520px;
  }

  .feature-watch {
    width: min(300px, 88%);
  }

  .feature-watch-ultra {
    width: min(300px, 84%);
  }

  .feature-iphone {
    width: min(240px, 74%);
  }

  .portfolio-links,
  .support-grid,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-link {
    grid-template-columns: auto 1fr;
  }

  .portfolio-link .arrow {
    display: none;
  }

  .page-hero {
    padding-block: 62px 54px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts dt {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .facts dd {
    padding-top: 2px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 44px;
  }
}

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