:root {
  --bg: #f9f9fb;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6e6e73;
  --accent: #007aff;
  --border: rgba(28, 28, 30, 0.08);
  --shadow: 0 12px 30px rgba(28, 28, 30, 0.05);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  flex: 1;
}

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

.container {
  width: min(calc(100% - 32px), 680px);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 0;
  background: rgba(249, 249, 251, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 28, 30, 0.05);
}

.brand {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a[aria-current="page"] {
  background: rgba(0, 122, 255, 0.1);
  color: var(--accent);
}

.page-stack {
  padding: 32px 0 56px;
}

.page-stack > * + * {
  margin-top: 16px;
}

.hero,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 32px 24px;
}

.card {
  padding: 28px 24px;
}

.section-header {
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

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

h2 {
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  margin-top: 28px;
}

h3 {
  font-size: 1.05rem;
  margin-top: 20px;
}

p,
ul,
ol,
dl,
table {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 6px;
}

.tagline,
.meta {
  color: var(--muted);
}

.tagline {
  font-size: 1.05rem;
}

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

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
}

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

.button-secondary {
  background: rgba(0, 122, 255, 0.08);
}

.button:hover,
.button-secondary:hover {
  text-decoration: none;
}

.feature-list {
  margin-bottom: 0;
}

.faq-list {
  margin: 0;
}

.faq-item + .faq-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.faq-item dt {
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 700;
  background: rgba(0, 122, 255, 0.04);
}

.policy section + section {
  margin-top: 28px;
}

.site-footer {
  padding: 0 0 28px;
}

.site-footer .container {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 0;
  }

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

  .hero,
  .card {
    padding: 24px 18px;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  td,
  th {
    padding: 6px 0;
    border: 0;
  }
}
