:root {
  color-scheme: light dark;
  font-family: "SUITE Variable", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --page: #fafafa;
  --surface: #fff;
  --ink: #1e2128;
  --muted: #555d6c;
  --line: #dfe2ea;
  --button-line: #8b94a8;
  --button: #202536;
  --button-hover: #353c55;
  --button-ink: #fff;
  --focus: #4d5bd2;
  --screen-ink: #343f58;
  --screen-bg: linear-gradient(140deg, #eef0ff, #e0eaf7);
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #101113;
    --surface: #191c24;
    --ink: #eef0f3;
    --muted: #afb6c4;
    --line: #363c48;
    --button-line: #667287;
    --button: #dce2ff;
    --button-hover: #c8d0f5;
    --button-ink: #191e32;
    --focus: #b4bcff;
    --screen-ink: #d8e1f7;
    --screen-bg: linear-gradient(140deg, #272b44, #1c2b3c);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

:is(a, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1;
  top: 0.75rem;
  left: var(--gutter);
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--button);
  color: var(--button-ink);
  transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
  transform: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .page-width {
  display: flex;
  align-items: center;
  min-height: 4rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 1.625rem;
  font-weight: 750;
  letter-spacing: -0.065em;
  text-decoration: none;
}

.wordmark span {
  color: var(--focus);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.app-icon {
  display: block;
  width: clamp(3.5rem, 6vw, 4.5rem);
  height: auto;
  border-radius: 24%;
  box-shadow: 0 0 0 1px rgb(23 31 52 / 10%), 0 6px 16px rgb(23 31 52 / 12%);
}

.hero h1 {
  margin: 1.25rem 0 0;
  font-size: clamp(3rem, 5.7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.hero-copy p {
  max-width: 20em;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.125rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--button-line);
  border-radius: 0.625rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  border-color: var(--muted);
}

.button-primary {
  border-color: var(--button);
  background: var(--button);
  color: var(--button-ink);
}

.button-primary:hover {
  border-color: var(--button-hover);
  background: var(--button-hover);
}

.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: clamp(1.125rem, 4vw, 2.5rem);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: var(--screen-bg);
}

.screen {
  margin: 0;
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 13;
  object-fit: cover;
  object-position: top;
  border-radius: clamp(0.75rem, 2vw, 1.375rem);
  box-shadow: 0 0 0 1px rgb(23 31 52 / 9%), 0 12px 24px rgb(23 31 52 / 15%);
}

.screen figcaption {
  margin-top: 0.75rem;
  color: var(--screen-ink);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 6vw, 5rem);
  padding-block: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

.support-contact h2 {
  margin: 0;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.support-contact a {
  display: inline-block;
  min-height: 2.75rem;
  margin-top: 0.375rem;
  padding-block: 0.625rem;
  font-size: 0.9375rem;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.875rem;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 0.875rem;
  height: 0.875rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}

.faq details[open] summary::after {
  background-size: 100% 1px, 0 0;
}

.faq details p {
  margin: 0 1.875rem 1rem 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer a {
  padding-block: 0.625rem;
}

@media (max-width: 48rem) {
  .hero,
  .support {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-block: 2.25rem 2.75rem;
  }

  .screens {
    width: min(100%, 34rem);
    justify-self: center;
  }
}
