/* Quando website — same tokens as the apps (design/tokens.json): Bricolage Grotesque, ink + canvas, one orange. */
:root {
  --canvas: #edeff2;
  --surface: #ffffff;
  --ink: #121316;
  --muted: #5c616c;
  --line: rgba(18, 19, 22, 0.09);
  --accent: #ff4f1f;
  --accent-ink: #ffffff;
  --blue: #aac0ff;
  --blue-ink: #0e1b4d;
  --green: #8ee2c0;
  --green-ink: #053a28;
  --peach: #ffba91;
  --peach-ink: #4a1d04;
  --violet: #6d4aff;
  --violet-tint: #e6e1ff;
  --violet-ink: #2a1d6b;
  --shadow: 0 30px 80px rgba(30, 40, 70, 0.18), 0 2px 6px rgba(30, 40, 70, 0.08);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 28px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b0c10;
    --surface: #1a1c22;
    --ink: #f2f3f5;
    --muted: #8f94a0;
    --line: rgba(255, 255, 255, 0.08);
    --violet-tint: #2a2350;
    --violet-ink: #d6ceff;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 500 17px/1.5 var(--display);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font: 800 16px/1 var(--display); text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.ghost { background: var(--surface); color: var(--ink); }
.top .btn { height: 42px; padding: 0 18px; font-size: 14.5px; color: var(--accent-ink); }

/* ---------- hero ---------- */
.hero { padding-block: 72px 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(52px, 10vw, 128px);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.055em;
  text-wrap: balance;
}
.hero h1 span { color: var(--accent); display: block; }
.hero .lede { max-width: 34ch; margin: 26px 0 0; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4; color: var(--muted); font-weight: 500; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.platforms { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--muted); }

.stage { position: relative; margin-top: 64px; padding-bottom: 60px; }
.mac-frame {
  width: min(100%, 980px);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
  background: #2b2c31;
}
.mac-frame img { width: 100%; height: auto; }
.phone-frame {
  position: absolute; right: 0; bottom: 0;
  width: clamp(150px, 24vw, 280px);
  border-radius: 34px; overflow: hidden;
  border: 7px solid #121316;
  box-shadow: var(--shadow);
  background: #edeff2;
  transform: rotate(2.5deg);
}
@media (max-width: 720px) {
  .stage { padding-bottom: 120px; }
  .phone-frame { right: -6px; width: 42%; }
}

/* ---------- account strip ---------- */
.accounts { padding-block: 24px 8px; }
.accounts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.accounts li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--surface); font-weight: 800; font-size: 15px; }
.accounts .mono { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #fff; }
.accounts .soon { font-weight: 600; color: var(--muted); font-size: 13px; }

/* ---------- features ---------- */
.section { padding-block: 72px; }
.section h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; margin: 0; max-width: 16ch; text-wrap: balance; }
.section .sub { color: var(--muted); font-size: 19px; max-width: 52ch; margin: 16px 0 0; }

.grid { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card h3 { margin: 0; font-size: 28px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
@media (max-width: 900px) { .span-3, .span-2, .span-4 { grid-column: span 6; } }

/* mini UI pieces, drawn like the app */
.demo { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.ev { border-radius: 16px; padding: 12px 16px; font-weight: 800; }
.ev small { display: block; font-weight: 700; font-size: 12.5px; opacity: 0.75; }
.ev.blue { background: var(--blue); color: var(--blue-ink); }
.ev.green { background: var(--green); color: var(--green-ink); }
.ev.peach { background: var(--peach); color: var(--peach-ink); }
.free { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.free::before, .free::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.task { display: flex; align-items: center; gap: 12px; border: 1.5px solid #c46a3c; border-radius: 16px; padding: 10px 14px; font-weight: 800; background: var(--surface); }
.task::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8a3608; flex: none; }
.task small { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); }

.proposal { background: var(--violet-tint); color: var(--violet-ink); border-radius: 22px; padding: 18px; }
.proposal .who { font-size: 13px; font-weight: 800; }
.proposal .what { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.proposal q { display: block; font-size: 14px; margin-top: 4px; opacity: 0.85; }
.proposal .row { display: flex; gap: 8px; margin-top: 14px; }
.proposal .row span { flex: 1; text-align: center; border-radius: 999px; padding: 10px; font-weight: 800; font-size: 14px; background: var(--surface); color: var(--ink); }
.proposal .row span:first-child { background: var(--violet); color: #fff; }

.notif { display: flex; gap: 12px; align-items: flex-start; background: var(--canvas); border-radius: 20px; padding: 14px; }
.notif img { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.notif b { display: block; font-size: 15px; }
.notif span { color: var(--muted); font-size: 14px; }
.notif em { font-style: normal; margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-weight: 700; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><path d="M6.5 11.5l3 3 6-6.5" fill="none" stroke="white" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/22px no-repeat; }

.devices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.devices span { padding: 8px 14px; border-radius: 999px; background: var(--canvas); font-weight: 800; font-size: 14px; }
.devices span.later { color: var(--muted); font-weight: 600; }

/* ---------- promise ---------- */
.promise { background: var(--ink); color: var(--canvas); border-radius: 36px; padding: clamp(28px, 6vw, 64px); }
.promise h2 { color: var(--canvas); }
.promise .sub { color: color-mix(in srgb, var(--canvas) 70%, transparent); }
.promise .checks li { color: var(--canvas); }
.promise a.more { display: inline-block; margin-top: 28px; font-weight: 800; color: var(--accent); }

/* ---------- footer ---------- */
footer { padding-block: 48px 64px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; font-weight: 700; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { padding-block: 56px 40px; }
.legal article { background: var(--surface); border-radius: 32px; padding: clamp(24px, 5vw, 56px); max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); line-height: 0.95; letter-spacing: -0.045em; margin: 0; }
.legal .meta { color: var(--muted); font-weight: 700; margin: 14px 0 28px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 36px 0 8px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { line-height: 1.6; max-width: 68ch; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .callout { background: var(--canvas); border-radius: 20px; padding: 18px 20px; margin: 20px 0; }
.legal a { color: var(--accent); font-weight: 700; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal .table { overflow-x: auto; }
.legal code { overflow-wrap: anywhere; font-size: 0.92em; }
