:root {
  color-scheme: light;
  --ink: #101215;
  --muted: #5d6672;
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f7f9fb;
  --line: rgba(16, 18, 21, 0.12);
  --blue: #37a8ff;
  --green: #12b765;
  --red: #ff4e63;
  --yellow: #f4b400;
  --shadow: 0 30px 90px rgba(18, 34, 56, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  color: white;
  background: var(--green);
}

a {
  color: inherit;
  text-decoration: none;
}

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

img {
  max-width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  padding: 116px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 26vh;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.88) 76%, var(--bg));
  pointer-events: none;
}

.nav {
  position: absolute;
  z-index: 5;
  inset: 24px clamp(18px, 5vw, 72px) auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 850;
}

.brand img,
.footer img:first-child {
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(18, 34, 56, 0.18);
}

.nav-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
}

.store-badge-link,
.badge-button {
  display: inline-flex;
  width: 120px;
  height: 40px;
  transition: transform 160ms ease;
}

.store-badge-link:hover,
.store-badge-link:focus-visible,
.badge-button:hover,
.badge-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-2px);
}

.store-badge-link:focus-visible,
.badge-button:focus-visible,
.secondary-button:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(55, 168, 255, 0.34);
  outline-offset: 5px;
  border-radius: 8px;
}

.store-badge-link img,
.badge-button img,
.footer-store img {
  display: block;
  width: 120px;
  height: 40px;
  filter: drop-shadow(0 8px 16px rgba(18, 34, 56, 0.16));
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin-bottom: 18px;
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: 0.83;
  font-weight: 950;
}

.lede {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3.1vw, 2.85rem);
  line-height: 1.03;
  font-weight: 850;
  text-wrap: balance;
}

.intro {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

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

.secondary-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: white;
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: rgba(65, 214, 111, 0.48);
  background: rgba(18, 183, 101, 0.09);
}

.hero-art {
  position: relative;
  min-width: 0;
  min-height: 620px;
}

.hero-collage {
  position: absolute;
  right: -7%;
  top: 50%;
  width: min(54vw, 660px);
  height: auto;
  border-radius: 36px;
  box-shadow: var(--shadow);
  transform: translateY(-50%) rotate(2deg);
}

.stat-chip {
  position: absolute;
  z-index: 2;
  width: min(82vw, 260px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 17px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-chip span {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stat-chip strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.stat-chip-one {
  left: 0;
  top: 18%;
}

.stat-chip-two {
  right: 0;
  bottom: 16%;
}

.summary-band,
.feature-grid,
.screen-feature,
.mode-section,
.mini-gallery,
.privacy-panel,
.more-apps,
.footer,
.support-main,
.policy-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.summary-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: 72px 0 54px;
  border-top: 1px solid var(--line);
}

h2 {
  font-size: clamp(2.3rem, 5.4vw, 5.4rem);
  line-height: 0.9;
  font-weight: 950;
  text-wrap: balance;
}

.summary-band > p,
.screen-copy p,
.mode-copy p,
.privacy-panel > p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.68;
}

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

.feature-grid article {
  min-height: 250px;
  padding: 24px;
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(18, 183, 101, 0.055), transparent 62%),
    var(--panel);
}

.feature-mark {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 64px;
  border-radius: 999px;
}

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

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

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

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

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.08;
  font-weight: 900;
}

.feature-grid p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.screen-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: 96px 0 64px;
}

.screen-copy {
  position: sticky;
  top: 32px;
}

.screen-copy h2,
.mode-copy h2,
.privacy-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
}

.wide-screen-stack {
  display: grid;
  gap: 18px;
}

figure {
  overflow: hidden;
  border-radius: 8px;
}

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

figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.mode-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.54fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 32px 0 78px;
}

.mode-image {
  overflow: hidden;
  border-radius: 8px;
}

.mode-image img {
  display: block;
  width: 100%;
  height: auto;
}

.mini-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  padding-bottom: 84px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.58fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: 54px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.more-apps {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  padding: clamp(48px, 8vw, 88px) 0 20px;
}

.more-apps-heading h2 {
  font-size: clamp(2.15rem, 4.8vw, 4.8rem);
  line-height: 0.94;
  font-weight: 950;
  text-wrap: balance;
}

.more-app-list {
  display: grid;
  gap: 12px;
}

.more-app-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.more-app-card:hover,
.more-app-card:focus-visible {
  border-color: rgba(18, 183, 101, 0.36);
  background: white;
  transform: translateY(-2px);
}

.more-app-card:focus-visible {
  outline: 3px solid rgba(55, 168, 255, 0.24);
  outline-offset: 4px;
}

.more-app-card img {
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(18, 34, 56, 0.16);
}

.more-app-card strong,
.more-app-card span span {
  display: block;
}

.more-app-card strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.08rem;
}

.more-app-card span span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.footer {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
}

.footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--ink);
}

.support-page,
.policy-page {
  min-height: 100vh;
}

.support-hero,
.policy-hero {
  position: relative;
  min-height: 430px;
  padding: 132px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(55, 168, 255, 0.08), transparent 70%),
    var(--bg);
}

.support-copy,
.policy-copy {
  max-width: 820px;
}

.support-copy h1,
.policy-copy h1 {
  max-width: 9ch;
  margin: 14px 0 0;
  font-size: clamp(4rem, 9vw, 7.4rem);
  line-height: 0.86;
  font-weight: 950;
  text-wrap: balance;
}

.support-copy p:last-child,
.policy-copy p:last-child {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.support-main {
  max-width: 760px;
  padding: 28px 0 88px;
}

.support-form {
  display: grid;
  gap: 22px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--panel-2);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.4;
}

.field-group textarea {
  min-height: 190px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(55, 168, 255, 0.22);
}

.support-submit {
  width: fit-content;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  color: white;
  background: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.support-submit:hover,
.support-submit:focus-visible {
  transform: translateY(-2px);
  background: #252a32;
}

.policy-main {
  max-width: 860px;
  padding: 28px 0 96px;
}

.policy-main section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.policy-main section:first-child {
  border-top: 0;
  padding-top: 0;
}

.policy-main h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  font-weight: 950;
}

.policy-main h3 {
  margin: 26px 0 10px;
  font-size: 1.2rem;
}

.policy-main p,
.policy-main li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.policy-main p {
  margin-bottom: 14px;
}

.policy-main ul {
  margin: 0;
  padding-left: 20px;
}

.policy-main a {
  color: var(--blue);
  font-weight: 850;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
  }

  .store-badge-link {
    display: none;
  }

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

  .hero-art {
    width: 100%;
    min-height: auto;
  }

  .hero-collage {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 680px;
    transform: rotate(1.5deg);
  }

  .stat-chip {
    position: relative;
    display: inline-block;
    margin-top: 14px;
  }

  .stat-chip-one,
  .stat-chip-two {
    inset: auto;
  }

  .summary-band,
  .screen-feature,
  .mode-section,
  .privacy-panel,
  .more-apps {
    grid-template-columns: 1fr;
  }

  .screen-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 124px 16px 54px;
  }

  .hero-copy,
  .hero-art,
  .lede,
  .intro {
    max-width: calc(100vw - 32px);
  }

  .intro {
    overflow-wrap: anywhere;
  }

  .nav {
    inset: 18px 16px auto;
    gap: 12px;
  }

  .brand {
    width: 100%;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(3.55rem, 18vw, 5.2rem);
  }

  .summary-band,
  .feature-grid,
  .screen-feature,
  .mode-section,
  .mini-gallery,
  .privacy-panel,
  .more-apps,
  .footer,
  .support-main,
  .policy-main {
    width: min(100% - 28px, 1180px);
  }

  .feature-grid,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 220px;
  }

  .feature-mark {
    margin-bottom: 46px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer div {
    width: 100%;
  }
}
