:root {
  color-scheme: light;
  --ink: #16222f;
  --muted: #607083;
  --line: #dce6ea;
  --paper: #fbfdfd;
  --wash: #eef8f8;
  --teal: #10bfc2;
  --teal-deep: #0b747b;
  --gold: #f2a51a;
  --violet: #7658e8;
  --coral: #fa6b6c;
  --green: #1c9f74;
  --shadow: 0 24px 70px rgba(22, 34, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration-color: rgba(16, 191, 194, 0.55);
  text-underline-offset: 0.18em;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 253, 253, 0.88);
  border-bottom: 1px solid rgba(220, 230, 234, 0.75);
  backdrop-filter: blur(18px);
}

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

.brand img,
.hero-icon,
.support-hero img {
  border-radius: 22%;
  box-shadow: 0 10px 30px rgba(11, 116, 123, 0.2);
}

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

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

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 128px clamp(22px, 5vw, 72px) 86px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("./hero-screens.png");
  background-position: center 28%;
  background-size: cover;
  transform: scale(1.03);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 34, 0.88), rgba(7, 27, 34, 0.52) 46%, rgba(7, 27, 34, 0.22)),
    linear-gradient(180deg, rgba(251, 253, 253, 0.0) 72%, var(--paper) 100%);
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  z-index: -2;
  height: 22%;
  background: linear-gradient(180deg, rgba(251, 253, 253, 0), var(--paper));
}

.hero-content {
  width: min(680px, 100%);
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.24);
}

.hero-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 26px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8cf2ef;
}

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

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

h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  width: min(640px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

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

.app-store-badge {
  display: inline-flex;
  padding: 15px 0;
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: var(--teal);
  color: #062a2f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro,
.features,
.screenshots,
.privacy-band,
.support-content {
  padding: clamp(58px, 8vw, 104px) 0;
}

.intro-grid,
.privacy-grid,
.support-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.intro p,
.privacy-grid p,
.support-hero p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

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

.feature-card,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(22, 34, 47, 0.07);
}

.feature-card {
  min-height: 230px;
  padding: 22px;
}

.feature-card p,
.support-panel p,
.support-panel li {
  color: var(--muted);
}

.feature-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  font-weight: 850;
}

.accent-teal .feature-mark {
  background: var(--teal-deep);
}

.accent-gold .feature-mark {
  background: var(--gold);
}

.accent-violet .feature-mark {
  background: var(--violet);
}

.accent-coral .feature-mark {
  background: var(--coral);
}

.phone-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

figure {
  margin: 0;
}

.phone-strip figure {
  display: grid;
  gap: 14px;
}

.phone-strip img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figcaption {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
  text-align: center;
}

.privacy-band {
  background: #102431;
  color: #fff;
}

.privacy-band .section-kicker {
  color: #8cf2ef;
}

.privacy-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer p + p {
  margin-top: 2px;
}

.support-page {
  background:
    linear-gradient(180deg, var(--wash) 0, var(--paper) 420px);
}

.support-hero {
  padding: 146px 0 72px;
}

.support-hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.support-hero p {
  margin-top: 22px;
}

.support-hero-grid img {
  justify-self: end;
  width: min(180px, 38vw);
}

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

.support-panel {
  padding: clamp(22px, 4vw, 34px);
}

.support-panel.wide {
  grid-column: 1 / -1;
}

.support-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.support-panel ol,
.support-panel ul {
  margin: 0;
  padding-left: 1.25rem;
}

.support-panel li + li {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
  }

  .site-header nav {
    justify-content: flex-end;
  }

  .hero {
    min-height: 820px;
    padding-top: 96px;
  }

  .hero-media {
    background-position: 55% 15%;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(7, 27, 34, 0.34), rgba(7, 27, 34, 0.82) 48%, rgba(7, 27, 34, 0.9)),
      linear-gradient(180deg, rgba(251, 253, 253, 0.0) 72%, var(--paper) 100%);
  }

  .intro-grid,
  .privacy-grid,
  .support-hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .phone-strip,
  .support-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-hero-grid img {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 14px;
    padding: 12px 16px;
  }

  .brand span {
    display: none;
  }

  .site-header nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 760px;
    padding: 92px 18px 64px;
  }

  .hero-icon {
    width: 72px;
    height: 72px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.8rem);
  }

  .button {
    width: 100%;
  }

  .app-store-badge {
    padding: 13px 0;
  }

  .app-store-badge img {
    height: 52px;
  }

  .feature-grid,
  .phone-strip,
  .support-layout {
    grid-template-columns: 1fr;
  }

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