/* Tendforge — landing page styles
   Design system: Hero-Centric + Trust · Space Grotesk / DM Sans · slate + run-green
   The site itself meets WCAG AA (contrast, focus, reduced-motion) — on brand for an
   accessibility-tooling vendor that refuses to fake compliance. */

/* Web fonts are loaded from the HTML head (preconnect + <link>) so the fetch
   starts in parallel with this stylesheet instead of chaining behind it. */

:root {
  --slate-950: #0b1120;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;

  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-50:  #f0fdf4;

  --amber-600: #d97706;
  --red-600:   #dc2626;

  /* semantic */
  --bg: var(--white);
  --bg-muted: var(--slate-50);
  --fg: var(--slate-900);
  --fg-muted: var(--slate-500);
  --border: var(--slate-200);
  --accent: var(--green-700);        /* AA on white: 5.0:1 — used for green text/CTA on light */
  --accent-strong: var(--green-500); /* bright green — only on dark surfaces */
  --ring: #2563eb;

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md: 0 4px 6px rgba(15,23,42,.05), 0 10px 24px rgba(15,23,42,.07);
  --shadow-lg: 0 18px 50px rgba(15,23,42,.14);

  /* Latin web font first, then explicit 繁體中文 fallbacks per-OS (Mac / Win / Linux·Android),
     so CJK glyphs always land on a real font even though the web fonts are Latin-only. */
  --cjk: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", sans-serif;
  --font-head: "Space Grotesk", var(--cjk);
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", var(--cjk);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; color: var(--slate-900); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* focus visibility — never removed */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--slate-900); color: var(--white);
  padding: 10px 16px; border-radius: 8px; z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #166534; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(21,128,61,.3); }
.btn-ghost { background: transparent; color: var(--slate-100); border-color: rgba(226,232,240,.25); }
.btn-ghost:hover { background: rgba(248,250,252,.08); border-color: rgba(226,232,240,.5); }
.btn-light { background: var(--slate-900); color: #fff; }
.btn-light:hover { background: var(--slate-800); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--slate-900); border-color: var(--border); }
.btn-outline:hover { border-color: var(--slate-400); background: var(--slate-50); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.brand .mark { width: 28px; height: 28px; color: var(--green-600); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--slate-700); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--slate-900); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--slate-700); padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; }
.lang-switch:hover { border-color: var(--slate-400); color: var(--slate-900); }
.lang-switch svg { width: 16px; height: 16px; }
/* nav dropdown (pure CSS, no JS — hover + focus-within for keyboard) */
.has-menu { position: relative; display: inline-flex; align-items: center; }
.has-menu > a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); display: inline-block; margin-left: 6px; opacity: .55; }
.submenu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); padding: 8px; min-width: 230px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 120; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: var(--slate-700); white-space: nowrap; }
.submenu li a:hover { background: var(--slate-50); color: var(--slate-900); }
@media (prefers-reduced-motion: reduce) { .submenu { transition: none; } }
@media (max-width: 860px) { .nav-links { display: none; } }
/* current page highlighted in nav + footer */
.nav-links a[aria-current="page"], .submenu li a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.submenu li a[aria-current="page"] { background: var(--green-50); }
.footer-col a[aria-current="page"] { color: var(--slate-200); }

/* ---------- mobile menu (pure-CSS <details>, no JS — fallback for the hidden .nav-links) ---------- */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; color: var(--slate-700); background: #fff; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 22px; height: 22px; }
.mnav[open] summary { color: var(--slate-900); border-color: var(--slate-400); background: var(--slate-50); }
.mnav nav { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); padding: 8px; min-width: 240px; z-index: 150; }
.mnav nav a { display: block; padding: 12px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--slate-700); }
.mnav nav a:hover { background: var(--slate-50); color: var(--slate-900); }
.mnav nav a[aria-current="page"] { color: var(--accent); background: var(--green-50); font-weight: 600; }
.mnav nav a.sep { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 13px; border-radius: 0; }
.lang-menu { position: relative; display: inline-block; }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--slate-600); padding: 8px 10px; border-radius: 8px; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary svg { width: 16px; height: 16px; }
.lang-menu[open] > summary { color: var(--slate-900); background: var(--slate-50); }
.lang-menu-list { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); padding: 8px; min-width: 190px; max-height: 62vh; overflow-y: auto; z-index: 200; }
.lang-menu-list a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--slate-700); white-space: nowrap; }
.lang-menu-list a:hover { background: var(--slate-50); color: var(--slate-900); }
.lang-menu-list a[aria-current="true"] { color: var(--accent); background: var(--green-50); font-weight: 600; }
@media (max-width: 860px) { .mnav { display: block; } }
@media (max-width: 560px) { .nav-cta .btn { display: none; } } /* menu covers it; keeps the bar uncramped */

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 78% -8%, rgba(34,197,94,.16), transparent 60%),
    radial-gradient(800px 400px at 10% 0%, rgba(59,130,246,.10), transparent 55%),
    linear-gradient(180deg, var(--slate-950), var(--slate-900));
  color: var(--slate-100);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 92px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; }
.hero h1 .accent { color: var(--green-400); }
.hero .lede { color: var(--slate-300); font-size: 20px; margin-top: 22px; max-width: 38ch; }
.hero .lede .accent { color: var(--green-400); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--slate-400); font-size: 14.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green-400); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green-400); background: rgba(34,197,94,.10);
  border: 1px solid rgba(34,197,94,.22); padding: 6px 13px; border-radius: 999px;
}
.hero-shot {
  border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(148,163,184,.18); width: 100%; height: auto; display: block;
  background: #fff;
}
.hero-figure { position: relative; }
.hero-figure .badge {
  position: absolute; left: -14px; bottom: 22px;
  background: #fff; color: var(--slate-900); border-radius: 12px; padding: 12px 15px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
  font-family: var(--font-head); border: 1px solid var(--border);
}
.hero-figure .badge svg { width: 20px; height: 20px; color: var(--green-600); flex: none; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .hero-figure { order: -1; max-width: 460px; }
}

/* ---------- stats bar under hero (Barn2-style trust strip) ---------- */
.statbar { background: var(--bg-muted); border-bottom: 1px solid var(--border); padding: 32px 0; }
.statbar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.statbar li { display: flex; align-items: center; gap: 14px; justify-content: center; }
/* Nudge the number + label down a touch so they sit slightly below the icon's
   centre. Relative unit so it scales with the font on smaller screens. */
.statbar li > span:not(.ico) { margin-top: 0.4em; }
.statbar .ico { width: 44px; height: 44px; border-radius: 11px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none; }
.statbar .ico svg { width: 22px; height: 22px; }
.statbar .n { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--slate-900); line-height: 1; }
.statbar .n .unit { color: var(--accent); }
/* Reserve two lines for every label so all four cells are the same height:
   the numbers then line up and the whole group stays vertically centred, even
   though the Plugin Check label wraps to two lines. */
.statbar .l { display: block; color: var(--fg-muted); font-size: 13px; margin-top: 4px; min-height: 3.2em; }
@media (max-width: 760px) { .statbar ul { grid-template-columns: 1fr 1fr; gap: 24px 14px; } }

/* ---------- product quick-nav (WPForms-style taxonomy row) ---------- */
.product-nav { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.product-nav a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 20px 10px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--slate-700); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.product-nav a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--slate-900); }
.product-nav .ico { color: var(--accent); }
.product-nav .ico svg { width: 30px; height: 30px; }
.product-nav span { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; line-height: 1.3; }
@media (max-width: 860px) { .product-nav { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .product-nav { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .product-nav a:hover { transform: none; } }

/* ---------- sections ---------- */
section { padding: 86px 0; }
section[id] { scroll-margin-top: 72px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.section-head p { color: var(--fg-muted); font-size: 19px; margin-top: 14px; }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.muted-bg { background: var(--bg-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- model (free vs pro) ---------- */
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.model-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.model-card.pro { background: linear-gradient(180deg, #fff, var(--green-50)); border-color: #bbf7d0; }
.model-card h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.model-card .tag { font-family: var(--font-head); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tag.free { background: var(--slate-100); color: var(--slate-700); }
.tag.pro { background: var(--accent); color: #fff; }
.model-card p { color: var(--fg-muted); margin-top: 12px; }
.model-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.model-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.model-card li svg { width: 19px; height: 19px; color: var(--green-600); flex: none; margin-top: 2px; }
@media (max-width: 760px) { .model-grid { grid-template-columns: 1fr; } }

/* ---------- product cards ---------- */
.products { display: grid; gap: 28px; }
.product {
  display: grid; grid-template-columns: 1fr 1.04fr; gap: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease;
}
.product { scroll-margin-top: 86px; }
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .product:hover { transform: none; } }
.product:nth-child(even) .product-media { order: 2; }
.product-media { background: linear-gradient(135deg, var(--slate-100), var(--slate-200)); display: flex; align-items: flex-start; justify-content: center; padding: 26px 26px 0; overflow: hidden; }
.product-media img { width: 100%; height: auto; border-radius: 10px 10px 0 0; box-shadow: 0 -2px 0 rgba(15,23,42,.04), var(--shadow-md); display: block; }
.product-body { padding: 34px; display: flex; flex-direction: column; }
.platform {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--slate-600, #475569); background: var(--slate-100); border: 1px solid var(--border);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}
.platform svg { width: 14px; height: 14px; }
.product-body h3 { font-size: 25px; }
.product-body h3 a { color: inherit; }
.product-body h3 a:hover { color: var(--accent); }
.product-more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 20px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--accent); }
.product-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.product-more:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .product-more:hover svg { transform: none; } }
.product-tagline { color: var(--fg-muted); margin-top: 10px; font-size: 16px; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.feature-col h4 { font-family: var(--font-head); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 11px; }
.feature-col.free h4 { color: var(--slate-500); }
.feature-col.pro h4 { color: var(--accent); }
.feature-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.feature-col li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.45; }
.feature-col li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.feature-col.free li svg { color: var(--slate-400); }
.feature-col.pro li svg { color: var(--green-600); }
@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; }
  .product:nth-child(even) .product-media { order: 0; }
  .feature-split { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- honesty / stance ---------- */
.stance { background: var(--slate-900); color: var(--slate-200); }
.stance h2 { color: #fff; }
.stance .section-head p { color: var(--slate-400); }
.stance .kicker { color: var(--green-400); }
.stance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.stance-card { background: var(--slate-800); border: 1px solid var(--slate-700); border-radius: var(--radius); padding: 26px; }
.stance-card.no { border-color: rgba(220,38,38,.35); }
.stance-card.yes { border-color: rgba(34,197,94,.35); }
.stance-card h3 { color: #fff; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.stance-card h3 svg { width: 22px; height: 22px; flex: none; }
.stance-card.no h3 svg { color: #f87171; }
.stance-card.yes h3 svg { color: var(--green-400); }
.stance-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.stance-card li { display: flex; gap: 11px; font-size: 15.5px; color: var(--slate-300); }
.stance-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.stance-card.no li svg { color: #f87171; }
.stance-card.yes li svg { color: var(--green-400); }
@media (max-width: 760px) { .stance-grid { grid-template-columns: 1fr; } }
.stance-foot { margin-top: 26px; max-width: 760px; }
.stance-foot p { color: var(--slate-300); font-size: 16px; margin-top: 14px; }
.stance-foot p.lead { color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 18px; }
.stance-foot .fineprint { color: var(--slate-400); font-size: 13.5px; border-top: 1px solid var(--slate-700); padding-top: 16px; margin-top: 20px; }

/* ---------- quality strip ---------- */
.quality { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.quality .stat { text-align: center; padding: 8px; }
.quality .num { font-family: var(--font-head); font-weight: 700; font-size: 40px; color: var(--slate-900); line-height: 1; }
.quality .num .unit { color: var(--accent); }
.quality .label { color: var(--fg-muted); font-size: 14.5px; margin-top: 10px; }
@media (max-width: 760px) { .quality { grid-template-columns: 1fr 1fr; gap: 30px 16px; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--slate-900), var(--slate-800)); color: #fff; border-radius: 20px; padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { color: var(--slate-300); margin-top: 14px; font-size: 18px; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }
.cta-band .cta-service { margin-top: 18px; font-size: 14.5px; color: var(--slate-400); }
.cta-band .cta-service a { color: var(--green-400); font-weight: 600; }
.cta-band .cta-service a:hover { text-decoration: underline; }
@media (max-width: 600px) { .cta-band { padding: 38px 24px; } }

/* ---------- FAQ (pure-HTML <details> accordion, no JS) ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--slate-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .chev { width: 20px; height: 20px; color: var(--slate-400); flex: none; transition: transform .25s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--accent); }
.faq .faq-a { padding: 0 24px 22px; }
.faq .faq-a p { color: var(--fg-muted); font-size: 15.5px; line-height: 1.65; }
.faq .faq-a p + p { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .faq summary .chev { transition: none; } }

/* ---------- product page: breadcrumb ---------- */
.crumbs { font-size: 14px; color: var(--slate-400); padding: 18px 0 0; }
.crumbs a { color: var(--slate-300); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { margin: 0 8px; opacity: .6; }

/* ---------- product page: problem strip ---------- */
.problem { background: var(--bg-muted); border-bottom: 1px solid var(--border); }
.problem .wrap { max-width: 820px; text-align: center; }
.problem h2 { font-size: clamp(24px, 3.2vw, 32px); }
.problem p { color: var(--fg-muted); font-size: 19px; margin-top: 16px; }

/* ---------- product page: pricing block (after compare table) ---------- */
.pricing { max-width: 720px; margin: 36px auto 0; text-align: center; }
.pricing-card { display: inline-flex; flex-direction: column; align-items: center; gap: 18px; background: linear-gradient(180deg, #fff, var(--green-50)); border: 1px solid #bbf7d0; border-radius: 16px; padding: 30px 44px; box-shadow: var(--shadow-md); }
.pricing .price { font-family: var(--font-head); line-height: 1; }
.pricing .amt { font-size: 42px; font-weight: 700; color: var(--slate-900); }
.pricing .per { color: var(--fg-muted); font-size: 16px; margin-left: 6px; font-weight: 500; }
.pricing-note { color: var(--fg-muted); font-size: 14px; margin-top: 16px; }
.pricing-note strong { color: var(--slate-700); font-weight: 600; }

/* ---------- product page: feature deep-dive rows ---------- */
.frow { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.frow + .frow { margin-top: 80px; }
.frow:nth-child(even) .frow-media { order: 2; }
.frow-media img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: block; background: #fff; }
.frow-body .tagline-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.tagline-tag.free { background: var(--slate-100); color: var(--slate-600, #475569); }
.tagline-tag.pro { background: var(--green-50); color: var(--accent); border: 1px solid #bbf7d0; }
.frow-body h3 { font-size: clamp(22px, 2.8vw, 28px); }
.frow-body p { color: var(--fg-muted); font-size: 17px; margin-top: 14px; }
.frow-body ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.frow-body li { display: flex; gap: 10px; font-size: 15.5px; }
.frow-body li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
@media (max-width: 820px) {
  .frow { grid-template-columns: 1fr; gap: 28px; }
  .frow:nth-child(even) .frow-media { order: 0; }
  .frow + .frow { margin-top: 56px; }
}

/* ---------- product page: free vs pro compare table ---------- */
.compare { max-width: 760px; margin: 0 auto; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.compare thead th { font-family: var(--font-head); font-size: 14px; background: var(--bg-muted); }
.compare thead th.col { text-align: center; width: 110px; }
.compare th.col.pro { color: var(--accent); }
.compare td.col { text-align: center; }
.compare tr:last-child td { border-bottom: none; }
.compare tbody th { font-weight: 400; } /* row header for a11y; visually a normal cell */
.compare td .yes { color: var(--accent); }
.compare td .no { color: var(--slate-500); } /* was slate-300 — too faint against white */
.compare td.col svg { width: 20px; height: 20px; }

/* ---------- 404 ---------- */
.page-center { display: flex; min-height: 100dvh; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.page-center .kicker { color: var(--accent); }
.page-center h1 { font-size: clamp(28px, 5vw, 44px); }
.page-center p { color: var(--fg-muted); margin-top: 14px; }
.page-center .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate-950); color: var(--slate-400); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--slate-800); }
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14.5px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h3 { font-family: var(--font-head); color: var(--slate-200); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--slate-400); font-size: 14.5px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a { color: var(--slate-300); }

/* ---------- entrance (cards) ----------
   Deliberately NOT using opacity-based scroll reveal: content must never depend
   on JS/observer state to be visible. A one-shot CSS fade on load enhances
   without ever hiding content from no-JS users or crawlers. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .6s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
