/* Jabuti Labs. Colours from the red-footed tortoise (jabuti-piranga): a dark shell,
   amber scutes and red-orange legs, on warm paper. */

:root {
	--bg: #fbf7f0;
	--surface: #ffffff;
	--sunk: #f3ede2;
	--ink: #211e18;
	--muted: #6b6458;
	--line: #e7dfd1;
	--accent: #d9481f;
	--accent-ink: #ffffff;
	--amber: #f2a93b;
	--skin: #e4572e;
	--shell: #26231c;
	--eye: #26231c;
	--screen: #0d0d0c;
	--shadow: 0 1px 2px rgba(33, 30, 24, .06), 0 12px 32px rgba(33, 30, 24, .10);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #14130f;
		--surface: #1d1b16;
		--sunk: #1a1814;
		--ink: #f3eee5;
		--muted: #a49b8c;
		--line: #312c24;
		--accent: #ff7a50;
		--accent-ink: #1b0d07;
		--shell: #8a7d63;
		--eye: #14130f;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
		color-scheme: dark;
	}
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* the tortoise */
.logo { width: 36px; height: 36px; flex: none; }
.logo__skin { fill: var(--skin); }
.logo__eye { fill: var(--eye); }
.logo__shell { fill: var(--shell); }
.logo__scute { fill: var(--amber); }

/* the flag, next to "Made in Brazil" */
.flag { width: 22px; height: 15px; flex: none; display: inline-block; vertical-align: -2px; border-radius: 2px; }
.made { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow.made { text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--ink); font-weight: 600; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.top__nav { display: flex; align-items: center; gap: 22px; font-size: .97rem; }
.top__nav a { color: var(--muted); text-decoration: none; }
.top__nav a:hover, .top__nav a[aria-current] { color: var(--ink); }
.top__nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.top__nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }

/* sections */
main { display: block; }
.section { padding-top: 56px; padding-bottom: 8px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow__icon { width: 28px; height: 28px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: .95rem; }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 22px; border-radius: 999px;
	background: var(--accent); color: var(--accent-ink);
	font-weight: 650; text-decoration: none; border: 1px solid transparent;
}
.btn:hover { filter: brightness(1.06); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* home */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 24px; }
.hero__art { display: flex; justify-content: center; }
.hero__art .logo { width: min(340px, 80%); height: auto; filter: drop-shadow(0 18px 30px rgba(33, 30, 24, .18)); }
.sun { position: relative; }
.sun::before { content: ""; position: absolute; inset: 6% 12% 22% 12%; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .35), rgba(242, 169, 59, 0) 70%); }

.app-card {
	display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center;
	padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
	color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
}
.app-card:hover { border-color: var(--muted); text-decoration: none; }
.app-card img { width: 96px; height: 96px; }
.app-card h3 { font-size: 1.35rem; margin-bottom: .3em; }
.app-card p { color: var(--muted); margin-bottom: .6em; }
.app-card .more { color: var(--accent); font-weight: 600; }
.after-card { margin-top: 18px; }
.app-list { display: grid; gap: 16px; }
.badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--sunk); color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.about > * { max-width: 46em; }

/* app page */
.hero--app { display: block; padding-top: 64px; }
.hero--app .hero__text { max-width: 46em; }
.tv { margin: 44px auto 0; max-width: 980px; }
.tv__screen { border: 12px solid #111; border-bottom-width: 16px; border-radius: 16px; background: var(--screen); box-shadow: var(--shadow); overflow: hidden; }
.tv::after { content: ""; display: block; width: 26%; height: 10px; margin: 0 auto; border-radius: 0 0 10px 10px; background: #2a2a2a; }

.how { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 26px 58px; }
.steps li::before {
	content: counter(step); position: absolute; left: 0; top: -2px;
	width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
	background: var(--amber); color: #26231c; font-weight: 700;
}
.steps b { display: block; font-size: 1.1rem; margin-bottom: 2px; }
.mac { margin: 44px auto 0; max-width: 980px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.phone { margin: 0; border: 9px solid #111; border-radius: 38px; overflow: hidden; background: #0b0b0b; box-shadow: var(--shadow); }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.features li { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .97rem; }
.features b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots img { border-radius: 10px; border: 1px solid var(--line); }
.shots figcaption { color: var(--muted); font-size: .92rem; margin-top: 10px; }

.price-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.price-strip > div { max-width: 40em; }
.price-strip p { margin: 0; }
.panel { margin-top: 56px; padding: 32px; border-radius: 24px; background: var(--sunk); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* pricing */
.plan { padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.plan__head img { width: 64px; height: 64px; }
.plan__head h2 { margin: 0; }
.plan__head p { margin: 0; color: var(--muted); }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tier { padding: 24px; border-radius: 18px; border: 1px solid var(--line); }
.tier--main { border: 2px solid var(--accent); }
.tier h3 { color: var(--muted); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.amount { font-size: 2rem; font-weight: 750; letter-spacing: -.02em; margin: 0; }
.amount span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.amount-alt { color: var(--muted); margin: 2px 0 0; }
.tier ul { margin: 16px 0 0; padding-left: 1.2em; color: var(--muted); }
.tier-note { padding: 8px 4px; color: var(--muted); align-self: center; }
.tier-note p:last-child { margin-bottom: 0; }
.tier li { margin-bottom: 6px; }

/* legal pages */
.doc > * { max-width: 760px; }
.doc-hero { padding-top: 64px; }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc h3 { margin-top: 1.4em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .5em; }
.updated { color: var(--muted); font-size: .95rem; }
.callout { padding: 18px 22px; border-radius: 16px; background: var(--sunk); border-left: 4px solid var(--amber); margin: 1.4em 0; }
.callout p:last-child { margin-bottom: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.6em; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.table-wrap { overflow-x: auto; }

/* footer */
.foot { margin-top: 88px; border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: .95rem; }
.foot__in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot__brand { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.foot__brand b { color: var(--ink); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; }
.foot__nav a { color: var(--muted); }
.foot__small { margin-top: 26px; color: var(--muted); font-size: .85rem; }

@media (max-width: 760px) {
	.wrap { padding: 0 16px; }
	.hero { grid-template-columns: 1fr; padding-top: 40px; gap: 8px; }
	.hero__art { order: -1; justify-content: flex-start; }
	.hero__art .logo { width: 150px; }
	.sun::before { display: none; }
	.app-card { align-items: start; }
	.how { grid-template-columns: 1fr; }
	.phone { max-width: 260px; }
	.shots { grid-template-columns: 1fr; }
	.tiers { grid-template-columns: 1fr; }
	.price-strip { flex-direction: column; align-items: flex-start; }
	.app-card { grid-template-columns: 64px 1fr; padding: 20px; gap: 16px; }
	.app-card img { width: 64px; height: 64px; }
	.plan, .panel { padding: 22px; }
	.tv__screen { border-width: 6px; border-bottom-width: 9px; border-radius: 10px; }
	.top__nav { gap: 16px; }
	.table thead { display: none; }
	.table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.table td { display: block; padding: 3px 0; border: 0; }
	.table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
	.table td:first-child { font-weight: 650; }
	.table td:first-child::before { display: none; }
	.section { padding-top: 44px; }
}
