/* StmtPdf — design system v3 (loaded after site.css).
   Matches the approved Pixso frames: home / pricing / download / licence dashboard. */

:root {
  --v3-navy: #0B1220;
  --v3-teal: #0D9488;
  --v3-teal-dark: #0F766E;
  --v3-teal-soft: #F0FDFA;
  --v3-teal-border: #A7F3D0;
  --v3-amber: #B54708;
  --v3-amber-soft: #FFFAEB;
  --v3-amber-border: #FEF0C7;
  --v3-line: #E4E7EC;
  --v3-line-soft: #F1F3F7;
  --v3-text: #0F172A;
  --v3-body: #475467;
  --v3-muted: #667085;
  --v3-faint: #98A2B3;
}

/* ---------------------------------------------------------------- typography */
.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1.4px;
}
.page-head h1 { font-size: 44px; letter-spacing: -1.2px; line-height: 1.15; }
.section h2 { font-size: 32px; letter-spacing: -0.9px; line-height: 1.2; }
.section-sub { font-size: 15px; line-height: 1.7; color: var(--v3-body); max-width: 640px; }
.kicker { color: var(--v3-teal); }

/* ------------------------------------------------------------------- header */
.site-header { height: 72px; }
.site-header .wrap { width: 100%; }
.nav a { padding: 6px 0; }

/* -------------------------------------------------------------------- hero */
.hero { padding: 80px 0 64px; }
.hero-grid { display: flex; align-items: center; gap: 50px; }
.hero-copy { flex: 1 1 auto; max-width: 640px; min-width: 0; }
.hero-panel {
  flex: 0 0 470px;
  width: 470px;
  background: #F7F8FA;
  border: 1px solid #EDF0F4;
  border-radius: 18px;
  padding: 22px;
}
.hc {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  padding: 14px 16px;
}
.hc + .hc { margin-top: 12px; }
.hc-ico {
  width: 34px; height: 34px; border-radius: 8px;
  background: #FEF3F2; color: #B42318;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.hc-ico.ok { background: #ECFDF5; color: #067647; }
.hc-name { font-size: 13px; font-weight: 600; color: var(--v3-text); }
.hc-meta { font-size: 11.5px; color: var(--v3-faint); margin-top: 3px; }
.hc-state { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #067647; }
.hc-link {
  display: flex; align-items: center; justify-content: center;
  margin: 14px 0; font-size: 11.5px; color: var(--v3-faint);
}
.quota-bar { height: 6px; border-radius: 3px; background: #EEF1F5; margin-top: 18px; }
.quota-bar i { display: block; height: 6px; width: 72%; border-radius: 3px; background: var(--v3-teal); }
.quota-foot {
  margin-top: 10px; display: flex; justify-content: space-between;
  font-size: 11.5px; color: var(--v3-muted);
}

/* ------------------------------------------------------------------ sections */
.section { padding: 76px 0; }
.section.alt { background: #F7F8FA; }
.steps { gap: 24px; margin-top: 40px; }
.step {
  background: #fff;
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  padding: 24px;
}
.step .num {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--v3-teal-soft); color: var(--v3-teal-dark);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-top: 16px; font-size: 16px; }
.step p { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: var(--v3-body); }
.step-visual { display: none; }

.features { gap: 24px; margin-top: 40px; }
.feature {
  background: #fff;
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  padding: 26px;
}
.feature .icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--v3-teal); color: #fff;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.feature h3 { margin-top: 16px; font-size: 16px; }
.feature p { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: var(--v3-body); }

/* ------------------------------------------------------------- compare table */
.compare-table {
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  margin-top: 32px;
}
.compare-row {
  display: flex; align-items: center;
  min-height: 52px; padding: 0 24px;
  border-top: 1px solid var(--v3-line-soft);
  font-size: 13.5px; color: #344054;
}
.compare-row:first-child { border-top: none; }
.compare-row.head {
  background: #FCFDFD; min-height: 48px;
  font-size: 12px; font-weight: 700; color: var(--v3-muted);
  text-transform: uppercase; letter-spacing: .4px;
}
.compare-row .cap { flex: 1; }
.compare-row .v { width: 240px; }
.compare-row .v.yes { color: #067647; font-weight: 600; }
.compare-row .v.no { color: var(--v3-muted); }

/* -------------------------------------------------------------------- plans */
.plans { gap: 24px; margin-top: 40px; }
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--v3-line);
  border-radius: 16px;
  padding: 26px;
}
.plan.popular { border: 2px solid var(--v3-teal); }
.plan-tag {
  position: absolute; top: 24px; right: 22px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .8px;
  color: var(--v3-teal-dark); background: var(--v3-teal-soft);
  border-radius: 10px; padding: 4px 9px; display: inline-flex;
}
.plan h3 { margin-top: 0; font-size: 12.5px; letter-spacing: .5px; color: var(--v3-muted); text-transform: uppercase; }
.plan .desc { margin-top: 6px; font-size: 12.5px; color: var(--v3-faint); }
.plan .price { margin-top: 12px; font-size: 40px; letter-spacing: -1.4px; font-weight: 700; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--v3-faint); letter-spacing: 0; }
.plan .price-year { margin-top: 4px; font-size: 12px; color: var(--v3-faint); }
.plan .pages { margin-top: 10px; font-size: 13px; font-weight: 600; color: #344054; }
.plan ul { margin-top: 14px; font-size: 13px; color: var(--v3-body); line-height: 2.1; }
.plan .cta {
  margin-top: 22px; height: 44px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600;
}

/* ---------------------------------------------------------------- page packs */
.packs {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  background: #F7F8FA; border: 1px solid #EDF0F4;
  border-radius: 16px; padding: 26px;
}
.packs h2 { font-size: 19px; letter-spacing: -.3px; }
.packs .section-sub { max-width: 560px; margin-top: 8px; font-size: 13.5px; }
.pack {
  margin-left: auto;
  min-width: 150px;
  background: #fff; border: 1px solid var(--v3-line);
  border-radius: 12px; padding: 16px;
}
.pack .n { font-size: 15px; font-weight: 700; }
.pack .d { margin-top: 6px; font-size: 12px; color: var(--v3-muted); }
.pack .p { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--v3-teal-dark); }

/* ---------------------------------------------------------------------- faq */
.faq { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.faq details {
  background: #fff;
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  padding: 20px 24px;
}
.faq summary { font-size: 14.5px; font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: var(--v3-body); }

/* --------------------------------------------------------------------- band */
.band {
  background: var(--v3-navy);
  border-radius: 0;
  padding: 64px 0;
  margin-top: 0;
}
.band h2 { color: #fff; font-size: 32px; letter-spacing: -.8px; }
.band p { color: #94A3B8; font-size: 14.5px; margin-top: 12px; }

/* ----------------------------------------------------------------- download */
.dl-card {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--v3-line);
  border-radius: 16px; padding: 26px 28px;
}
.dl-card .dl-tile {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--v3-teal); color: #fff;
  font-size: 26px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.dl-card h2 { font-size: 18px; letter-spacing: -.2px; }
.dl-card .dl-meta { margin-top: 6px; font-size: 12.5px; color: var(--v3-muted); }
.dl-card .dl-right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dl-card .dl-btn {
  height: 46px; padding: 0 24px; border-radius: 10px;
  background: var(--v3-teal); color: #fff;
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center;
}
.dl-card .sha { font-size: 11.5px; color: var(--v3-faint); }

.early-card {
  margin-top: 22px;
  background: var(--v3-amber-soft);
  border: 1px solid var(--v3-amber-border);
  border-radius: 14px;
  padding: 24px 26px;
}
.early-card h3 { font-size: 15px; color: #854A0E; }
.early-card p { margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: #7A4A12; max-width: 980px; }
.early-steps { margin-top: 20px; display: flex; gap: 18px; }
.early-step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--v3-amber-border);
  border-radius: 12px;
  padding: 18px;
}
.early-step .n {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--v3-amber); color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.early-step > b { display: block; margin-top: 12px; font-size: 13.5px; }
.early-step span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--v3-muted); }
.early-step strong { font-weight: 600; color: #344054; }
.early-it {
  margin-top: 18px;
  background: #F7F8FA; border: 1px solid #EDF0F4;
  border-radius: 12px; padding: 20px 22px;
  font-size: 12.5px; line-height: 1.7; color: var(--v3-body);
}

.notify {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
  background: #F7F8FA; border: 1px solid #EDF0F4;
  border-radius: 14px; padding: 22px 24px;
}
.notify b { font-size: 14px; }
.notify p { margin-top: 6px; font-size: 12.5px; color: var(--v3-muted); }
.notify form { margin-left: auto; display: flex; gap: 10px; }

.changelog-entry {
  display: flex; gap: 20px;
  border-top: 1px solid var(--v3-line-soft);
  padding: 16px 0;
  font-size: 13px; color: var(--v3-body); line-height: 1.9;
}
.changelog-entry .ver { width: 90px; font-weight: 700; color: var(--v3-teal); }

@media (max-width: 1100px) {
  .hero-panel { width: 100%; flex: 1 1 auto; }
  .early-steps { flex-wrap: wrap; }
  .early-step { min-width: 220px; }
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 820px) {
  .wrap { padding: 0 18px; }
  .site-header { height: 64px; }
  .site-header .wrap { gap: 0; }
  .logo img { height: 26px; }
  .header-right { gap: 6px; }
  .lang { height: 30px; padding: 0 8px; font-size: 11.5px; }
  .btn { height: 34px; padding: 0 12px; font-size: 12px; white-space: nowrap; }

  .hero { padding: 36px 0 28px; }
  .hero-grid { gap: 26px; }
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
  .lede { font-size: 15px; max-width: none; }
  .hero-actions { gap: 10px; }
  .cta, .btn-large { height: 44px; font-size: 13.5px; }
  .hero-panel { flex: 1 1 auto; width: 100%; padding: 16px; }
  .hc-name { font-size: 12.5px; }
  .hero .trust { flex-wrap: wrap; gap: 10px 16px; font-size: 12.5px; }

  .section { padding: 44px 0; }
  .section h2 { font-size: 26px; letter-spacing: -.6px; }
  .section-sub { font-size: 14px; }
  .page-head { padding: 40px 0 28px; }
  .page-head h1 { font-size: 30px; letter-spacing: -.8px; }
  .page-head .lede { font-size: 14.5px; }

  .steps, .features, .plans { gap: 16px; margin-top: 28px; }
  .step, .feature, .plan { padding: 20px; }
  .plan-tag { position: static; margin-bottom: 10px; }
  .plan .price { font-size: 34px; }

  .compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-row { min-width: 560px; padding: 0 16px; }
  .compare-row .v { width: 160px; }

  .packs { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .pack { margin-left: 0; }

  .band { padding: 40px 0; }
  .band h2 { font-size: 24px; }

  .dl-card { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .dl-card .dl-tile { width: 44px; height: 44px; border-radius: 11px; font-size: 20px; }
  .dl-card h2 { font-size: 16px; }
  .dl-card .dl-right { margin-left: 0; width: 100%; align-items: flex-start; }
  .dl-card .dl-btn { width: 100%; justify-content: center; }

  .early-card { padding: 18px; }
  .early-card p { max-width: none; }
  .early-steps { flex-direction: column; gap: 12px; }
  .early-step { min-width: 0; }
  .early-it { padding: 16px; }

  .notify { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .notify form { margin-left: 0; }
  .notify form input { flex: 1; min-width: 0; }

  .faq details { padding: 16px 18px; }
  .changelog-entry { gap: 12px; }
  .changelog-entry .ver { width: 64px; }
  .site-footer .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { width: 100%; grid-column: 1 / -1; }
  .footer-brand p { width: 100%; max-width: none; }
  .footer-bottom { flex-wrap: wrap; gap: 10px; }
}
