/* ============================================================
   MAVIE marketing site — shared styles (Pebble concept)
   Used by: Parents page, For Kitas page, MAVIE Pay page
   ============================================================ */
:root {
  --o: #E8704A; --o-deep: #D15A36; --p: #6A5685; --p-deep: #4733A8; --t: #4C6B5B; --t-deep: #1F8A77; --m: #4C6E94;
  --amber: #BFA25C;
  --oT: #FAE9E1; --pT: #ECE8F0; --tT: #E7EEE9; --mT: #E8EEF4; --amberT: #FBEBD2;
  --ink: #2E2A26; --ink2: #6B6358; --mute: #847B6E;
  --line: #EAE5DC; --line2: #D8D2C7;
  --bg: #FAF9F7; --card: #FFFFFF;
  --green: #4C6B5B; --greenT: #E7EEE9;
  --peb1: 60% 40% 55% 45% / 55% 50% 50% 45%;
  --peb2: 42% 58% 45% 55% / 52% 44% 56% 48%;
  --peb3: 55% 45% 60% 40% / 45% 55% 45% 55%;
  --font: "Hanken Grotesk", ui-rounded, system-ui, sans-serif;
  --hand: "Caveat", cursive;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 800; font-size: 16px; padding: 14px 26px; border-radius: 999px; cursor: pointer; border: none; transition: transform .12s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-o { background: var(--o); color: #fff; box-shadow: 0 12px 24px -12px var(--o); }
.btn-o:hover { background: var(--o-deep); }
.btn-t { background: var(--t); color: #fff; box-shadow: 0 12px 24px -12px var(--t); }
.btn-p { background: var(--p); color: #fff; box-shadow: 0 12px 24px -12px var(--p); }
.btn-p:hover { background: var(--p-deep); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

.pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 999px; flex-shrink: 0; }

/* logo */
.logo { display: inline-flex; align-items: flex-end; gap: 1px; line-height: 1; }
.logo .word { font-weight: 800; letter-spacing: -0.02em; }

/* nav */
nav.top { position: sticky; top: 0; z-index: 40; background: rgba(250,249,247,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(23,23,23,0.07); }
nav.top .row { display: flex; align-items: center; justify-content: space-between; padding: 18px 40px; }
nav.top .links { display: flex; align-items: center; gap: 4px; }
nav.top .links a { font-weight: 700; font-size: 15px; color: var(--ink2); padding: 8px 14px; border-radius: 999px; }
nav.top .links a:hover { background: #fff; color: var(--ink); }
nav.top .links a.active { color: var(--p-deep); background: var(--pT); }
nav.top .links a.active-t { color: var(--t-deep); background: var(--tT); }

/* section rhythm */
section { padding: 86px 0; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: 0.13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
h1 { font-weight: 900; font-size: 72px; line-height: 0.98; }
h2 { font-weight: 900; font-size: 46px; line-height: 1.02; }
h3 { font-weight: 900; font-size: 26px; letter-spacing: -0.02em; }
.lede { font-weight: 500; font-size: 19px; line-height: 1.55; color: var(--ink2); }

/* hero */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
.hero h1 .em { font-style: italic; font-weight: 400; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--mute); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* pebble stage */
.pebble-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.sat { position: absolute; display: grid; place-items: center; box-shadow: 0 16px 30px -16px rgba(23,23,23,0.3); }
.float-card { position: absolute; background: #fff; border-radius: 18px; padding: 11px 15px; display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 32px -14px rgba(23,23,23,0.28); }
.float-card .fc-t { font-weight: 800; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.float-card .fc-s { font-weight: 600; font-size: 11px; color: var(--mute); white-space: nowrap; }

/* generic card bits */
.ac-card { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 13px; }
.av { border-radius: 999px; object-fit: cover; background: var(--tT); flex-shrink: 0; }
.av-sq { border-radius: 12px; }

/* trust strip */
.trust { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.trust .badge { background: #fff; border: 1.5px solid var(--line); padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink2); display: inline-flex; align-items: center; gap: 9px; }

/* areas grid */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area { background: #fff; border: 2px solid var(--line); border-radius: 30px; padding: 26px; display: flex; flex-direction: column; min-height: 230px; transition: transform .2s ease, box-shadow .2s ease; }
.area:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(23,23,23,0.28); }
.area .ico { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 18px; }
.area .a-tag { font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.area h3 { margin-top: 3px; }
.area p { font-weight: 500; font-size: 14.5px; line-height: 1.5; color: var(--ink2); margin: 8px 0 0; }
.area .feats { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 7px; }
.area .feats li { display: flex; gap: 9px; align-items: flex-start; font-weight: 700; font-size: 13.5px; color: var(--ink2); }
.area .feats li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; margin-top: 7px; flex-shrink: 0; background: var(--accent); }

/* deep-dive rows */
.dive { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dive.flip .dive-art { order: -1; }
.dive-copy .eyebrow { margin-bottom: 14px; }
.dive-copy h2 { margin-bottom: 16px; }
.dive-copy .lede { max-width: 480px; }
.dive-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 16px; }
.dive-list li { display: flex; gap: 14px; align-items: flex-start; }
.dive-list .di { width: 40px; height: 40px; border-radius: var(--peb1); display: grid; place-items: center; flex-shrink: 0; }
.dive-list b { display: block; font-weight: 800; font-size: 16px; color: var(--ink); }
.dive-list span { font-weight: 600; font-size: 14.5px; color: var(--ink2); line-height: 1.45; }
.dive-art { display: grid; place-items: center; position: relative; }

/* tinted panel behind mockups */
.art-panel { border-radius: 44px; width: 100%; padding: 44px; display: grid; place-items: center; position: relative; overflow: hidden; }
.art-panel .blob { position: absolute; border-radius: var(--peb1); }

/* dark explainer panel */
.comanage { background: var(--ink); color: #fff; border-radius: 40px; padding: 48px; position: relative; overflow: hidden; }
.comanage .deco { position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: var(--peb2); background: rgba(43,174,152,0.16); }
.comanage h2 { color: #fff; }
.flow { display: flex; align-items: center; gap: 0; margin-top: 30px; flex-wrap: wrap; }
.flow-step { display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 16px 20px; }
.flow-step .fs-n { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-weight: 900; font-size: 14px; flex-shrink: 0; }
.flow-step .fs-t { font-weight: 800; font-size: 15.5px; }
.flow-step .fs-s { font-weight: 600; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.flow-arrow { color: rgba(255,255,255,0.4); font-weight: 900; padding: 0 14px; }

/* quote */
.quote { text-align: left; }
.quote blockquote { font-weight: 800; font-size: 40px; line-height: 1.18; letter-spacing: -0.025em; margin: 0; max-width: 860px; }
.quote .qm { color: var(--p); }
.quote .em { font-style: italic; font-weight: 400; color: var(--p); }
.quote .who { margin-top: 30px; display: flex; align-items: center; gap: 14px; }

/* big CTA band */
.cta-band { color: #fff; border-radius: 48px; padding: 64px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band .deco { position: absolute; left: -80px; bottom: -100px; width: 320px; height: 320px; border-radius: var(--peb1); background: rgba(255,255,255,0.10); }
.cta-band h2 { color: #fff; font-size: 50px; }
.cta-band p { font-weight: 600; font-size: 18px; color: rgba(255,255,255,0.92); margin: 14px 0 26px; max-width: 440px; }

/* footer */
footer.foot { padding: 80px 0 44px; border-top: 2px solid var(--line); }
footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 64px; align-items: start; }
footer h5 { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
footer ul a { font-weight: 600; font-size: 14.5px; color: var(--mute); }
footer ul a:hover { color: var(--ink); }
footer .legal { display: flex; justify-content: space-between; padding-top: 32px; margin-top: 44px; border-top: 1px solid var(--line); font-weight: 600; font-size: 13px; color: var(--mute); }

@media (max-width: 980px) {
  .hero-grid, .dive, .areas-grid, .cta-band, footer .grid { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 52px; } h2 { font-size: 38px; }
  .dive.flip .dive-art { order: 0; }
  nav.top .links { display: none; }
}
