/* macrofare.app: same palette as the app. Black, white and warm greys, with amber only for the
   underlined phrases and the logo. */

:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --text: #6B6B6B;
  --faint: #8E8E93;
  --hair: #E9E8E4;
  --fill: #F5F4F1;
  --accent: #F5A300;
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }
main { flex: 1; }

/* ─── Navigation ─────────────────────────────── */

.top-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; width: 100%; margin: 0 auto; padding: 22px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* ─── Home ───────────────────────────────────── */

.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  max-width: 1120px; width: 100%; margin: 0 auto; padding: 48px 24px 40px;
}
.hero h1 { font-size: clamp(44px, 6.4vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; }
.lede { font-size: 19px; line-height: 1.55; color: var(--text); margin-top: 20px; max-width: 30em; }
.note { font-size: 15px; color: var(--text); margin-top: 14px; }
.badges { margin-top: 30px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 20px 10px 16px;
}
.store-badge svg { width: 26px; height: 26px; fill: #fff; }
.store-badge.soon { background: var(--fill); color: var(--ink); }
.store-badge.soon svg { fill: var(--ink); }
.badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.badge-small { font-size: 11px; font-weight: 600; }
.badge-large { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }

.demo { background: linear-gradient(var(--fill), #fff 70%); border-radius: 32px; padding: 36px 28px 20px; }
.sentence { font-size: clamp(24px, 3vw, 31px); line-height: 1.3; font-weight: 700; letter-spacing: -0.03em; color: var(--faint); margin-bottom: 22px; }
.sentence u { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.answers { display: flex; flex-direction: column; gap: 10px; }
.answer {
  display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}
.answer.fade1 { opacity: 0.45; }
.answer.fade2 { opacity: 0.18; }
.answer-text { flex: 1; min-width: 0; }
.answer-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.answer-sub { font-size: 14px; color: var(--text); }
.tag { display: inline-block; margin-top: 6px; background: var(--fill); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; }
.answer-price { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }

.points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1120px; width: 100%; margin: 0 auto; padding: 24px 24px 72px;
}
.point { background: var(--fill); border-radius: var(--radius); padding: 24px; }
.point h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.point p { color: var(--text); font-size: 16px; line-height: 1.5; }

/* ─── Inner pages ────────────────────────────── */

.narrow { max-width: 720px; width: 100%; margin: 0 auto; padding: 40px 24px 80px; }
.narrow h1, .page-header h1 { font-size: clamp(34px, 5vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.04em; }
.meta { color: var(--text); margin-top: 10px; font-size: 16px; }

.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--fill); border-radius: var(--radius); padding: 26px; margin-top: 32px;
}
.contact-copy { flex: 1 1 280px; }
.contact-copy h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.contact-copy p { color: var(--text); font-size: 16px; margin-top: 4px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; border-radius: 16px; padding: 14px 22px;
}
.button:hover { background: #2a2a2a; }

.faq { margin-top: 44px; }
.faq h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--hair); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text); font-weight: 600; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text); margin-top: 10px; font-size: 16px; }

.legal h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin: 34px 0 8px; }
.legal p, .legal li { color: #333; font-size: 16px; line-height: 1.65; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 8px; }
.legal .meta { margin-bottom: 24px; }

.notfound { text-align: center; padding-top: 96px; }
.notfound .button { margin-top: 28px; }

/* ─── Footer ─────────────────────────────────── */

footer { text-align: center; color: var(--text); font-size: 14px; padding: 28px 24px 36px; border-top: 1px solid var(--hair); }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .sep { margin: 0 8px; color: var(--hair); }

/* ─── Phones ─────────────────────────────────── */

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 24px; }
  .points { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .top-nav { padding: 18px 16px; }
  .nav-links { gap: 14px; }
  .brand-name { display: none; }
  .hero, .points, .narrow { padding-left: 16px; padding-right: 16px; }
  .demo { padding: 26px 16px 14px; }
  .answer { padding: 14px 16px; }
}
