:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5c6370;
  --line: #e2e5ea;
  --accent: #0a7cff;
  --accent-soft: #e6f1ff;
  --radius: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1114;
    --surface: #1a1d22;
    --text: #eceef2;
    --muted: #a0a7b3;
    --line: #2b2f36;
    --accent: #4da3ff;
    --accent-soft: #15283f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.site a:hover { color: var(--text); }

main { padding: 40px 0 64px; }

h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 26px; line-height: 1.25; margin: 44px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 28px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 6px; }
.lede { font-size: 20px; color: var(--muted); max-width: 640px; }
.meta { color: var(--muted); font-size: 15px; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-icon { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 20px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.hero-shot img { width: 100%; height: auto; max-width: 300px; display: block; margin: 0 auto; border-radius: 28px; box-shadow: 0 16px 40px rgba(0,0,0,.15); }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 12px 22px; border-radius: 12px;
  font-weight: 600; text-decoration: none; font-size: 17px;
}
.cta:hover { opacity: .88; }
.cta small { display: block; font-weight: 400; font-size: 12px; opacity: .8; line-height: 1.1; }
.cta span { line-height: 1.15; text-align: left; }
.cta svg { width: 22px; height: 22px; fill: currentColor; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 12px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.badge-new {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  vertical-align: middle; margin-left: 6px;
}

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); display: block; }
.shots figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; }

.guide-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.guide-list a { font-weight: 600; text-decoration: none; }
.guide-list p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

article h2 { font-size: 23px; }
table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 15px; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--accent-soft); }
.table-wrap { overflow-x: auto; }

.note {
  background: var(--accent-soft); border-radius: 12px; padding: 14px 18px; margin: 24px 0;
  font-size: 15px;
}
.app-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-top: 40px;
}
.app-box h2 { margin-top: 0; font-size: 21px; }

.faq dt { font-weight: 700; margin-top: 22px; }
.faq dd { margin: 6px 0 0; }

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

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero-shot { order: -1; display: none; }
  .shots { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  main { padding-top: 28px; }
}
