/* Galah brand — shared CSS for info pages, blog, and other content surfaces.
   Marketplace (app.html) keeps its own dark UI. */

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

:root {
  --rose: #D13F6A;
  --rose-dark: #B03060;
  --rose-light: #F080A8;
  --rose-50: #fff5f8;
  --paper: #fdfbf7;
  --paper-2: #f9f4eb;
  --ink: #1a1a26;
  --ink-2: #3a3f4f;
  --ink-3: #6b7080;
  --line: #ece7df;
  --line-2: #ddd2b8;
  --accent: #0d4f86;
  --accent-50: #e7f0fa;
  --good: #088a52;
  --good-50: #e6f7ee;
  --warn: #c47200;
  --warn-50: #fdf3e0;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Lora', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --shadow-sm: 0 2px 8px rgba(20,20,30,.04);
  --shadow: 0 8px 24px rgba(20,20,30,.06);
  --shadow-lg: 0 18px 48px rgba(20,20,30,.08);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* ─── Top nav ─── */
.gnav { position: sticky; top: 0; z-index: 100; background: rgba(253,251,247,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.gnav-inner { max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 18px; }
.gnav-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; font-size: 18px; }
.gnav-brand:hover { text-decoration: none; }
.gnav-bird { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--rose), var(--rose-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(209,63,106,.3); }
.gnav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.gnav-brand-name { font-weight: 800; letter-spacing: -.3px; }
.gnav-brand-sub { font-size: 11px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.gnav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 14px; font-weight: 600; }
.gnav-links a { color: var(--ink-2); text-decoration: none; transition: color .15s; }
.gnav-links a:hover { color: var(--rose); }
.gnav-links a[aria-current="page"] { color: var(--rose); }
.gnav-cta { background: var(--rose); color: #fff !important; padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 700; transition: all .2s; }
.gnav-cta:hover { background: var(--rose-dark); text-decoration: none !important; transform: translateY(-1px); }
.gnav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; margin-left: auto; }
.gnav-burger span { width: 22px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }
.gnav-mobile { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--line); padding: 14px 20px; gap: 6px; }
.gnav-mobile a { color: var(--ink-2); font-weight: 600; font-size: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gnav-mobile a:last-child { border-bottom: 0; }
.gnav-mobile a.gnav-cta { background: var(--rose); color: #fff !important; text-align: center; padding: 11px 20px; border-radius: 8px; border: 0; margin-top: 8px; }

@media (max-width: 780px) {
  .gnav-links { display: none; }
  .gnav-burger { display: flex; }
  .gnav-mobile.open { display: flex; }
}

/* ─── Footer ─── */
.gfooter { background: #0c1119; color: #a4adbe; padding: 48px 20px 24px; margin-top: 80px; }
.gfooter-inner { max-width: 1100px; margin: 0 auto; }
.gfooter-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.gfooter-brand { font-weight: 800; color: #fff; font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gfooter-bird { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--rose), var(--rose-light)); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.gfooter-tag { font-size: 13px; line-height: 1.7; max-width: 300px; color: #8b94a8; margin-bottom: 18px; }
.gfooter h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.gfooter a { color: #a4adbe; font-size: 14px; text-decoration: none; display: block; padding: 5px 0; transition: color .2s; }
.gfooter a:hover { color: #fff; }
.gfooter-base { padding-top: 24px; border-top: 1px solid #1f2535; font-size: 12px; color: #6b7286; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gfooter-social { display: flex; gap: 10px; }
.gfooter-social a { width: 34px; height: 34px; border-radius: 8px; background: #1a212f; display: flex; align-items: center; justify-content: center; color: #a4adbe; padding: 0; }
.gfooter-social a:hover { background: var(--rose); color: #fff; }
@media (max-width: 780px) { .gfooter-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .gfooter-grid { grid-template-columns: 1fr; } }

/* ─── Common page sections ─── */
.gp-hero { padding: 64px 20px 36px; background: linear-gradient(180deg, #fff 0, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.gp-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.gp-kicker { display: inline-block; color: var(--rose); font-weight: 800; letter-spacing: 1.5px; font-size: 12px; text-transform: uppercase; margin-bottom: 18px; }
.gp-hero h1 { font-size: clamp(32px, 5.5vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-bottom: 18px; color: var(--ink); }
.gp-hero p { font-size: 18px; color: var(--ink-3); line-height: 1.6; max-width: 600px; margin: 0 auto; }
.gp-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.gp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; transition: all .2s; border: 0; cursor: pointer; }
.gp-btn-primary { background: var(--rose); color: #fff; box-shadow: 0 4px 14px rgba(209,63,106,.25); }
.gp-btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); text-decoration: none; box-shadow: 0 6px 20px rgba(209,63,106,.35); }
.gp-btn-ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.gp-btn-ghost:hover { border-color: var(--rose); color: var(--rose); text-decoration: none; }

.gp-section { padding: 72px 20px; }
.gp-section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gp-section.cream { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gp-inner { max-width: 1100px; margin: 0 auto; }
.gp-inner-narrow { max-width: 760px; margin: 0 auto; }
.gp-eyebrow { display: block; color: var(--rose); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.gp-h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.18; letter-spacing: -.6px; color: var(--ink); margin-bottom: 14px; }
.gp-h3 { font-size: clamp(20px, 2.5vw, 24px); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.gp-lead { font-size: 18px; color: var(--ink-3); line-height: 1.65; max-width: 620px; }
.gp-text { color: var(--ink-2); font-size: 16px; line-height: 1.75; }

/* Cards & grids */
.gp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px) { .gp-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gp-grid-3, .gp-grid-2 { grid-template-columns: 1fr; gap: 18px; } }

.gp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.gp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gp-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--rose-50); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; color: var(--rose); }
.gp-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.gp-card p { color: var(--ink-3); font-size: 15px; line-height: 1.7; }

/* Steps */
.gp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gp-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; position: relative; }
.gp-step-n { font-family: var(--mono); font-size: 11px; color: var(--rose); letter-spacing: 1px; font-weight: 700; margin-bottom: 14px; }
.gp-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.gp-step p { color: var(--ink-3); font-size: 14px; line-height: 1.65; }
@media (max-width: 880px) { .gp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gp-steps { grid-template-columns: 1fr; } }

/* FAQ */
.gp-faq { display: flex; flex-direction: column; gap: 12px; }
.gp-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.gp-faq-item[open] { border-color: rgba(209,63,106,.25); box-shadow: var(--shadow-sm); }
.gp-faq-item summary { padding: 18px 22px; font-weight: 700; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gp-faq-item summary::-webkit-details-marker { display: none; }
.gp-faq-item summary::after { content: '+'; font-size: 22px; color: var(--rose); font-weight: 400; transition: transform .2s; flex-shrink: 0; }
.gp-faq-item[open] summary::after { transform: rotate(45deg); }
.gp-faq-body { padding: 0 22px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.gp-faq-body p { margin: 0 0 .8em; }
.gp-faq-body p:last-child { margin-bottom: 0; }
.gp-faq-body ul { margin: .6em 0 .6em 22px; }

/* Lists */
.gp-checklist { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.gp-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.gp-checklist li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--good-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23088a52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); background-repeat: no-repeat; background-position: center; }

.gp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.gp-pill.rose { background: var(--rose-50); color: var(--rose); }
.gp-pill.good { background: var(--good-50); color: var(--good); }
.gp-pill.accent { background: var(--accent-50); color: var(--accent); }

/* CTA band */
.gp-cta { padding: 80px 20px; }
.gp-cta-inner { max-width: 920px; margin: 0 auto; background: linear-gradient(135deg, var(--rose-50), #fff); border: 1px solid rgba(209,63,106,.18); border-radius: 24px; padding: 56px 40px; text-align: center; }
.gp-cta-inner h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--ink); margin-bottom: 12px; letter-spacing: -.5px; }
.gp-cta-inner p { font-size: 17px; color: var(--ink-3); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .gp-cta-inner { padding: 36px 22px; } }

/* Stats strip */
.gp-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gp-stat { padding: 28px 22px; border-right: 1px solid var(--line); text-align: center; }
.gp-stat:last-child { border-right: 0; }
.gp-stat-num { font-family: var(--mono); font-size: 32px; font-weight: 800; color: var(--rose); letter-spacing: -.5px; line-height: 1; margin-bottom: 8px; }
.gp-stat-lbl { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
@media (max-width: 780px) { .gp-stats { grid-template-columns: 1fr 1fr; } .gp-stat { border-right: 0; border-bottom: 1px solid var(--line); } .gp-stat:nth-child(2) { border-right: 1px solid var(--line); } .gp-stat:last-child { border-bottom: 0; } }

/* Tables */
.gp-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.gp-table th { text-align: left; padding: 14px 18px; background: var(--paper-2); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .3px; text-transform: uppercase; }
.gp-table td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--ink-2); }
.gp-table tr:nth-child(even) td { background: rgba(255,255,255,.5); }
@media (max-width: 700px) { .gp-table { font-size: 14px; display: block; overflow-x: auto; } }

/* Misc */
.gp-divider { height: 1px; background: var(--line); margin: 32px 0; }
