:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7a;
  --soft: #f5f8fb;
  --line: #dce4ee;
  --blue: #06498f;
  --green: #0f7b6c;
  --gold: #c7882d;
  --danger: #bc3d32;
  --success: #17845f;
  --shadow: 0 18px 48px rgba(17, 24, 39, .1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 8px; box-shadow: 0 8px 18px rgba(6,73,143,.22); }
.brand span span { color: var(--blue); }
.links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.links a { padding: 9px 11px; border-radius: 8px; color: var(--muted); font-weight: 650; font-size: 14px; }
.links a:hover, .links .active { color: var(--ink); background: var(--soft); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 18px;
  min-height: 46px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.button.primary { border: 0; color: #fff; background: linear-gradient(135deg, var(--blue), var(--green)); box-shadow: 0 14px 28px rgba(6,73,143,.24); }
.button.paypal { border-color: #f4c647; background: #ffc439; color: #10223f; }
.button.gold { border: 0; color: #2d1c05; background: linear-gradient(135deg, #f4cd82, #d99935); }
.button.danger { color: var(--danger); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  padding: 56px 0;
  background:
    linear-gradient(180deg, rgba(245,248,251,.95), rgba(255,255,255,.98)),
    url("/logo.png") center 84px / 180px no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15,123,108,.2);
  background: rgba(15,123,108,.08);
  color: var(--green);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: 13px;
}
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: 0; margin: 18px 0 18px; }
h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.12; letter-spacing: 0; margin: 0 0 12px; }
h3 { margin: 0 0 8px; font-size: 19px; }
p { color: var(--muted); }
.lede { font-size: 19px; max-width: 650px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.meter div, .panel, .card, .plan, .auth-card, .status-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17,24,39,.06);
}
.meter div { padding: 14px; }
.meter strong { display: block; font-size: 23px; }
.mock { padding: 18px; box-shadow: var(--shadow); }
.mock-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #dce9f7, #f4dfb9); position: relative; overflow: hidden; }
.tile:nth-child(2n) { background: linear-gradient(135deg, #d9eee8, #dce9f7); }
.tile:nth-child(3n) { background: linear-gradient(135deg, #f3d7c9, #e8eef8); }
.tile:after { content: "PNG"; position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 800; background: #fff; border-radius: 6px; padding: 3px 6px; color: var(--blue); }
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card, .panel { padding: 22px; }
.card .icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(6,73,143,.1); color: var(--blue); font-weight: 900; margin-bottom: 14px; }
.pricing { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 26px; }
.plan.pro { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.badge { display: inline-block; background: rgba(199,136,45,.13); color: #8b5a12; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 900; }
.price { font-size: 44px; font-weight: 900; margin: 12px 0; }
.price small { color: var(--muted); font-size: 15px; }
ul.clean { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
ul.clean li { color: var(--muted); }
ul.clean li:before { content: "✓"; color: var(--success); font-weight: 900; margin-right: 8px; }
.pay-top { display: grid; gap: 10px; padding: 14px; background: #fff8df; border: 1px solid #f2d47a; border-radius: 8px; margin: 14px 0; }
.pay-tabs { display: flex; gap: 8px; margin: 14px 0; }
.pay-tabs button { flex: 1; }
.pay-pane.hide, .hide { display: none !important; }
.paypal-host { min-height: 52px; }
.fineprint { margin: 0; font-size: 13px; color: var(--muted); }
.auth-card { max-width: 620px; padding: 16px; display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-card img { width: 42px; height: 42px; border-radius: 50%; }
.auth-card .who { flex: 1; min-width: 0; }
.auth-card .who span { display: block; overflow-wrap: anywhere; color: var(--muted); }
.status-banner { margin-top: 12px; padding: 11px 13px; border-radius: 8px; background: var(--soft); color: var(--muted); }
.status-banner.is-error { background: #fdecea; color: var(--danger); }
.status-banner.is-success { background: #e9f7f1; color: var(--success); }
.legal { max-width: 820px; padding: 60px 0; }
.site-footer { padding: 36px 0; background: #101827; color: #cfd7e5; }
.site-footer a, .site-footer p { color: #cfd7e5; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 24px; }
.footer-grid h4 { margin: 0 0 10px; color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (max-width: 820px) {
  .hero-grid, .pricing, .grid, .footer-grid { grid-template-columns: 1fr; }
  .links a:not(.button) { display: none; }
  .hero { background-position: center 44px; background-size: 128px; }
  .meter { grid-template-columns: 1fr; }
}
