/* gravito.tech, in Resumo's look (2026-10-11): every page of the site shares
   this sheet. The colours are the app's own (lib/theme/app_theme.dart, light
   and dark, from the cobalt seed); the font is the phone's or computer's own,
   as in the app, so the site fetches nothing from any other server. */

:root {
  --canvas: #f3f3f8;
  --card: #ffffff;
  --line: rgba(195, 198, 209, 0.6);
  --ink: #1a1c1f;
  --muted: #43474f;
  --brand: #2c5bc0;
  --on-brand: #ffffff;
  --link: #2c5bc0;
  --chip: #e3ebfc;
  --chip-ink: #2c5bc0;
  --note: #eef3fd;
  /* The Gravito mark: Resumo's navy and cobalt (gravito-logo.svg). */
  --logo-main: #14213d;
  --logo-accent: #2c5bc0;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #121317;
    --card: #282a2e;
    --line: rgba(67, 71, 79, 0.6);
    --ink: #e2e2e7;
    --muted: #c3c6d1;
    --brand: #a7c8ff;
    --on-brand: #003060;
    --link: #a7c8ff;
    --chip: #3a475e;
    --chip-ink: #d1dbff;
    --note: #1f2a40;
    --logo-main: #e2e2e7;
    --logo-accent: #a7c8ff;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: var(--link);
  text-underline-offset: 2px;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 16px 40px;
}

.page.wide {
  max-width: 960px;
}

/* The bar at the top: the name on the left, one link on the right. */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
}

.mark img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo {
  display: block;
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.logo-m {
  fill: var(--logo-main);
}

.logo-a {
  fill: var(--logo-accent);
}

.intro .logo {
  height: 96px;
  margin: 0 auto 18px;
}

.bar .nav {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.bar .nav:hover,
.mark:hover span {
  text-decoration: underline;
}

/* A card, as the app groups everything. */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}

h2 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 28px 0 8px;
  font-weight: 650;
}

.card > h2:first-child {
  margin-top: 0;
}

h3 {
  font-size: 1rem;
  margin: 0 0 4px;
  font-weight: 650;
}

p,
ul {
  margin: 0 0 12px;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 20px;
}

li + li {
  margin-top: 6px;
}

.muted {
  color: var(--muted);
}

.date {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

/* An app's opening: icon, name, line. */
.hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
}

.tagline {
  color: var(--muted);
  margin: 4px 0 0;
}

/* The company's opening on the home page. */
.intro {
  text-align: center;
  padding: 36px 20px;
}

.intro h1 {
  font-size: 2.1rem;
}

.intro .lead {
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 8px auto 12px;
}

.intro p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.chips li {
  margin: 0;
  background: var(--chip);
  color: var(--chip-ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Cards side by side where there is room, stacked on a phone. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.grid .card {
  margin-top: 0;
}

.grid .card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Buttons: filled for the one action, outlined for the store links. */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  background: var(--brand);
  color: var(--on-brand);
}

.btn.outline {
  background: transparent;
  color: var(--link);
  border: 1px solid var(--line);
}

.btn:hover {
  filter: brightness(1.08);
}

.center {
  text-align: center;
}

/* The tinted panel the app uses for a note. */
.note {
  background: var(--note);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 12px;
}

/* Questions, divided as the app divides rows in a card. */
.faq > div + div {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 28px;
}

footer a {
  color: var(--muted);
}
