:root {
  color-scheme: dark;
  --page-bg: #0b0907;
  --page-bg-soft: #17120e;
  --surface: rgba(255, 250, 241, 0.055);
  --surface-strong: rgba(255, 250, 241, 0.09);
  --text: #f2ede4;
  --muted: #b0a394;
  --line: rgba(255, 244, 232, 0.12);
  --line-strong: rgba(255, 244, 232, 0.22);
  --accent: #859251;
  --accent-soft: rgba(133, 146, 81, 0.2);
  --accent-ink: #0b0907;
  --display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --ui: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui);
  color: var(--text);
  background:
    radial-gradient(circle at 82% 10%, var(--accent-soft), transparent 30rem),
    radial-gradient(circle at 10% 35%, rgba(157, 126, 88, 0.1), transparent 30rem),
    linear-gradient(180deg, var(--page-bg-soft), var(--page-bg) 48%);
}

body.app-focus {
  --accent: #4a9f49;
  --accent-soft: rgba(74, 159, 73, 0.2);
  --accent-ink: #0b0907;
}

body.app-alarm {
  --accent: #efc666;
  --accent-soft: rgba(239, 198, 102, 0.2);
  --accent-ink: #0b0907;
}

body.app-mma {
  --accent: #ececec;
  --accent-soft: rgba(236, 236, 236, 0.16);
  --accent-ink: #0b0907;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-shell {
  width: min(1120px, calc(100vw - 28px));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.brand-link {
  font-family: var(--display);
  font-size: 1.55rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-left: 24px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
  padding: 72px 0 88px;
}

.product-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.hero h1,
.section-heading h2,
.closing-card h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.8rem, 6.4vw, 5.7rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 610px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.26rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.primary-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
}

.primary-button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 12px 34px var(--accent-soft);
}

.text-link {
  min-height: 44px;
  border-bottom: 1px solid var(--line-strong);
}

.primary-button:hover {
  filter: brightness(1.08);
}

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

.hero-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(2px);
}

.phone-stack {
  position: relative;
  width: min(100%, 560px);
  height: 540px;
}

.phone-shot {
  position: absolute;
  width: 218px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: #111;
  box-shadow: var(--shadow);
}

.phone-shot img {
  display: block;
  width: 100%;
}

.phone-shot--main {
  z-index: 3;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.phone-shot--left {
  z-index: 1;
  left: 0;
  top: 104px;
  transform: rotate(-7deg);
}

.phone-shot--right {
  z-index: 2;
  right: 0;
  top: 112px;
  transform: rotate(7deg);
}

.content-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.content-section--paper {
  color: #17120e;
  background: #f2ede4;
  border-color: rgba(23, 18, 14, 0.14);
  box-shadow: 0 0 0 100vmax #f2ede4;
  clip-path: inset(0 -100vmax);
}

.content-section--paper .eyebrow,
.content-section--paper .card-number {
  color: #17120e;
}

.content-section--paper .section-intro,
.content-section--paper .benefit-card p,
.content-section--paper .privacy-copy p {
  color: #62574a;
}

.content-section--paper .benefit-card,
.content-section--paper .privacy-panel,
.content-section--paper .privacy-seal,
.content-section--paper .text-link {
  border-color: rgba(23, 18, 14, 0.18);
}

.content-section--paper .privacy-seal {
  color: #17120e;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.closing-card h2 {
  font-size: clamp(3rem, 5.2vw, 4.7rem);
  line-height: 0.97;
}

.section-intro {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.benefit-card,
.feature-card,
.faq-card {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}

.benefit-card {
  min-height: 238px;
  padding: 24px 0;
}

.card-number {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.benefit-card h3,
.feature-card h3,
.faq-card h3 {
  margin-top: 38px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.benefit-card p,
.feature-card p,
.faq-card p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 0 0;
}

.gallery-shot {
  margin: 0;
}

.gallery-shot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.gallery-shot figcaption {
  padding: 14px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.feature-card,
.faq-card {
  padding: 24px 0;
}

.feature-card h3,
.faq-card h3 {
  margin-top: 0;
  font-size: 1.65rem;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.privacy-seal {
  display: grid;
  place-items: center;
  width: 180px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--display);
  font-size: 2rem;
  text-align: center;
}

.privacy-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.privacy-copy p {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.closing-card {
  padding: clamp(44px, 8vw, 90px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, var(--accent-soft), transparent 34%),
    var(--surface);
  text-align: center;
}

.related-apps .section-heading {
  align-items: start;
}

.related-app-list {
  border-bottom: 1px solid var(--line-strong);
}

.related-app-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  text-decoration: none;
}

.related-app-row img {
  width: 56px;
  height: 56px;
  border-radius: 15px;
}

.related-app-row strong {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.related-app-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.related-app-arrow {
  color: var(--accent);
  font-size: 1.25rem;
}

.closing-card p {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.closing-card .primary-button {
  margin-top: 30px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

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

@media (max-width: 900px) {
  .nav-links a:not(.nav-all) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 56px;
  }

  .hero-copy-block {
    text-align: center;
  }

  .product-mark,
  .hero-actions {
    justify-content: center;
  }

  .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .benefit-grid,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
  }

  .site-nav {
    min-height: 66px;
  }

  .nav-download {
    display: none;
  }

  .hero {
    gap: 36px;
    padding: 42px 0 64px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 17vw, 5rem);
  }

  .hero-visual {
    min-height: 440px;
  }

  .phone-stack {
    width: 100%;
    height: 430px;
  }

  .phone-shot {
    width: 174px;
    border-radius: 24px;
  }

  .phone-shot--left {
    left: -16px;
    top: 88px;
  }

  .phone-shot--right {
    right: -16px;
    top: 92px;
  }

  .content-section {
    padding: 78px 0;
  }

  .section-heading {
    gap: 26px;
    margin-bottom: 36px;
  }

  .section-heading h2,
  .closing-card h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .product-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72vw;
    overflow-x: auto;
    margin-right: -12px;
    padding: 8px 12px 22px 0;
    scroll-snap-type: x mandatory;
  }

  .gallery-shot {
    scroll-snap-align: start;
  }

  .privacy-panel {
    padding: 34px 24px;
  }

  .privacy-seal {
    width: 142px;
    font-size: 1.6rem;
  }

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

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