/* EATit site — colours mirror apps/ios/Packages/MenuAIDesignSystem (MenuAIColors.xcassets). */
:root {
  color-scheme: light dark;
  --brand: #5b5bd6;            /* brand (light) */
  --brand-secondary: #f4503c;  /* brandSecondary (light) — decorative only, not for text */
  --bg: #ffffff;               /* backgroundPrimary */
  --bg-alt: #f5f5f8;           /* backgroundSecondary */
  --text: #101019;             /* textPrimary */
  --text-muted: #5b5b66;       /* textSecondary */
  --separator: #e3e3e9;        /* separator */
  --plate: rgba(91, 91, 214, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #8b8bf0;
    --brand-secondary: #ff6a55;
    --bg: #0b0b10;
    --bg-alt: #15151c;
    --text: #f2f2f6;
    --text-muted: #a8a8b2;
    --separator: #2c2c36;
    --plate: rgba(139, 139, 240, 0.16);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--brand); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 720px; }

/* Header */
.site-header { border-bottom: 1px solid var(--separator); }
.site-header .wrap { display: flex; align-items: center; min-height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand svg { width: 36px; height: 36px; }
.mark-fork { fill: var(--brand); }
.mark-plate { fill: var(--plate); }
.mark-dot { fill: var(--brand-secondary); }

/* Landing */
.hero { padding: 3rem 0 4rem; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.lead {
  margin: 1rem auto 2rem;
  max-width: 30ch;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.4;
}
.badge-link { display: inline-block; border-radius: 10px; }
.badge-link img { display: block; height: 56px; width: auto; }
.shot {
  margin: 0;
  width: min(100%, 320px);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(16, 16, 25, 0.18);
}
@media (min-width: 760px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    justify-items: start;
    text-align: left;
  }
  .lead { margin-left: 0; }
  .shot { justify-self: center; }
}

/* Documents (privacy, terms, support) */
.doc { padding: 2rem 0 4rem; }
.doc h1 { font-size: 1.9rem; line-height: 1.25; margin: 0.5rem 0 0.25rem; letter-spacing: -0.01em; }
.doc h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.doc p, .doc li { max-width: 68ch; }
.muted { color: var(--text-muted); font-size: 0.9rem; }
.disclaimer {
  border: 1px solid var(--brand-secondary);
  border-left-width: 4px;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  margin: 1.25rem 0;
}

/* Footer */
.site-footer { border-top: 1px solid var(--separator); background: var(--bg-alt); }
.site-footer .wrap { padding-top: 1.5rem; padding-bottom: 2rem; }
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.site-footer a { display: inline-block; padding: 0.35rem 0; }
.site-footer a[aria-current="page"] { font-weight: 700; }
.site-footer p { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.9rem; }
