/* US TWO — shared styles. No external resources, no JavaScript, sans-serif only. */
:root {
  --bg: #F7F3EC;
  --fg: #24201C;
  --mute: #6B635A;
  --card: #FFFCF7;
  --line: #E4DCD0;
  --accent: #B4573A;
  --accent-soft: rgba(180, 87, 58, 0.10);
  --on-accent: #FFFCF7;
  --radius: 18px;
  --max: 720px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1815;
    --fg: #F2ECE3;
    --mute: #A89E92;
    --card: #24201C;
    --line: #3A332C;
    --accent: #E08A6B;
    --accent-soft: rgba(224, 138, 107, 0.14);
    --on-accent: #1B1815;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg); text-decoration: none; font-weight: 600; letter-spacing: 0.06em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--mute); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

/* Typography */
h1, h2, h3 { font-family: var(--font); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 7vw, 48px); font-weight: 300; margin: 48px 0 12px; }
h2 { font-size: 22px; font-weight: 600; margin: 40px 0 8px; }
h3 { font-size: 17px; font-weight: 600; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.lead { font-size: 19px; color: var(--mute); }
.meta { color: var(--mute); font-size: 15px; }
strong { font-weight: 600; }

/* Hero */
.hero { text-align: center; padding: 56px 0 24px; }
.hero img.app-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(36, 32, 28, 0.15); }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 10vw, 64px); letter-spacing: 0.04em; font-weight: 300; }
.tagline { font-size: clamp(22px, 5vw, 28px); font-weight: 300; margin: 0 0 16px; }
.hero .lead { max-width: 560px; margin: 0 auto 28px; }

.pill {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none;
}
.pill.soft { background: var(--accent-soft); color: var(--accent); }

/* Cards */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 32px 0; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.notice {
  background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0;
}
.notice p:last-child { margin-bottom: 0; }

/* Tables */
.table-scroll { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

/* FAQ */
details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; margin: 10px 0;
}
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }

.toc { columns: 2 220px; padding-left: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; color: var(--mute); font-size: 14px; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.site-footer a { color: var(--mute); }
.site-footer p { margin: 4px 0; }

main { padding-bottom: 16px; overflow-wrap: anywhere; }
.center { text-align: center; margin-top: 28px; }
