/* Styles for the plain HTML pages (/features/, /pricing/, /about/, /compare/, /faq/, /privacy/,
   /terms/…). They are static so search engines and AI assistants can read them without running
   the app; the look follows the landing page. */
:root { --brand: #1557F5; --brand-dark: #0f46cc; --brand-soft: #eef3ff; --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --gray: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: var(--brand); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header { position: relative; border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
/* Header links are at least 44px tall so they are easy to tap. */
header nav { gap: 8px; }
header nav > a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 12px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
/* The small-screen menu: a <details> disclosure, so it works without JavaScript. Hidden on wide
   screens, where the links sit in the header. */
.nav-menu { display: none; position: relative; }
.nav-menu summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu-panel { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 10; min-width: 220px; display: flex; flex-direction: column; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); }
.nav-menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-size: 16px; }
.nav-menu-panel a:hover, .nav-menu-panel a[aria-current="page"] { background: var(--brand-soft); }
.nav-menu-panel .nav-menu-cta { margin-top: 4px; color: var(--brand); font-weight: 600; }
.hero { padding-block: 64px 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
h1 { margin: 12px auto 16px; max-width: 760px; font-size: clamp(32px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.lead { margin: 0 auto; max-width: 640px; font-size: 18px; color: var(--muted); }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
section { padding: 48px 0; }
section.gray { background: var(--gray); }
h2 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 32px); letter-spacing: -0.01em; line-height: 1.2; }
h3 { margin: 0 0 6px; font-size: 17px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.plan { font-size: 16px; color: var(--muted); }
.price { margin: 8px 0 0; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.per { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
/* `.card p` sets a smaller size for card text; the price lines keep their own. */
.card .price { margin: 8px 0 0; font-size: 30px; color: var(--ink); }
.card .per { margin: 0 0 12px; font-size: 14px; }
ul.ticks { margin: 16px 0 0; padding: 0; list-style: none; }
ul.ticks li { position: relative; padding-inline-start: 24px; margin: 8px 0; font-size: 14px; }
ul.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 700; }
.prose { max-width: 720px; }
.prose p { color: var(--muted); font-size: 16px; }
dl { margin: 24px 0 0; }
dt { font-weight: 600; margin-top: 20px; }
dd { margin: 6px 0 0; color: var(--muted); }
/* Question-and-answer lists: each question is an h3, its answer the paragraph after it. */
.faq { margin-top: 24px; }
.faq h3 { margin: 24px 0 6px; font-size: 17px; line-height: 1.4; }
.faq h3 + p { margin-top: 0; }
.cta { background: var(--brand); color: #fff; border-radius: 24px; padding: 40px 24px; text-align: center; margin: 48px 0; }
.cta h2 { color: #fff; }
.cta p { color: #dbe6ff; margin: 0 0 20px; }
.cta .btn { background: #fff; color: var(--brand-dark); }
footer { border-top: 1px solid var(--line); background: var(--gray); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 16px; }
/* Footer and language links are at least 44px tall so they are easy to tap. */
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); margin-inline-end: 16px; }
footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
footer .langs { display: flex; flex-wrap: wrap; gap: 0; padding-top: 0; }
footer .langs a { text-decoration: none; }
footer .langs a:hover, footer .langs a[aria-current="page"] { color: var(--ink); }
/* Comparison tables, the short answer at the top of a page, and "Last updated" lines. */
table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
th, td { text-align: start; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
th { background: var(--gray); }
td:first-child { font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; }
section.gray th { background: #fff; }
.updated { color: var(--muted); font-size: 14px; }
.answer { background: var(--brand-soft); border-radius: 18px; padding: 20px 24px; margin-top: 16px; }
.answer p { color: var(--ink); margin: 0; }
.prose ul:not(.ticks), .prose ol { color: var(--muted); padding-inline-start: 20px; }
.prose li { margin: 6px 0; }
.prose h3 { margin-top: 28px; }
/* Legal pages: numbered sections with a contents list at the top. */
.toc { display: block; font-size: 16px; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--gray); }
.toc ol { margin: 8px 0 0; }
.toc a { display: inline-block; padding: 4px 0; color: var(--brand); }
.legal h2 { margin-top: 48px; font-size: clamp(22px, 3vw, 26px); scroll-margin-top: 16px; }
.legal h3 { margin-top: 24px; }
@media (max-width: 860px) {
  /* The full link row no longer fits: links move into the Menu disclosure. */
  nav .hide-sm, header nav > a.hide-sm { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 640px) {
  nav { gap: 12px; }
  nav .btn { padding: 8px 12px; white-space: nowrap; }
}
@media (max-width: 420px) {
  /* Too narrow for the button beside the menu; it is the last item in the menu instead. */
  nav .btn { display: none; }
  .hero { padding-block: 40px 24px; }
}
