:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #5f6368;
  --line: #e3e3e8;
  --card: #f5f5f7;
  --accent: #2463eb;
  --accent-text: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --text: #f2f2f4;
    --muted: #a1a1a8;
    --line: #2b2c30;
    --card: #1b1c1f;
    --accent: #4d84ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
header.site .brand {
  display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600;
}
header.site .brand img { width: 28px; height: 28px; }
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--text); }

.hero { text-align: center; padding: 72px 0 40px; }
.hero img.icon { width: 112px; height: 112px; margin: 0 auto 20px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero p.lead { font-size: 21px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none;
  font-weight: 600; padding: 12px 22px; border-radius: 999px;
}
.button[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.small { font-size: 14px; color: var(--muted); }
.hero .small { margin-top: 12px; }

.shot { margin: 8px auto 0; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.18); }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 32px; letter-spacing: -0.01em; margin: 0 0 8px; }
section > .wrap > p.intro { color: var(--muted); margin: 0 0 32px; font-size: 19px; }

.moment { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; margin: 40px 0; }
.moment:nth-child(even) { grid-template-columns: 1.4fr 1fr; }
.moment:nth-child(even) .text { order: 2; }
.moment h3 { font-size: 23px; margin: 0 0 8px; }
.moment p { margin: 0 0 8px; color: var(--muted); }
.moment img { border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.15); }
@media (max-width: 760px) {
  .moment, .moment:nth-child(even) { grid-template-columns: 1fr; }
  .moment:nth-child(even) .text { order: 0; }
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

table.plans { width: 100%; border-collapse: collapse; font-size: 16px; }
table.plans th, table.plans td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plans th { font-weight: 600; }
table.plans td:not(:first-child), table.plans th:not(:first-child) { text-align: center; width: 120px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p, details ul { color: var(--muted); margin: 10px 0 0; }

.doc { padding: 48px 0 72px; }
.doc h1 { font-size: 40px; letter-spacing: -0.01em; margin: 0 0 6px; }
.doc h2 { font-size: 24px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc .updated { color: var(--muted); margin-bottom: 28px; }
kbd {
  font: 0.9em -apple-system, BlinkMacSystemFont, sans-serif; background: var(--card);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
}

footer.site { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }
