:root {
  color-scheme: light;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --surface-soft: #EFF8F4;
  --surface-inset: #F8F9FA;
  --ink: #202124;
  --muted: #68716D;
  --border: #DDE1D8;
  --primary: #34C09F;
  --primary-strong: #25B99F;
  --primary-soft: #EFF8F4;
  --accent: #3997E8;
  --accent-soft: #EEF6FF;
  --warning-soft: #FFF6DF;
  --shadow: 0 18px 40px rgba(32, 33, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--primary-strong);
  text-decoration-color: rgba(37, 185, 159, 0.35);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(245, 246, 248, 0.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.footer-inner,
.content {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(37, 185, 159, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary-strong);
}

main {
  flex: 1;
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-strong);
  font-size: 0.88rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  max-width: 820px;
}

h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

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

p {
  margin: 0 0 16px;
}

.lede {
  margin-top: 22px;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.14rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
}

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

.app-preview {
  justify-self: end;
  width: min(100%, 340px);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow);
}

.preview-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  border-radius: 8px;
}

.preview-title {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 800;
}

.preview-copy {
  color: var(--muted);
}

.section-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 44px 0;
}

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

.link-card {
  min-height: 160px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
}

.link-card:hover {
  border-color: rgba(37, 185, 159, 0.52);
  box-shadow: var(--shadow);
}

.link-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.link-card span {
  color: var(--muted);
}

.document {
  padding: 48px 0 64px;
}

.document-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

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

.updated {
  color: var(--muted);
  margin-top: 14px;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid #ead8a6;
  border-radius: 8px;
  background: var(--warning-soft);
  color: #5a4420;
}

.document-content {
  max-width: 820px;
}

.document-content ul,
.document-content ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.document-content li {
  margin: 8px 0;
}

.document-content strong {
  color: #202124;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #EFF8F4;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .app-preview {
    justify-self: stretch;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
