/* StatusGo site — colours from the app theme (teal #0D7377, amber #D97706). */
:root, html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1214; --bg-alt: #0f1a1c; --surface: #132124; --ink: #e8f4f2; --muted: #a7bdb9;
  --line: #22363a; --brand: #4db6ac; --brand-strong: #0d7377; --on-brand: #021b1a;
  --accent: #f0a63a; --header: rgba(11, 18, 20, .88); --shadow: 0 24px 60px rgba(0,0,0,.45);
  --glow: rgba(77, 182, 172, .22);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8f8; --bg-alt: #e9f3f2; --surface: #ffffff; --ink: #0f2224; --muted: #3f5a5c;
  --line: #d3e3e2; --brand: #0d7377; --brand-strong: #0d7377; --on-brand: #ffffff;
  --accent: #b45309; --header: rgba(245, 248, 248, .9); --shadow: 0 20px 50px rgba(13, 60, 62, .14);
  --glow: rgba(13, 115, 119, .16);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
html[data-lang="pt"] .en, html[data-lang="en"] .pt { display: none !important; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 1.25rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--ink); }
.controls { display: flex; align-items: center; gap: .5rem; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.seg button { border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; cursor: pointer; min-height: 32px; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.icon-btn { border: 1px solid var(--line); background: none; color: var(--ink); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
html[data-theme="dark"] .icon-btn .moon, html[data-theme="light"] .icon-btn .sun { display: none; }

.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 400px at 85% 30%, var(--glow), transparent 70%), radial-gradient(500px 360px at 5% 90%, rgba(240,166,58,.10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow { color: var(--brand); font-weight: 600; letter-spacing: .02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 0 0 1.1rem; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin: 0 0 1.25rem; letter-spacing: -.01em; }
h3 { font-size: 1.12rem; margin: .75rem 0 .4rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 0 0 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .7rem 1.3rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: #0d4f52; }
.is-disabled { opacity: .78; cursor: default; }
.fine { color: var(--muted); font-size: .92rem; margin-top: 1rem; }
.hero-phone { display: flex; justify-content: center; }
.phone { border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #263a3d, #0c1416); box-shadow: var(--shadow); max-width: 300px; }
.phone img { border-radius: 26px; width: 100%; }

.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); margin: -0.5rem 0 2rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--glow); color: var(--brand); }
.card-icon svg { width: 24px; height: 24px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.shots figure { margin: 0; }
.shots .phone { max-width: none; }
.shots figcaption { text-align: center; color: var(--muted); font-weight: 600; margin-top: .75rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.two-col p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding: .9rem 1rem .9rem 2.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.checks li::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 1.1rem; height: .6rem; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: .7rem; }
.steps strong { display: block; color: var(--ink); margin-bottom: .25rem; }
.download-band { background: linear-gradient(135deg, #0d7377, #08494c); color: #eafaf8; }
.download-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.download-inner > div { flex: 1 1 320px; }
.download-inner img { border-radius: 22px; }
.download-inner h2 { margin-bottom: .4rem; }
.download-inner p { margin: 0; color: #c5ebe7; }
details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
summary { cursor: pointer; font-weight: 600; min-height: 32px; }
details p { color: var(--muted); margin: .6rem 0 0; }
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; }
.footer-inner .brand img { border-radius: 7px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .controls { margin-left: auto; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-phone .phone { max-width: 250px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .shots { gap: .75rem; }
  .phone { padding: 6px; border-radius: 26px; }
  .phone img { border-radius: 20px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
