/* Public pages (front page, features, pricing). Modern-EFI brand tokens: dark by default, light on html[data-theme="light"].
   Self-contained on purpose: these three pages, this file, landing.js and img/ can be lifted into another site as they are. */
:root {
  color-scheme: dark;
  --plane: #1C1C1C; --surface-1: #262626; --surface-2: #303030;
  --text-primary: #FFFFFF; --text-secondary: #C7C7C7; --muted: #9A9A9A;
  --border: rgba(255, 255, 255, 0.11);
  --brand: #018AD2; --brand-text: #3FA9E5; --brand-btn: #0176B2; --brand-ink: #FFFFFF; --brand-wash: rgba(1, 138, 210, 0.13);
  --good: #0CA30C; --warning: #FAB219;
  --radius: 11px; --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
html[data-theme="light"] {
  color-scheme: light;
  --plane: #F4F5F7; --surface-1: #FFFFFF; --surface-2: #FAFAFA;
  --text-primary: #303030; --text-secondary: #5A5A5A; --muted: #6B6B6B;
  --border: rgba(48, 48, 48, 0.13);
  --brand-text: #0071AA; --brand-wash: rgba(1, 138, 210, 0.08);
  --shadow: 0 14px 40px rgba(48, 48, 48, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--plane); color: var(--text-secondary); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--text-primary); font-weight: 650; letter-spacing: -0.014em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 18px; line-height: 1.3; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--plane) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text-primary); font-weight: 650; font-size: 17px; letter-spacing: -0.014em; }
.logo:hover { text-decoration: none; }
.logo img { height: 40px; width: auto; }
.logo .l-light, html[data-theme="light"] .logo .l-dark { display: none; }
html[data-theme="light"] .logo .l-light { display: block; }
.logo .pn { padding-left: 12px; border-left: 1px solid var(--border); }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--text-secondary); font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text-primary); text-decoration: none; }
.btn { display: inline-block; white-space: nowrap; font: inherit; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-primary); cursor: pointer; }
.btn:hover { border-color: var(--brand); color: var(--brand-text); text-decoration: none; }
.btn.primary, .top nav a.btn.primary { background: var(--brand-btn); border-color: var(--brand-btn); color: var(--brand-ink); }
.btn.primary:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.big { font-size: 16px; padding: 13px 24px; }
.icon { width: 38px; height: 38px; padding: 0; border-radius: 8px; font-size: 16px; line-height: 1; }

/* hero */
.hero { padding: 76px 0 40px; text-align: center; }
.eyebrow { color: var(--brand-text); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { max-width: 900px; margin: 0 auto; }
.hero .lead { max-width: 720px; margin: 22px auto 0; font-size: 19px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; min-height: 1px; }
.shot { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface-1); box-shadow: var(--shadow); }
.hero .shot { margin-top: 52px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.head { max-width: 720px; margin-bottom: 40px; }
.head p { margin-top: 14px; font-size: 18px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--plane); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-btn); color: #fff; font-weight: 650; font-size: 13px; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 8px 0 0; }
.stat { border-left: 2px solid var(--brand); padding: 2px 0 2px 16px; }
.stat b { display: block; color: var(--text-primary); font-size: 17px; font-weight: 650; }
.stat span { font-size: 14px; color: var(--muted); }

/* picture beside text */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split.flip > .txt { order: 2; }
.split h2 { margin-bottom: 16px; }
.split p { font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding: 5px 0 5px 28px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 11px; height: 6px; border-left: 2px solid var(--brand-text); border-bottom: 2px solid var(--brand-text); transform: rotate(-45deg); }

/* two pictures side by side */
.duo { display: grid; grid-template-columns: 1fr; gap: 36px; }
.duo figure { margin: 0; }
.duo figcaption { margin-top: 16px; font-size: 15.5px; }
.duo figcaption b { display: block; color: var(--text-primary); font-size: 18px; font-weight: 650; margin-bottom: 4px; }

/* feature list page */
.group { padding: 56px 0; border-top: 1px solid var(--border); }
.group:first-of-type { border-top: 0; }
.group > h2 { margin-bottom: 8px; }
.group > p { max-width: 720px; margin-bottom: 28px; font-size: 17px; }
.group .shot { margin-top: 28px; }
.page-head { padding: 64px 0 8px; }
.page-head p { max-width: 720px; margin-top: 16px; font-size: 19px; }

/* pricing */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.plan { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.plan h3 { font-size: 20px; }
.plan .price { color: var(--text-primary); font-size: 22px; font-weight: 650; margin: 12px 0 18px; min-height: 36px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--border); }
.plan li { padding: 5px 0; font-size: 15px; }
.soon { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--warning); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 1px; }
html[data-theme="light"] .soon { color: #8A5A00; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; color: var(--text-primary); font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 8px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 12px; }
.faq details p { margin-top: 10px; }

/* closing call and footer */
.close { text-align: center; }
.close h2 { max-width: 720px; margin: 0 auto; }
footer { border-top: 1px solid var(--border); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--muted); }
footer .sp { flex: 1; }

@media (max-width: 920px) {
  .grid, .grid.four, .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .duo { grid-template-columns: 1fr; gap: 28px; }
  .split.flip > .txt { order: 0; }
  .split + .split { margin-top: 64px; }
  section { padding: 56px 0; }
}
@media (max-width: 620px) {
  .grid, .grid.four, .stats { grid-template-columns: 1fr; }
  .top .wrap { gap: 12px; height: 60px; }
  .top nav { gap: 14px; }
  .top nav .hide-s, .logo .pn { display: none; }
  .logo img { height: 32px; }
  .hero { padding-top: 48px; }
  .hero .lead { font-size: 17px; }
}
