/* ==========================================================================
   Debugging Wizard — public site styles
   ========================================================================== */
:root {
  --ink: #0d1526;
  --ink-2: #1c2740;
  --text: #3b4558;
  --muted: #6b7486;
  --line: #e6e8ee;
  --line-2: #eef0f4;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --cream: #fff6ee;
  --brand: #f2681c;
  --brand-600: #dc5610;
  --brand-50: #fff1e7;
  --blue: #2f7de1;
  --blue-50: #eaf3ff;
  --green: #12a150;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 21, 38, .06);
  --shadow: 0 10px 30px -12px rgba(13, 21, 38, .18);
  --shadow-lg: 0 30px 60px -25px rgba(13, 21, 38, .28);
  --container: 1180px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.ic { width: 20px; height: 20px; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 .95rem/1 var(--font-body); padding: .95rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(242, 104, 28, .7); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--brand-600); transform: translateY(-1px); }
.btn-sm { padding: .6rem 1rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* Header: see "Classic theme" block at the end */

/* Forms */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.input, input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .95rem; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: .3rem; accent-color: var(--brand); }
.hp { position: absolute !important; left: -9999px !important; }

/* Alerts */
.alert { display: flex; gap: .7rem; align-items: flex-start; padding: .95rem 1.1rem; border-radius: 12px; font-size: .95rem; margin-bottom: 1.25rem; border: 1px solid; }
.alert-success { background: #ecfdf3; border-color: #b7ebcb; color: #0d6b38; }
.alert-error { background: #fef2f2; border-color: #fbcaca; color: #a31b1b; }
.alert-info { background: var(--blue-50); border-color: #c5dcfb; color: #1d4f91; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.flash-wrap { padding-top: 1.25rem; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: #c7cede; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font: 600 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--brand-600); background: var(--brand-50); padding: .5rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(242, 104, 28, .18); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); background: radial-gradient(1200px 500px at 85% -10%, #ffe7d6 0, rgba(255, 231, 214, 0) 60%), radial-gradient(900px 500px at -10% 110%, #e6f0ff 0, rgba(230, 240, 255, 0) 60%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.hero h1 span { color: var(--brand); background: linear-gradient(transparent 70%, var(--brand-50) 70%); }
.hero p.lead { font-size: 1.2rem; max-width: 560px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.trust { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; color: var(--muted); font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: .45rem; }
.trust .ic { color: var(--green); width: 18px; height: 18px; }
.hero-visual { position: relative; }
.hero-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 28px; }
.hero-logo { display: grid; place-items: center; padding: 18px; border-radius: 18px; background: linear-gradient(160deg, #fff6ee, #eef5ff); }
.hero-logo img { width: min(240px, 70%); filter: drop-shadow(0 18px 24px rgba(13, 21, 38, .18)); }
.status-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.status-list li { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: 12px; font-size: .9rem; color: var(--ink-2); background: var(--bg-soft); }
.status-list .pill { margin-left: auto; font-size: .75rem; font-weight: 600; padding: .25rem .55rem; border-radius: 999px; background: #e7f8ee; color: #0d7a3e; }
.status-list .ic { color: var(--brand); }
.float-badge { position: absolute; display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--shadow); font-size: .85rem; color: var(--ink); font-weight: 600; }
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.float-badge .ic { color: var(--blue); width: 22px; height: 22px; }
.float-badge.b1 { top: -18px; left: -26px; }
.float-badge.b2 { bottom: -22px; right: -18px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 28px 24px; }
.stat strong { display: block; font: 700 2.1rem/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; margin-bottom: .5rem; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); margin-bottom: 1.1rem; }
.card-icon .ic { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.plan .tagline { color: var(--muted); font-size: .93rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: .3rem; margin: 1rem 0 .3rem; }
.price strong { font: 700 2.8rem/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.price span { color: var(--muted); }
.response { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--blue); background: var(--blue-50); padding: .35rem .65rem; border-radius: 999px; margin-bottom: 1.25rem; align-self: flex-start; }
.response .ic { width: 15px; height: 15px; }
.plan .btn { margin-bottom: 1.5rem; }
.feat-group { margin-bottom: 1.1rem; }
.feat-group h4 { font: 600 .75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .65rem; }
.feat-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.feat-group li { display: flex; gap: .55rem; font-size: .93rem; color: var(--ink-2); line-height: 1.45; }
.feat-group li .ic { width: 17px; height: 17px; color: var(--green); margin-top: 2px; }
.pricing-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 2rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 700 .85rem/1 var(--font-head); color: var(--brand); margin-bottom: 1rem; letter-spacing: .1em; }
.step p { font-size: .94rem; margin: 0; color: #a9b3c7; }

/* Founder */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.founder-card { background: linear-gradient(160deg, #fff6ee, #eef5ff); border-radius: 24px; padding: 36px; text-align: center; border: 1px solid var(--line); }
.founder-card img { width: 160px; margin: 0 auto 1rem; }
.founder-card strong { display: block; font: 600 1.15rem/1.3 var(--font-head); color: var(--ink); }
.founder-card span { color: var(--muted); font-size: .92rem; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .65rem; }
.checks li { display: flex; gap: .6rem; color: var(--ink-2); }
.checks .ic { color: var(--brand); margin-top: 3px; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/10; background: #fff; border-bottom: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.post-meta .ic { width: 15px; height: 15px; }
.post-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--brand-600); background: var(--brand-50); padding: .3rem .6rem; border-radius: 999px; }
.post-card h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: .5rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand-600); }
.post-card p { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; }
.read-more .ic { width: 16px; height: 16px; transition: transform .2s; }
.read-more:hover .ic { transform: translateX(3px); }

.news-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.news-strip .label { display: inline-flex; align-items: center; gap: .4rem; font: 700 .75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--ink); padding: .5rem .75rem; border-radius: 999px; }
.news-strip strong { color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.news-strip p { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote .stars { color: #f5a524; letter-spacing: 2px; margin-bottom: .75rem; }
.quote p { color: var(--ink-2); }
.quote footer { font-size: .9rem; color: var(--muted); }
.quote footer strong { color: var(--ink); display: block; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 600 1.02rem/1.4 var(--font-head); color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 64px); background: radial-gradient(600px 300px at 90% 0, rgba(242, 104, 28, .35), transparent 70%), var(--ink); color: #c7cede; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Page header */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(900px 360px at 85% -20%, #ffe7d6 0, rgba(255, 231, 214, 0) 60%), var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero p { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-600); }

/* Blog */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.blog-layout .posts { grid-template-columns: repeat(2, 1fr); }
.sidebar { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.widget h4 { font-size: .95rem; margin-bottom: .9rem; }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.widget li a { display: flex; justify-content: space-between; padding: .45rem .6rem; border-radius: 8px; color: var(--ink-2); font-size: .93rem; }
.widget li a:hover, .widget li a.active { background: var(--brand-50); color: var(--brand-600); }
.widget li a small { color: var(--muted); }
.widget.dark { background: var(--ink); border-color: var(--ink); color: #c7cede; }
.widget.dark h4 { color: #fff; }
.widget.dark p { font-size: .92rem; }
.search-inline { display: flex; gap: .4rem; }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Article */
.article-hero { padding: clamp(40px, 6vw, 72px) 0 0; background: var(--bg-soft); }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 860px; }
.article-hero .post-meta { font-size: .92rem; margin: 1.25rem 0 2rem; }
.article-cover { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); transform: translateY(40px); }
.article-cover img { width: 100%; max-height: 440px; object-fit: contain; padding: 30px; }
.article-wrap { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 3.5rem; justify-content: center; padding-top: 88px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .9rem; }
.toc h4 { font: 600 .75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .9rem; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 .9rem; border-left: 2px solid var(--line); display: grid; gap: .55rem; }
.toc a { color: var(--text); }
.toc a:hover, .toc a.active { color: var(--brand-600); }
.prose { font-size: 1.08rem; line-height: 1.8; color: #2c3446; }
.prose h2 { font-size: 1.65rem; margin: 2.2em 0 .7em; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; margin: 1.5em 0; }
.prose blockquote { margin: 1.6em 0; padding: 1rem 1.4rem; border-left: 4px solid var(--brand); background: var(--cream); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.prose pre { background: var(--ink); color: #e6e9f2; padding: 1.2rem; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.prose code { background: var(--bg-soft); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.share { display: flex; align-items: center; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.share a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.share a:hover { border-color: var(--brand); color: var(--brand); }
.share .ic { width: 17px; height: 17px; }
.author-box { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding: 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; }
.author-box strong { color: var(--ink); display: block; }
.author-box p { margin: 0; font-size: .92rem; color: var(--muted); }
.locked { position: relative; padding: 36px; border-radius: var(--radius); text-align: center; background: var(--cream); border: 1px solid #ffd9bf; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .35rem; list-style: none; padding: 0; margin: 3rem 0 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .75rem; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; }
.pagination .active a, .pagination .active span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.info-item { display: flex; gap: 1rem; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-item .card-icon { margin: 0; width: 44px; height: 44px; }
.info-item strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.info-item span, .info-item a { font-size: .95rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }

/* Auth */
.auth-wrap { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 48px 20px; background: radial-gradient(900px 400px at 80% -10%, #ffe7d6 0, rgba(255, 231, 214, 0) 60%), var(--bg-soft); }
.auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.7rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 1.75rem; }
.auth-card .logo { width: 64px; margin: 0 auto 1rem; }
.auth-foot { text-align: center; margin-top: 1.25rem; font-size: .93rem; color: var(--muted); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; margin-bottom: 1.25rem; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
.pay-options { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.pay-option { display: flex; gap: .9rem; align-items: flex-start; padding: 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pay-option input { margin-top: .25rem; accent-color: var(--brand); }
.pay-option strong { display: block; color: var(--ink); }
.pay-option span { font-size: .9rem; color: var(--muted); }
.summary { position: sticky; top: 100px; }
.summary .line { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line-2); font-size: .95rem; }
.summary .total { font: 700 1.3rem/1 var(--font-head); color: var(--ink); border: 0; padding-top: 1rem; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa4b8; padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand small { color: #9aa4b8; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #c7cede; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); }
.socials a:hover { border-color: var(--brand); color: var(--brand); }
.socials .ic { width: 17px; height: 17px; }
.newsletter { display: flex; gap: .4rem; margin-top: .75rem; }
.newsletter input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; padding: .7rem .9rem; }
.newsletter input::placeholder { color: #7f8aa0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; font-size: .86rem; }

/* 404 */
.notfound { text-align: center; padding: 120px 20px; }
.notfound .code { font: 800 7rem/1 var(--font-head); color: var(--brand-50); -webkit-text-stroke: 2px var(--brand); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .founder, .contact-grid, .checkout-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .cards, .posts, .quotes { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .news-strip { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .cards, .posts, .quotes, .blog-layout .posts, .steps, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-badge { display: none; }
  .hero-cta .btn { flex: 1; }
  .auth-card { padding: 26px 22px; }
  .stat { padding: 20px 16px; }
  .stat strong { font-size: 1.7rem; }
}
.status-list .pill { white-space: nowrap; }



/* ==========================================================================
   Tech theme — Space Grotesk + JetBrains Mono, dark hero with grid,
   symmetric centred navigation, crisp UI surfaces
   ========================================================================== */
:root {
  --ink: #0b1324;
  --ink-2: #1e293b;
  --text: #475467;
  --muted: #667085;
  --line: #e4e7ec;
  --line-2: #eef1f5;
  --bg-soft: #f6f8fb;
  --cream: #f6f8fb;
  --brand: #f26a21;
  --brand-600: #d9570f;
  --brand-50: #fff3eb;
  --blue: #3b82f6;
  --blue-50: #eff5ff;
  --cyan: #22d3ee;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -18px rgba(16, 24, 40, .22);
  --shadow-lg: 0 30px 70px -36px rgba(11, 19, 36, .45);
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
body { font-size: 16px; line-height: 1.68; color: var(--text); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.75rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em; }
strong, b { font-weight: 600; }
code, kbd, .mono { font-family: var(--font-mono); }
::selection { background: #ffd9c2; color: var(--ink); }

/* Utility bar */
.topbar { background: var(--ink); color: #98a2b3; font-size: .78rem; font-family: var(--font-mono); letter-spacing: 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; height: 36px; }
.topbar a { color: #d0d5dd; }
.topbar a:hover { color: #fff; }
.topbar .sep { margin: 0 .6rem; opacity: .4; }
.topbar-links { display: flex; align-items: center; gap: 1.3rem; }
.topbar-search { display: inline-grid; place-items: center; background: none; border: 0; color: #d0d5dd; cursor: pointer; padding: 0; }
.topbar-search .ic { width: 15px; height: 15px; }
.topbar-cta { display: inline-flex; align-items: center; gap: .35rem; color: #ffb48a !important; }
.topbar-cta .ic { width: 14px; height: 14px; }

/* Main navigation: 3 | logo | 3 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 8px 28px -20px rgba(11, 19, 36, .4); }
.nav { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 2.5rem; height: 80px; }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-left { justify-self: end; }
.nav-right { justify-self: start; }
.nav-links a { display: block; padding: .5rem .95rem; border-radius: 8px; color: var(--ink-2); font-size: .94rem; font-weight: 500; letter-spacing: -.005em; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { background: var(--brand-50); color: var(--brand-600); }
.brand { display: block; line-height: 0; }
.brand img { width: 56px; height: auto; transition: transform .35s ease; }
.brand:hover img { transform: rotate(-5deg) scale(1.04); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu-toggle, .search-btn { display: none; position: absolute; top: 50%; transform: translateY(-50%); }
.menu-toggle { left: 16px; }
.search-btn { right: 16px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 20px 20px; display: grid; }
.mobile-nav a { display: block; padding: .85rem .2rem; color: var(--ink); border-bottom: 1px solid var(--line-2); font-weight: 500; }
.mobile-nav a.active { color: var(--brand-600); }
.mobile-nav li:last-child a { margin-top: 1rem; border: 0; color: #fff; text-align: center; }
.mobile-nav.open { display: block; }
.search-panel { display: none; border-top: 1px solid var(--line); background: #fff; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: .5rem; padding: 14px 20px; }
.search-panel input { flex: 1; }

/* Buttons */
.btn { font-family: var(--font-body); font-weight: 600; font-size: .92rem; border-radius: 10px; padding: .9rem 1.35rem; letter-spacing: -.005em; }
.btn-sm { padding: .6rem 1rem; font-size: .85rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 22px -10px rgba(242, 106, 33, .75); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #17233b; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.btn-ghost:hover { border-color: #c9ced6; color: var(--ink); }
.btn-outline-light { background: rgba(255, 255, 255, .04); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Eyebrow: mono "comment" label */
.eyebrow { background: none; padding: 0; border-radius: 0; gap: .5rem; font-family: var(--font-mono); font-weight: 500; font-size: .78rem; letter-spacing: .02em; text-transform: none; color: var(--brand-600); }
.eyebrow::before { content: "//"; opacity: .6; }
.eyebrow .dot { display: none; }
.bg-ink .eyebrow { background: none !important; color: #ffb48a; }

/* Dark hero with grid */
.hero-dark { position: relative; overflow: hidden; background: radial-gradient(700px 380px at 82% 18%, rgba(59, 130, 246, .22), transparent 70%), radial-gradient(620px 360px at 8% 92%, rgba(242, 106, 33, .20), transparent 70%), #0b1324; color: #c3cad6; padding: clamp(72px, 9vw, 120px) 0; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%); }
.hero-dark .container { position: relative; }
.hero-dark h1 { color: #fff; }
.hero-dark h1 span { background: linear-gradient(90deg, #ff9a5a, var(--brand) 45%, #ffb48a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-dark .lead { color: #a9b3c4; font-size: 1.12rem; }
.hero-dark .eyebrow { color: #ffb48a; }
.hero-dark .trust { color: #98a2b3; }
.hero-dark .trust .ic { color: #4ade80; }
.terminal { background: #0f1a2e; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: .75rem; color: #7d8799; }
.terminal-body { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: center; padding: 22px 22px 24px; }
.terminal-logo { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .12), transparent 70%); border-radius: 12px; padding: 8px; }
.terminal-logo img { width: 96px; }
.terminal pre { margin: 0; font-family: var(--font-mono); font-size: .76rem; line-height: 1.9; color: #e2e8f0; white-space: pre; overflow-x: auto; }
.c-ok { color: #4ade80; }
.c-warn { color: #fbbf24; }
.c-muted { color: #7d8799; }
.cursor { animation: blink 1s steps(1) infinite; color: var(--brand); }
@keyframes blink { 50% { opacity: 0; } }
.hero-dark .float-badge { background: #fff; }
.hero-dark .float-badge.b2 { right: -14px; bottom: -24px; }

/* Surfaces */
.card, .plan, .post-card, .quote, .widget, .info-item, .form-card, .faq details, .news-strip, .auth-card { border-radius: var(--radius); border-color: var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.card:hover, .post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8dde5; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-50), var(--blue-50)); color: var(--brand-600); border: 1px solid var(--line); }
.stats { border-radius: var(--radius); }
.stat strong { font-family: var(--font-head); font-weight: 500; font-size: 2.3rem; letter-spacing: -.03em; }
.stat span { font-size: .88rem; }
.section-head p, .lead { color: var(--muted); }
.bg-cream { background: var(--bg-soft); }
.page-hero { background: radial-gradient(600px 260px at 88% 0, rgba(59, 130, 246, .10), transparent 70%), radial-gradient(500px 240px at 0 100%, rgba(242, 106, 33, .08), transparent 70%), var(--bg-soft); }

/* Pricing */
.plan { border-radius: 16px; }
.plan h3 { font-size: 1.35rem; }
.plan.featured { border: 1.5px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan .ribbon { border-radius: 999px; font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: .04em; text-transform: lowercase; }
.price strong { font-family: var(--font-head); font-weight: 500; font-size: 2.8rem; letter-spacing: -.04em; }
.response { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-mono); font-size: .74rem; }
.response .ic { color: var(--brand); }
.feat-group h4 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .04em; text-transform: lowercase; }
.feat-group h4::before { content: "# "; color: var(--brand); }
.feat-group li .ic { color: #16a34a; }
.tag { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; border-radius: 6px; background: var(--brand-50); }

/* Dark sections */
.bg-ink, .site-footer { background: #0b1324; }
.step { border-radius: 12px; background: rgba(255, 255, 255, .03); }
.step::before { font-family: var(--font-mono); font-weight: 500; font-size: .8rem; color: #ffb48a; }
.cta-band { border-radius: 20px; background: radial-gradient(600px 300px at 90% 0, rgba(242, 106, 33, .35), transparent 70%), radial-gradient(500px 260px at 0 100%, rgba(59, 130, 246, .25), transparent 70%), #0b1324; }

/* Founder */
.founder-card { border-radius: 16px; background: linear-gradient(160deg, #fff3eb, #eff5ff); }
.founder-card strong { font-family: var(--font-head); font-weight: 500; }

/* Posts & article */
.post-card h3 { font-weight: 500; }
.read-more { font-weight: 600; }
.news-strip .label { font-family: var(--font-mono); font-weight: 500; border-radius: 6px; text-transform: none; letter-spacing: 0; }
.news-strip strong { font-family: var(--font-head); font-weight: 500; }
.prose h2, .prose h3 { font-weight: 500; }
.toc h4, .widget h4 { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; color: var(--muted); text-transform: lowercase; letter-spacing: 0; }
.faq summary { font-family: var(--font-head); font-weight: 500; }
.faq details[open] { box-shadow: 0 0 0 4px var(--brand-50); border-color: #f7c3a3; }

/* Footer */
.footer-brand { display: inline-block; margin-bottom: 1.1rem; }
.footer-brand img { width: 58px; }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: .78rem; color: #ffb48a; }

/* Free tools */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tool-card { display: flex; flex-direction: column; gap: .4rem; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8dde5; color: inherit; }
.tool-card .card-icon { margin-bottom: .6rem; }
.tool-card h3 { font-size: 1.08rem; margin: 0; }
.tool-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.tool-card .tool-meta { margin-top: auto; padding-top: .8rem; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.tool-group-title { display: flex; align-items: center; gap: .6rem; margin: 2.5rem 0 1rem; font-family: var(--font-mono); font-size: .82rem; color: var(--brand-600); }
.tool-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.tool-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.tool-form input[type=text], .tool-form input[type=url] { flex: 1 1 260px; font-family: var(--font-mono); font-size: .92rem; }
.tool-form select { flex: 0 0 auto; width: auto; }
.tool-panel textarea, .tool-panel .code-out { font-family: var(--font-mono); font-size: .85rem; line-height: 1.6; }
.code-out { margin: 0; background: #0b1324; color: #e2e8f0; border-radius: 10px; padding: 16px 18px; min-height: 120px; white-space: pre-wrap; word-break: break-word; overflow: auto; max-height: 560px; }
.result { margin-top: 1.4rem; }
.result-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.result-table th, .result-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.result-table th { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; color: var(--muted); background: var(--bg-soft); }
.result-table td.mono, .result-table code { font-family: var(--font-mono); font-size: .82rem; word-break: break-all; }
.check-row { display: grid; grid-template-columns: 28px 160px 1fr; gap: .8rem; align-items: start; padding: .85rem 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.check-row:last-child { border-bottom: 0; }
.check-row .st { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; }
.st-pass { background: #16a34a; } .st-warn { background: #f59e0b; } .st-fail { background: #dc2626; } .st-info { background: #64748b; }
.check-row strong { color: var(--ink); }
.check-row .detail { color: var(--text); }
.check-row .detail code { display: block; margin-top: .35rem; font-family: var(--font-mono); font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: .45rem .6rem; word-break: break-all; color: var(--ink-2); }
.score { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1rem; }
.score b { font-family: var(--font-head); font-size: 2rem; font-weight: 500; color: var(--ink); }
.tool-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: .8rem 0; }
.tool-row label { font-size: .88rem; display: inline-flex; align-items: center; gap: .35rem; }
.tool-row input[type=number] { width: 90px; }
.tool-row input[type=range] { accent-color: var(--brand); }
.split-io { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tool-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.tool-cta { position: sticky; top: 110px; background: #0b1324; color: #c3cad6; border-radius: 16px; padding: 24px; }
.tool-cta h3 { color: #fff; }
.tool-cta p { font-size: .92rem; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.tools-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pill-link { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { column-gap: 1.2rem; }
  .nav-links a { padding: .5rem .65rem; font-size: .9rem; }
  .tools-grid, .tools-teaser { grid-template-columns: repeat(2, 1fr); }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-cta { position: static; }
}
@media (max-width: 900px) {
  .topbar-info, .topbar-search { display: none; }
  .topbar-inner { justify-content: center; }
  .nav { grid-template-columns: 1fr; height: 70px; justify-items: center; }
  .nav-links { display: none; }
  .menu-toggle, .search-btn { display: inline-grid; }
  .brand img { width: 48px; }
  .terminal-body { grid-template-columns: 1fr; }
  .terminal-logo { display: none; }
}
@media (max-width: 640px) {
  .tools-grid, .tools-teaser, .split-io { grid-template-columns: 1fr; }
  .check-row { grid-template-columns: 28px 1fr; }
  .check-row .detail { grid-column: 2; }
  .terminal pre { font-size: .72rem; }
}

/* Tech blog covers + homepage background image */
.post-thumb { background: #0b1324; border-bottom: 0; aspect-ratio: 1200 / 630; }
.post-thumb img { object-fit: cover; padding: 0; }
.post-card:hover .post-thumb img { transform: scale(1.03); }
.article-cover { background: #0b1324; border: 0; box-shadow: var(--shadow-lg); }
.article-cover img { object-fit: cover; padding: 0; max-height: none; aspect-ratio: 1200 / 630; }
.hero-home { background: linear-gradient(90deg, rgba(10, 18, 34, .55) 0%, rgba(10, 18, 34, 0) 55%), url("../img/hero-bg-light.webp") center right / cover no-repeat, #0a1222; }
.hero-home .hero-grid-bg { opacity: .35; }
.hero-home .terminal { background: rgba(15, 26, 46, .82); backdrop-filter: blur(6px); }
@media (max-width: 900px) { .hero-home { background: linear-gradient(rgba(10, 18, 34, .80), rgba(10, 18, 34, .90)), url("../img/hero-bg-light.webp") 72% center / cover no-repeat, #0a1222; } }
.article-cover { max-width: 1000px; }

/* ==========================================================================
   Light theme — white/light surfaces everywhere, light imagery
   ========================================================================== */
.topbar { background: #f6f8fb; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar a, .topbar-search { color: var(--ink-2); }
.topbar a:hover { color: var(--brand-600); }
.topbar-cta { color: var(--brand-600) !important; font-weight: 500; }

/* Light heroes */
.hero-dark { background: radial-gradient(700px 380px at 82% 18%, rgba(59, 130, 246, .10), transparent 70%), radial-gradient(620px 360px at 8% 92%, rgba(242, 106, 33, .08), transparent 70%), linear-gradient(180deg, #ffffff, #f6f8fb); color: var(--text); border-bottom: 1px solid var(--line); }
.hero-dark h1 { color: var(--ink); }
.hero-dark .lead { color: var(--muted); }
.hero-dark .eyebrow { color: var(--brand-600); }
.hero-dark .trust { color: var(--muted); }
.hero-dark .trust .ic { color: #16a34a; }
.hero-grid-bg { background-image: linear-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .05) 1px, transparent 1px); }
.hero-home { background: linear-gradient(90deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 55%), url("../img/hero-bg-light.webp") center right / cover no-repeat, #ffffff; }
.hero-home .hero-grid-bg { opacity: .5; }
.btn-outline-light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #c9ced6; }
@media (max-width: 900px) { .hero-home { background: linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .92)), url("../img/hero-bg-light.webp") 72% center / cover no-repeat, #fff; } }

/* Terminal window → light editor */
.terminal, .hero-home .terminal { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .28); backdrop-filter: blur(6px); }
.terminal-bar { background: #f6f8fb; border-bottom: 1px solid var(--line); }
.terminal-bar span { color: var(--muted); }
.terminal-logo { background: radial-gradient(circle at 50% 45%, #fff3eb, transparent 72%); }
.terminal pre { color: var(--ink-2); }
.c-ok { color: #16a34a; }
.c-warn { color: #d97706; }
.c-muted { color: #94a3b8; }

/* Former dark sections */
.bg-ink { background: var(--bg-soft); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-ink h2, .bg-ink h3 { color: var(--ink); }
.bg-ink .section-head p { color: var(--muted) !important; }
.bg-ink .eyebrow { color: var(--brand-600) !important; }
.step { background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.step p { color: var(--muted); }
.step::before { color: var(--brand-600); }
.cta-band { background: radial-gradient(520px 260px at 92% 0, rgba(242, 106, 33, .14), transparent 70%), radial-gradient(520px 260px at 0 100%, rgba(59, 130, 246, .12), transparent 70%), #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); }
.cta-band .btn-white { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.news-strip .label { background: var(--brand-50); color: var(--brand-600); }
.widget.dark { background: linear-gradient(160deg, var(--brand-50), var(--blue-50)); border-color: var(--line); color: var(--text); }
.widget.dark h4 { color: var(--brand-600); }
.tool-cta { background: linear-gradient(160deg, #fff7f1, #f1f6ff); border: 1px solid var(--line); color: var(--text); }
.tool-cta h3 { color: var(--ink); }
.tool-cta .eyebrow { color: var(--brand-600); }
.tool-cta .tool-note, .tool-cta .tool-note a { color: var(--brand-600) !important; }
.code-out { background: #f8fafc; color: var(--ink-2); border: 1px solid var(--line); }
.prose pre { background: #f8fafc; color: var(--ink-2); border: 1px solid var(--line); }

/* Light imagery frames */
.post-thumb { background: #fff; border-bottom: 1px solid var(--line-2); }
.article-cover { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.founder-card { background: linear-gradient(160deg, #fff7f1, #f1f6ff); }

/* Footer */
.site-footer { background: #f6f8fb; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--brand-600); }
.site-footer h4 { color: var(--brand-600); }
.footer-bottom { border-top-color: var(--line); }
.socials a { border-color: var(--line); color: var(--ink-2); background: #fff; }
.newsletter input { background: #fff; border-color: var(--line); color: var(--ink); }
.newsletter input::placeholder { color: #94a3b8; }

/* ==========================================================================
   One font everywhere (Inter) + more generous spacing
   ========================================================================== */
:root {
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
body { font-family: var(--font-body); line-height: 1.75; }
h1, h2, h3, h4, .btn, .price strong, .stat strong, .step::before, .faq summary, .news-strip strong, .founder-card strong { font-family: var(--font-body); }
h1 { font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .55em; }
h2 { font-weight: 600; letter-spacing: -.025em; line-height: 1.18; margin-bottom: .6em; }
h3 { font-weight: 600; letter-spacing: -.015em; line-height: 1.35; margin-bottom: .5em; }
h4 { font-weight: 600; }
p { margin-bottom: 1.15em; }

/* Labels: clean uppercase instead of code-style */
.eyebrow { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; gap: .6rem; margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); opacity: 1; }
.topbar { font-family: var(--font-body); font-size: .8rem; }
.tag, .response, .plan .ribbon, .news-strip .label, .tool-meta, .tool-group-title, .site-footer h4, .widget h4, .toc h4, .feat-group h4 { font-family: var(--font-body); }
.plan .ribbon { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.feat-group h4, .widget h4, .toc h4, .site-footer h4, .tool-group-title { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; }
.feat-group h4::before { content: none; }
.response { font-size: .8rem; }
.tool-meta { font-size: .78rem; }
.step::before { font-size: .85rem; font-weight: 600; letter-spacing: .1em; }

/* Real code keeps a monospace font */
.terminal pre, .terminal-bar span, .code-out, .tool-panel textarea, .tool-form input[type=text], .prose code, .prose pre, .result-table td.mono, .result-table code, .check-row .detail code, .mono { font-family: var(--font-code); }

/* Spacing */
.container { padding: 0 28px; }
.section { padding: clamp(84px, 10vw, 132px) 0; }
.section-sm { padding: clamp(56px, 7vw, 80px) 0; }
.section-head { margin-bottom: clamp(2.75rem, 5vw, 4rem); }
.section-head p { margin-top: .9rem; line-height: 1.75; }
.hero { padding: clamp(80px, 10vw, 136px) 0; }
.hero-grid { gap: clamp(2.5rem, 5vw, 5rem); }
.hero p.lead { margin-bottom: 2.4rem; line-height: 1.8; }
.hero-cta { gap: 1rem; margin-bottom: 2.6rem; }
.trust { gap: 1rem 2rem; }
.page-hero { padding: clamp(64px, 8vw, 104px) 0 clamp(52px, 6vw, 80px); }
.page-hero p { line-height: 1.8; }
.crumbs { margin-bottom: 1.4rem; }
.cards, .quotes { gap: 1.75rem; }
.card { padding: 36px 32px; }
.card-icon { margin-bottom: 1.4rem; }
.card h3 { margin-bottom: .7rem; }
.stat { padding: 34px 30px; }
.stat strong { margin-bottom: .65rem; }
.pricing { gap: 1.75rem; }
.plan { padding: 42px 34px; }
.plan .tagline { margin-bottom: .4rem; }
.price { margin: 1.4rem 0 .7rem; }
.response { margin-bottom: 1.6rem; }
.plan .btn { margin-bottom: 2rem; }
.feat-group { margin-bottom: 1.5rem; }
.feat-group ul { gap: .7rem; }
.steps { gap: 1.5rem; }
.step { padding: 30px 28px; }
.posts { gap: 2rem; }
.post-body { padding: 26px 26px 28px; }
.post-meta { margin-bottom: 1rem; gap: .6rem 1rem; }
.post-card h3 { margin-bottom: .75rem; }
.post-card p { margin-bottom: 1.4rem; }
.blog-layout { gap: 3.5rem; }
.sidebar { gap: 1.5rem; }
.widget { padding: 26px; }
.tools-grid, .tools-teaser { gap: 1.5rem; }
.tool-card { padding: 30px 28px; gap: .55rem; }
.tool-group-title { margin: 3.25rem 0 1.4rem; }
.tool-panel { padding: clamp(24px, 3.5vw, 40px); }
.tool-layout { gap: 2.5rem; }
.faq { gap: 1rem; }
.faq details { padding: 0 26px; }
.faq summary { padding: 24px 0; }
.faq details p { padding-bottom: 24px; line-height: 1.8; }
.founder { gap: clamp(2.5rem, 5vw, 4.5rem); }
.checks { gap: .9rem; margin: 1.6rem 0 2rem; }
.news-strip { padding: 22px 26px; gap: 1.75rem; }
.contact-grid { gap: clamp(2.5rem, 5vw, 4rem); }
.contact-info { gap: 1.1rem; }
.info-item { padding: 24px; gap: 1.1rem; }
.form-card { padding: clamp(28px, 4vw, 44px); }
.field { margin-bottom: 1.3rem; }
.grid-2 { gap: 0 1.25rem; }
.cta-band { padding: clamp(44px, 6vw, 72px); gap: 2.5rem; }
.article-wrap { gap: 4rem; padding-top: 72px; }
.prose { line-height: 1.85; }
.prose p { margin-bottom: 1.35em; }
.prose h2 { margin: 2.4em 0 .8em; }
.prose li { margin-bottom: .6em; }
.site-footer { padding: 88px 0 32px; }
.footer-grid { gap: 3rem; margin-bottom: 3.5rem; }
.site-footer ul { gap: .75rem; }
.nav-links { gap: .5rem; }
.nav { column-gap: 3rem; }
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .card, .plan, .tool-card { padding: 28px 24px; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
}

/* ==========================================================================
   Pricing cards — refined
   ========================================================================== */
.pricing { align-items: stretch; gap: 1.75rem; }
.plan { padding: 0; border-radius: 20px; overflow: visible; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .3); }
.plan-top { padding: 36px 32px 30px; border-bottom: 1px solid var(--line-2); border-radius: 20px 20px 0 0; }
.plan-features { padding: 28px 32px 34px; flex: 1; }
.plan-title { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.plan-title h3 { margin: 0; font-size: 1.3rem; font-weight: 600; }
.plan-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); flex: none; }
.plan-icon .ic { width: 20px; height: 20px; }
.plan .tagline { min-height: 3.2em; margin: 0 0 1.4rem; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.price { display: flex; align-items: flex-start; gap: .15rem; margin: 0 0 1.25rem; line-height: 1; }
.price .cur { font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-top: .45rem; }
.price strong { font-family: var(--font-body); font-size: 3.6rem; font-weight: 700; letter-spacing: -.045em; color: var(--ink); line-height: 1; }
.price .cents { font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-top: .45rem; }
.price .per { display: flex; flex-direction: column; justify-content: flex-end; align-self: flex-end; margin-left: .6rem; padding-bottom: .45rem; font-size: .92rem; color: var(--muted); font-weight: 500; line-height: 1.25; }
.price .per small { font-size: .74rem; color: #98a2b3; font-weight: 400; }
.plan .response { display: flex; align-items: center; gap: .55rem; width: 100%; margin: 0 0 1.5rem; padding: .7rem .9rem; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line-2); color: var(--muted); font-size: .85rem; }
.plan .response b { color: var(--ink); font-weight: 600; }
.plan .response .ic { width: 16px; height: 16px; color: var(--brand); }
.plan .btn { margin: 0; padding: 1rem 1.3rem; font-size: .95rem; border-radius: 12px; }
.plan .feat-group { margin-bottom: 1.4rem; }
.plan .feat-group:last-child { margin-bottom: 0; }
.plan .feat-group h4 { margin-bottom: .85rem; color: var(--muted); }
.plan .feat-group ul { gap: .75rem; }
.plan .feat-group li { gap: .7rem; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.plan .tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e8f7ee; color: #16a34a; flex: none; margin-top: 1px; }
.plan .tick .ic { width: 12px; height: 12px; stroke-width: 3; margin: 0; color: inherit; }

/* Featured plan */
.plan.featured { border: 1.5px solid var(--brand); box-shadow: 0 30px 60px -32px rgba(242, 106, 33, .45); }
.plan.featured .plan-top { background: linear-gradient(180deg, #fff4ec 0%, #fff 100%); border-bottom-color: #fde4d3; }
.plan.featured .plan-icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.plan.featured .tick { background: var(--brand-50); color: var(--brand-600); }
.plan .ribbon { top: -14px; display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .9rem; border-radius: 999px; background: linear-gradient(90deg, #f26a21, #ff8a4c); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(242, 106, 33, .7); white-space: nowrap; }
.plan .ribbon .ic { width: 12px; height: 12px; fill: currentColor; }
@media (min-width: 1025px) { .plan.featured { transform: translateY(-10px); } .plan.featured:hover { transform: translateY(-14px); } }
.pricing-note { display: flex; justify-content: center; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.pricing-note .ic { width: 16px; height: 16px; }
.plan .response { align-items: center; gap: .75rem; padding: .75rem 1rem; }
.plan .response > span { display: flex; flex-direction: column; line-height: 1.35; }
.plan .response small { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.plan .response b { font-size: .92rem; white-space: nowrap; }
.plan .response .ic { width: 18px; height: 18px; }
@media (max-width: 640px) { .plan { padding: 0; } .plan-top { padding: 30px 24px 26px; } .plan-features { padding: 24px 24px 28px; } .price strong { font-size: 3.2rem; } }
