/* SoftMarket theme — layout. Components (cards, pricing, checkout, account) come from the plugin's public.css */
:root {
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --card: #ffffff;
  --ink: #15171a;
  --ink-2: #3b3f45;
  --muted: #6b6f76;
  --line: #e1ddd3;
  --accent: #c6f432;
  --accent-ink: #1b2400;
  --green: #127a55;
  --red: #b42318;
  --amber: #a15c07;
  --hero: #111315;
  --radius: 14px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.right { text-align: right; }
.mt { margin-top: 18px; }
.warn { color: var(--amber); }
.h2 { font-size: 1.75rem; }
.h3 { font-size: 1.2rem; margin: 32px 0 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 11px 18px; font: 600 .95rem var(--font); text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .875rem; }
.btn-xs { padding: 4px 10px; font-size: .78rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #b5e61f; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2e33; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }

/* nav */
.announce { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: .875rem; font-weight: 600; padding: 8px 16px; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(245,243,238,.86); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-size: .95rem; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: .95rem; }
.nav-links > a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.nav-links > a:not(.btn):hover { color: var(--ink); }

/* hero */
.hero { background: var(--hero); color: #fff; padding: 84px 0 0; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 10%, rgba(198,244,50,.16), transparent 70%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow.dark { color: var(--green); margin-bottom: 6px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
.lead { font-size: 1.15rem; color: #b9bdc4; max-width: 560px; }
.phero .lead, .section .lead { color: var(--ink-2); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.term { background: #1b1e21; border: 1px solid #2c3136; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; font-family: var(--mono); font-size: .86rem; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #2c3136; color: #7d848c; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4046; }
.term-bar span { margin-left: 8px; }
.term-body { padding: 18px 18px 20px; }
.term-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #2c3136; }
.dim { color: #7d848c; }
.ok { color: var(--accent); }
.term-progress { height: 6px; background: #2c3136; border-radius: 4px; margin: 18px 0 12px; overflow: hidden; }
.term-progress b { display: block; height: 100%; width: 100%; background: var(--accent); animation: fill 2.4s ease-out both; }
@keyframes fill { from { width: 6%; } }
.term-done { color: #c9cdd2; }
.points { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 34px 24px 38px; margin-top: 60px; border-top: 1px solid #262a2e; position: relative; }
.point { color: #d5d8dc; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 800; flex: none; }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-2); }
.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: 2rem; }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; background: rgba(255,255,255,.5); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* steps & faq */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--accent); font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-weight: 700; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* product page */
.phero { padding: 40px 0 44px; border-bottom: 1px solid var(--line); background: var(--card); }
.crumb { display: inline-block; color: var(--muted); text-decoration: none; font-size: .9rem; margin-bottom: 22px; }
.crumb:hover { color: var(--ink); }
.phero-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.phero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.pgrid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.prose { color: var(--ink-2); font-size: 1.05rem; }
.prose.small { font-size: .95rem; }
.prose h3 { color: var(--ink); margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose code { background: var(--paper-2); padding: 1px 6px; border-radius: 5px; }
.pimg { border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 24px; }
.features { padding: 24px; position: sticky; top: 90px; }
.features ul { list-style: none; padding: 0; margin: 0; }
.features li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--paper-2); }
.features li:last-child { border: 0; }
.features .tick { margin-top: 3px; }

.err-code { font-size: 5rem; font-weight: 800; letter-spacing: -0.05em; color: var(--line); line-height: 1; }
.ver { font-family: var(--mono); font-size: .8rem; background: var(--paper-2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; color: var(--ink-2); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 20px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.brand-foot { margin-bottom: 8px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: .95rem; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-copy { margin-top: 28px; color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .hero-in, .pgrid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-card { display: none; }
  .steps { grid-template-columns: 1fr; }
  .features { position: static; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 14px; }
  .nav-links > a:not(.btn):nth-child(2) { display: none; }
  .section { padding: 52px 0; }
}

/* WordPress specifics */
.nav-links li { list-style: none; margin: 0; }
.nav-links a:not(.btn), .nav-links li a { text-decoration: none; color: var(--ink-2); }
.nav-links .current-menu-item > a { color: var(--ink); font-weight: 600; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.foot-links li { list-style: none; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.page-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: .6em; }
.entry { color: var(--ink-2); font-size: 1.05rem; }
.entry > * { max-width: 100%; }
.entry h2, .entry h3 { color: var(--ink); margin-top: 1.4em; }
.entry a { color: var(--green); }
.entry img { height: auto; border-radius: 10px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink); }
.entry code { background: var(--paper-2); padding: 1px 6px; border-radius: 5px; }
.pgrid-single { grid-template-columns: 1fr; max-width: 820px; }
.post-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { font-size: 1.4rem; }
.post-row h2 a { text-decoration: none; }
.nav-links .btn-dark { color: #fff; }
.sm { --sm-ink: var(--ink); --sm-paper: var(--paper); --sm-line: var(--line); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
