/* Public site (landing, pricing, blog): always light, clean sans, green accent. Builds on app.css. */
body.site {
  --paper: #ffffff; --surface: #ffffff; --sunken: #f3f6f4; --ink: #0d1916; --ink-2: #47544f; --ink-3: #85908b;
  --line: #e4eae7; --line-2: #d3dcd8; --brand: #0b7a59; --brand-2: #0a6a4e; --brand-ink: #ffffff; --brand-soft: #e3f4ec;
  --amber: #b45309; --amber-soft: #fdf1e3; --red: #c0352b; --red-soft: #fdecea; --green: #0b7a59; --green-soft: #e3f4ec;
  --blue: #2557a7; --blue-soft: #e9f0fb;
  --shadow: 0 1px 2px rgba(13, 25, 22, .05), 0 10px 30px -14px rgba(13, 25, 22, .18);
  --shadow-pop: 0 30px 60px -20px rgba(13, 25, 22, .25), 0 2px 8px rgba(13, 25, 22, .06);
  color-scheme: light;
  background:
    radial-gradient(900px 520px at 85% -120px, rgba(11, 122, 89, .10), transparent 70%),
    radial-gradient(700px 420px at -10% 10%, rgba(37, 87, 167, .06), transparent 70%),
    #ffffff;
}
.site .bar { background: rgba(255, 255, 255, .82); }
.site .logo span { font-weight: 700; }
.site .avatar { background: var(--ink); color: #fff; }

/* type: modern sans headlines */
.site .display { font-family: var(--sans); font-weight: 650; letter-spacing: -.035em; line-height: 1.04; }
.site .display em, .site .display .hl { font-style: normal; color: var(--brand); }
.display.xl { font-size: clamp(2.6rem, 5.6vw, 4.4rem); max-width: 15ch; }
.display.lg { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.display.md { font-size: clamp(1.75rem, 3.2vw, 2.4rem); max-width: 24ch; }
.display.sm { font-size: 1.6rem; }
.site .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft);
  color: var(--brand-2); font-weight: 600; font-size: .8rem; }
.site .lede { color: var(--ink-2); }

/* buttons */
.site .btn { background: #fff; }
.site .btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 122, 89, .7); }
.site .btn-primary:hover { background: var(--brand-2); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 1rem; border-radius: 12px; font-weight: 600; }
.btn-block { width: 100%; justify-content: center; }
.hero-actions form { display: inline; }

/* nav */
.page.wide { max-width: 1180px; }
.pub-nav { display: flex; gap: 24px; margin-left: 14px; }
.pub-nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.pub-nav a:hover { color: var(--ink); }
.lang-sw { text-decoration: none; font-size: .82rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; background: #fff; }
.lang-sw:hover { color: var(--ink); border-color: var(--ink-3); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .display, .center .lede { margin-left: auto; margin-right: auto; }
.lede.center { max-width: 56ch; }

/* hero */
.s-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 36px 0 30px; }
.s-hero .lede { font-size: 1.12rem; max-width: 54ch; }
.s-hero .hint { margin-top: 12px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--ink-3); font-size: .84rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-pop); padding: 16px 18px 18px; position: relative; }
.mock-top { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 12px; }
.mock .ledger { background: var(--sunken); padding-bottom: 10px; }
.mock-row { margin-top: 12px; display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; font-size: .82rem; color: var(--ink-2);
  padding: 10px 12px; border-radius: 10px; border: 1px dashed color-mix(in srgb, var(--amber) 45%, var(--line)); background: var(--amber-soft); }
.mock-row .num { color: var(--amber); }
.mock-ping { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(180, 83, 9, .5); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .mock-ping { animation: none; } }

/* demo video */
.s-video { padding-top: 40px; }
.video-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-pop); background: #0d1916; aspect-ratio: 16 / 10; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-cap { text-align: center; color: var(--ink-3); font-size: .86rem; margin-top: 12px; }

/* blocks */
.s-block { padding: 72px 0 8px; }
.s-block.first { padding-top: 12px; }
.s-head { margin-bottom: 30px; }
.s-head .lede { margin-top: 14px; }
.s-head.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile-s { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.tile-s h3 { color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 1rem; margin: 12px 0 6px; }
.tile-s p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.tile-i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--amber-soft); color: var(--amber); font-size: .78rem; font-weight: 600; }
.steps3 { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps3 li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .9rem; font-weight: 600; }
.steps3 h3 { color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 1.08rem; margin: 14px 0 6px; }
.steps3 p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.s-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .94rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: .5em; width: 6px; height: 4px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.ticks.big li { font-size: 1.02rem; }
.secure { border-radius: 20px; padding: 32px; color: #fff; background: linear-gradient(150deg, #0b7a59, #0a5a44 70%); box-shadow: var(--shadow-pop); }
.secure p, .secure .ticks li { color: rgba(255, 255, 255, .85); }
.secure .ticks li::before { background: rgba(255, 255, 255, .16); }
.secure .ticks li::after { border-color: #fff; }
.secure h2 { margin: 14px 0 10px; color: #fff; }
.lock { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.lock svg { width: 20px; height: 20px; }

/* pricing */
.billing-toggle { display: flex; width: max-content; margin: 0 auto 24px; padding: 4px; border-radius: 12px; background: var(--sunken); border: 1px solid var(--line); gap: 2px; }
.bt { border: 0; background: transparent; font: 600 .9rem var(--sans); color: var(--ink-2); padding: 8px 18px; border-radius: 9px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.bt.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }
.save { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 390px)); justify-content: center; gap: 20px; }
.plans[data-periodo="mensual"] .p-anual, .plans[data-periodo="anual"] .p-mensual { display: none !important; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.plan.hl { border: 2px solid var(--brand); box-shadow: var(--shadow-pop); }
.plan-flag { position: absolute; top: -12px; left: 26px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.plan-n { color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 1.12rem; margin: 0; }
.plan-d { color: var(--ink-2); font-size: .9rem; margin: 6px 0 18px; min-height: 2.6em; }
.plan-p { margin: 0 0 18px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-p .num { font-family: var(--sans); font-size: 2.8rem; font-weight: 700; letter-spacing: -.04em; }
.plan-p small { color: var(--ink-3); }
.plan-pay { text-align: center; font-size: .78rem; color: var(--ink-3); margin: 10px 0 0; }
.inline-alert { display: inline-block; margin-bottom: 18px; }

/* faq */
.faq { margin-top: 22px; display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex-shrink: 0; margin-top: 4px; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); max-width: 70ch; }

/* closing CTA */
.s-cta { margin-top: 80px; text-align: center; padding: 60px 24px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 140% at 50% 0%, #11936c, #0a5a44 70%); box-shadow: var(--shadow-pop); }
.s-cta h2 { margin: 0 auto 10px; color: #fff; }
.s-cta p { color: rgba(255, 255, 255, .85); margin: 0 auto 24px; max-width: 52ch; }
.s-cta .btn-primary { background: #fff; color: var(--brand-2); border-color: #fff; box-shadow: none; }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
  text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.post-card h3 { color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 1.05rem; margin: 0; line-height: 1.3; }
.post-card p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.post-meta { font-size: .78rem; color: var(--ink-3); }
.post-feature { display: grid; gap: 10px; padding: 34px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none;
  margin-bottom: 18px; box-shadow: var(--shadow); }
.post-feature h2 { max-width: 28ch; }
.post-feature p { color: var(--ink-2); margin: 0; max-width: 70ch; }
.post { max-width: 720px; margin: 0 auto; }
.back { display: inline-block; margin-bottom: 18px; font-size: .9rem; }
.post-h { margin-bottom: 28px; }
.post-h .display { max-width: none; }
.post-h .lede { margin-top: 14px; }
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 30px; background: var(--sunken); font-size: .9rem; }
.toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.toc a { color: var(--ink-2); }
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.prose h2 { font-weight: 650; font-size: 1.6rem; letter-spacing: -.025em; margin: 2em 0 .5em; line-height: 1.2; }
.prose h3 { color: var(--ink); text-transform: none; letter-spacing: -.01em; font-size: 1.15rem; margin: 1.8em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--brand); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { font-weight: 600; color: var(--ink-2); font-size: .84rem; }
.post-cta { margin: 48px 0 0; padding: 30px; border-radius: 18px; color: #fff; background: linear-gradient(150deg, #0b7a59, #0a5a44 70%); }
.post-cta h2 { color: #fff; }
.post-cta p { color: rgba(255, 255, 255, .85); }
.post-cta .btn-primary { background: #fff; color: var(--brand-2); border-color: #fff; box-shadow: none; }
.more { margin-top: 48px; }
.more .post-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.disclaimer { margin-top: 32px; font-size: .8rem; color: var(--ink-3); }

@media (max-width: 920px) {
  .s-hero, .s-split { grid-template-columns: 1fr; gap: 36px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .steps3, .post-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .pub-nav { display: none; }
}
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } .display.xl { font-size: 2.5rem; } }
