/* MIRK Technologies — site styles. Theme lives in the variables below. */
:root {
  --green: #22a855;
  --green-deep: #1B8A44;
  --bg: #121212;
  --surface: #1e1e1e;
  --surface-2: #262626;
  --border: #2f2f2f;
  --text: #f2f2f2;
  --muted: #a3a3a3;
  --accent: var(--green);
  --on-accent: #0b0b0b;
  --radius: 14px;
  --max: 1120px;
  --font-head: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #eef1ed;
  --border: #dfe3dd;
  --text: #121212;
  --muted: #555b55;
  --accent: var(--green-deep);
  --on-accent: #ffffff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  transition: background .2s, color .2s;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 99; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; flex-direction: column; color: var(--text); text-decoration: none !important; line-height: 1; }
.logo-word { font: 800 1.55rem/1 var(--font-head); letter-spacing: .04em; }
.logo-bar { display: block; height: 4px; width: 100%; background: var(--green); border-radius: 2px; margin-top: 4px; }
.logo-sub { font: 600 .58rem/1 var(--font-body); letter-spacing: .28em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn { background: var(--surface); border: 1px solid var(--border); color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: inline-grid; place-items: center; font-size: 1.05rem; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .menu-btn { display: inline-grid; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--bg); border-bottom: 1px solid var(--border); padding: 18px 22px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-tools .btn { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .12s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--green); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Sections */
section { padding: 84px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.hero { padding: 96px 0 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -180px; top: -140px; width: 520px; height: 520px; background: radial-gradient(circle, color-mix(in srgb, var(--green) 22%, transparent), transparent 65%); pointer-events: none; }
.hero h1 span { color: var(--accent); }
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--border); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--muted); font-size: .95rem; }
.trust-row span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 64px 0; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.section-alt .card { background: var(--bg); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
a.card { color: var(--text); display: block; transition: border-color .2s, transform .12s; text-decoration: none; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
a.card .more { color: var(--accent); font-weight: 600; font-size: .95rem; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 26px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 800 .95rem/30px var(--font-head); text-align: center; }
.step.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price { font: 800 1.9rem/1 var(--font-head); margin: 6px 0 12px; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--accent); margin-bottom: 10px; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.xs li::before { content: "✕"; color: #d9534f; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.pill-list li { background: var(--surface-2); border: 1px solid var(--border); padding: 8px 14px; border-radius: 99px; font-size: .95rem; }

/* Two-col prose */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.section-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .card { padding: 56px 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--green) 16%, var(--surface)), var(--surface)); }
.cta-band .lead { margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* Embeds */
.embed { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.embed iframe { width: 100%; border: 0; display: block; min-height: 720px; background: #fff; }
.embed-fallback { padding: 36px 28px; text-align: center; }

/* Founder */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: center; }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--surface-2); border: 3px solid var(--accent); display: grid; place-items: center; font: 800 2.2rem/1 var(--font-head); color: var(--accent); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } }

/* Breadcrumb */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 34px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); }
.foot-bottom { border-top: 1px solid var(--border); margin-top: 38px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); }
.foot-bottom a { color: var(--muted); }

.mobile-only { display: none; }
@media (max-width: 920px) { .nav-links .mobile-only { display: block; } .nav-links .mobile-only a { color: var(--accent); font-weight: 700; } }
