:root {
  color-scheme: light;
  --ink: #112331;
  --muted: #526879;
  --line: #d8e2e7;
  --surface: #ffffff;
  --water: #0f3f57;
  --teal: #0f766e;
  --foam: #edf8f5;
  --sun: #f6b44b;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--foam);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 0%, rgba(246, 180, 75, 0.2), transparent 28rem),
    linear-gradient(180deg, #e8f6f4 0%, #f8fbfb 46%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
}

.hero {
  padding: 18px 0 22px;
  text-align: center;
}

.hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1.305fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(12px, 4vw, 28px);
  width: min(100%, 588px);
  margin: 0 auto 18px;
}

.hero-media figure {
  min-width: 0;
  margin: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-media figcaption {
  margin-top: 12px;
  color: var(--water);
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  font-weight: 700;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 18px;
  text-align: left;
}

.mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(15, 63, 87, 0.22);
}

.app-name {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.content {
  display: grid;
  gap: 14px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.content p {
  margin: 0;
  color: #2e4354;
  font-size: 1.03rem;
}

.content h2 {
  margin: 10px 0 0;
  color: var(--water);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: #2e4354;
}

.content li::before {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--sun));
  content: "";
}

.error {
  padding: 14px;
  border: 1px solid #f0c0bd;
  border-radius: 8px;
  background: #fff7f6;
  color: #8f1d18;
}

.iphone-gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: start;
  gap: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 24px);
  margin: 30px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.iphone-gallery .feature-shot {
  flex: 1 1 280px;
  max-width: 340px;
  margin: 0;
  padding-top: 0;
  border-top: none;
}

.feature-shot {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  margin: 30px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.feature-shot img {
  display: block;
  width: min(72vw, 280px);
  max-width: 100%;
  height: auto;
}

.watch-shot img {
  width: min(78vw, 320px);
  aspect-ratio: 600 / 940;
}

.phone-shot img {
  width: min(84vw, 340px);
  aspect-ratio: 850 / 1738;
}

.feature-shot figcaption {
  color: var(--water);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0;
}

.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.screenshot-placeholder span:first-child {
  font-weight: 700;
  color: var(--ink);
}

.watch-placeholder {
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
}

.phone-placeholder {
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
}

@media (min-width: 640px) {
  .page {
    padding-inline: 28px;
  }

  .content ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
:root { scroll-behavior: smooth; }
.site-nav { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.site-nav a, .document a { color: #0f766e; text-underline-offset: 3px; }
.document section { margin: 28px 0; }
.document h1 { font-size: 28px; }
.document h2 { font-size: 20px; }
.document p { line-height: 1.65; }
.document .brand { flex-wrap: wrap; }

.app-store-link {
  display: block;
  width: fit-content;
  margin: 4px auto 24px;
}

.app-store-link img {
  display: block;
  width: 180px;
  height: auto;
}

.app-store-link:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
  border-radius: 8px;
}

.beta-notice {
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid #d6a64b;
  border-radius: 8px;
  background: #fff6df;
  color: #503b12;
}
