:root {
  color-scheme: light;
  --ink: #17212f;
  --muted: #56616f;
  --quiet: #7a8492;
  --paper: #fffaf4;
  --surface: #ffffff;
  --line: rgba(23, 33, 47, 0.12);
  --line-strong: rgba(23, 33, 47, 0.22);
  --night: #111827;
  --teal: #19b8aa;
  --green: #42c773;
  --coral: #ff665e;
  --amber: #f6b84b;
  --blue: #1276f2;
  --shadow: 0 26px 70px rgba(23, 33, 47, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
}

body::selection {
  color: #fff;
  background: rgba(255, 102, 94, 0.88);
}

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

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

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

section[id] {
  scroll-margin-top: 86px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(17, 24, 39, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.nav-links a {
  padding: 10px 11px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.hero {
  position: relative;
  min-height: clamp(620px, 82svh, 800px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.78) 43%, rgba(17, 24, 39, 0.28) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 26%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.48), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 54px;
}

.app-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  border-radius: 24px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin-bottom: 14px;
  color: #76f1c0;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.58;
}

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

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

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

.app-store-badge:hover,
.app-store-badge:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(118, 241, 192, 0.72);
  outline-offset: 4px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.button.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 16px 34px rgba(255, 102, 94, 0.24);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #f14d45;
  outline: none;
}

.phrase-strip {
  max-width: 710px;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phrase-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.94rem;
  font-weight: 740;
}

.quick-strip {
  width: min(1160px, calc(100% - 32px));
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick-strip div {
  min-height: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quick-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.quick-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.band,
.screens-section,
.faq-section {
  padding: 90px 0;
}

.band.warm {
  background:
    linear-gradient(180deg, rgba(255, 102, 94, 0.08), rgba(246, 184, 75, 0.12)),
    #fff7ee;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.section-heading {
  max-width: 710px;
}

.section-heading.narrow {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.download-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.download-panel p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article,
.feature-card,
.policy-list article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 46px rgba(23, 33, 47, 0.08);
}

.steps article {
  position: relative;
  min-height: 150px;
  padding: 24px 24px 24px 82px;
}

.steps span {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-weight: 840;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.steps p,
.feature-card p,
.policy-list p,
.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

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

.feature-card,
.faq-grid article {
  min-height: 206px;
  padding: 24px;
}

.feature-card:nth-child(1) {
  border-top: 5px solid var(--coral);
}

.feature-card:nth-child(2) {
  border-top: 5px solid var(--teal);
}

.feature-card:nth-child(3) {
  border-top: 5px solid var(--green);
}

.feature-card:nth-child(4) {
  border-top: 5px solid var(--amber);
}

.feature-card:nth-child(5) {
  border-top: 5px solid var(--blue);
}

.feature-card:nth-child(6) {
  border-top: 5px solid #9b6df4;
}

.screens-section {
  color: #fff;
  background: var(--night);
}

.screens-section .eyebrow {
  color: #8af6d1;
}

.screens-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 0.84fr) minmax(340px, 1.2fr);
  gap: 18px;
  align-items: end;
}

figure {
  margin: 0;
}

.screen-grid figure {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.screen-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.wide-screen img {
  aspect-ratio: 839 / 1120;
  object-fit: cover;
}

figcaption {
  padding: 12px 4px 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.policy-list {
  display: grid;
  gap: 14px;
}

.policy-list article {
  padding: 24px;
}

.faq-section {
  background: #ffffff;
}

.faq-grid {
  margin-top: 8px;
}

.text-link {
  color: #0b6ee8;
  font-weight: 760;
  border-bottom: 1px solid rgba(11, 110, 232, 0.28);
}

.text-link:hover,
.text-link:focus-visible {
  color: #064fa7;
  outline: none;
}

.text-link.light {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.46);
}

.text-link.light:hover,
.text-link.light:focus-visible {
  color: #dffdf4;
}

.subpage-hero {
  padding: 92px 0 78px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.76)),
    url("assets/avatar-field.png");
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.76)),
    image-set(
      url("assets/avatar-field.webp") type("image/webp"),
      url("assets/avatar-field.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.subpage-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.58;
}

.subpage-hero .button {
  margin-top: 14px;
}

.last-updated {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  font-weight: 760;
}

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

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.legal-card {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(23, 33, 47, 0.08);
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.legal-card a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-top: 1px solid rgba(23, 33, 47, 0.08);
  font-size: 0.95rem;
}

.legal-card a:hover,
.legal-card a:focus-visible {
  color: var(--blue);
  outline: none;
}

.legal-body {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-body h2 {
  margin: 32px 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.08;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.subscription-plans {
  margin: 18px 0 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(25, 184, 170, 0.08), rgba(18, 118, 242, 0.06)),
    #ffffff;
}

.plan-card h3 {
  color: var(--ink);
}

.plan-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.plan-card.is-loading strong,
.plan-card.is-unavailable strong {
  color: var(--quiet);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.plan-card span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.subscription-status {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-panel {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.contact-panel p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.62;
}

.download-panel {
  margin-top: 38px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(25, 184, 170, 0.88), rgba(18, 118, 242, 0.86)),
    var(--night);
}

.download-panel h2 {
  max-width: 680px;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
}

.download-panel p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0b111c;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  outline: none;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-backdrop {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.82) 54%, rgba(17, 24, 39, 0.46) 100%);
  }

  h1 {
    max-width: 720px;
    font-size: clamp(3rem, 11vw, 5.4rem);
  }

  .quick-strip,
  .feature-grid,
  .faq-grid,
  .support-page .faq-grid,
  .subscription-plans,
  .screen-grid,
  .legal-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .legal-card {
    position: static;
  }

  .screen-grid {
    max-width: 560px;
    margin: 0 auto;
  }

  .wide-screen {
    display: none;
  }

  .download-panel,
  .contact-panel,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav,
  .container,
  .hero-content,
  .quick-strip {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: 72svh;
  }

  .hero-content {
    padding: 28px 0 34px;
  }

  .nav-links {
    display: none;
  }

  .app-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
    line-height: 0.96;
  }

  .hero-copy {
    max-width: 31rem;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .button.secondary,
  .phrase-strip {
    display: none;
  }

  .quick-strip {
    margin-top: 0;
    padding-top: 12px;
  }

  .quick-strip div {
    min-height: 0;
  }

  .band,
  .screens-section,
  .faq-section {
    padding: 66px 0;
  }

  .section-heading.narrow {
    text-align: left;
  }

  .steps article {
    padding-left: 24px;
  }

  .steps span {
    position: static;
    margin-bottom: 16px;
  }

  .feature-card,
  .faq-grid article,
  .policy-list article,
  .contact-panel,
  .legal-card,
  .legal-body,
  .download-panel {
    padding: 20px;
  }

  .subpage-hero {
    padding: 64px 0 58px;
  }
}
