/* ──────────────────────────────────────────────────────────────────
 * Meeto — shared styling for content sub-pages (about, blog, contact,
 * faq, privacy, terms). Extends landing.css (loaded first).
 * ────────────────────────────────────────────────────────────────── */

/* keep page footer pinned to bottom on short pages */
body { display:flex; flex-direction:column; min-height:100vh; }
main.page { flex:1 0 auto; }

/* ───────── page hero / banner ───────── */
.page-hero { position:relative; overflow:hidden; padding:clamp(56px,8vw,104px) 0 clamp(40px,5vw,64px); text-align:center; background:var(--grad-soft); border-bottom:1px solid var(--line); }
.page-hero .blob { opacity:.55; }
.page-hero .blob-a { width:480px; height:480px; right:-140px; top:-180px; background:radial-gradient(circle,#F7C9EC,transparent 70%); }
.page-hero .blob-b { width:420px; height:420px; left:-160px; top:-120px; background:radial-gradient(circle,#CBD8FB,transparent 70%); }
.page-hero .ph-in { position:relative; z-index:2; max-width:760px; margin:0 auto; }
.page-hero .ph-in > .eyebrow { white-space:nowrap; }
.page-hero h1 { font-family:var(--brand); font-weight:900; font-size:clamp(34px,5vw,56px); letter-spacing:-.03em; line-height:1.04; }
.page-hero .lead { margin:20px auto 0; font-size:clamp(16px,1.6vw,19px); color:var(--ink-2); line-height:1.55; max-width:34em; }
.page-hero .crumbs { display:flex; align-items:center; justify-content:center; gap:8px; font-size:13px; font-weight:600; color:var(--ink-3); margin-bottom:22px; white-space:nowrap; }
.page-hero .crumbs a:hover { color:var(--purple); }
.page-hero .crumbs svg { opacity:.5; }

/* ───────── generic content section ───────── */
.section { padding:clamp(48px,7vw,88px) 0; }
.section.tight { padding:clamp(36px,5vw,60px) 0; }
.section.alt { background:var(--bg-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* ───────── prose ───────── */
.prose { max-width:720px; margin:0 auto; }
.prose h2 { font-size:clamp(24px,3vw,34px); font-weight:900; margin:0 0 16px; }
.prose h3 { font-size:20px; font-weight:800; margin:32px 0 10px; }
.prose p { font-size:16.5px; color:var(--ink-2); line-height:1.7; margin:0 0 16px; }
.prose ul { margin:0 0 16px; padding-left:0; list-style:none; display:flex; flex-direction:column; gap:11px; }
.prose ul li { position:relative; padding-left:26px; font-size:16px; color:var(--ink-2); line-height:1.6; }
.prose ul li::before { content:""; position:absolute; left:4px; top:9px; width:8px; height:8px; border-radius:50%; background:var(--grad); }
.prose strong { color:var(--ink); font-weight:700; }

/* ───────── about: mission ───────── */
.mission { display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,5vw,72px); align-items:center; }
.mission .lead-big { font-family:var(--brand); font-weight:800; font-size:clamp(22px,2.6vw,30px); line-height:1.35; letter-spacing:-.01em; }
.mission .lead-big .grad-text { font-weight:900; }
.mission p.body { margin-top:18px; font-size:16px; color:var(--ink-2); line-height:1.65; }
.mission .m-visual { aspect-ratio:4/3.4; border-radius:24px; background:var(--grad); position:relative; overflow:hidden; box-shadow:var(--shadow-lg); display:grid; place-items:center; }
.mission .m-visual .glyph { width:46%; opacity:.96; filter:drop-shadow(0 12px 30px rgba(0,0,0,.18)); }
.mission .m-visual .mv-blob { position:absolute; border-radius:50%; filter:blur(40px); }
.mission .m-visual .mv1 { width:240px; height:240px; background:rgba(255,255,255,.28); top:-60px; right:-40px; }
.mission .m-visual .mv2 { width:200px; height:200px; background:rgba(47,91,234,.5); bottom:-60px; left:-30px; }

/* values reuse .gcard but give icons consistent treatment */
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }

/* stats band */
.statband { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.statband .st-n { font-family:var(--brand); font-weight:900; font-size:clamp(34px,4.4vw,52px); line-height:1; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.statband .st-l { margin-top:10px; font-size:14.5px; color:var(--ink-2); font-weight:600; }

/* team */
.team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.member { text-align:center; }
.member .ph { width:100%; aspect-ratio:1; border-radius:20px; overflow:hidden; position:relative; box-shadow:var(--shadow-card); }
.member .ph .av-grad { position:absolute; inset:0; }
.member .ph .initials { position:absolute; inset:0; display:grid; place-items:center; font-family:var(--brand); font-weight:900; font-size:34px; color:#fff; letter-spacing:.02em; }
.member .nm { font-family:var(--brand); font-weight:800; font-size:16px; margin-top:14px; }
.member .rl { font-size:13px; color:var(--ink-3); margin-top:3px; }

/* ───────── blog ───────── */
.blog-featured { display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(28px,4vw,48px); align-items:center; margin-bottom:clamp(40px,6vw,64px); }
.blog-featured .cover { aspect-ratio:16/11; border-radius:22px; position:relative; overflow:hidden; box-shadow:var(--shadow-lg); }
.blog-featured .cover .gw { position:absolute; inset:0; }
.blog-featured .cover .glyph { position:absolute; inset:0; margin:auto; width:34%; opacity:.95; }
.cat { display:inline-flex; align-items:center; gap:6px; font-family:var(--brand); font-weight:800; font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; color:var(--purple); background:#fff; border:1px solid rgba(123,54,210,.2); border-radius:999px; padding:5px 11px; }
.blog-featured h2 { font-size:clamp(26px,3.2vw,38px); font-weight:900; margin:16px 0 14px; line-height:1.1; }
.blog-featured p { font-size:16px; color:var(--ink-2); line-height:1.6; }
.post-meta { display:flex; align-items:center; gap:12px; margin-top:18px; font-size:13px; color:var(--ink-3); font-weight:600; }
.post-meta .sep { width:4px; height:4px; border-radius:50%; background:var(--line-2); }
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.post-card { background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden; box-shadow:var(--shadow-card); transition:transform .18s var(--ease), box-shadow .25s var(--ease); display:flex; flex-direction:column; }
.post-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.post-card .pc-cover { aspect-ratio:16/9; position:relative; overflow:hidden; }
.post-card .pc-cover .gw { position:absolute; inset:0; }
.post-card .pc-body { padding:20px 20px 22px; display:flex; flex-direction:column; flex:1; }
.post-card h3 { font-size:18.5px; font-weight:800; line-height:1.25; margin:13px 0 9px; }
.post-card p { font-size:14px; color:var(--ink-2); line-height:1.55; flex:1; }
.post-card .post-meta { margin-top:16px; font-size:12px; }

/* ───────── contact ───────── */
.contact-grid { display:grid; grid-template-columns:1fr .85fr; gap:clamp(32px,5vw,60px); align-items:start; }
.form-card { background:#fff; border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow-card); padding:clamp(26px,3vw,38px); }
.field { margin-bottom:18px; }
.field label { display:block; font-family:var(--brand); font-weight:700; font-size:13.5px; color:var(--ink); margin-bottom:8px; }
.field input, .field textarea, .field select { width:100%; font-family:var(--serif); font-size:15px; color:var(--ink); background:var(--bg); border:1px solid var(--line-2); border-bottom-width:2px; border-bottom-color:var(--ink-3); border-radius:10px; padding:12px 14px; transition:border-color .15s, box-shadow .15s; }
.field textarea { resize:vertical; min-height:130px; line-height:1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color:var(--purple); border-bottom-color:var(--purple); box-shadow:0 0 0 3px rgba(123,54,210,.12); }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-card .btn-grad { width:100%; margin-top:6px; }
.form-note { margin-top:14px; font-size:12.5px; color:var(--ink-3); text-align:center; line-height:1.5; }
.form-success { display:none; flex-direction:column; align-items:center; text-align:center; gap:14px; padding:30px 10px; }
.form-success.show { display:flex; animation:popUp .4s var(--ease) both; }
@keyframes popUp { from { opacity:0; transform:scale(.94); } to { opacity:1; transform:none; } }
.form-success .chk { width:72px; height:72px; border-radius:50%; background:var(--grad); display:grid; place-items:center; box-shadow:0 12px 26px -10px rgba(123,54,210,.5); }
.form-success h3 { font-size:22px; font-weight:900; }
.form-success p { color:var(--ink-2); font-size:15px; line-height:1.55; max-width:24em; }

.contact-methods { display:flex; flex-direction:column; gap:16px; }
.cm-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px; display:flex; gap:15px; align-items:flex-start; box-shadow:var(--shadow-card); }
.cm-card .cm-ic { width:46px; height:46px; flex:0 0 auto; border-radius:13px; background:var(--grad-soft); display:grid; place-items:center; }
.cm-card .cm-ic svg { color:var(--purple); }
.cm-card h4 { font-family:var(--brand); font-weight:800; font-size:16px; margin:0 0 4px; }
.cm-card p { font-size:13.5px; color:var(--ink-3); line-height:1.5; margin:0; }
.cm-card a.cm-link { display:inline-block; margin-top:7px; font-family:var(--brand); font-weight:800; font-size:14px; }

/* ───────── faq ───────── */
.faq-wrap { max-width:780px; margin:0 auto; }
.faq-cat { font-family:var(--brand); font-weight:900; font-size:15px; color:var(--ink); text-transform:uppercase; letter-spacing:.05em; margin:38px 0 14px; display:flex; align-items:center; gap:10px; }
.faq-cat:first-child { margin-top:0; }
.faq-cat .ic { width:30px; height:30px; border-radius:9px; background:var(--grad-soft); display:grid; place-items:center; }
.faq-cat .ic svg { color:var(--purple); }
.faq-item { border:1px solid var(--line); border-radius:16px; background:#fff; margin-bottom:12px; overflow:hidden; transition:box-shadow .2s, border-color .2s; }
.faq-item.open { box-shadow:var(--shadow-card); border-color:var(--line-2); }
.faq-q { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:19px 22px; display:flex; align-items:center; justify-content:space-between; gap:18px; font-family:var(--brand); font-weight:800; font-size:16.5px; color:var(--ink); }
.faq-q .pl { width:26px; height:26px; flex:0 0 auto; border-radius:8px; background:var(--bg-3); display:grid; place-items:center; transition:background .2s, transform .25s var(--ease); color:var(--ink-2); }
.faq-item.open .faq-q .pl { background:var(--grad); color:#fff; transform:rotate(135deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .3s var(--ease); }
.faq-a-in { padding:0 22px 20px; font-size:15.5px; color:var(--ink-2); line-height:1.65; }

/* ───────── legal (privacy / terms) ───────── */
.legal { display:grid; grid-template-columns:240px 1fr; gap:clamp(32px,5vw,64px); align-items:start; }
.legal-toc { position:sticky; top:96px; }
.legal-toc .toc-h { font-family:var(--brand); font-weight:800; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-3); margin-bottom:14px; }
.legal-toc a { display:block; font-size:14px; color:var(--ink-3); padding:7px 12px; border-radius:9px; border-left:2px solid transparent; transition:color .15s, background .15s, border-color .15s; line-height:1.4; }
.legal-toc a:hover { color:var(--ink); background:var(--bg-3); }
.legal-toc a.active { color:var(--purple); background:var(--grad-soft); border-left-color:var(--purple); font-weight:700; }
.legal-body { max-width:760px; }
.legal-body .updated { font-size:13.5px; color:var(--ink-3); margin-bottom:30px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.legal-body section { margin-bottom:40px; scroll-margin-top:96px; }
.legal-body section h2 { font-size:22px; font-weight:900; margin:0 0 14px; display:flex; gap:12px; align-items:baseline; }
.legal-body section h2 .nrm { font-family:var(--brand); font-weight:900; color:var(--purple); font-size:18px; }
.legal-body section h3 { font-size:16.5px; font-weight:800; margin:22px 0 8px; }
.legal-body section p { font-size:15.5px; color:var(--ink-2); line-height:1.7; margin:0 0 13px; }
.legal-body section ul { margin:0 0 13px; padding-left:0; list-style:none; display:flex; flex-direction:column; gap:9px; }
.legal-body section ul li { position:relative; padding-left:24px; font-size:15px; color:var(--ink-2); line-height:1.6; }
.legal-body section ul li::before { content:""; position:absolute; left:3px; top:9px; width:7px; height:7px; border-radius:50%; background:var(--grad); }

/* ───────── bottom CTA band ───────── */
.cta-band { background:var(--grad); border-radius:28px; padding:clamp(40px,5vw,64px); text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-lg); }
.cta-band .cb-blob { position:absolute; border-radius:50%; filter:blur(50px); }
.cta-band .cb1 { width:300px; height:300px; background:rgba(255,255,255,.18); top:-120px; right:-60px; }
.cta-band .cb2 { width:260px; height:260px; background:rgba(47,91,234,.45); bottom:-120px; left:-40px; }
.cta-band .cb-in { position:relative; z-index:2; }
.cta-band h2 { color:#fff; font-weight:900; font-size:clamp(26px,3.4vw,42px); letter-spacing:-.02em; }
.cta-band p { color:rgba(255,255,255,.9); font-size:clamp(15px,1.6vw,18px); margin:16px auto 0; max-width:30em; line-height:1.55; }
.cta-band .cta-btns { margin-top:30px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.btn-white { background:#fff; color:var(--purple); }
.btn-white:hover { transform:translateY(-1px); box-shadow:0 12px 28px -8px rgba(0,0,0,.25); }
.btn-clear { background:rgba(255,255,255,.14); color:#fff; border:1.5px solid rgba(255,255,255,.4); }
.btn-clear:hover { background:rgba(255,255,255,.22); }

/* ───────── mobile nav toggle (shared) ───────── */
.nav-burger { display:none; width:42px; height:42px; border:1px solid var(--line-2); border-radius:11px; background:#fff; cursor:pointer; align-items:center; justify-content:center; color:var(--ink); }

/* ───────── responsive ───────── */
@media (max-width:920px) {
  .mission, .contact-grid, .blog-featured, .legal { grid-template-columns:1fr; }
  .legal-toc { position:static; display:none; }
  .values-grid, .blog-grid { grid-template-columns:repeat(2,1fr); }
  .statband { grid-template-columns:repeat(2,1fr); gap:32px 24px; }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .mission .m-visual { max-width:420px; }
}
@media (max-width:620px) {
  .nav-links, .nav-cta .btn { display:none; }
  .nav-burger { display:flex; }
  .nav-links.open { display:flex; position:absolute; top:72px; left:0; right:0; flex-direction:column; gap:0; background:#fff; border-bottom:1px solid var(--line); padding:8px 0; box-shadow:var(--shadow-lg); }
  .nav-links.open a { padding:14px 28px; font-size:16px; }
  .values-grid, .blog-grid, .statband, .team-grid, .field-row { grid-template-columns:1fr; }
  .statband { gap:30px; }
}

/* reveal: opacity governed by declaration (animation-safe in offscreen iframes) */
@keyframes upIn { from { transform:translateY(24px); } to { transform:none; } }
.js .reveal { opacity:0; }
.js .reveal.in { opacity:1; animation:upIn .65s var(--ease) both; }
.js .reveal.in.d1 { animation-delay:.07s; }
.js .reveal.in.d2 { animation-delay:.14s; }
.js .reveal.in.d3 { animation-delay:.21s; }
@media (prefers-reduced-motion:reduce) {
  .js .reveal { opacity:1 !important; animation:none !important; }
  html { scroll-behavior:auto; }
}
