/* Grimm Product Page — stand-alone design (no theme styles load on this page). */
:root {
	--accent: #2ee6b6;
	--accent-2: #7c8cff;
	--ink: #0b1120;
	--ink-2: #111a2e;
	--text: #1d2433;
	--muted: #5b6577;
	--line: #e3e8f0;
	--bg: #ffffff;
	--bg-alt: #f5f7fb;
	--radius: 14px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Space Grotesk", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font: .9em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #eef1f7; padding: .1em .4em; border-radius: 5px; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font: 600 16px/1.2 var(--font); transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,17,32,.85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--display); text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--ink); }
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: #b9c4d8; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-mobile[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile[open] summary span:nth-child(2) { opacity: 0; }
.nav-mobile[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-panel { position: absolute; right: 0; top: 52px; width: min(280px, 90vw); background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.5); display: grid; gap: 2px; }
.nav-mobile-panel a:not(.btn) { color: #e8edf3; text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.nav-mobile-panel a:not(.btn):hover { background: rgba(255,255,255,.06); }
.nav-mobile-panel .btn { margin-top: 8px; }
@media (max-width: 820px) { .nav-links, .nav-buy { display: none !important; } .nav-mobile { display: block; margin-left: auto; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(46,230,182,.14), transparent 60%), linear-gradient(180deg, var(--ink), var(--ink-2)); color: #fff; padding: 28px 0 72px; }
.hero-img { width: 100%; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); }
.hero-copy { max-width: 760px; margin: 44px auto 0; text-align: center; }
.eyebrow { color: #b9c4d8; font-size: 14px; margin: 0 0 12px; }
.ver { display: inline-block; background: rgba(46,230,182,.15); color: var(--accent); border: 1px solid rgba(46,230,182,.35); border-radius: 999px; padding: 1px 10px; margin-right: 8px; font-weight: 600; }
.hero h1 { font: 700 clamp(34px, 5vw, 54px)/1.08 var(--display); letter-spacing: -.02em; margin: 0 0 18px; }
.lead { font-size: 18px; color: #c9d2e3; margin: 0 auto 28px; max-width: 680px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; color: #8f9bb3; font-size: 14px; margin-top: 18px; }
.hero-meta span + span::before { content: "·"; margin-right: 18px; }

/* Sections */
.section { padding: 88px 0; }
.alt { background: var(--bg-alt); }
.h2 { font: 700 clamp(28px, 3.4vw, 38px)/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 10px; color: var(--ink); }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 40px; max-width: 640px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.feature h3 { font: 600 18px/1.35 var(--display); margin: 14px 0 6px; color: var(--ink); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.ficon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, #fff); color: #0f766e; }
.ficon svg { width: 24px; height: 24px; }
.feature.is-soon .ficon { background: #eef0ff; color: #4f46e5; }
.tag { display: inline-block; font: 600 11px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 999px; background: #eef0ff; color: #4f46e5; vertical-align: middle; }
.tag-accent { background: color-mix(in srgb, var(--accent) 22%, #fff); color: #0f766e; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); font: 700 18px var(--display); }
.steps h3 { font: 600 20px var(--display); margin: 14px 0 6px; color: var(--ink); }
.steps p { margin: 0; color: var(--muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.price-card { background: var(--ink); color: #fff; border-radius: 22px; padding: 34px; box-shadow: 0 30px 70px rgba(11,17,32,.28); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(46,230,182,.25), transparent 65%); }
.pc-name { font: 600 15px var(--font); color: var(--accent); text-transform: uppercase; letter-spacing: .14em; margin: 0; position: relative; }
.pc-price { margin: 10px 0 0; display: flex; align-items: baseline; gap: 12px; position: relative; }
.pc-price strong { font: 700 58px/1 var(--display); letter-spacing: -.03em; }
.pc-price s { color: #8f9bb3; font-size: 24px; }
.pc-note { color: #b9c4d8; margin: 6px 0 22px; position: relative; }
.pc-list { list-style: none; padding: 0; margin: 0 0 26px; position: relative; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.08); }
.pc-list svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 3px; }
.soon { color: #c9d2e3; font-size: 15px; position: relative; }
.waitlist { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.waitlist input[type=email] { flex: 1 1 200px; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: 16px var(--font); }
.waitlist input::placeholder { color: #8f9bb3; }
.waitlist input:focus { outline: none; border-color: var(--accent); }
.fine { font-size: 13px; color: #8f9bb3; margin: 10px 0 0; position: relative; }
.notice { padding: 12px 14px; border-radius: 10px; font-weight: 500; position: relative; }
.notice.ok { background: rgba(46,230,182,.15); color: var(--accent); }
.notice.err { background: rgba(255,99,99,.15); color: #ff9b9b; }
.req { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.req caption { text-align: left; font: 600 18px var(--display); color: var(--ink); padding: 0 0 12px; }
.req th, .req td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.req tr:first-child th, .req tr:first-child td { border-top: 0; }
.req th { width: 34%; color: var(--muted); font-weight: 500; }

/* Docs */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .toc { position: static !important; } }
.toc { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 10px; }
.toc-h { font: 600 13px var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; text-decoration: none; color: var(--muted); padding: 5px 0 5px 10px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--accent); }
.doc-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); min-width: 0; }
.doc-body h3 { font: 600 22px var(--display); color: var(--ink); margin: 40px 0 10px; padding-top: 8px; }
.doc-body h3:first-of-type { margin-top: 24px; }
.doc-body li { margin: 6px 0; }
.doc-body .tip { background: color-mix(in srgb, var(--accent) 12%, #fff); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.doc-body dt { font-weight: 600; margin-top: 14px; color: var(--ink); }
.doc-body dd { margin: 4px 0 0; color: var(--muted); }
.ref { width: 100%; border-collapse: collapse; font-size: 14px; }
.ref th, .ref td { text-align: left; border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.ref th { background: var(--bg-alt); }
.ref td:first-child { white-space: nowrap; }
@media (max-width: 600px) { .ref { table-layout: fixed; } .ref td, .ref td:first-child { white-space: normal; overflow-wrap: anywhere; } .ref code { overflow-wrap: anywhere; } }

/* Changelog + FAQ */
.changes { border-left: 2px solid var(--line); padding-left: 24px; }
.rel { position: relative; margin-bottom: 18px; }
.rel::before { content: ""; position: absolute; left: -31px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.rel summary, .faq summary { cursor: pointer; list-style: none; font: 600 18px var(--display); color: var(--ink); display: flex; align-items: center; gap: 10px; }
.rel summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.rel-v::before { content: "v"; color: var(--muted); }
.rel ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 24px; color: var(--muted); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* CTA + footer */
.cta-band { background: linear-gradient(135deg, var(--ink), #18264a); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { font: 700 clamp(26px, 3vw, 36px) var(--display); margin: 0 0 22px; letter-spacing: -.02em; }
.foot { background: var(--ink); color: #8f9bb3; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding: 44px 0 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.foot-grid nav { display: grid; gap: 8px; align-content: start; }
.foot .brand { color: #fff; margin-bottom: 10px; }
.foot-h { color: #fff; font-weight: 600; margin: 0 0 4px; }
.foot a { color: #c9d2e3; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0 24px; }
.foot-base p { margin: 0; }

/* Forms: Q&A and support */
.gform { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin-bottom: 28px; }
.gform label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; color: var(--ink); }
.gform small { color: var(--muted); font-weight: 400; }
.gform input[type=text], .gform input[type=email], .gform input[type=url], .gform select, .gform textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 16px var(--font); color: var(--text); background: #fff; }
.gform input:focus, .gform select:focus, .gform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.grow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .grow2 { grid-template-columns: 1fr; } }
.gform-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gform .human { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--muted); }
.gform .human input { width: 70px; text-align: center; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1b2742; }
.notice.light.ok { background: color-mix(in srgb, var(--accent) 15%, #fff); color: #0f766e; }
.notice.light.err { background: #fdecec; color: #b42318; }
.qa-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.qa p { margin: 6px 0 0; }
.qa-who { font-weight: 600; color: var(--ink); }
.qa-when { color: var(--muted); font-size: 13px; }
.qa-a { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--line); background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.qa-a.is-staff { border-left-color: var(--accent); }

/* Sub-pages */
.page-head { background: linear-gradient(180deg, var(--ink), var(--ink-2)); color: #fff; padding: 46px 0 40px; }
.page-head h1 { font: 700 clamp(30px, 4vw, 44px)/1.1 var(--display); margin: 6px 0 0; letter-spacing: -.02em; }
.crumbs { margin: 0; color: #8f9bb3; font-size: 14px; }
.crumbs a { color: #b9c4d8; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.section.tight { padding-top: 48px; }
.h2.spaced { margin-top: 64px; }
.more { margin-top: 24px; font-weight: 500; }
.more a { color: #0f766e; }
a.ver { text-decoration: none; }
.support-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.support-jump a { padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink); background: #fff; }
.support-jump a:hover { border-color: var(--accent); }
.helpcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.helpcard { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.helpcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.helpcard svg { width: 26px; height: 26px; color: #0f766e; }
.helpcard strong { font: 600 18px var(--display); color: var(--ink); }
.helpcard span { color: var(--muted); font-size: 15px; }
/* Legal text */
.legal { font-size: 16px; }
.legal h2 { font: 600 21px var(--display); color: var(--ink); margin: 34px 0 8px; }
.legal p, .legal li { color: #333c4e; }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal a { color: #0f766e; }
