/* ============================================================
   BrainzieMeetflow — LANDING PAGE STARTER STYLES
   A brand-neutral, single-file design system for the optional
   marketing landing page. Rebrand by editing the tokens in
   :root — colours, fonts, radius. No build step, no framework.
   ============================================================ */

:root {
  /* ---- Brand (set at scaffold time from the Q&A; derived shades via color-mix) ---- */
  --brand:       #D81B72;                              /* primary — actions, accents */
  --brand-deep:  color-mix(in srgb, var(--brand) 84%, black);  /* hover / pressed            */
  --brand-tint:  color-mix(in srgb, var(--brand) 12%, white);  /* soft fills, badges         */
  --accent:      #6D28D9;                             /* a second hue for variety   */

  /* ---- Neutrals (ink + surface + background from the Q&A; the rest derived) ---- */
  --ink:      #18122B;
  --paper:    #FFFFFF;
  --paper-2:  #FDFBFE;
  --ink-soft: color-mix(in srgb, var(--ink) 72%, var(--paper));
  --muted:    color-mix(in srgb, var(--ink) 48%, var(--paper));
  --line:     color-mix(in srgb, var(--ink) 10%, var(--paper));

  /* ---- Type ---- */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- Shape & depth ---- */
  --radius:   16px;
  --radius-s: 10px;
  --shadow:   0 20px 54px -24px rgba(17,24,39,.32);
  --shadow-s: 0 10px 26px -16px rgba(17,24,39,.28);
  --maxw: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.14; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--ink-soft); }

.wrap { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }
section { padding: 88px 0; }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1.6px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-lg { padding: 15px 30px; font-size: 1.06rem; }

header.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.03em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 36px; height: 36px; border-radius: 9px; background: var(--brand); color:#fff; display:grid; place-items:center; font-weight:700; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-family: var(--font-display); color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--brand-deep); text-decoration: none; }

.hero { position: relative; overflow: hidden; background: var(--paper-2); padding: 100px 0 84px; }
.hero::after { content:""; position:absolute; right:-150px; top:-140px; width:460px; height:460px; border-radius:50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, transparent), transparent 65%); pointer-events:none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.22rem; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-art { display:grid; place-items:center; }
.hero-art .panel { width:100%; aspect-ratio: 4/3; border-radius: 20px; background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 120%); box-shadow: var(--shadow); display:grid; place-items:center; color:#fff; font-family:var(--font-display); font-weight:700; font-size:1.4rem; opacity:.96; }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 46px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-s); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display:grid; place-items:center; margin-bottom: 16px; background: var(--brand-tint); color: var(--brand-deep); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; }

.ctaband { background: var(--ink); color: #fff; border-radius: 24px; padding: 56px 42px; text-align:center; }
.ctaband h2 { color:#fff; margin-bottom: 10px; }
.ctaband p { color: rgba(255,255,255,.82); max-width: 54ch; margin: 0 auto 24px; }
.btn-on-dark { background:#fff; color: var(--ink); }
.btn-on-dark:hover { background: var(--brand-tint); }

/* Contact form (contact.html) */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow-s); max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { min-height: 130px; resize: vertical; }
.turnstile-slot:empty { display: none; }
.form-status { font-size: .92rem; font-weight: 500; }
.form-status.ok { color: var(--brand-deep); }
.form-status.err { color: #c1124a; }

footer { background: var(--ink); color: #C7CCD8; padding: 46px 0 28px; }
.foot-grid { display:flex; justify-content:space-between; gap:28px; flex-wrap:wrap; align-items:center; }
.foot-brand { display:flex; align-items:center; gap:10px; color:#fff; font-family:var(--font-display); font-weight:700; }
.foot-note { width:100%; border-top:1px solid rgba(255,255,255,.12); margin-top:24px; padding-top:18px; font-size:.84rem; color: var(--muted); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align:center; }
  .hero-cta { justify-content:center; }
  .hero-art { order:-1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .nav-links { display:none; }
}
@media (max-width: 560px) {
  section { padding: 58px 0; }
  .cards { grid-template-columns: 1fr; }
}
