:root {
  color-scheme: light dark;
  --background: #f2f2f7;
  --background-raised: #ffffff;
  --surface: #ffffff;
  --surface-secondary: #f8f8fb;
  --surface-selected: rgba(26, 168, 148, 0.14);
  --text: #1c1c1e;
  --muted: #4a4c52;
  --tertiary: #8a8d94;
  --line: rgba(60, 60, 67, 0.14);
  --accent: #1aa894;
  --accent-strong: #168b7b;
  --accent-bright: #17c4ba;
  --shadow: 0 28px 80px rgba(28, 28, 30, 0.16);
  --radius-card: 30px;
  --radius-row: 18px;
  --radius-button: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #141417;
    --background-raised: #1f1f24;
    --surface: #1f1f24;
    --surface-secondary: #18181d;
    --surface-selected: rgba(33, 204, 184, 0.16);
    --text: #f7f7fa;
    --muted: #c9c9d0;
    --tertiary: #92929c;
    --line: rgba(255, 255, 255, 0.13);
    --accent: #21ccb8;
    --accent-strong: #6ce4d7;
    --accent-bright: #16d3c5;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    ui-rounded, "SF Pro Rounded", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  font-size: 20px;
  box-shadow: 0 12px 28px rgba(26, 168, 148, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 620;
}

.nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 86px);
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 18%, rgba(23, 196, 186, 0.18), transparent 34%),
    radial-gradient(circle at 20% 85%, rgba(26, 168, 148, 0.12), transparent 28%),
    var(--background);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.8fr);
  gap: 64px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100svh - 86px);
  margin: 0 auto;
  padding: 44px 0 84px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--radius-button);
  padding: 0 14px;
  background: var(--surface-selected);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 760;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(3.6rem, 8vw, 7.25rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 520;
  line-height: 1.52;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  padding: 0 23px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(28, 28, 30, 0.06);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  box-shadow: 0 18px 38px rgba(26, 168, 148, 0.26);
}

.app-image-wrap {
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: 680px;
}

.app-image-shell {
  width: min(100%, 338px);
  border-radius: 48px;
  padding: 10px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--shadow);
}

.app-preview {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
  background: var(--background);
}

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

.section h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.65;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.feature {
  min-height: 184px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  background: var(--surface);
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.policy {
  max-width: 760px;
}

.policy h1 {
  font-size: clamp(2.7rem, 8vw, 5.5rem);
}

.policy h2 {
  margin-top: 44px;
  font-size: 1.45rem;
}

.policy ul {
  padding-left: 1.3rem;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.support-option {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--surface);
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 22px;
  }

  .app-image-wrap {
    min-height: 0;
  }

  .app-image-shell {
    width: min(100%, 350px);
  }

  .feature-list,
  .support-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero-inner,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.2rem);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .app-image-shell {
    border-radius: 42px;
    padding: 8px;
  }

  .app-preview {
    border-radius: 34px;
  }
}
