:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #61707f;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: rgba(23, 33, 43, 0.12);
  --teal: #007f7a;
  --mint: #d9f4ec;
  --coral: #ee6f57;
  --gold: #f4b942;
  --night: #11202a;
  --shadow: 0 24px 70px rgba(17, 32, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand img,
.hero-icon {
  border-radius: 22%;
  box-shadow: 0 10px 28px rgba(17, 32, 42, 0.2);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a,
.site-footer a,
.secondary-link {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer a:hover,
.secondary-link:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(830px, 84svh);
  padding: clamp(42px, 8vw, 92px) clamp(20px, 6vw, 88px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 32, 42, 0.9) 0%, rgba(17, 32, 42, 0.72) 44%, rgba(17, 32, 42, 0.2) 100%),
    url("assets/screenshots/1.jpg") center right 18% / min(54vw, 520px) auto no-repeat,
    linear-gradient(135deg, #11202a 0%, #244046 50%, #f4b942 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: clamp(18px, 7vw, 92px);
  bottom: -18px;
  width: min(33vw, 360px);
  aspect-ratio: 1242 / 2688;
  border: 10px solid rgba(255, 255, 255, 0.84);
  border-radius: 38px;
  background: url("assets/screenshots/3.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

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

.hero-icon {
  width: clamp(66px, 9vw, 92px);
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.6rem, 11vw, 8.2rem);
  max-width: 8ch;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.2rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-lede {
  width: min(560px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2.2vw, 1.38rem);
}

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

.app-store-link {
  display: inline-flex;
  min-height: 54px;
}

.app-store-link img {
  width: 188px;
  height: auto;
}

.secondary-link,
.text-button,
.mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
}

.hero .secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.feature-band,
.screenshots-band,
.privacy-preview,
.support-band,
.document-page {
  padding: clamp(58px, 9vw, 108px) clamp(20px, 6vw, 88px);
}

.section-heading {
  width: min(880px, 100%);
  margin-bottom: clamp(28px, 5vw, 52px);
}

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

.feature-grid article {
  min-height: 220px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--panel);
}

.feature-grid p,
.privacy-preview p,
.support-band p,
.document-content p,
.document-hero p {
  color: var(--muted);
  font-size: 1.03rem;
}

.shot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 24vw);
  gap: clamp(18px, 3vw, 30px);
  padding: 8px 2px 30px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.shot-rail img {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border-radius: 30px;
  border: 9px solid #111820;
  background: #111820;
  box-shadow: 0 18px 44px rgba(17, 32, 42, 0.18);
  scroll-snap-align: start;
}

.privacy-preview,
.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.privacy-preview {
  background: var(--mint);
}

.support-band {
  background: var(--night);
  color: #fff;
}

.support-band p {
  color: rgba(255, 255, 255, 0.72);
}

.text-button {
  border: 1px solid rgba(23, 33, 43, 0.18);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.mail-button {
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(238, 111, 87, 0.32);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.document-page {
  min-height: 72svh;
}

.document-hero {
  width: min(980px, 100%);
  padding-bottom: 42px;
}

.document-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.document-content {
  width: min(780px, 100%);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.document-content h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.document-content a {
  color: var(--teal);
  font-weight: 750;
}

.support-page .mail-button {
  margin-top: 28px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    min-height: 82svh;
    padding-top: 54px;
    padding-bottom: 210px;
    background:
      linear-gradient(180deg, rgba(17, 32, 42, 0.94) 0%, rgba(17, 32, 42, 0.74) 58%, rgba(17, 32, 42, 0.24) 100%),
      url("assets/screenshots/1.jpg") bottom right 12% / 240px auto no-repeat,
      linear-gradient(135deg, #11202a 0%, #244046 50%, #f4b942 100%);
  }

  .hero::after {
    right: 20px;
    width: 170px;
    border-width: 7px;
    border-radius: 26px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .feature-grid,
  .privacy-preview,
  .support-band {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .shot-rail {
    grid-auto-columns: minmax(210px, 68vw);
  }

  .text-button,
  .mail-button {
    width: fit-content;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 0.98rem;
  }

  .site-header nav {
    gap: 16px;
    font-size: 0.9rem;
  }

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

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
