/* Static pockado.app pages. Brand: coral CTA with dark text (white text fails WCAG contrast on coral). */
:root {
  --coral: #ff7b7b;
  --ink: #2c2c2e;
  --muted: #5f5f66;
  --line: #ececf0;
  --bg: #ffffff;
  --soft: #fff5f4;
  --radius: 16px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.top-right { display: flex; align-items: center; gap: 4px; }
.lang-mini { display: flex; }
.lang-mini a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 48px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; }
.lang-mini a:hover, .lang-mini a:focus-visible { color: var(--ink); text-decoration: underline; }
.lang-mini a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.lang-mini a:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; }
.brand img { width: 36px; height: 36px; }

/* Buttons (48px tap targets) */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { filter: brightness(0.96); }
.btn-ghost { border-color: var(--line); }
.btn:focus-visible, .foot a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Hero */
.hero { background: var(--soft); }
.hero .wrap { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.2fr 0.8fr; } }
.overline { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; margin: 0 0 16px; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; max-width: 38em; }
.note { font-size: 0.95rem; color: var(--muted); margin: 16px 0 0; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-logo { width: min(180px, 45vw); }
/* Maya's card: the app's hero illustration (MarketingHeroIllustration). */
.maya { position: relative; width: min(340px, 90vw); padding-bottom: 40px; text-align: left; }
.maya-card { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.maya-top { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.maya-name { font-weight: 700; flex: 1; }
.maya-balance { font-size: 1.6rem; font-weight: 800; text-align: right; line-height: 1.1; }
.maya-balance small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.maya-week { display: flex; justify-content: space-between; font-size: 0.85rem; margin-top: 14px; }
.maya-week span:last-child { color: var(--muted); }
.bar { height: 6px; border-radius: 3px; background: var(--line); margin: 6px 0 10px; overflow: hidden; }
.bar span { display: block; width: 75%; height: 100%; background: #2e9d5b; }
.maya ul { list-style: none; margin: 0; padding: 0; }
.maya li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; padding: 4px 0; }
.tick { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b9b9c0; flex: none; }
.done .tick, .maya-toast .tick { border-color: #2e9d5b; background: #2e9d5b radial-gradient(circle, #fff 0 2px, transparent 3px); }
.maya-toast { position: absolute; left: 24px; right: -12px; bottom: 0; display: flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 6px 18px rgba(0,0,0,0.2); }
.maya-toast strong { display: block; font-size: 0.9rem; }
.maya-toast small { display: block; font-size: 0.78rem; opacity: 0.8; }

/* Sections */
section { padding: 56px 0; }
/* Very narrow phones (320px): the logo alone, the link keeps its name through aria-label. */
@media (max-width: 359px) { .brand span { display: none; } }
/* Phones: less dead space around the hero and between blocks. */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero .wrap { padding-top: 24px; padding-bottom: 8px; gap: 20px; }
  .brand { font-size: 1.2rem; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .lang-mini a { min-width: 34px; }
  .top .btn { padding: 0 16px; }
  section { padding: 36px 0; }
  .maya { padding-bottom: 30px; }
  .top .wrap { min-height: 60px; }
}
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 32px; }
.center { text-align: center; }
.center .sub { max-width: 40em; margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.icon-box { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: #c9473f; align-items: center; justify-content: center; margin-bottom: 12px; }
.icon { width: 22px; height: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
ol.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; text-align: left; }
ol.steps li { counter-increment: step; position: relative; padding-left: 44px; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: var(--ink); font-weight: 800; align-items: center; justify-content: center; }
ol.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
ol.steps p { margin: 0; color: var(--muted); }
.cta { background: var(--soft); text-align: center; }
.cta p { color: var(--muted); margin: 0 0 24px; }

/* Legal pages */
.doc { padding: 40px 0 56px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { font-size: 1.3rem; margin-top: 32px; }
.doc h3 { font-size: 1.1rem; margin-top: 24px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.doc blockquote { margin: 16px 0; padding: 12px 18px; border-left: 4px solid var(--coral); background: var(--soft); border-radius: 8px; }
.doc blockquote p { margin: 0; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: #f4f4f6; padding: 1px 5px; border-radius: 4px; word-break: break-word; }
.table { overflow-x: auto; margin: 16px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #fafafb; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.95rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { display: inline-flex; align-items: center; min-height: 48px; }
