/* ProposalDesk landing. Static CSS, system fonts only, no external requests. */
:root {
  --green: #1E6B5C;
  --green-dark: #16524A;
  --green-light: #4C9484;
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --ink: #1B2421;
  --muted: #55625D;
  --line: #E6E0D5;
  --tint: #EAF2EF;
  --on-green: #FFFFFF;
  --accent-text: #1E6B5C;
  --warn-bg: #FFF4D6;
  --warn-ink: #5B4300;
  --shadow: 0 1px 2px rgba(27, 36, 33, .06), 0 8px 24px rgba(27, 36, 33, .06);
  --radius: 14px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Logo C (green; the dark theme below swaps in the white one). */
  --brand-logo: url("logo.svg");
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1715;
    --card: #17221F;
    --ink: #EEEAE2;
    --muted: #A8B5AF;
    --line: #2A3A36;
    --tint: #1B2B27;
    --accent-text: #7FC1B0;
    --on-green: #0B1412;
    --green: #4C9484;
    --green-dark: #5FA897;
    --warn-bg: #3A2F10;
    --warn-ink: #F3DFA0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    --brand-logo: url("logo-white.svg");
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); color: var(--ink); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
section { padding: 64px 0; }
.alt { background: var(--tint); }
.section-head { margin-bottom: 32px; max-width: 44em; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; gap: 14px; min-height: 64px; }
/* The link text stays in the HTML (accessible name, SEO); the logo is its background (outlined SVG, 157x32 at 24px+ height). */
.brand { display: block; width: 157px; height: 32px; font-size: 0; line-height: 0; color: transparent; overflow: hidden; background: var(--brand-logo) left center / contain no-repeat; text-decoration: none; flex: none; }
.nav { display: none; gap: 22px; margin-left: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.bar .spacer { flex: 1; }
.lang { font-size: .9rem; font-weight: 700; text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--card); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 10px; background: var(--green); color: var(--on-green); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--green); cursor: pointer; font-family: inherit; text-align: center; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--accent-text); border-color: var(--green-light); }
.btn.ghost:hover { background: var(--tint); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: .92rem; }
.bar .btn.small { display: none; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero .lead { margin: 18px 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* Mock-ups */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; font-size: .95rem; }
.mock-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.mock-title { font-weight: 700; }
.tag { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--tint); color: var(--accent-text); white-space: nowrap; }
.tag.now { background: var(--green); color: var(--on-green); }
.tag.muted { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.row .sub { display: block; font-size: .82rem; color: var(--muted); }
.row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 1.1rem; }
.row.save { color: var(--accent-text); }
.mock-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Switch rows (demo) */
.mod { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; min-height: 52px; }
.mod:first-of-type { border-top: 0; }
.mod .txt { flex: 1; }
.mod .txt small { display: block; color: var(--muted); font-size: .82rem; }
.mod input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { width: 46px; height: 28px; border-radius: 99px; background: #9AA6A1; position: relative; flex: none; transition: background .15s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.mod input:checked + .sw { background: var(--green); }
.mod input:checked + .sw::after { transform: translateX(18px); }
.mod input:focus-visible + .sw { outline: 3px solid var(--green-light); outline-offset: 2px; }
.mod.fixed { cursor: default; border-top: 0; }
.mod.fixed .sw { opacity: .55; background: var(--green); }
.mod.fixed .sw::after { transform: translateX(18px); }
.tiers { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.tier { font-size: .78rem; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.tier.on { background: var(--green); color: var(--on-green); border-color: var(--green); font-weight: 700; }
.apart { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.apart .row { padding: 3px 0; }

/* Journey mock */
.journey { list-style: none; margin: 0; padding: 0; }
.journey li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.journey li:first-child { border-top: 0; }
.dot { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .82rem; font-weight: 700; background: var(--tint); color: var(--accent-text); border: 2px solid var(--green-light); }
.done .dot { background: var(--green); color: var(--on-green); border-color: var(--green); }
.journey .txt { flex: 1; }
.journey .txt small { display: block; color: var(--muted); font-size: .82rem; }

/* Timeline mock */
.gantt { display: grid; grid-template-columns: 88px 1fr; gap: 8px 10px; align-items: center; font-size: .85rem; }
.gantt .lab { color: var(--muted); }
.track { height: 22px; background: var(--tint); border-radius: 6px; position: relative; }
.bar-b { position: absolute; top: 0; bottom: 0; background: var(--green); border-radius: 6px; }
.bar-b.b2 { background: var(--green-light); }
.pay { position: absolute; top: -3px; width: 10px; height: 10px; background: var(--card); border: 2px solid var(--accent-text); transform: rotate(45deg); }
.weeks { display: grid; grid-template-columns: repeat(8, 1fr); font-size: .72rem; color: var(--muted); text-align: center; }
.legend { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* Cards and grids */
.grid { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: .98rem; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--on-green); font-weight: 700; margin-bottom: 12px; }
.note-line { margin-top: 22px; font-size: .95rem; color: var(--muted); }
.split { display: grid; gap: 32px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* Pricing */
.price-box { max-width: 520px; margin: 0 auto; text-align: left; border: 2px solid var(--green); }
.cur-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 18px; background: var(--bg); }
.cur-toggle button { font: inherit; font-weight: 700; padding: 10px 18px; min-height: 44px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.cur-toggle button[aria-pressed="true"] { background: var(--green); color: var(--on-green); }
.price-amount { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.price-amount small { font-size: 1.05rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-box .btn { width: 100%; margin-top: 18px; }
html:not(.js) .cur-toggle { display: none; }
[data-cur="usd"] .brl, [data-cur="brl"] .usd { display: none; }
.soon { margin-top: 16px; font-size: .9rem; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--tint); }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 52px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-text); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 18px 6px; color: var(--muted); }
.faq .ans p { margin-bottom: .8em; }

/* CTA + footer */
.final { text-align: center; }
.final .lead { margin: 14px auto 24px; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: .92rem; color: var(--muted); }
.foot { display: grid; gap: 20px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal { margin-top: 18px; font-size: .85rem; }

/* Legal shells */
.draft { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 14px 18px; font-weight: 700; margin: 8px 0 28px; }
.doc { padding: 40px 0 64px; max-width: 760px; }
.doc h2 { font-size: 1.3rem; margin: 30px 0 6px; }
.doc .todo { color: var(--muted); font-style: italic; margin: 0; }

@media (min-width: 700px) {
  .grid.g2 { grid-template-columns: repeat(2, 1fr); }
  .grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .grid.g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  section { padding: 88px 0; }
  .nav { display: flex; }
  .bar .btn.small { display: inline-flex; }
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.flip > :first-child { order: 2; }
  .grid.g3 { grid-template-columns: repeat(3, 1fr); }
  .grid.g4 { grid-template-columns: repeat(4, 1fr); }
  .foot { grid-template-columns: 1.3fr 1fr; }
}

/* Legal tables (sub-processors page) */
.doc .meta { color: var(--muted); font-size: .95rem; }
.doc .table-wrap { overflow-x: auto; margin: 0 0 1em; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--tint); }
.doc code { font-size: .92em; }

/* Guides (SEO articles) */
.doc.guide h3 { font-size: 1.08rem; margin: 22px 0 4px; }
.doc.guide blockquote { margin: 0 0 1em; padding: 14px 18px; border-left: 3px solid var(--line); background: var(--tint); border-radius: 6px; }
.doc.guide blockquote p:last-child { margin-bottom: 0; }
.doc.guide ul.checklist { list-style: none; padding-left: 0; }
.doc.guide ul.checklist li::before { content: "\2610"; margin-right: 8px; color: var(--muted); }
