/* mindguru.net marketing site. Same tokens as the app (src/styles/tokens.css):
   cold white ground, neutral UI, lemon only on the one primary button per view. */
@font-face { font-family: "Gabarito"; src: url("/fonts/gabarito-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("/fonts/gabarito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F5F8FB;
  --card: #FFFFFF;
  --raised: #EEF2F7;
  --hair: rgba(19, 36, 58, .10);
  --ink: #13243A;
  --ink2: #44526A;
  --mute: #5B677D;
  --accent: #FFCF33;
  --accent-hover: #F7C51F;
  --link: #1F68B5;
  --o: #FFA94D; --ot: #FFEEDB;
  --b: #5DB8FF; --bt: #E1F1FF;
  --g: #5ED68E; --gt: #DFF7E7;
  --head: "Gabarito", system-ui, sans-serif;
  --body: "Onest", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--b); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--mute); }
.small { font-size: 14px; line-height: 1.5; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; text-wrap: balance; }
.h1 { font-size: 36px; line-height: 1.15; margin-bottom: 16px; }
.h2 { font-size: 28px; line-height: 1.2; margin-bottom: 24px; }
.lead { font-size: 18px; color: var(--ink2); margin: 0 0 24px; text-wrap: pretty; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--body); text-decoration: none; color: var(--ink); border: 1px solid transparent; white-space: nowrap; }
.btn.lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn.primary { background: var(--accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { background: var(--card); border-color: var(--hair); }
.btn.ghost:hover { background: var(--raised); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 10; background: rgba(245, 248, 251, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hair); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 700 20px/1 var(--head); }
.brand img { width: 40px; height: auto; }
.nav { display: flex; gap: 20px; margin-left: 8px; }
.nav a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.hdr-cta { display: flex; gap: 8px; margin-left: auto; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 48px; line-height: 1.08; margin-bottom: 20px; }
.phone { margin: 0; justify-self: center; width: 300px; border-radius: 36px; padding: 10px; background: var(--ink); box-shadow: 0 24px 48px rgba(19, 36, 58, .16); }
.phone img { border-radius: 28px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--bg); }
.phone.sm { width: 220px; border-radius: 30px; padding: 8px; }
.phone.sm img { border-radius: 23px; }

/* Sections */
.sec { padding: 64px 0; }
.sec.alt { background: var(--card); border-block: 1px solid var(--hair); }

.starts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.start { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 24px; background: var(--card); border: 1px solid var(--hair);
  text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.start:hover { border-color: rgba(19, 36, 58, .28); transform: translateY(-2px); }
.start strong { font: 700 18px/1.3 var(--head); }
.start span { color: var(--mute); font-size: 15px; line-height: 1.5; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { display: flex; flex-direction: column; align-items: flex-start; }
.step .phone { margin-bottom: 24px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bt); color: var(--ink);
  font: 700 16px/1 var(--head); margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink2); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 20px; border-radius: 24px; background: var(--card); border: 1px solid var(--hair); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.5; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 18px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 10px; border-left: 3px solid #0F6A35; border-bottom: 3px solid #0F6A35; transform: rotate(-45deg); }

.faq { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; padding: 18px 0; font: 600 17px/1.4 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--body); color: var(--mute); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--ink2); }

.cta { background: var(--card); border-top: 1px solid var(--hair); }

/* Pricing */
.plans { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--hair); }
.plan h2 { font-size: 20px; margin-bottom: 12px; }
.price { margin: 0 0 8px; }
.price strong { font: 700 32px/1 var(--head); }
.price span { color: var(--mute); }
.note { padding: 20px 24px; border-radius: 16px; background: var(--raised); margin-bottom: 32px; }
.note p { margin: 0 0 8px; }
.note p:last-child { margin: 0; }

.list { padding-left: 22px; }
.list li { margin-bottom: 8px; }

/* Legal documents from the hub */
.legal h2 { font-size: 22px; margin: 32px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td { border: 1px solid var(--hair); padding: 8px; text-align: left; vertical-align: top; }

/* Footer */
.ftr { padding: 56px 0 32px; border-top: 1px solid var(--hair); background: var(--bg); }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.ftr-brand p { margin: 12px 0 0; max-width: 340px; }
.ftr-h { font: 600 14px/1 var(--body); color: var(--mute); margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr ul a { color: var(--ink2); text-decoration: none; font-size: 15px; }
.ftr ul a:hover { color: var(--ink); text-decoration: underline; }
.ftr-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--mute); font-size: 14px; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 38px; }
  .starts, .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .plans { grid-template-columns: 1fr; }
  .step { align-items: center; text-align: center; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 32px 0 24px; }
  .hero h1 { font-size: 32px; }
  .h1 { font-size: 30px; }
  .h2 { font-size: 24px; }
  .sec { padding: 48px 0; }
  .starts, .cards { grid-template-columns: 1fr; }
  .hdr-cta .ghost { display: none; }
  .ftr-grid { grid-template-columns: 1fr; }
  .phone { width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .start { transition: none; }
  .start:hover { transform: none; }
}
