/* SINFe landing page — no external fonts, no inline styles (strict CSP) */

:root {
	--green: #79BD44;
	--green-dark: #4E8A22;
	--green-soft: #EEF7E6;
	--blue: #30B1F4;
	--blue-dark: #0B6FA8;
	--blue-soft: #E6F5FE;
	--amber-dark: #8A5A00;
	--amber-soft: #FFF4DC;
	--ink: #0F1B2D;
	--ink-2: #3A4757;
	--muted: #5E6B7A;
	--line: #E3E8EE;
	--bg: #FFFFFF;
	--bg-alt: #F6F8FA;
	--dark: #0F1B2D;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .08);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink-2);
	background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 10px 20px; border-radius: 10px;
	font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
	border: 2px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn-primary { background: var(--green-dark); color: #fff; }
.btn-primary:hover { background: #3F731A; color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { width: 106px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.site-nav ul a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; }
.nav-actions .btn { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

.nav-toggle {
	display: none; width: 44px; height: 44px; border: 1px solid var(--line);
	border-radius: 10px; background: #fff; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
	position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: "";
	transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 68px;
		flex-direction: column; align-items: stretch; gap: 16px;
		background: #fff; border-bottom: 1px solid var(--line); padding: 16px 20px 24px;
		box-shadow: var(--shadow);
	}
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; gap: 4px; }
	.site-nav ul a { display: block; padding: 10px 4px; font-size: 1.05rem; }
	.nav-actions { flex-direction: column; }
	.nav-actions .btn { min-height: 48px; }
}

/* Generic sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { max-width: 760px; margin-bottom: 32px; }
.section-lead { max-width: 760px; font-size: 1.1rem; margin-top: -12px; margin-bottom: 36px; }
.eyebrow {
	font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--green-dark); margin-bottom: 10px;
}
.eyebrow-light { color: var(--green); }
.fineprint { font-size: .88rem; color: var(--muted); margin-top: 24px; }

/* Hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, var(--green-soft) 0%, #fff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-grid > *, .split > * { min-width: 0; }
.hl { color: var(--green-dark); }
.lead { font-size: 1.2rem; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--muted); }
.trust li { position: relative; padding-left: 22px; }
.trust li::before {
	content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px;
	border-left: 2px solid var(--green-dark); border-bottom: 2px solid var(--green-dark); transform: rotate(-45deg);
}

/* Mock app window */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D5DBE2; }
.mock-bar em { margin-left: 10px; font-style: normal; font-size: .78rem; color: var(--muted); }
.mock-body { padding: 18px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--ink); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-stats div { background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; }
.mock-stats b { display: block; font-size: 1.3rem; color: var(--ink); }
.mock-stats small { font-size: .75rem; color: var(--muted); }
.mock-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.mock-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.mock-table tr:last-child td { border-bottom: 0; }

.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.pill-green { background: var(--green-soft); color: var(--green-dark); }
.pill-blue { background: var(--blue-soft); color: var(--blue-dark); }
.pill-amber { background: var(--amber-soft); color: var(--amber-dark); }

/* Notice strip */
.notice { background: var(--ink); color: #DCE3EA; }
.notice-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.notice p { margin: 0; font-size: .95rem; }
.notice strong { color: #fff; }
.notice a { color: var(--green); font-weight: 600; white-space: nowrap; }
.notice a:hover { color: #fff; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.section-alt .card { box-shadow: 0 1px 2px rgba(15, 27, 45, .04); }
.feature h3 { position: relative; padding-top: 18px; }
.feature h3::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 4px; border-radius: 2px; background: var(--blue); }
.feature:nth-child(3n+2) h3::before { background: var(--green); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 10px; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 14px;
}

/* Dark section */
.section-dark { background: var(--dark); color: #C9D3DD; }
.section-dark .section-title { color: #fff; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; }
.checklist li { position: relative; padding: 6px 0 6px 30px; }
.checklist li::before {
	content: ""; position: absolute; left: 4px; top: 13px; width: 13px; height: 7px;
	border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.checklist-dark li::before { border-color: var(--green-dark); }
.quote-box {
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--radius); padding: 36px;
}
.big-number { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 12px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline li { border-top: 4px solid var(--line); padding-top: 18px; }
.timeline time { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.timeline p { margin: 0; }
.timeline-key { border-top-color: var(--green) !important; }
.timeline-key time { color: var(--green-dark); }

/* Plans */
.plan { display: flex; flex-direction: column; position: relative; }
.plan .checklist { flex: 1; margin-bottom: 22px; }
.plan-sub { color: var(--muted); font-size: .95rem; }
.plan-featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan-tag {
	position: absolute; top: -13px; left: 24px; margin: 0; background: var(--green-dark); color: #fff;
	font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
	font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	font-size: 1.5rem; font-weight: 400; color: var(--muted);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Final CTA */
.final-cta { background: linear-gradient(135deg, #2F6A12 0%, var(--green-dark) 100%); color: #fff; padding: 72px 0; }
.final-cta h2 { color: #fff; max-width: 720px; }
.final-cta .btn-primary { background: #fff; color: var(--green-dark); }
.final-cta .btn-primary:hover { background: var(--green-soft); color: #2F6A12; }
.final-cta-inner .cta-row { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; }
.site-footer img { margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ink-2); }
.legal { grid-column: 1 / -1; color: var(--muted); margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 20px; }

/* Simple content pages (privacy, 404) */
.page { padding: 64px 0 88px; }
.page h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.page h2 { font-size: 1.3rem; margin-top: 2em; }
.page .notice-box { background: var(--amber-soft); color: var(--amber-dark); border-radius: 10px; padding: 14px 18px; }

/* WhatsApp support */
.btn-whatsapp { background: #128C4A; color: #fff; gap: 10px; }
.btn-whatsapp:hover { background: #0E7A40; color: #fff; }
.wa-icon { flex: none; }
.support { background: var(--green-soft); border-top: 1px solid var(--line); padding: 56px 0; }
.support-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.support h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-bottom: .35em; }
.support p { margin: 0; max-width: 620px; }
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 18px;
	border-radius: 999px; background: #128C4A; color: #fff; font-weight: 700; text-decoration: none;
	box-shadow: 0 6px 20px rgba(15, 27, 45, .25);
}
.wa-float:hover { background: #0E7A40; color: #fff; }
@media (max-width: 640px) {
	.wa-float { right: 14px; bottom: 14px; padding: 14px; }
	.wa-float-label { display: none; }
	.support-inner .btn { width: 100%; }
}
@media print { .wa-float { display: none; } }

/* Responsive */
@media (max-width: 960px) {
	.hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
	.cards-3, .steps, .timeline { grid-template-columns: 1fr 1fr; }
	.section { padding: 64px 0; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.cards-3, .steps, .timeline { grid-template-columns: 1fr; }
	.hero { padding: 48px 0 56px; }
	.notice-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-row .btn { width: 100%; }
	.mock-table th:nth-child(2), .mock-table td:nth-child(2) { display: none; }
	.mock-body { padding: 14px; }
	.mock-table td { white-space: normal; }
	.mock-table td:last-child { white-space: nowrap; }
	.mock-head { flex-wrap: wrap; }
	.btn { white-space: normal; text-align: center; }
	.mock-stats b { font-size: 1.1rem; }
}
