:root {
  color-scheme: light;
  --paper: #fdfdfd;
  --ink: #152235;
  --muted: #475970;
  --blue: #0754b5;
  --blue-deep: #06438f;
  --wash: #ebf3fd;
  --wash-hover: #deebfc;
  --gutter: clamp(1rem, 4vw, 1.75rem);
  --section-gap: clamp(3rem, 8vw, 5.5rem);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.shell {
  width: min(43rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

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

h1, h2, h3 {
  text-wrap: balance;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 6.1vw, 4.15rem);
  letter-spacing: -0.042em;
  font-weight: 750;
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.25rem);
  letter-spacing: -0.025em;
}

h3, .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-deep);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 1.25rem;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: 0.75rem auto auto var(--gutter);
  padding: 0.5rem 0.75rem;
  background: var(--paper);
}

.skip-link:not(:focus) {
  clip-path: inset(50%);
}

.site-header,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 1.25rem;
}

.site-header {
  padding-block: 0.875rem;
}

.site-header a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand {
  gap: 0.375rem;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}

nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.hero,
.policy {
  padding-top: clamp(2.25rem, 7vw, 5rem);
}

.lead {
  max-width: 36rem;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1rem;
  margin-top: 1.5rem;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1.125rem;
  border-radius: 100vmax;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}

.primary-link:hover {
  background: var(--blue-deep);
  color: #fff;
}

.note {
  color: var(--muted);
  font-size: 0.875rem;
}

.preview {
  margin-top: clamp(1.5rem, 5vw, 2.5rem);
  padding: clamp(0.875rem, 3vw, 1.75rem);
  background: var(--wash);
  text-align: center;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 10.75rem));
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 1.75rem);
}

@media (prefers-reduced-motion: no-preference) {
  .screens figure {
    animation: show-screen 420ms ease-out both;
  }

  .screens figure:nth-child(2) { animation-delay: 65ms; }
  .screens figure:nth-child(3) { animation-delay: 130ms; }

  @keyframes show-screen {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.screens img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(0.625rem, 3vw, 1.125rem);
}

figcaption a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.25rem;
  font-size: 0.875rem;
}

.section {
  margin-top: var(--section-gap);
}

.steps {
  margin: 1.25rem 0 0;
  padding-inline-start: 1.65rem;
}

.steps li {
  padding-inline-start: 0.35rem;
}

.steps li + li {
  margin-top: 1.25rem;
}

.steps li::marker {
  color: var(--blue);
  font-weight: 700;
}

.steps p,
.support p,
.policy section p {
  margin-top: 0.5rem;
}

.faq {
  margin-top: 1rem;
  background: var(--wash);
}

.faq details + details {
  margin-top: 0.125rem;
}

.faq summary {
  min-height: 44px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 650;
}

.faq summary:hover,
.faq details[open] > summary {
  background: var(--wash-hover);
}

.faq summary:focus-visible {
  outline-offset: -3px;
}

.faq details p {
  padding: 0.625rem 1rem 1rem;
}

.email {
  overflow-wrap: anywhere;
}

.support .email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  font-weight: 650;
}

.policy section:first-of-type {
  margin-top: 2rem;
}

.policy section + section {
  margin-top: 1.5rem;
}

.policy h2 {
  font-size: 1.25rem;
  letter-spacing: 0;
}

.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-block: 0.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (max-width: 26rem) {
  .hero-actions {
    display: grid;
    justify-items: start;
  }
}
