:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --fg: #0b0b0e;
  --fg-2: #3a3a42;
  --muted: #71717a;
  --line: #e7e7ea;
  --accent: #ff5a36;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0e;
    --bg-soft: #111115;
    --fg: #f4f4f5;
    --fg-2: #c9c9d0;
    --muted: #8e8e98;
    --line: #212127;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.7 Geist, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
header .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.top { display: flex; gap: 28px; font-size: 14px; }
.top a { color: var(--muted); text-decoration: none; transition: color .15s; }
.top a:hover, .top a[aria-current] { color: var(--fg); }
.top a[aria-current] { font-weight: 500; }

.doc { max-width: 720px; margin: 0 auto; padding: 80px 32px 96px; }
.kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 500; }
h1 { margin-top: 12px; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.04em; }
.dates { margin-top: 16px; color: var(--muted); font-size: 14px; }
.summary { margin-top: 40px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); }
.doc .summary h2 { margin: 0 0 10px; font-size: 15px; }
.summary ul { margin-bottom: 0; }
.doc h2 { margin-top: 48px; margin-bottom: 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.doc p, .doc ul { color: var(--fg-2); margin-bottom: 14px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--muted); }
.doc strong { color: var(--fg); font-weight: 600; }
.doc .caps { font-size: 14px; }
.doc a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.doc th { color: var(--fg); font-weight: 500; font-size: 13px; }
.doc .es { font-size: 14px; color: var(--muted); }
.doc .lead { margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--fg-2); }

/* About / Contact */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0 8px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--bg); }
.doc .card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.doc .card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.doc .card a { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 500; color: var(--fg); }
.email {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding: 28px; border-radius: 20px; background: var(--fg); color: var(--bg);
}
.email .label { font-size: 13px; opacity: .65; }
.email .addr { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: inherit; }
.email .btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 12px;
  background: var(--bg); color: var(--fg); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.email .btn:hover { opacity: .88; }
.details { width: 100%; }
.doc .details td:first-child { width: 38%; color: var(--muted); }
.doc .details td { color: var(--fg); }

footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .doc { padding: 48px 16px 72px; }
  .top { gap: 18px; }
  .top a[href="privacy.html"], .top a[href="terms.html"] { display: none; }
  .cards { grid-template-columns: 1fr; }
  .email .addr { font-size: 19px; }
  .doc .details tr { display: table-row; }
  .doc .details td { display: table-cell; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
  .doc thead { display: none; }
  .doc tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .doc td { display: block; padding: 2px 0; border: 0; }
  .doc td:first-child { color: var(--fg); font-weight: 500; }
}
