/* ==========================================================================
   MyFit — site styles
   Palette matches the app: black, iOS dark surfaces, and #64d2ff.
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-deep: #000000;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --surface-3: #3a3a3c;
  --border: #2c2c2e;
  --border-strong: #3a3a3c;
  --text: #ffffff;
  --muted: #98989d;
  --muted-bright: #c7c7cc;
  --accent: #64d2ff;
  --accent-soft: rgba(100, 210, 255, 0.12);
  --green: #30d158;
  --red: #ff453a;
  --radius: 22px;
  --container: 1120px;
  --header-height: 72px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(100, 210, 255, 0.3);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted-bright);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  background: #8adcff;
  color: #000;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle span:first-child {
  transform: translate(-50%, calc(-50% - 4px));
}

.menu-toggle span:last-child {
  transform: translate(-50%, calc(-50% + 4px));
}

.site-header.nav-open .menu-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Shared type
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.accent-text {
  color: var(--accent);
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.section-lead {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted-bright);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 76px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  padding-bottom: 40px;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(3.1rem, 6.2vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero .lead {
  max-width: 540px;
  margin-top: 24px;
  color: var(--muted-bright);
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 18px 8px 16px;
  border-radius: 13px;
  background: var(--accent);
  color: #000;
  cursor: default;
}

.store-badge svg {
  width: 24px;
  height: 29px;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.store-badge small {
  color: rgba(0, 0, 0, 0.66);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-badge strong {
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points li::before {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%2364d2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding-bottom: 16px;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Device frames
   -------------------------------------------------------------------------- */

.device {
  position: relative;
  width: 100%;
  padding: 7px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 40px;
  background: var(--surface-2);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1560;
  object-fit: cover;
  object-position: top center;
  border-radius: 33px;
}

.device-hero {
  width: 250px;
  flex-shrink: 0;
}

.watch {
  position: relative;
  width: 100%;
  padding: 6px;
  border: 1px solid var(--border-strong);
  border-radius: 38px;
  background: var(--surface-2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.watch img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 416 / 496;
  object-fit: cover;
  border-radius: 32px;
}

.watch::after {
  content: "";
  position: absolute;
  top: 33%;
  right: -4px;
  width: 4px;
  height: 25%;
  border-radius: 0 3px 3px 0;
  background: var(--surface-3);
}

.watch-hero {
  width: 118px;
  flex-shrink: 0;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

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

.feature-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-top: 20px;
  font-size: 20px;
}

.feature-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   Screenshots
   -------------------------------------------------------------------------- */

.screenshots-section {
  border-top: 1px solid var(--border);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
}

.screen-card {
  margin: 0;
}

.screen-card .device {
  max-width: 210px;
  margin: 0 auto;
  padding: 5px;
  border-radius: 34px;
}

.screen-card .device img {
  border-radius: 29px;
}

.screen-card figcaption {
  max-width: 210px;
  margin: 15px auto 0;
}

.screen-card h3 {
  font-size: 18px;
}

.screen-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Apple Watch
   -------------------------------------------------------------------------- */

.watch-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}

.watch-copy h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.watch-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 16px;
  color: var(--muted-bright);
  font-size: 16px;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted-bright);
  font-size: 14.5px;
}

.check-list li + li {
  margin-top: 9px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.38em;
  left: 0;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.3 2.6 2.6 6.4-6.1' fill='none' stroke='%2364d2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.watch-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.watch-item {
  margin: 0;
  width: 140px;
}

.watch-item figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Privacy
   -------------------------------------------------------------------------- */

.privacy-section {
  padding-top: 0;
}

.privacy-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 56px;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}

.privacy-copy h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.privacy-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
}

.privacy-copy .text-link {
  margin-top: 22px;
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--border);
  color: var(--muted-bright);
  font-size: 14.5px;
}

.privacy-list li:last-child {
  border-bottom: 0;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.3 2.6 2.6 6.4-6.1' fill='none' stroke='%2364d2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

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

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

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--muted-bright);
  transform: translate(-50%, -50%);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .faq-plus {
  background: var(--accent-soft);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 700px;
  padding: 0 42px 22px 2px;
  color: var(--muted);
  font-size: 15px;
}

.faq-list details p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Download
   -------------------------------------------------------------------------- */

.download-section {
  padding: 80px 0 96px;
}

.download-card {
  padding: 64px 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  text-align: center;
}

.download-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 22px;
  border-radius: 23px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.download-card h2 {
  margin-top: 12px;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  letter-spacing: -0.045em;
}

.download-card > p:not(.eyebrow) {
  max-width: 540px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 54px;
  padding: 10px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  overflow-wrap: break-word;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.button-secondary:hover {
  border-color: var(--muted);
  background: var(--surface-3);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-col h4 {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Legal / support pages
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  letter-spacing: -0.05em;
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.page-body {
  padding: 56px 0 88px;
}

.prose {
  max-width: 760px;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 40px;
  font-size: 26px;
}

.prose h3 {
  margin-top: 28px;
  font-size: 19px;
}

.prose p,
.prose li {
  color: var(--muted-bright);
  font-size: 15.5px;
  line-height: 1.75;
}

.prose ul {
  padding-left: 22px;
}

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

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.callout p {
  margin: 0;
  font-size: 14.5px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
}

.support-grid > * {
  min-width: 0;
}

.support-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.support-card + .support-card {
  margin-top: 16px;
}

.support-card h2 {
  font-size: 20px;
}

.support-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14.5px;
}

.support-card .button-secondary {
  margin-top: 18px;
}

.support-card a:not(.button-secondary) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-side {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.support-side h2 {
  font-size: 20px;
}

.support-side .faq-list {
  margin-top: 12px;
}

.support-side .faq-list summary {
  padding: 17px 2px;
  font-size: 15px;
}

.support-side .faq-list details p {
  padding: 0 36px 18px 2px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    max-width: 660px;
    padding-bottom: 0;
  }

  .hero-visual {
    justify-content: center;
    padding-bottom: 24px;
  }

  .device-hero {
    width: 230px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

  .watch-gallery {
    justify-content: start;
  }

  .privacy-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px;
  }

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

  .support-side {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(100% - 36px, var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transform-origin: top right;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 16px;
  }

  .site-nav .nav-cta {
    margin: 6px 0 0;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    gap: 12px;
  }

  .device-hero {
    width: 210px;
  }

  .watch-hero {
    width: 88px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-lead {
    font-size: 16px;
  }

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

  .screens-grid {
    display: flex;
    gap: 16px;
    margin-right: -18px;
    padding-right: 18px;
    padding-bottom: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screen-card {
    flex: 0 0 min(70%, 220px);
    scroll-snap-align: start;
  }

  .screen-card .device,
  .screen-card figcaption {
    max-width: none;
  }

  .watch-grid {
    padding: 26px;
    border-radius: 22px;
  }

  .watch-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .watch-item {
    width: auto;
  }

  .privacy-card {
    padding: 26px;
    border-radius: 22px;
  }

  .faq-list summary {
    padding: 19px 2px;
    font-size: 15.5px;
  }

  .faq-list details p {
    padding-right: 2px;
    font-size: 14px;
  }

  .download-section {
    padding: 56px 0 72px;
  }

  .download-card {
    padding: 44px 20px;
    border-radius: 22px;
  }

  .download-actions {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 44px 0 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .page-hero {
    padding: 44px 0 32px;
  }

  .page-body {
    padding: 40px 0 64px;
  }

  .support-card {
    padding: 22px;
  }
}

@media (max-width: 540px) {
  .watch-hero {
    display: none;
  }

  .hero-visual {
    justify-content: center;
  }

  .device-hero {
    width: min(250px, 76vw);
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .hero-foot {
    font-size: 10px;
  }

  .support-card .button-secondary {
    width: 100%;
    padding: 10px 12px;
    font-size: 12.5px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
