@font-face { font-family:"Nunito"; font-weight:400; font-display:swap; src:url("/assets/fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family:"Nunito"; font-weight:500; font-display:swap; src:url("/assets/fonts/nunito-500.woff2") format("woff2"); }
@font-face { font-family:"Nunito"; font-weight:700; font-display:swap; src:url("/assets/fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family:"Nunito"; font-weight:800; font-display:swap; src:url("/assets/fonts/nunito-800.woff2") format("woff2"); }
@font-face { font-family:"Nunito"; font-weight:900; font-display:swap; src:url("/assets/fonts/nunito-900.woff2") format("woff2"); }

:root {
  --blue:#2563EB; --blue-dark:#1D4ED8; --ink:#0F1B2D; --cream:#F6F2EA;
  --surface:#FFFFFF; --green:#10B981; --amber:#F59E0B; --red:#EF4444;
  --muted:#5B6678; --soft-blue:#E7EEFE; --line:#ECE2CF;
  --r-card:18px; --r-sm:13px; --r-pill:999px;
  --shadow:0 8px 24px rgba(15,27,45,.10); --shadow-lg:0 18px 50px rgba(15,27,45,.14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---------- Topbar ---------- */
.topbar {
  align-items: center;
  background: rgba(246,242,234,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
  padding: 0 6vw;
  position: sticky; top: 0; z-index: 20;
}
.brand { align-items:center; color:var(--ink); display:inline-flex; font-size:22px; font-weight:900; gap:10px; }
.brand-mark { align-items:center; display:inline-flex; height:38px; justify-content:center; width:38px; }
.brand-mark svg { width:34px; height:34px; display:block; }
nav { display:flex; gap:26px; justify-content:center; }
nav a { color:var(--muted); font-size:15px; font-weight:700; }
nav a:hover { color:var(--ink); }
.nav-cta {
  background:var(--blue); border-radius:var(--r-pill); color:#fff;
  font-size:14px; font-weight:800; padding:11px 20px;
  box-shadow:0 6px 16px rgba(37,99,235,.28);
}
.nav-actions { align-items:center; display:flex; gap:10px; justify-content:flex-end; }
.nav-login {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-pill);
  color:var(--ink);
  font-size:14px;
  font-weight:900;
  padding:10px 16px;
}

/* ---------- Language selector ---------- */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.lang-select-wrap { align-items:center; display:inline-flex; }
.lang-select {
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background:var(--surface);
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235B6678' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  border:1px solid var(--line);
  border-radius:var(--r-pill);
  color:var(--ink);
  cursor:pointer;
  font-family:"Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size:14px;
  font-weight:800;
  padding:10px 32px 10px 14px;
}
.lang-select:hover { border-color:var(--blue); }
.lang-select:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
.dashboard-session .lang-select { font-size:13px; padding:8px 30px 8px 12px; }
.join-lang { display:flex; justify-content:center; margin:-8px 0 18px; }

/* ---------- Typo ---------- */
.eyebrow { color:var(--blue); font-size:13px; font-weight:800; letter-spacing:.05em; margin:0 0 10px; text-transform:uppercase; }
h1 { color:var(--ink); font-size:clamp(40px,5.4vw,68px); font-weight:900; line-height:1.05; letter-spacing:-.01em; margin:0 0 22px; }
h2 { color:var(--ink); font-size:clamp(30px,4vw,46px); font-weight:900; line-height:1.1; margin:0; }
h3 { color:var(--ink); font-size:22px; font-weight:800; line-height:1.2; margin:10px 0 14px; }
p { color:var(--muted); font-size:17px; font-weight:500; line-height:1.6; }
.lead { max-width:34em; }

/* ---------- Hero ---------- */
.hero {
  align-items:center;
  background:
    radial-gradient(circle at 88% 12%, rgba(37,99,235,.10), transparent 30%),
    linear-gradient(180deg, #FBF9F4 0%, var(--cream) 70%);
  display:grid; gap:40px;
  grid-template-columns:minmax(520px,1.05fr) minmax(430px,.95fr);
  min-height:calc(100vh - 72px);
  overflow:hidden; padding:60px 6vw 74px;
}
.hero-copy { max-width:760px; }
.cta-row { display:flex; flex-wrap:wrap; gap:12px; margin:30px 0 16px; }
.button {
  border-radius:var(--r-pill); display:inline-flex; font-weight:800;
  justify-content:center; min-width:170px; padding:15px 22px; font-size:15px;
}
.primary { background:var(--blue); color:#fff; box-shadow:0 8px 20px rgba(37,99,235,.30); }
.secondary { background:var(--surface); border:1.5px solid var(--line); color:var(--ink); }
.download-note { color:var(--muted); font-size:14px; font-weight:700; }
.hero-highlights {
  display:grid;
  gap:12px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:24px 0 2px;
}
.hero-highlights article {
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  box-shadow:0 8px 22px rgba(15,27,45,.07);
  min-height:138px;
  padding:15px;
}
.hero-highlights span {
  color:var(--blue);
  display:block;
  font-size:12px;
  font-weight:900;
  margin-bottom:8px;
}
.hero-highlights strong {
  color:var(--ink);
  display:block;
  font-size:16px;
  font-weight:900;
  margin-bottom:6px;
}
.hero-highlights p {
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  line-height:1.45;
  margin:0;
}
.hero-trust-strip {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.hero-trust-strip span {
  background:rgba(16,185,129,.10);
  border:1px solid rgba(16,185,129,.22);
  border-radius:var(--r-pill);
  color:#2F5F55;
  font-size:13px;
  font-weight:800;
  padding:9px 13px;
}
.hero-trust-strip strong { color:var(--green); font-weight:900; }

/* ---------- Release highlights ---------- */
.release-section {
  background:linear-gradient(180deg,#FFFFFF 0%,#F6F2EA 100%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.release-grid {
  display:grid;
  gap:18px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:0 auto;
  max-width:1120px;
}
.release-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  box-shadow:var(--shadow);
  min-height:380px;
  overflow:hidden;
  padding:28px;
  position:relative;
}
.release-card::after {
  background:linear-gradient(140deg,rgba(37,99,235,.08),rgba(16,185,129,.08));
  border-radius:50%;
  content:"";
  height:220px;
  position:absolute;
  right:-82px;
  top:-90px;
  width:220px;
}
.release-icon {
  align-items:center;
  background:var(--blue);
  border-radius:50%;
  color:#fff;
  display:flex;
  font-size:28px;
  font-weight:900;
  height:58px;
  justify-content:center;
  margin-bottom:22px;
  position:relative;
  width:58px;
  z-index:1;
}
.release-icon.book { background:var(--green); }
.member-preview {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
  position:relative;
  z-index:1;
}
.member-preview span {
  background:var(--soft-blue);
  border-radius:var(--r-pill);
  color:var(--blue-dark);
  font-size:13px;
  font-weight:900;
  padding:10px 14px;
}
.timeline-preview {
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  display:grid;
  gap:10px;
  margin-top:22px;
  padding:14px;
  position:relative;
  z-index:1;
}
.timeline-preview div {
  align-items:center;
  background:var(--surface);
  border-radius:var(--r-sm);
  display:flex;
  gap:12px;
  padding:12px;
}
.timeline-preview strong { color:var(--blue); font-size:13px; font-weight:900; min-width:46px; }
.timeline-preview span { color:var(--ink); font-size:14px; font-weight:800; }

/* ---------- Hero phone ---------- */
.hero-visual { align-items:center; display:flex; justify-content:center; min-height:540px; position:relative; }
.family-pulse-card,
.floating-proof {
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  box-shadow:var(--shadow);
  position:absolute;
  z-index:3;
}
.family-pulse-card {
  align-items:center;
  display:flex;
  gap:12px;
  left:12px;
  padding:14px 16px;
  top:48px;
  width:270px;
}
.family-pulse-card strong,
.floating-proof strong {
  color:var(--ink);
  display:block;
  font-size:14px;
  font-weight:900;
}
.family-pulse-card p {
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  line-height:1.35;
  margin:3px 0 0;
}
.pulse-dot {
  background:var(--green);
  border:4px solid #DDF8ED;
  border-radius:50%;
  flex:0 0 20px;
  height:20px;
  width:20px;
}
.floating-proof {
  max-width:220px;
  padding:13px 15px;
}
.floating-proof span {
  color:var(--muted);
  display:block;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
  margin-top:4px;
}
.proof-privacy { bottom:58px; left:20px; }
.proof-live { right:12px; top:72px; }
.phone-mockup {
  background:var(--surface); border:9px solid var(--ink); border-radius:34px;
  box-shadow:var(--shadow-lg); height:520px; overflow:hidden; padding:22px 16px;
  position:relative; width:268px;
}
.main-phone { transform:rotate(-4deg); z-index:2; }
.side-phone { height:420px; margin-left:-34px; transform:rotate(8deg); width:218px; z-index:1; }
.phone-top { background:var(--ink); border-radius:var(--r-pill); height:5px; margin:0 auto 20px; width:70px; }
.app-card { background:var(--cream); border-radius:var(--r-sm); padding:14px; }
.app-card span, .family-card span { color:var(--blue); display:block; font-size:11px; font-weight:800; margin-bottom:4px; text-transform:uppercase; }
.app-card strong { color:var(--ink); font-size:19px; font-weight:900; }
.map-preview, .soft-map { background:#E9EEF0; border-radius:var(--r-sm); height:205px; margin-top:16px; overflow:hidden; position:relative; }
.map-preview::before, .map-preview::after, .map-road { background:#fff; content:""; position:absolute; }
.map-preview::before { height:30px; left:-30px; right:-30px; top:68px; transform:rotate(-10deg); }
.map-preview::after { bottom:40px; height:26px; left:-30px; right:-30px; transform:rotate(14deg); }
.pin {
  align-items:center; display:flex; justify-content:center; position:absolute; color:#fff;
  border-radius:50% 50% 50% 2px; transform:rotate(45deg); border:2px solid #fff;
  box-shadow:0 3px 8px rgba(15,27,45,.3);
}
.pin.home { background:var(--green); height:26px; left:38px; top:42px; width:26px; }
.pin.school { background:var(--amber); height:26px; right:42px; top:78px; width:26px; }
.pin.child { background:var(--blue); height:46px; left:108px; top:106px; width:46px; font-size:0; }
.pin.child::after { content:"L"; display:block; font-size:15px; font-weight:800; transform:rotate(-45deg); }
.mini-list { display:grid; gap:10px; margin-top:16px; }
.mini-list div, .task-row, .list-card { background:var(--cream); border:1px solid var(--line); border-radius:var(--r-sm); padding:12px; }
.mini-list strong, .mini-list span { display:block; }
.mini-list strong { font-weight:800; }
.mini-list span { color:var(--muted); font-size:13px; font-weight:600; margin-top:3px; }
.alert-pill { background:var(--green); border-radius:var(--r-pill); color:#fff; font-weight:800; margin-bottom:14px; padding:10px 14px; }
.task-row { color:var(--ink); font-weight:700; margin-bottom:12px; }

/* ---------- Product screenshots ---------- */
.product-visual {
  align-items:center;
  display:flex;
  justify-content:center;
  min-height:560px;
  overflow:visible;
  padding:20px 0;
}
.portal-preview {
  background:#0F172A;
  border:10px solid #0F172A;
  border-radius:18px 18px 12px 12px;
  box-shadow:0 28px 70px rgba(15,27,45,.22);
  color:var(--ink);
  height:410px;
  overflow:hidden;
  position:relative;
  transform:translateX(28px);
  width:min(640px,100%);
}
.portal-preview::after {
  background:linear-gradient(90deg,#D9DDE5,#FFFFFF,#D9DDE5);
  border-radius:0 0 22px 22px;
  bottom:-22px;
  content:"";
  height:22px;
  left:12%;
  position:absolute;
  width:76%;
}
.portal-toolbar {
  align-items:center;
  background:#FFFFFF;
  border-bottom:1px solid var(--line);
  display:flex;
  font-size:12px;
  font-weight:900;
  justify-content:space-between;
  padding:12px 16px;
}
.portal-brand {
  align-items:center;
  color:var(--blue);
  display:flex;
  gap:7px;
}
.portal-logo-dot {
  background:var(--blue);
  border-radius:50%;
  box-shadow:12px 0 0 var(--green), 24px 0 0 var(--amber);
  display:inline-block;
  height:8px;
  width:8px;
}
.portal-body {
  background:#F7F4ED;
  display:grid;
  grid-template-columns:116px 1fr;
  height:calc(100% - 43px);
}
.portal-sidebar {
  background:#FFFFFF;
  border-right:1px solid var(--line);
  display:grid;
  gap:8px;
  padding:16px 12px;
}
.portal-sidebar span {
  border-radius:10px;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  padding:10px 11px;
}
.portal-sidebar .is-active {
  background:var(--soft-blue);
  color:var(--blue-dark);
}
.portal-main {
  display:grid;
  gap:12px;
  grid-template-columns:190px 1fr;
  grid-template-rows:auto 1fr;
  padding:16px;
}
.portal-child-card,
.portal-events {
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:15px;
  box-shadow:0 12px 28px rgba(15,27,45,.08);
}
.portal-child-card {
  align-items:center;
  display:flex;
  gap:10px;
  padding:12px;
}
.avatar-photo {
  align-items:center;
  background:linear-gradient(135deg,#F3C7A7,#2563EB);
  border:3px solid #FFFFFF;
  border-radius:50%;
  box-shadow:0 6px 18px rgba(15,27,45,.18);
  color:#fff;
  display:inline-flex;
  flex:0 0 auto;
  font-weight:900;
  height:46px;
  justify-content:center;
  width:46px;
}
.portal-child-card strong,
.mobile-child strong {
  color:var(--ink);
  display:block;
  font-size:16px;
  font-weight:900;
}
.portal-child-card small,
.mobile-child small {
  color:var(--muted);
  display:block;
  font-size:11px;
  font-weight:800;
  margin-top:3px;
}
.portal-map {
  background:#E7EEF4;
  border:1px solid var(--line);
  border-radius:15px;
  grid-row:1 / span 2;
  min-height:285px;
  overflow:hidden;
  position:relative;
}
.portal-map::after {
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.36));
  content:"";
  inset:0;
  pointer-events:none;
  position:absolute;
}
.portal-map-tiles {
  display:grid;
  grid-template-columns:repeat(2,256px);
  left:50%;
  opacity:.9;
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%) scale(.78);
}
.portal-map-tiles img {
  height:256px;
  width:256px;
}
.portal-route {
  inset:0;
  position:absolute;
  z-index:2;
}
.portal-route path {
  fill:none;
  stroke:var(--blue);
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:8;
}
.portal-route .direct {
  stroke:var(--green);
  stroke-dasharray:3 10;
  stroke-width:5;
}
.map-label {
  background:#fff;
  border-radius:999px;
  box-shadow:0 10px 22px rgba(15,27,45,.14);
  color:var(--ink);
  font-size:12px;
  font-weight:900;
  padding:8px 13px;
  position:absolute;
  z-index:3;
}
.home-label { left:34px; top:62px; }
.school-label { right:34px; top:74px; }
.portal-child-pin {
  align-items:center;
  background:var(--blue);
  border:4px solid #fff;
  border-radius:50% 50% 50% 6px;
  box-shadow:0 10px 24px rgba(15,27,45,.24);
  color:#fff;
  display:flex;
  font-size:20px;
  font-weight:900;
  height:58px;
  justify-content:center;
  left:47%;
  position:absolute;
  top:45%;
  transform:rotate(45deg);
  width:58px;
  z-index:4;
}
.portal-child-pin::after {
  content:"R";
  transform:rotate(-45deg);
}
.portal-child-pin { font-size:0; }
.portal-events {
  display:grid;
  gap:8px;
  padding:12px;
}
.portal-events span {
  color:var(--ink);
  font-size:12px;
  font-weight:800;
}
.portal-events b {
  color:var(--blue);
  margin-right:6px;
}
.mobile-preview {
  background:#FFFFFF;
  border:8px solid #0F172A;
  border-radius:35px;
  box-shadow:0 26px 70px rgba(15,27,45,.28);
  color:var(--ink);
  height:500px;
  margin-left:-82px;
  overflow:hidden;
  padding:17px 14px 14px;
  position:relative;
  transform:translateY(46px);
  width:250px;
  z-index:3;
}
.mobile-speaker {
  background:#0F172A;
  border-radius:999px;
  height:5px;
  margin:0 auto 14px;
  width:60px;
}
.mobile-header {
  align-items:center;
  display:flex;
  justify-content:space-between;
}
.mobile-header strong {
  display:block;
  font-size:17px;
  font-weight:900;
}
.mobile-header span {
  color:var(--muted);
  display:block;
  font-size:11px;
  font-weight:800;
  margin-top:2px;
}
.mobile-avatar {
  align-items:center;
  background:#F1F5F9;
  border-radius:50%;
  color:var(--blue) !important;
  display:flex !important;
  font-size:14px !important;
  height:36px;
  justify-content:center;
  width:36px;
}
.mobile-safe {
  align-items:center;
  background:#EAFBF3;
  border:1px solid #BCEFD8;
  border-radius:15px;
  display:flex;
  gap:10px;
  margin-top:14px;
  padding:11px;
}
.mobile-safe > span {
  align-items:center;
  background:var(--green);
  border-radius:12px;
  display:flex;
  height:34px;
  justify-content:center;
  width:34px;
}
.mobile-safe i {
  border:solid #fff;
  border-width:0 3px 3px 0;
  display:block;
  height:15px;
  transform:rotate(45deg) translate(-1px,-2px);
  width:8px;
}
.mobile-safe strong,
.mobile-day strong {
  color:#087A4C;
  display:block;
  font-size:13px;
  font-weight:900;
}
.mobile-safe small {
  color:var(--muted);
  display:block;
  font-size:10px;
  font-weight:800;
  margin-top:2px;
}
.mobile-child {
  align-items:center;
  border:1px solid var(--line);
  border-radius:15px;
  display:flex;
  gap:10px;
  margin-top:12px;
  padding:11px;
}
.mobile-child em {
  color:var(--green);
  display:block;
  font-size:11px;
  font-style:normal;
  font-weight:900;
  margin-top:5px;
}
.mobile-actions {
  display:grid;
  gap:8px;
  grid-template-columns:repeat(4,1fr);
  margin-top:12px;
}
.mobile-actions span {
  align-items:center;
  border-radius:13px;
  color:#fff;
  display:flex;
  font-size:9px;
  font-weight:900;
  height:54px;
  justify-content:center;
  line-height:1.08;
  text-align:center;
}
.mobile-actions .blue { background:var(--blue); }
.mobile-actions .purple { background:#7048E8; }
.mobile-actions .red { background:#F43F3F; }
.mobile-actions .green { background:var(--green); }
.mobile-day {
  border:1px solid var(--line);
  border-radius:15px;
  margin-top:13px;
  padding:12px;
}
.mobile-day strong {
  color:var(--ink);
  font-size:14px;
}
.mobile-day p {
  border-top:1px solid var(--line);
  color:var(--ink);
  font-size:11px;
  font-weight:800;
  line-height:1.3;
  margin:9px 0 0;
  padding-top:9px;
}
.mobile-day b {
  color:var(--blue);
  margin-right:5px;
}
.mobile-day i {
  background:#DCFCE7;
  border-radius:999px;
  color:#067647;
  float:right;
  font-size:9px;
  font-style:normal;
  font-weight:900;
  padding:3px 6px;
}

/* ---------- Intro ---------- */
.intro-section { align-items:start; display:grid; gap:40px; grid-template-columns:.95fr 1.05fr; padding:80px 6vw; }
.intro-section p { margin-top:2px; }

/* ---------- Feature stack ---------- */
.feature-stack { display:grid; }
.feature-row { align-items:center; display:grid; gap:6vw; grid-template-columns:1fr 1fr; padding:80px 6vw; }
.feature-row:nth-child(even) { background:var(--surface); }
.feature-row.reverse .feature-media { order:2; }
.feature-media { align-items:center; border-radius:var(--r-card); display:flex; justify-content:center; min-height:400px; overflow:hidden; padding:28px; position:relative; box-shadow:var(--shadow); }
.calendar-media { background:#EAF1FF; }
.cocon-media { background:linear-gradient(150deg,#EAF1FF,#FFF6E6); align-items:stretch; gap:18px; }
.cocon-panel {
  align-self:center;
  background:var(--surface);
  border-radius:var(--r-card);
  box-shadow:var(--shadow);
  padding:24px;
  width:min(390px,100%);
}
.cocon-panel > span, .journal-phone-card > span {
  color:var(--blue);
  display:block;
  font-size:12px;
  font-weight:900;
  margin-bottom:8px;
  text-transform:uppercase;
}
.cocon-panel > strong {
  color:var(--ink);
  display:block;
  font-size:26px;
  font-weight:900;
  margin-bottom:18px;
}
.cocon-member {
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  color:var(--ink);
  font-size:16px;
  font-weight:900;
  margin-top:10px;
  padding:13px 14px;
}
.cocon-member small {
  color:var(--muted);
  display:block;
  font-size:12px;
  font-weight:800;
  margin-top:3px;
}
.cocon-member.active { border-color:rgba(16,185,129,.45); background:#ECFDF5; }
.cocon-member.pending { border-color:rgba(37,99,235,.32); background:var(--soft-blue); }
.permission-note {
  align-self:flex-end;
  background:rgba(15,27,45,.92);
  border-radius:var(--r-card);
  bottom:28px;
  box-shadow:var(--shadow);
  color:#fff;
  max-width:230px;
  padding:18px;
  position:absolute;
  right:28px;
}
.permission-note strong { color:#fff; font-size:17px; font-weight:900; }
.permission-note p { color:#D6DDE6; font-size:13px; line-height:1.45; margin:6px 0 0; }
.calendar-card { background:var(--surface); border-radius:var(--r-card); box-shadow:var(--shadow); padding:24px; width:78%; }
.calendar-card.small { bottom:50px; position:absolute; right:48px; width:48%; }
.calendar-card span { color:var(--blue); font-weight:800; }
.calendar-card strong { color:var(--ink); display:block; font-size:26px; font-weight:900; margin-top:8px; }
.location-media { background:linear-gradient(160deg,#EEF3FF,var(--cream)); }
.soft-map { background:linear-gradient(160deg,#EEF3FF,var(--cream)); height:320px; margin:0; width:100%; }
.real-map {
  background:#E7EEF4;
  border:1px solid rgba(15,27,45,.08);
  border-radius:var(--r-sm);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.65);
  height:320px;
  margin:0;
  overflow:hidden;
  position:relative;
  width:100%;
}
.real-map::before {
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.52));
  content:"";
  inset:0;
  pointer-events:none;
  position:absolute;
  z-index:1;
}
.map-tiles {
  display:grid;
  grid-template-columns:repeat(4,256px);
  grid-template-rows:repeat(3,256px);
  left:50%;
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%) scale(1.08);
  transform-origin:center;
}
.map-tiles img {
  display:block;
  height:256px;
  image-rendering:auto;
  width:256px;
}
.map-glass {
  align-items:center;
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,.84);
  border:1px solid rgba(255,255,255,.78);
  border-radius:var(--r-pill);
  box-shadow:0 10px 28px rgba(15,27,45,.14);
  display:flex;
  gap:12px;
  left:18px;
  padding:9px 13px;
  position:absolute;
  top:18px;
  z-index:3;
}
.map-caption { color:var(--ink); font-size:13px; font-weight:900; }
.map-scale { color:var(--blue); font-size:12px; font-weight:900; }
.route-status {
  background:rgba(37,99,235,.94);
  border:2px solid rgba(255,255,255,.92);
  border-radius:var(--r-pill);
  box-shadow:0 10px 24px rgba(15,27,45,.2);
  color:#fff;
  font-size:12px;
  font-weight:900;
  left:48%;
  padding:7px 12px;
  position:absolute;
  top:18%;
  transform:translateX(-50%);
  z-index:3;
}
.road-a, .road-b { background:#fff; position:absolute; content:""; }
.road-a { height:34px; left:-40px; right:-40px; top:92px; transform:rotate(-10deg); }
.road-b { bottom:74px; height:30px; left:-40px; right:-40px; transform:rotate(16deg); }
.place { background:var(--surface); border-radius:var(--r-pill); color:var(--ink); font-weight:800; left:10%; padding:8px 14px; position:absolute; top:16%; box-shadow:var(--shadow); font-size:14px; }
.home-place { left:13%; top:30%; z-index:2; }
.school-place { left:auto; right:10%; top:54%; z-index:2; }
.sport-place { left:38%; top:72%; z-index:2; }
.child-bubble {
  align-items:center; background:var(--blue); color:#fff; display:flex;
  font-size:24px; font-weight:900; height:64px; justify-content:center; width:64px;
  border-radius:50% 50% 50% 4px; border:3px solid #fff; box-shadow:0 6px 16px rgba(15,27,45,.25);
  z-index:2;
}
.child-bubble { left:44%; position:absolute; top:38%; }
.journey-line {
  height:100%;
  inset:0;
  overflow:visible;
  position:absolute;
  width:100%;
  z-index:2;
}
.journey-shadow, .journey-path {
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.journey-shadow {
  opacity:.38;
  stroke:rgba(15,27,45,.18);
  stroke-dasharray:.1 5.2;
  stroke-width:6.4;
}
.journey-path {
  animation:routePulse 2.6s ease-in-out infinite;
  stroke:#2563EB;
  stroke-dasharray:.1 5.2;
  stroke-dashoffset:0;
  stroke-width:3.8;
}
.journey-point {
  background:var(--surface);
  border:4px solid var(--green);
  border-radius:50%;
  box-shadow:0 6px 16px rgba(15,27,45,.18);
  height:18px;
  position:absolute;
  transform:translate(-50%,-50%);
  width:18px;
  z-index:3;
}
.start-point { left:22%; top:39%; }
.end-point { left:77%; top:48%; border-color:var(--blue); }
.moving-child-svg {
  filter:drop-shadow(0 4px 7px rgba(15,27,45,.24));
}
.moving-child-halo {
  animation:pulseRouteMarker 1.8s ease-out infinite;
  fill:rgba(37,99,235,.18);
}
.moving-child-disc {
  fill:var(--blue);
  stroke:#fff;
  stroke-width:1;
}
.moving-child-letter {
  fill:#fff;
  font:900 4.7px "Nunito", system-ui, sans-serif;
}
@keyframes routePulse {
  0%, 100% { opacity:.72; }
  50% { opacity:1; }
}
@keyframes pulseRouteMarker {
  0% { opacity:.72; transform:scale(.75); }
  100% { opacity:0; transform:scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
  .journey-path, .moving-child-halo { animation:none; }
  .journey-path { stroke-dashoffset:0; }
}
.benefit { align-items:center; color:var(--blue); display:flex; font-weight:800; gap:10px; margin-top:20px; }
.benefit span { background:var(--green); border-radius:50%; height:16px; width:16px; }
.list-media { align-content:center; background:#FFF6E6; display:grid; gap:14px; }
.journal-media { background:linear-gradient(150deg,#FDEDEA,#EAF1FF); }
.journal-phone-card {
  background:var(--surface);
  border-radius:28px;
  box-shadow:var(--shadow-lg);
  max-width:380px;
  padding:24px;
  width:100%;
}
.journal-row {
  align-items:center;
  border-bottom:1px solid var(--line);
  display:flex;
  gap:14px;
  min-height:62px;
  padding:12px 0;
}
.journal-row:last-child { border-bottom:0; }
.journal-row strong {
  background:var(--cream);
  border-radius:var(--r-pill);
  color:var(--blue-dark);
  font-size:12px;
  font-weight:900;
  min-width:54px;
  padding:7px 8px;
  text-align:center;
}
.journal-row p {
  color:var(--ink);
  flex:1;
  font-size:15px;
  font-weight:800;
  line-height:1.3;
  margin:0;
}
.journal-row.active strong { background:var(--blue); color:#fff; }
.day-member-row {
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  margin:14px 0;
  padding:14px;
}
.day-member-row strong {
  color:var(--ink);
  display:block;
  font-size:20px;
  font-weight:900;
}
.day-member-row small {
  color:var(--muted);
  display:block;
  font-size:13px;
  font-weight:800;
  margin-top:4px;
}
.day-summary-grid {
  display:grid;
  gap:10px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-bottom:14px;
}
.day-summary-grid div {
  background:var(--soft-blue);
  border-radius:var(--r-sm);
  padding:13px;
}
.day-summary-grid strong {
  color:var(--ink);
  display:block;
  font-size:26px;
  font-weight:900;
}
.day-summary-grid span {
  color:var(--blue-dark);
  font-size:13px;
  font-weight:900;
}
.list-card { color:var(--ink); font-size:16px; font-weight:800; padding-left:46px; position:relative; }
.list-card::before { border:2px solid var(--blue); border-radius:50%; content:""; height:18px; left:16px; position:absolute; top:14px; width:18px; }
.list-card.checked::before { background:var(--green); border-color:var(--green); }
.messaging-media { align-content:center; background:#FDEDEA; display:grid; gap:16px; }
.message { border-radius:var(--r-card); max-width:78%; padding:14px 16px; font-weight:600; }
.incoming { background:var(--surface); color:var(--ink); border-bottom-left-radius:6px; }
.outgoing { background:var(--blue); color:#fff; justify-self:end; border-bottom-right-radius:6px; }
.message.short { max-width:48%; }

/* ---------- Tiles ---------- */
.tiles-section { display:grid; gap:18px; grid-template-columns:repeat(3,minmax(0,1fr)); padding:80px 6vw; }
.tile { background:var(--surface); border-radius:var(--r-card); box-shadow:var(--shadow); min-height:170px; padding:26px; }
.tile strong { color:var(--ink); display:block; font-size:20px; font-weight:900; }
.tile p { margin-top:8px; font-size:15px; }

/* ---------- Sections / cocon ---------- */
.section { padding:80px 6vw; }
.section-head { margin-bottom:34px; max-width:820px; }
.section-head.centered { margin-left:auto; margin-right:auto; text-align:center; }
.cocon-section { background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.wizard-shell { align-items:stretch; display:grid; gap:18px; grid-template-columns:minmax(0,1fr) minmax(320px,.72fr); margin:0 auto; max-width:1040px; }
.site-wizard { background:var(--cream); border:1px solid var(--line); border-radius:var(--r-card); box-shadow:var(--shadow); padding:26px; }
.wizard-progress { display:flex; gap:8px; margin-bottom:24px; }
.wizard-progress span { background:#D9E2F2; border-radius:var(--r-pill); display:block; height:9px; width:50px; }
.wizard-progress span.active { background:var(--blue); }
.wizard-step { display:none; }
.wizard-step.active { display:block; }
.wizard-step strong, .cocon-result span { color:var(--blue); display:block; font-size:13px; font-weight:800; margin-bottom:8px; text-transform:uppercase; }
label { color:var(--ink); display:block; font-size:14px; font-weight:800; margin-top:16px; }
input { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm); color:var(--ink); display:block; font:inherit; font-weight:600; margin-top:8px; min-height:52px; padding:0 14px; width:100%; }
input:focus { outline:2px solid var(--blue); outline-offset:1px; border-color:var(--blue); }
.wizard-actions { display:flex; gap:12px; justify-content:flex-end; margin-top:24px; }
button.button { border:0; cursor:pointer; font:inherit; }
button.secondary { border:1.5px solid var(--line); }
.cocon-result { background:var(--ink); border-radius:var(--r-card); box-shadow:var(--shadow); padding:26px; }
.cocon-result span { color:#7FA6FF; }
.cocon-result h3, .cocon-result p, .cocon-result strong { color:#fff; }
.cocon-result p { word-break:break-word; }
.login-shell {
  align-items:stretch;
  display:grid;
  gap:18px;
  grid-template-columns:minmax(340px,.42fr) minmax(620px,.88fr);
  margin:22px auto 0;
  max-width:1320px;
  scroll-margin-top:92px;
}
.login-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  box-shadow:var(--shadow);
  padding:26px;
}
.login-card .button {
  border:0;
  cursor:pointer;
  margin-top:20px;
  width:100%;
}
.login-result {
  background:linear-gradient(150deg,#EFF6FF,#ECFDF5);
  border:1px solid #BFDBFE;
  border-radius:var(--r-card);
  box-shadow:var(--shadow);
  padding:26px;
}
.login-result span {
  color:var(--blue);
  display:block;
  font-size:13px;
  font-weight:900;
  margin-bottom:8px;
  text-transform:uppercase;
}
.login-result h3 { margin-top:0; }
.login-result p { font-size:15px; margin-bottom:0; }
.web-dashboard-head {
  align-items:flex-start;
  display:flex;
  gap:18px;
  justify-content:space-between;
  margin-bottom:18px;
}
.web-dashboard-head p {
  font-size:14px;
  font-weight:800;
  margin:4px 0 0;
}
.web-dashboard-head small {
  background:rgba(255,255,255,.78);
  border:1px solid rgba(37,99,235,.14);
  border-radius:var(--r-sm);
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  line-height:1.35;
  padding:10px;
  text-align:right;
  word-break:break-word;
}
.dashboard-grid {
  display:grid;
  gap:10px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:18px 0;
}
.dashboard-tile {
  background:var(--surface);
  border:1px solid rgba(37,99,235,.14);
  border-radius:var(--r-sm);
  padding:14px;
}
.dashboard-tile strong {
  color:var(--ink);
  display:block;
  font-size:28px;
  font-weight:900;
  line-height:1;
}
.dashboard-tile span {
  color:var(--muted);
  display:block;
  font-size:12px;
  font-weight:900;
  margin-top:6px;
  text-transform:none;
}
.dashboard-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}
.dashboard-actions button,
.dashboard-panel button {
  background:var(--surface);
  border:1px solid rgba(37,99,235,.22);
  border-radius:var(--r-pill);
  color:var(--blue-dark);
  cursor:pointer;
  font:inherit;
  font-size:13px;
  font-weight:900;
  padding:10px 13px;
}
.dashboard-actions button.is-selected,
.dashboard-panel button {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}
.dashboard-panel {
  background:rgba(255,255,255,.72);
  border:1px solid rgba(15,27,45,.08);
  border-radius:var(--r-card);
  display:none;
  margin:0 0 16px;
  padding:16px;
}
.dashboard-panel.is-active { display:block; }
.dashboard-panel h4,
.dashboard-list h4 {
  color:var(--ink);
  font-size:17px;
  font-weight:900;
  margin:0 0 12px;
}
.dashboard-panel input,
.dashboard-panel select {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  color:var(--ink);
  display:block;
  font:inherit;
  font-weight:800;
  margin-bottom:10px;
  padding:12px 13px;
  width:100%;
}
.dashboard-panel p,
.dashboard-output {
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  margin:8px 0 12px;
}
.dashboard-output a { color:var(--blue-dark); font-weight:900; word-break:break-all; }
.dashboard-list {
  background:rgba(255,255,255,.56);
  border:1px solid rgba(15,27,45,.07);
  border-radius:var(--r-card);
  padding:16px;
}
.dashboard-list p { margin:0 0 13px; word-break:break-word; }
.dashboard-list p:last-child { margin-bottom:0; }
.web-app-tabs {
  background:rgba(255,255,255,.74);
  border:1px solid rgba(37,99,235,.12);
  border-radius:var(--r-card);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:18px 0;
  padding:8px;
}
.web-app-tabs button {
  background:transparent;
  border:0;
  border-radius:var(--r-pill);
  color:var(--muted);
  cursor:pointer;
  font:inherit;
  font-size:13px;
  font-weight:900;
  padding:10px 13px;
}
.web-app-tabs button.is-selected {
  background:var(--blue);
  color:#fff;
  box-shadow:0 6px 14px rgba(37,99,235,.22);
}
.web-app-panel { display:none; }
.web-app-panel.is-active { display:block; }
.web-map-card {
  display:grid;
  gap:16px;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.85fr);
}
.web-map-canvas {
  background:linear-gradient(150deg,#EAF1FF,#F6F2EA);
  border:1px solid rgba(15,27,45,.08);
  border-radius:var(--r-card);
  min-height:340px;
  overflow:hidden;
  position:relative;
}
.web-map-canvas::before {
  background:
    linear-gradient(25deg, transparent 0 42%, rgba(255,255,255,.9) 42% 50%, transparent 50%),
    linear-gradient(120deg, transparent 0 38%, rgba(255,255,255,.78) 38% 46%, transparent 46%);
  content:"";
  inset:-35px;
  position:absolute;
}
.web-map-road {
  background:#fff;
  border-radius:var(--r-pill);
  box-shadow:0 0 0 1px rgba(15,27,45,.04);
  height:26px;
  position:absolute;
  width:78%;
}
.road-one { left:-8%; top:34%; transform:rotate(-10deg); }
.road-two { bottom:26%; right:-12%; transform:rotate(18deg); }
.web-map-zone,
.web-map-child {
  align-items:center;
  background:var(--surface);
  border-radius:var(--r-pill);
  box-shadow:var(--shadow);
  color:var(--ink);
  display:flex;
  font-size:13px;
  font-weight:900;
  min-height:36px;
  padding:8px 13px;
  position:absolute;
  z-index:2;
}
.zone-0 { left:8%; top:16%; }
.zone-1 { right:9%; top:30%; }
.zone-2 { left:36%; bottom:14%; }
.zone-3 { right:18%; bottom:12%; }
.web-map-child {
  background:var(--blue);
  border:3px solid #fff;
  border-radius:50% 50% 50% 5px;
  color:#fff;
  height:56px;
  justify-content:center;
  min-height:56px;
  padding:0;
  width:56px;
}
.web-map-child { line-height:50px; text-align:center; }
.child-0 { left:47%; top:44%; }
.child-1 { left:26%; top:54%; }
.child-2 { right:20%; top:54%; }
.child-3 { right:35%; top:17%; }
.web-card-list {
  display:grid;
  gap:10px;
  margin-top:12px;
}
.web-map-card .web-card-list { margin-top:0; }
.web-row,
.web-conversation {
  align-items:center;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(15,27,45,.08);
  border-radius:var(--r-card);
  display:flex;
  gap:12px;
  padding:13px;
}
.web-row > div { flex:1; min-width:0; }
.web-row strong,
.web-conversation strong {
  color:var(--ink);
  display:block;
  font-size:15px;
  font-weight:900;
}
.web-row span,
.web-conversation span,
.web-row small {
  color:var(--muted);
  display:block;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.web-row button,
.web-conversation button {
  background:var(--soft-blue);
  border:1px solid rgba(37,99,235,.16);
  border-radius:var(--r-pill);
  color:var(--blue-dark);
  cursor:pointer;
  flex:0 0 auto;
  font:inherit;
  font-size:12px;
  font-weight:900;
  padding:8px 11px;
}
.web-avatar,
.web-avatar-img {
  align-items:center;
  background:#3E78A2;
  border-radius:50%;
  color:#fff;
  display:flex;
  flex:0 0 42px;
  font-size:17px;
  font-weight:900;
  height:42px;
  justify-content:center;
  object-fit:cover;
  width:42px;
}
.web-conversation {
  align-items:stretch;
  display:block;
}
.web-messages {
  background:var(--cream);
  border-radius:var(--r-sm);
  margin:10px 0;
  padding:10px;
}
.web-messages p {
  color:var(--ink);
  font-size:13px;
  line-height:1.4;
  margin:0 0 7px;
}
.web-messages p:last-child { margin-bottom:0; }
.web-conversation input {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  color:var(--ink);
  font:inherit;
  font-weight:800;
  margin:8px 8px 0 0;
  min-width:240px;
  padding:10px 12px;
}
.participant-grid {
  display:grid;
  gap:8px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:10px 0 14px;
}
.participant-choice {
  align-items:center;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(37,99,235,.14);
  border-radius:var(--r-sm);
  cursor:pointer;
  display:grid;
  gap:10px;
  grid-template-columns:22px 34px minmax(0,1fr);
  min-height:64px;
  padding:10px;
}
.participant-choice input {
  flex:0 0 auto;
  height:18px;
  margin:0;
  min-height:auto;
  width:18px;
}
.participant-avatar {
  align-items:center;
  background:var(--blue);
  border-radius:50%;
  color:#fff;
  display:flex;
  font-size:13px;
  font-weight:900;
  height:34px;
  justify-content:center;
  width:34px;
}
.participant-copy {
  min-width:0;
}
.participant-choice strong {
  color:var(--ink);
  display:block;
  font-size:13px;
  font-weight:900;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.participant-choice small {
  color:var(--muted);
  display:block;
  font-size:11px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.participant-summary {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:10px 0;
}
.participant-summary small {
  background:var(--soft-blue);
  border-radius:var(--r-pill);
  color:var(--blue-dark);
  font-size:11px;
  font-weight:900;
  padding:6px 9px;
}
.conversation-participants {
  background:rgba(255,255,255,.62);
  border:1px solid rgba(15,27,45,.08);
  border-radius:var(--r-sm);
  margin:10px 0;
  padding:10px;
}
.conversation-participants summary {
  color:var(--blue-dark);
  cursor:pointer;
  font-size:13px;
  font-weight:900;
}
.web-security-grid {
  display:grid;
  gap:10px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.web-security-grid article {
  background:var(--surface);
  border:1px solid rgba(16,185,129,.18);
  border-radius:var(--r-card);
  padding:16px;
}
.web-security-grid strong {
  color:var(--ink);
  display:block;
  font-size:30px;
  font-weight:900;
}
.web-security-grid span {
  color:var(--muted);
  display:block;
  font-size:13px;
  font-weight:900;
}
.web-toggle {
  align-items:center;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(15,27,45,.08);
  border-radius:var(--r-sm);
  color:var(--ink);
  display:flex;
  font-size:14px;
  font-weight:900;
  gap:10px;
  margin-bottom:9px;
  padding:12px;
}
.web-toggle input { margin:0; width:auto; }
.settings-card .web-toggle {
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  display:grid;
  gap:18px;
  grid-template-columns:minmax(0,1fr) auto;
  margin-bottom:12px;
  min-height:78px;
  padding:16px 18px;
}
.settings-card .toggle-copy {
  display:grid;
  gap:4px;
  min-width:0;
}
.settings-card .toggle-copy strong {
  color:var(--ink);
  font-size:15px;
  font-weight:900;
}
.settings-card .toggle-copy small {
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}
.dashboard-card .web-toggle input[type="checkbox"],
.dashboard-panel .web-toggle input[type="checkbox"],
.settings-card .web-toggle input[type="checkbox"] {
  height:1px;
  margin:0;
  opacity:0;
  padding:0;
  pointer-events:none;
  position:absolute;
  width:1px;
}
.toggle-switch {
  background:#D8DEE8;
  border-radius:999px;
  box-shadow:inset 0 0 0 1px rgba(15,27,45,.08);
  display:block;
  height:30px;
  position:relative;
  transition:.18s ease;
  width:54px;
}
.toggle-switch::after {
  background:#fff;
  border-radius:999px;
  box-shadow:0 3px 10px rgba(15,27,45,.18);
  content:"";
  height:24px;
  left:3px;
  position:absolute;
  top:3px;
  transition:.18s ease;
  width:24px;
}
.web-toggle input[type="checkbox"]:checked + .toggle-switch {
  background:var(--blue);
}
.web-toggle input[type="checkbox"]:checked + .toggle-switch::after {
  transform:translateX(24px);
}
.web-toggle:has(input[type="checkbox"]:checked) {
  border-color:rgba(37,99,235,.22);
  box-shadow:0 10px 24px rgba(37,99,235,.08);
}

/* ---------- Account dashboard ---------- */
.dashboard-page {
  background:#F7F4ED;
}
.dashboard-topbar {
  align-items:center;
  background:rgba(247,244,237,.94);
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  min-height:72px;
  padding:0 5vw;
  position:sticky;
  top:0;
  z-index:30;
}
.dashboard-session {
  align-items:center;
  display:flex;
  gap:12px;
}
.dashboard-session span {
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}
.dashboard-session button,
.dashboard-card button {
  background:var(--blue);
  border:0;
  border-radius:var(--r-pill);
  color:#fff;
  cursor:pointer;
  font:inherit;
  font-size:13px;
  font-weight:900;
  padding:10px 14px;
}
.dashboard-shell {
  display:grid;
  gap:22px;
  grid-template-columns:310px minmax(0,1fr);
  min-height:calc(100vh - 72px);
  padding:28px 5vw;
}
.dashboard-sidebar {
  align-self:start;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:24px;
  position:sticky;
  top:96px;
}
.dashboard-sidebar h1 {
  font-size:38px;
  margin-bottom:12px;
}
.dashboard-sidebar p {
  font-size:15px;
}
.dashboard-nav {
  display:grid;
  gap:8px;
  margin-top:22px;
}
.dashboard-nav button {
  background:transparent;
  border:1px solid transparent;
  border-radius:var(--r-sm);
  color:var(--muted);
  cursor:pointer;
  font:inherit;
  font-size:15px;
  font-weight:900;
  padding:13px 14px;
  text-align:left;
}
.dashboard-nav button.is-selected {
  background:var(--soft-blue);
  border-color:#C7D7FE;
  color:var(--blue-dark);
}
.dashboard-main {
  min-width:0;
}
.dashboard-login,
.dashboard-content {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:28px;
}
.dashboard-login {
  margin:8vh auto 0;
  max-width:520px;
}
.dashboard-title-row {
  align-items:flex-start;
  display:flex;
  gap:16px;
  justify-content:space-between;
  margin-bottom:18px;
}
.dashboard-title-row h2 {
  font-size:36px;
}
.dashboard-id {
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  max-width:280px;
  padding:10px;
  word-break:break-all;
}
.dashboard-kpis {
  display:grid;
  gap:12px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-bottom:18px;
}
.dashboard-kpis article,
.dashboard-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 6px 18px rgba(15,27,45,.06);
  padding:18px;
}
.dashboard-kpis strong {
  color:var(--ink);
  display:block;
  font-size:30px;
  font-weight:900;
}
.dashboard-kpis span {
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}
.dashboard-grid-2 {
  display:grid;
  gap:16px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.dashboard-card {
  margin-bottom:16px;
}
.dashboard-card h3 {
  margin-top:0;
}
.dashboard-card input,
.dashboard-card select {
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  color:var(--ink);
  display:block;
  font:inherit;
  font-weight:800;
  margin-bottom:10px;
  min-height:48px;
  padding:0 13px;
  width:100%;
}
.form-grid-2 {
  display:grid;
  gap:10px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.helper-card {
  background:linear-gradient(150deg,#EFF6FF,#ECFDF5);
  border-color:#BFDBFE;
}
.info-split {
  display:grid;
  gap:12px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.info-split article {
  background:rgba(255,255,255,.78);
  border:1px solid rgba(37,99,235,.12);
  border-radius:var(--r-sm);
  padding:14px;
}
.info-split strong {
  color:var(--ink);
  display:block;
  font-size:15px;
  font-weight:900;
  margin-bottom:6px;
}
.info-split span,
.field-help {
  color:var(--muted);
  display:block;
  font-size:13px;
  font-weight:800;
  line-height:1.45;
}
.field-help {
  margin:4px 0 14px;
}
.dashboard-map {
  min-height:420px;
}
.dashboard-card-title {
  align-items:flex-start;
  display:flex;
  gap:16px;
  justify-content:space-between;
  margin-bottom:14px;
}
.dashboard-card-title h3 {
  margin-bottom:4px;
}
.dashboard-card-title p {
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  line-height:1.35;
  margin:0;
}
.dashboard-card-title a {
  background:var(--soft-blue);
  border:1px solid rgba(37,99,235,.18);
  border-radius:var(--r-pill);
  color:var(--blue-dark);
  flex:0 0 auto;
  font-size:13px;
  font-weight:900;
  padding:9px 12px;
}
.real-dashboard-map {
  background:#E9EEF0;
  border:1px solid rgba(15,27,45,.10);
  border-radius:var(--r-card);
  height:480px;
  overflow:hidden;
  position:relative;
}
.real-dashboard-map iframe {
  border:0;
  height:100%;
  inset:0;
  position:absolute;
  width:100%;
}
.map-note {
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  line-height:1.45;
  margin:12px 0 0;
}

/* ---------- Devices ---------- */
.devices-section { align-items:center; background:var(--ink); display:grid; gap:28px; grid-template-columns:1fr auto; padding:74px 6vw; }
.devices-section h2, .devices-section p { color:#fff; }
.store-row { display:flex; flex-wrap:wrap; gap:12px; }
.store-row span, .store-row a { background:var(--blue); border-radius:var(--r-pill); color:#fff; font-weight:800; padding:14px 22px; }
.store-row a { box-shadow:0 8px 20px rgba(37,99,235,.28); }

/* ---------- Footer ---------- */
footer { align-items:center; background:#EFE8DB; border-top:1px solid var(--line); display:flex; justify-content:space-between; padding:32px 6vw; }
footer strong { color:var(--ink); font-size:16px; font-weight:900; }
footer p { color:var(--muted); margin:6px 0 0; font-size:14px; font-weight:600; }
footer a { color:var(--blue); font-weight:800; }
.footer-links { display:flex; gap:18px; }

/* ---------- Join invitation ---------- */
.join-page {
  background:linear-gradient(180deg,#FBF9F4 0%,var(--cream) 100%);
  min-height:100vh;
}
.join-shell {
  align-items:center;
  display:flex;
  min-height:100vh;
  padding:28px 20px;
}
.join-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow-lg);
  margin:0 auto;
  max-width:560px;
  padding:34px;
  width:100%;
}
.join-brand {
  margin-bottom:28px;
}
.join-card h1 {
  font-size:clamp(34px,8vw,52px);
}
.join-code {
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  margin:24px 0;
  padding:20px;
  text-align:center;
}
.join-code span {
  color:var(--muted);
  display:block;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.join-code strong {
  color:var(--ink);
  display:block;
  font-size:42px;
  font-weight:900;
  letter-spacing:.04em;
  margin-top:6px;
}
.join-actions {
  display:grid;
  gap:12px;
}
.join-note {
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  margin-bottom:0;
}

/* ---------- Responsive ---------- */
@media (max-width:1080px) {
  .topbar { grid-template-columns:1fr auto; }
  nav { display:none; }
  .nav-login { display:none; }
  .hero, .intro-section, .feature-row, .devices-section { grid-template-columns:1fr; }
  .hero { grid-template-columns:minmax(0,1fr); padding-top:42px; }
  .hero-highlights { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hero-visual { min-height:500px; overflow:hidden; }
  .product-visual { min-height:520px; }
  .portal-preview { transform:translateX(0); width:min(620px,100%); }
  .mobile-preview { margin-left:-120px; transform:translateY(64px) scale(.92); }
  .family-pulse-card { left:calc(50% - 250px); top:22px; }
  .proof-live { right:calc(50% - 250px); top:54px; }
  .proof-privacy { bottom:32px; left:calc(50% - 260px); }
  .feature-row.reverse .feature-media { order:0; }
  .tiles-section, .wizard-shell, .login-shell, .release-grid { grid-template-columns:1fr; }
  .web-map-card { grid-template-columns:1fr; }
  .dashboard-shell { grid-template-columns:1fr; }
  .dashboard-sidebar { position:static; }
  .dashboard-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
  footer { align-items:flex-start; flex-direction:column; gap:16px; }
}
@media (max-width:680px) {
  .topbar { min-height:64px; padding:0 18px; }
  .brand { font-size:20px; }
  .nav-cta { padding:10px 14px; }
  .hero, .intro-section, .feature-row, .tiles-section, .section, .devices-section { padding-left:20px; padding-right:20px; }
  .hero-highlights { grid-template-columns:1fr; }
  .hero-highlights article { min-height:0; }
  .hero-trust-strip span { width:100%; }
  .hero-visual { justify-content:center; min-height:440px; width:100%; }
  .family-pulse-card, .floating-proof { display:none; }
  .product-visual { min-height:620px; padding-top:10px; }
  .portal-preview {
    height:360px;
    transform:translateY(-64px) scale(.78);
    transform-origin:center top;
    width:620px;
  }
  .portal-preview::after { display:none; }
  .mobile-preview {
    margin-left:0;
    position:absolute;
    right:12px;
    top:220px;
    transform:scale(.78);
    transform-origin:right top;
  }
  .hero-visual .phone-mockup { transform:scale(.82); }
  .hero-visual .main-phone { transform:rotate(-4deg) scale(.82); }
  .hero-visual .side-phone { transform:rotate(8deg) scale(.82); }
  .dashboard-grid, .web-security-grid { grid-template-columns:1fr; }
  .web-dashboard-head { flex-direction:column; }
  .web-row { align-items:flex-start; flex-direction:column; }
  .web-row button { width:100%; }
  .web-conversation input { min-width:0; width:100%; }
  .web-app-tabs button { flex:1 1 42%; }
  .dashboard-topbar { padding:0 18px; }
  .dashboard-session span { display:none; }
  .dashboard-shell { padding:18px; }
  .dashboard-nav { grid-template-columns:1fr 1fr; }
  .dashboard-grid-2, .dashboard-kpis, .form-grid-2, .info-split, .participant-grid { grid-template-columns:1fr; }
  .dashboard-title-row { flex-direction:column; }
  .dashboard-card-title { flex-direction:column; }
  .real-dashboard-map { height:360px; }
  .dashboard-content, .dashboard-login, .dashboard-sidebar { padding:20px; }
  .feature-media { min-height:300px; padding:18px; }
  .permission-note { margin-top:16px; max-width:none; position:static; width:100%; }
  .cocon-media { align-items:center; flex-direction:column; }
  .tiles-section { grid-template-columns:1fr; }
  .footer-links { flex-direction:column; }
}
