:root {
  --bg: #071018;
  --bg-2: #0b1420;
  --surface: rgba(12, 24, 36, 0.78);
  --surface-strong: rgba(14, 28, 43, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --paper: rgba(255, 255, 255, 0.08);
  --ink: #eef7fb;
  --muted: #9fb3c1;
  --muted-2: #7890a1;
  --line: rgba(148, 163, 184, 0.20);
  --line-strong: rgba(148, 163, 184, 0.32);
  --accent: #0d4f92;
  --accent-bright: #38a3ff;
  --accent-soft: rgba(13, 79, 146, 0.22);
  --social: #7f5cff;
  --utility: #0f8a3a;
  --utility-bright: #32d86b;
  --warm: #f59e0b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --glow-blue: 0 0 56px rgba(56, 163, 255, 0.18);
  --glow-green: 0 0 56px rgba(50, 216, 107, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -4%, rgba(56, 163, 255, 0.22), transparent 36rem),
    radial-gradient(circle at 88% 6%, rgba(50, 216, 107, 0.15), transparent 34rem),
    linear-gradient(135deg, #050b12 0%, #08131f 42%, #091019 100%);
  line-height: 1.6;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 72%);
}
body.utility-page {
  background:
    radial-gradient(circle at 10% -5%, rgba(50, 216, 107, 0.19), transparent 36rem),
    radial-gradient(circle at 90% 10%, rgba(56, 163, 255, 0.14), transparent 34rem),
    linear-gradient(135deg, #050b12 0%, #07151b 45%, #091019 100%);
}
body.social-page {
  background:
    radial-gradient(circle at 10% -5%, rgba(127, 92, 255, 0.20), transparent 36rem),
    radial-gradient(circle at 90% 10%, rgba(56, 163, 255, 0.15), transparent 34rem),
    linear-gradient(135deg, #050b12 0%, #0b1022 45%, #091019 100%);
}
body.support-page {
  background:
    radial-gradient(circle at 12% -4%, rgba(245, 158, 11, 0.17), transparent 36rem),
    radial-gradient(circle at 88% 6%, rgba(56, 163, 255, 0.14), transparent 34rem),
    linear-gradient(135deg, #050b12 0%, #11100b 45%, #091019 100%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-bright); }
img, svg { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(5, 11, 18, 0.80);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  width: 108px;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.brand-logo-shell img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.brand-name {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #dbeafe;
}
.footer-brand .brand-logo-shell {
  min-height: 0;
  width: 170px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a { transition: color .18s ease, transform .18s ease; }
.nav-links a:hover { transform: translateY(-1px); }
.nav-cta {
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #0a7f3a);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(13, 79, 146, 0.24);
}
.nav-cta:hover { color: #fff; }
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.hero {
  padding: 92px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 48px;
}
.hero.compact { grid-template-columns: 1fr; max-width: 900px; padding-bottom: 30px; }
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent-bright); box-shadow: 0 0 18px rgba(56, 163, 255, .6); }
.dot.social { background: var(--social); box-shadow: 0 0 18px rgba(127, 92, 255, .55); }
.dot.utility { background: var(--utility-bright); box-shadow: 0 0 18px rgba(50, 216, 107, .55); }
.dot.warm { background: var(--warm); box-shadow: 0 0 18px rgba(245, 158, 11, .5); }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.045em; }
h1 {
  margin-top: 20px;
  font-size: clamp(44px, 7vw, 82px);
  background: linear-gradient(92deg, #ffffff 0%, #dbeafe 42%, #94f7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
h3 { font-size: 24px; margin-bottom: 10px; }
.lead { margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); max-width: 780px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, var(--accent), #0a7f3a);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(0,0,0,0.24), 0 0 36px rgba(13,79,146,0.18);
}
.button:hover { color: #fff; transform: translateY(-1px); }
.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  border-color: var(--line);
  box-shadow: none;
}
.button.ghost { background: transparent; color: #dbeafe; border-color: var(--line-strong); box-shadow: none; }
.button.disabled { pointer-events: none; opacity: 0.56; }
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.055));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow), var(--glow-blue);
}
.logo-showcase {
  margin: 0 0 22px;
  padding: 14px;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(30,64,175,0.14), rgba(7,16,24,0.26) 55%, rgba(7,16,24,0.10) 100%);
  border: 1px solid rgba(96,165,250,0.14);
  box-shadow: 0 18px 48px rgba(0,0,0,0.28), 0 0 30px rgba(37,99,235,0.10);
}
.logo-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.35));
}
.hero-card h3 { font-size: 22px; }
.hero-card p { color: var(--muted); margin: 0 0 18px; }
.mini-list { display: grid; gap: 12px; margin-top: 20px; }
.mini-item {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
}
.mini-item strong { display: block; color: #f8fafc; }
.mini-item span { color: var(--muted); font-size: 14px; }

.section { padding: 48px 0; }
.section-head { max-width: 780px; margin-bottom: 24px; }
.section-head p, .muted { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,0.088), rgba(255,255,255,0.052));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.17);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), var(--glow-blue);
  border-color: rgba(56, 163, 255, 0.34);
  color: inherit;
}
.card p { color: var(--muted); margin: 10px 0 0; }
.card .link { margin-top: 18px; display: inline-block; font-weight: 850; color: #7cc8ff; }
.card.compact-card { padding: 22px; }
.family-card.social { border-top: 5px solid var(--social); }
.family-card.utility { border-top: 5px solid var(--utility-bright); }
.family-card.warm { border-top: 5px solid var(--warm); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(56, 163, 255, 0.13);
  color: #bfe5ff;
  border: 1px solid rgba(56, 163, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
}
.badge.social { background: rgba(127, 92, 255, 0.15); color: #d9d2ff; border-color: rgba(127, 92, 255, 0.22); }
.badge.utility { background: rgba(50, 216, 107, 0.13); color: #bcffd0; border-color: rgba(50, 216, 107, 0.20); }
.badge.warm { background: rgba(245, 158, 11, 0.14); color: #ffdf9a; border-color: rgba(245, 158, 11, 0.22); }
.badge.neutral { background: rgba(255,255,255,0.08); color: #dbeafe; border-color: var(--line); }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.088), rgba(255,255,255,0.052));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.16);
}
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.check-list li { padding-left: 28px; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--utility-bright); font-weight: 900; }
.number-list { counter-reset: steps; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.number-list li {
  counter-increment: steps;
  padding: 14px 14px 14px 52px;
  position: relative;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}
.number-list li::before {
  content: counter(steps);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0a7f3a);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}
.product-hero { padding: 72px 0 32px; max-width: 880px; }
.status-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta-band {
  margin: 42px 0 58px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(13,79,146,0.95), rgba(10,127,58,0.88)),
    #0d4f92;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow), var(--glow-green);
}
.cta-band p { color: rgba(255,255,255,0.75); margin: 8px 0 0; }
.cta-band .button { background: #fff; color: #08131f; border-color: #fff; box-shadow: none; white-space: nowrap; }
.cta-band .button.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.38); }
.notice {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.10);
  border-radius: 18px;
  color: #ffdf9a;
}
.legal { max-width: 880px; padding: 64px 0; }
.legal h1 { font-size: clamp(38px, 5vw, 60px); }
.legal h2 { margin-top: 36px; font-size: 28px; }
.legal p, .legal li { color: var(--muted); }
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  background: rgba(5, 11, 18, 0.70);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; }
.footer-note { color: var(--muted); margin: 8px 0 0; font-size: 14px; }

@media (max-width: 1040px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .cta-band, .footer-inner { grid-template-columns: 1fr; display: grid; }
  .nav { align-items: flex-start; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 700px) {
  .grid.four { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  main, .nav, .footer-inner { padding-left: 18px; padding-right: 18px; }
  .nav { flex-direction: column; }
  .nav-links { justify-content: flex-start; gap: 12px; }
  .nav-cta { display: none; }
  .brand-logo-shell { width: 96px; }
  .brand-name { font-size: 13px; }
  .hero { padding-top: 54px; }
  .hero-card, .card, .panel, .cta-band { padding: 22px; border-radius: 22px; }
}


.logo-showcase img {
  max-width: 100%;
}
.hero-card .logo-showcase {
  display: flex;
  justify-content: center;
}
.hero-card .logo-showcase img {
  max-width: 520px;
}


/* v10 remove white logo shells in header/footer */
.footer-brand .brand-logo-shell, .site-header .brand-logo-shell { background: transparent !important; box-shadow: none !important; border: 0 !important; }


.product-card-media {
  margin: 0 0 14px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(30,64,175,0.14), rgba(7,16,24,0.40) 60%, rgba(7,16,24,0.22) 100%);
  border: 1px solid rgba(96,165,250,0.14);
  overflow: hidden;
}
.product-card-media img {
  display: block;
  width: 100%;
  height: auto;
}
.pdf-mechanic-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.product-logo-panel {
  padding: 14px;
  border-radius: 28px;
  background: radial-gradient(circle at top, rgba(30,64,175,0.16), rgba(7,16,24,0.42) 60%, rgba(7,16,24,0.18) 100%);
  border: 1px solid rgba(96,165,250,0.14);
  box-shadow: 0 18px 48px rgba(0,0,0,0.28), 0 0 28px rgba(37,99,235,0.10);
}
.product-logo-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
@media (max-width: 900px) {
  .pdf-mechanic-hero {
    grid-template-columns: 1fr;
  }
}


/* v12 Buy Me a Coffee integration */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.donation-highlight {
  position: relative;
}

.donation-panel {
  background:
    linear-gradient(135deg, rgba(255, 221, 122, 0.10), rgba(34, 197, 94, 0.08) 45%, rgba(37, 99, 235, 0.08)),
    rgba(255,255,255,0.06);
  border-color: rgba(255, 221, 122, 0.22);
}

.donation-button {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #111827;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.20);
}

.donation-button:hover {
  color: #111827;
  transform: translateY(-1px);
}

.badge.warm {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
}


/* v13 Acca Calculator GitHub release */
.download-button {
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.20);
}

.download-button:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.release-panel {
  border-color: rgba(96,165,250,0.20);
}


/* v14 Acca Calculator logo integration */
.acca-release-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.acca-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.acca-logo-panel img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 22px;
}

.acca-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.acca-card-media img {
  width: 100%;
  max-width: 132px;
  height: auto;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .acca-release-grid {
    grid-template-columns: 1fr;
  }
}
