/* Semanticus marketing site — single hand-rolled stylesheet, no build step.
   Palette mirrors the Studio webview: near-black surfaces, violet accent. */
:root {
  --bg: #0d0d13; --surface: #15151d; --surface-2: #1c1c27; --border: #2a2a3a;
  --fg: #e8e8f0; --muted: #9a9ab0; --accent: #8b7cf6; --accent-soft: rgba(139, 124, 246, 0.14);
  --good: #4ade80; --warn: #d7a54a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 16px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(13,13,19,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
header.site .inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--fg); }
.brand img { width: 26px; height: 26px; }
nav.main { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 14.5px; }
nav.main a { color: var(--muted); }
nav.main a:hover { color: var(--fg); text-decoration: none; }
nav.main a.cta { color: var(--fg); background: var(--accent); padding: 7px 16px; border-radius: 8px; font-weight: 600; }
nav.main a.cta:hover { filter: brightness(1.1); }

/* hero */
.hero { padding: 84px 0 48px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.15; letter-spacing: -0.02em; max-width: 900px; margin: 0 auto; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); max-width: 760px; margin: 20px auto 0; }
.cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: 16px; border: 1px solid var(--border); color: var(--fg); }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost:hover { background: var(--surface-2); }
.hero .note { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* shared sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2.sec { font-size: clamp(24px, 3.5vw, 34px); letter-spacing: -0.01em; text-align: center; }
p.sec-sub { color: var(--muted); text-align: center; max-width: 720px; margin: 12px auto 0; }
.shot { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--border); margin-top: 36px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card h3 .tag { font-size: 11px; vertical-align: 2px; margin-left: 8px; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 99px; font-weight: 600; }
.card p { color: var(--muted); font-size: 14.5px; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 48px; }
.split .shot { margin-top: 0; }
.split h3 { font-size: 22px; margin-bottom: 10px; }
.split p { color: var(--muted); font-size: 15.5px; }
.split ul { margin: 14px 0 0 18px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 44px; max-width: 940px; margin-left: auto; margin-right: auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(139,124,246,0.12); position: relative; }
.plan.featured .flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.plan h3 { font-size: 18px; }
.plan .price { font-size: 40px; font-weight: 750; margin: 12px 0 2px; letter-spacing: -0.02em; }
.plan .price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan .per { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }
.plan ul li::before { content: "✓  "; color: var(--good); font-weight: 700; }
.plan ul li.no::before { content: "—  "; color: var(--muted); }
.plan .btn { text-align: center; margin-top: auto; }

.pricing-notes { max-width: 940px; margin: 26px auto 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.pricing-notes strong { color: var(--text); }
.pricing-notes a { color: var(--accent); }

/* faq + legal prose */
.faq { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 14.5px; }
.prose { max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.prose h1 { font-size: 32px; margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 30px; }
.prose h2 { font-size: 20px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; }
.prose ul { margin: 10px 0 10px 20px; }
.prose strong { color: var(--fg); }

/* footer */
footer.site { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 40px; }
footer.site .inner { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; color: var(--muted); font-size: 13.5px; }
footer.site nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--fg); }

/* tiny toast for the not-yet-live checkout */
#toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--surface-2); border: 1px solid var(--border); color: var(--fg); padding: 12px 20px; border-radius: 10px; font-size: 14px; display: none; z-index: 99; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
