/* Estilo compartilhado das páginas legais do Akiboo (tema claro, como a tela de login). */
:root {
  --bg: #faf7f2;
  --surface: #fffdfa;
  --ink: #1a2030;
  --muted: #62677a;
  --line: #e6ddd3;
  --brand: #852b45;
  --brand-deep: #721d39;
  --brand-soft: #f6e7e2;
  --peach: #f6dcc4;
  --on-brand: #fdf9f3;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% -10%, color-mix(in srgb, var(--peach) 70%, transparent), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font: 16px/1.75 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { color: var(--brand-deep); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Cabeçalho */
header.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 11px; display: block; }
.brand .wordmark { width: auto; height: 24px; border-radius: 0; }
.top-actions { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang a { padding: 3px 11px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 13px; line-height: 1.6; }
.lang a[aria-current="true"] { background: var(--brand-deep); color: var(--on-brand); }
.app-link {
  text-decoration: none; font-weight: 600; color: var(--on-brand);
  background: var(--brand-deep); padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}
.app-link:hover { color: var(--on-brand); filter: brightness(1.1); }

/* Conteúdo */
main { max-width: 1120px; margin: auto; padding: 56px 24px 32px; }
.hero { display: flex; align-items: center; gap: 22px; }
.hero img { width: 84px; height: 84px; border-radius: 24px; box-shadow: 0 18px 40px -22px rgba(114, 29, 57, .7); flex: none; }
.eyebrow { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin: 0; }
h1, h2 { font-family: "Nunito", system-ui, sans-serif; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(32px, 5vw, 48px); margin: 6px 0; }
h2 { font-size: 23px; margin: 0 0 14px; }
.meta { color: var(--muted); font-size: 14px; margin: 0; }

.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; margin-top: 44px; }
nav.contents {
  position: sticky; top: 88px; align-self: start;
  border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--surface);
}
nav.contents strong { display: block; font-size: 14px; margin-bottom: 6px; }
nav.contents a { display: block; font-size: 13px; padding: 5px 0; text-decoration: none; color: var(--muted); line-height: 1.45; }
nav.contents a:hover { color: var(--brand); }

article section { scroll-margin-top: 88px; border-bottom: 1px solid var(--line); padding: 0 0 28px; margin: 0 0 32px; }
article section:last-child { border-bottom: 0; }
section p { margin: 0 0 12px; }
li { margin: 8px 0; }
.refs { margin-top: 8px; }

footer { border-top: 1px solid var(--line); padding: 28px 24px; text-align: center; font-size: 14px; color: var(--muted); }
footer nav a { margin: 0 10px; }
footer p { margin: 10px 0 0; }

@media (max-width: 760px) {
  main { padding: 32px 16px 24px; }
  header.top { padding: 10px 16px; }
  .brand .wordmark { height: 21px; }
  .app-link { display: none; }
  .hero { gap: 16px; }
  .hero img { width: 64px; height: 64px; border-radius: 18px; }
  .layout { grid-template-columns: 1fr; gap: 28px; }
  nav.contents { position: static; }
}

/* Account deletion steps (Google Play / App Store require a clear, linkable section) */
article h3 { font-family: "Nunito", system-ui, sans-serif; font-weight: 800; font-size: 18px; line-height: 1.3; margin: 24px 0 10px; scroll-margin-top: 88px; }
.steps { background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: 0 14px 14px 0; padding: 14px 18px 14px 14px; margin: 0 0 16px; }
.steps ol { margin: 0; padding-left: 22px; }
