:root {
  color-scheme: light dark;
  --background: #f7f5ef;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #202322;
  --muted: #66706c;
  --line: #ded8cd;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --warning-bg: #f4ead7;
  --warning-line: #d4b98b;
  --shadow: 0 20px 60px rgb(25 31 28 / 12%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #151817;
    --surface: #1e2422;
    --surface-strong: #252c2a;
    --text: #f2f4ef;
    --muted: #a9b2ad;
    --line: #39423f;
    --accent: #5eead4;
    --accent-strong: #99f6e4;
    --warning-bg: #2b261d;
    --warning-line: #6d5a36;
    --shadow: 0 20px 60px rgb(0 0 0 / 32%);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
}

body {
  margin: 0;
  min-width: 320px;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}

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

.brand img,
.app-icon-large {
  border-radius: 22%;
  box-shadow: 0 10px 28px rgb(17 24 39 / 16%);
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

nav a[aria-current="page"] {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 68px 24px 48px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 22px;
  font-size: 1.7rem;
  line-height: 1.3;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.app-preview {
  display: grid;
  place-items: center;
  gap: 22px;
  min-height: 360px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

.preview-title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
}

.preview-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.section,
.notice,
.document {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 24px;
}

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

.feature-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.feature-grid p,
.notice p,
.document p,
.document dd,
.document li {
  color: var(--muted);
}

.notice {
  margin-top: 20px;
  margin-bottom: 44px;
  border-top: 1px solid var(--warning-line);
  border-bottom: 1px solid var(--warning-line);
  background: var(--warning-bg);
}

.document {
  max-width: 820px;
}

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

.document h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.updated {
  margin-top: 12px;
}

.faq {
  margin: 0;
}

.faq dt {
  margin-top: 20px;
  font-weight: 800;
}

.faq dd {
  margin: 6px 0 0;
}

.centered {
  min-height: 100vh;
  display: grid;
  align-content: center;
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: var(--background);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

.site-footer p {
  margin: 0;
}

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .app-preview {
    min-height: 260px;
  }

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

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .notice,
  .document,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .feature-grid article {
    min-height: auto;
  }
}
