/* Pay Docly — content pages (how-it-works, faq, privacy).
   Loaded after base.css, which provides the tokens and reset. */

/* Header */
.site-header{
  background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:30
}
.site-header .inner{
  max-width:1080px;margin:0 auto;padding:10px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap
}
.header-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.header-brand .brand-icon{width:38px;height:38px;flex:none}
.header-brand .brand-name{font-size:20px;font-weight:900;letter-spacing:-.02em;color:var(--ink)}
.site-nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.site-nav a{
  font-size:12.5px;font-weight:800;color:#475467;text-decoration:none;padding:8px 11px;border-radius:9px
}
.site-nav a:hover{background:#f2f4f7;color:var(--ink)}
.site-nav a[aria-current="page"]{background:var(--brand-soft);color:var(--brand)}
.site-nav a.cta{background:var(--brand);color:#fff;box-shadow:var(--shadow-sm)}
.site-nav a.cta:hover{background:var(--brand-2);color:#fff}

/* Page body */
.page{max-width:820px;margin:0 auto;padding:26px 22px 40px}
.page.wide{max-width:1080px}
.crumbs{font-size:12px;color:var(--muted-2);margin-bottom:14px}
.crumbs a{color:var(--muted);text-decoration:none;font-weight:700}
.crumbs a:hover{text-decoration:underline}
.page h1{font-size:30px;line-height:1.2;letter-spacing:-.03em;font-weight:900;margin:0 0 10px}
.lede{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 26px;max-width:70ch}
.page h2{font-size:20px;font-weight:900;letter-spacing:-.02em;margin:32px 0 10px}
.page h3{font-size:15px;font-weight:850;margin:22px 0 6px}
.page p,.page li{font-size:14px;line-height:1.75;color:#475467}
.page p{margin:0 0 12px}
.page ul,.page ol{padding-left:22px;margin:0 0 14px}
.page li{margin-bottom:6px}
.page section{margin-bottom:8px}
.updated{font-size:12px;color:var(--muted-2);font-weight:700;margin-bottom:24px}

.prose-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;box-shadow:var(--shadow-sm);margin-bottom:14px}
.prose-card h3{margin-top:0}
.prose-card p:last-child{margin-bottom:0}
.callout{
  background:var(--brand-soft);border:1px solid #bfdbfe;border-radius:12px;padding:15px 17px;margin:0 0 20px
}
.callout p{margin:0;color:#1e40af;font-size:13.5px}
.callout strong{color:#1e3a8a}

/* Buttons */
.btn{
  border:0;border-radius:10px;padding:11px 16px;font-weight:800;font-size:13px;display:inline-flex;align-items:center;gap:7px;
  text-decoration:none;box-shadow:var(--shadow-sm);cursor:pointer;transition:.18s ease
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:var(--brand);color:#fff}
.btn.primary:hover{background:var(--brand-2)}
.btn.light{background:#fff;color:#344054;border:1px solid var(--line)}
.btn-row{margin-top:22px;display:flex;flex-wrap:wrap;gap:8px}

/* How-it-works steps */
.steps-list{list-style:none;padding:0;margin:0;counter-reset:step}
.steps-list>li{
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px 18px 62px;
  position:relative;margin-bottom:12px;box-shadow:var(--shadow-sm)
}
.steps-list>li::before{
  counter-increment:step;content:counter(step);position:absolute;left:18px;top:18px;
  width:30px;height:30px;border-radius:50%;background:#111827;color:#fff;
  display:grid;place-items:center;font-size:13px;font-weight:900
}
.steps-list h3{margin:0 0 6px;font-size:15px}
.steps-list p:last-child{margin-bottom:0}

/* FAQ */
.faq-list details{
  background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 18px;margin-bottom:10px;box-shadow:var(--shadow-sm)
}
.faq-list summary{font-size:14.5px;font-weight:850;cursor:pointer;list-style:none;padding-right:26px;position:relative;color:var(--ink)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"＋";position:absolute;right:0;top:0;color:var(--muted-2);font-weight:900}
.faq-list details[open] summary::after{content:"−"}
.faq-list details p{margin:10px 0 0;font-size:13.5px}
.faq-list details p+p{margin-top:8px}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:26px 22px;background:#fff}
.site-footer .cols{max-width:1080px;margin:0 auto;display:flex;flex-wrap:wrap;gap:22px;justify-content:space-between}
.site-footer strong{font-size:13px}
.site-footer p{font-size:12px;color:var(--muted);line-height:1.7;margin:6px 0 0;max-width:62ch}
.site-footer nav a{font-size:12px;color:var(--muted);text-decoration:none;margin-right:14px;font-weight:700;display:inline-block;margin-bottom:6px}
.site-footer nav a:hover{color:var(--brand);text-decoration:underline}
.disclaimer{font-size:11px;color:var(--muted-2);margin-top:16px;line-height:1.6;max-width:82ch;max-width:min(82ch,100%)}
.site-footer .bottom{max-width:1080px;margin:0 auto}
.site-footer .support{max-width:1080px;margin-left:auto;margin-right:auto}

@media(max-width:640px){
  .page h1{font-size:24px}
  .lede{font-size:14px}
  .site-header .inner{padding:10px 15px}
  .page{padding:20px 15px 32px}
}
@media(prefers-reduced-motion:reduce){
  .btn:hover{transform:none}
}
@media print{
  .site-header,.site-footer,.skip-link{display:none}
  body{background:#fff}
}

/* Support page */
.pay-note{font-size:12px;color:var(--muted-2);line-height:1.6;margin:12px 0 0}

/* Tools hub */
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:8px}
.tool-card{
  display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;
  box-shadow:var(--shadow-sm);text-decoration:none;color:inherit;transition:.18s ease
}
a.tool-card:hover{border-color:#bfdbfe;box-shadow:var(--shadow);transform:translateY(-2px)}
.tool-card .ico{
  width:38px;height:38px;border-radius:11px;background:var(--brand-soft);
  display:grid;place-items:center;font-size:17px;margin-bottom:11px
}
.tool-card h3{margin:0 0 6px;font-size:15px}
a.tool-card h3{color:var(--brand)}
.tool-card p{font-size:13px;margin:0;line-height:1.6}
.tool-card.soon{background:#fbfcfe;border-style:dashed}
.tool-card.soon .ico{background:#f2f4f7;filter:grayscale(1);opacity:.7}
.tool-card.soon h3{color:var(--muted)}
.soon-tag{
  font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;
  background:#f2f4f7;color:var(--muted);border-radius:999px;padding:3px 8px;margin-left:6px;vertical-align:middle
}
@media(max-width:640px){.tool-grid{grid-template-columns:1fr}}

/* ============================================================
   Landing page
   ============================================================ */
.landing{max-width:1120px;margin:0 auto;padding:0 22px}

/* Hero */
.lp-hero{padding:56px 0 44px;text-align:center}
/* Inline SVGs have no intrinsic size — without an explicit width/height a browser falls
   back to 300x150 and destroys the layout. Every icon slot below sets both. */
.landing svg{width:16px;height:16px;flex:none}
.lp-eyebrow{
  display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:var(--brand);
  background:var(--brand-soft);border:1px solid #bfdbfe;border-radius:999px;padding:6px 14px;margin-bottom:20px
}
.lp-eyebrow svg{width:14px;height:14px}
.lp-hero h1{font-size:44px;line-height:1.1;letter-spacing:-.035em;font-weight:900;margin:0 0 16px}
.lp-hero h1 em{font-style:normal;color:var(--brand)}
.lp-hero .lp-lede{font-size:17px;line-height:1.65;color:var(--muted);max-width:60ch;margin:0 auto 26px}
.lp-cta{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.lp-cta .btn{padding:13px 22px;font-size:14px}
.lp-trust{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:26px}
.lp-trust span{
  display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#475467;
  background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 13px
}
.lp-trust svg{width:14px;height:14px;color:var(--success);flex:none}

/* Section headings */
.lp-sec{padding:44px 0}
.lp-sec > h2{font-size:29px;line-height:1.2;letter-spacing:-.03em;font-weight:900;margin:0 0 8px;text-align:center}
.lp-sec > .lp-sub{font-size:15px;color:var(--muted);text-align:center;max-width:58ch;margin:0 auto 30px;line-height:1.6}

/* Tool grid */
.lp-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lp-tool{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:22px;text-decoration:none;color:inherit;box-shadow:var(--shadow-sm);transition:.18s ease;position:relative
}
.lp-tool:hover{border-color:#bfdbfe;box-shadow:var(--shadow);transform:translateY(-3px)}
.lp-tool .ic{
  width:46px;height:46px;border-radius:13px;background:var(--brand-soft);color:var(--brand);
  display:grid;place-items:center;margin-bottom:14px;flex:none
}
.lp-tool .ic svg{width:24px;height:24px}
.lp-tool h3{font-size:16px;font-weight:850;margin:0 0 6px;color:var(--ink);letter-spacing:-.01em}
.lp-tool p{font-size:13.5px;line-height:1.6;color:var(--muted);margin:0 0 14px;flex:1}
.lp-tool .go{font-size:13px;font-weight:800;color:var(--brand);display:inline-flex;align-items:center;gap:5px;transition:gap .18s ease}
.lp-tool .go svg{width:15px;height:15px}
.lp-tool:hover .go{gap:9px}
.lp-tag{
  position:absolute;top:18px;right:18px;font-size:10px;font-weight:900;text-transform:uppercase;
  letter-spacing:.06em;background:var(--success-soft);color:#027a48;border-radius:999px;padding:4px 9px
}

/* Steps */
.lp-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;counter-reset:lp}
.lp-step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}
.lp-step::before{
  counter-increment:lp;content:counter(lp);display:grid;place-items:center;width:34px;height:34px;
  border-radius:50%;background:var(--ink);color:#fff;font-size:14px;font-weight:900;margin-bottom:14px
}
.lp-step h3{font-size:16px;font-weight:850;margin:0 0 6px}
.lp-step p{font-size:13.5px;line-height:1.65;color:var(--muted);margin:0}

/* Why / feature strip */
.lp-why{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.lp-why-item{display:flex;gap:14px;align-items:flex-start}
.lp-why-item .ic{
  width:42px;height:42px;border-radius:12px;background:var(--brand-soft);color:var(--brand);
  display:grid;place-items:center;flex:none
}
.lp-why-item .ic svg{width:21px;height:21px}
.lp-why-item h3{font-size:15px;font-weight:850;margin:0 0 5px}
.lp-why-item p{font-size:13.5px;line-height:1.65;color:var(--muted);margin:0}

/* Closing CTA band */
.lp-band{
  background:linear-gradient(135deg,#0f172a,#1d4ed8);border-radius:20px;padding:44px 40px;text-align:center;
  color:#fff;margin:12px 0 44px
}
.lp-band h2{font-size:27px;font-weight:900;letter-spacing:-.02em;margin:0 0 10px;color:#fff}
.lp-band p{font-size:15px;color:#bfdbfe;margin:0 0 22px;line-height:1.6;max-width:56ch;margin-inline:auto}
.lp-band .btn.primary{background:#fff;color:var(--brand)}
.lp-band .btn.primary:hover{background:#eff6ff;color:var(--brand-2)}
.lp-band .btn.light{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.lp-band .btn.light:hover{background:rgba(255,255,255,.1);color:#fff}

@media(max-width:900px){
  .lp-tools,.lp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-hero h1{font-size:34px}
}
@media(max-width:640px){
  .lp-tools,.lp-steps,.lp-why{grid-template-columns:1fr}
  .lp-hero{padding:36px 0 30px}
  .lp-hero h1{font-size:28px}
  .lp-hero .lp-lede{font-size:15px}
  .lp-sec{padding:32px 0}
  .lp-sec > h2{font-size:23px}
  .lp-band{padding:32px 22px;border-radius:16px}
  .lp-band h2{font-size:22px}
  .landing{padding:0 15px}
}
