@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --border: #e4e4e7;
  --line: #f2f2f3;
  --text: #18181b;
  --muted: #595960;
  --accent: #4249c9;
  --accent-hover: #363dae;
  --accent-soft: #eafaf7;
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgba(24, 24, 27, 0.05), 0 2px 8px rgba(24, 24, 27, 0.07);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 64rem; margin: 0 auto; padding-inline: 1rem; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; }
.brand:hover { color: var(--text); }
.header-nav { display: flex; align-items: center; gap: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s;
}
.btn-sm { min-height: 38px; padding: 0.4rem 0.85rem; font-size: 0.875rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.btn-secondary:hover { background: var(--line); color: var(--text); }

.breadcrumb { font-size: 0.85rem; color: var(--muted); padding-top: 0.5rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.35rem; color: #a1a1aa; }
.breadcrumb a { color: var(--muted); }

.hero { padding-block: 2.25rem 2.75rem; }
.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0 0 1rem;
  max-width: 22ch;
  text-wrap: balance;
}
.lede { font-size: 1.125rem; color: var(--muted); max-width: 42rem; margin: 0 0 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.9rem; }
.hero-note { font-size: 0.9rem; color: var(--muted); margin: 0; }

main section { padding-block: 1.75rem; }
main section + section { border-top: 1px solid var(--border); }

h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}
h3 { font-size: 1.05rem; line-height: 1.35; margin: 0 0 0.35rem; }

.prose { max-width: 44rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--accent); }

.modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
@media (min-width: 720px) { .modules { grid-template-columns: repeat(2, 1fr); } }
.modules div {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
}
.modules dt { font-weight: 600; margin-bottom: 0.2rem; }
.modules dd { margin: 0; color: var(--muted); font-size: 0.95rem; }

.table-scroll {
  overflow-x: auto;
  margin: 1.25rem 0 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }
caption { text-align: left; padding: 0.9rem 1rem 0; font-weight: 600; color: var(--text); }
th, td { padding: 0.7rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: 0.85rem; color: var(--muted); font-weight: 600; background: #fafafa; }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.plans { min-width: 36rem; }
.plans thead th:not(:first-child), .plans td { width: 24%; }
.price { font-weight: 700; white-space: nowrap; }
.num { white-space: nowrap; }

.shot { margin: 1.5rem 0 0.5rem; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.shot figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted); }

.figure-compat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}
.figure-compat img {
  background: #fff;
  padding: 0.6rem;
  border-radius: 0.5rem;
  box-shadow: inset 0 0 0 1px var(--border);
  height: 72px;
  width: auto;
}
.figure-compat figcaption { font-size: 0.9rem; color: var(--muted); max-width: 26rem; }

.faq { max-width: 44rem; }
.faq-item { border-top: 1px solid var(--border); padding-block: 1rem; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item p { margin: 0; color: var(--muted); }

.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
@media (min-width: 720px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related li {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
}
.related a { font-weight: 600; }
.related p { margin: 0.3rem 0 0; font-size: 0.9rem; color: var(--muted); }

.cta {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem;
  margin-block: 1rem 2.5rem;
}
.cta h2 { margin-bottom: 0.5rem; }
.cta p { color: var(--muted); margin: 0 0 1.1rem; max-width: 40rem; }
.cta .actions { margin: 0; }

.site-footer { border-top: 1px solid var(--border); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }

.nowrap { white-space: nowrap; }

@media (max-width: 480px) {
  .actions .btn { flex: 1 1 100%; }
  th, td { padding: 0.6rem 0.75rem; }
  .plans { min-width: 0; font-size: 0.8125rem; }
  .plans th, .plans td { padding: 0.55rem 0.4rem; }
  .plans th:first-child { padding-left: 0.75rem; }
  .plans thead th:not(:first-child), .plans td { width: 22%; }
  .plans .price { white-space: normal; }
}
