/* ==========================================================================
   TutorsHub — sample site (Growly layout structure, TutorsHub brand)
   ========================================================================== */

:root{
  /* ---- Color tokens (brand blue from tutorshub.ca theme-color #2563eb) ---- */
  --ink:        #0f172a;
  --slate:      #475569;
  --slate-2:    #64748b;
  --slate-mute: #94a3b8;

  --horizon:      #7534DC;
--horizon-600:  #7534DC;
--horizon-700:  #6429C2;
--horizon-900:  #2E1065;
--horizon-950:  #1E0B45;

--sky-50:   #F5F0FD;
--sky-100:  #E6D9FA;
--sky-200:  #D2B8F5;

  --progress:      #0ea678;  /* secondary "growth" accent, emerald */
  --progress-tint: #e6f9f2;

  --paper: #ffffff;
  --mist:  #f7f9fc;
  --line:  #e3e8f1;
  --line-2:#cbd5e1;

  /* ---- Type ---- */
  --font-display: 'Outfit', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* ---- Layout ---- */
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --shadow: 0 12px 30px -12px rgba(30,58,138,.22);
  --shadow-lg: 0 30px 60px -20px rgba(21,42,99,.28);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ max-width: 100%; overflow-x: hidden; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
svg{ width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input,textarea,select{ font-family: inherit; font-size: 1rem; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 4.6vw, 3.85rem); font-weight: 650; letter-spacing:-0.02em; }
h2{ font-size: clamp(1.9rem, 3.2vw, 2.65rem); }
h3{ font-size: 1.28rem; }
p{ margin: 0 0 1em; }

:focus-visible{ outline: 2.5px solid var(--horizon-700); outline-offset: 3px; border-radius: 4px; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section{ padding: 96px 0; }
.section--tight{ padding: 64px 0; }
.section--soft{ background: var(--mist); }
.section--tint{ background: linear-gradient(180deg, var(--sky-50), #ffffff 70%); }
.section--dark{ background: linear-gradient(160deg, var(--horizon-950), var(--horizon-900)); color: #d6e2ff; }
.section--dark h2, .section--dark h3{ color:#fff; }
.section--dark p{ color: #b9c9f2; }

@media (max-width: 980px){ .section{ padding: 68px 0; } }

/* ---- Eyebrow / labels ---- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--horizon-700); font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:""; width:7px; height:7px; border-radius:50%;
  background: var(--progress); box-shadow: 0 0 0 4px var(--progress-tint);
}
.section--dark .eyebrow{ color:#9db4f5; }
.section--dark .eyebrow::before{ box-shadow: 0 0 0 4px rgba(14,166,120,.25); }

.section-head{ max-width: 660px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--horizon); color:#fff; box-shadow: var(--shadow); }
.btn-primary:hover{ background: var(--horizon-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-dark{ background: var(--ink); color:#fff; }
.btn-dark:hover{ background:#000; transform: translateY(-2px); }
.btn-ghost{ background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover{ border-color: var(--horizon); color: var(--horizon-700); }
.btn-on-dark{ background:#fff; color: var(--horizon-900); }
.btn-on-dark:hover{ background: var(--sky-100); transform: translateY(-2px); }
.btn-outline-on-dark{ border-color: rgba(255,255,255,.35); color:#fff; }
.btn-outline-on-dark:hover{ border-color:#fff; background: rgba(255,255,255,.08); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 18px; font-size: .88rem; }
.btn svg{ width:17px; height:17px; flex-shrink:0; }

/* ---- Header / mega menu ---- */
.site-header{
  position: sticky; top:0; z-index: 90;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row{ display:flex; align-items:center; justify-content:space-between; height: 84px; gap: 12px; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--ink); flex-shrink:1; min-width:0; white-space:nowrap; }
.brand-mark{
  width:38px; height:38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--horizon), var(--progress));
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.brand-mark svg{ width:20px; height:20px; }
.logo-width{width:150px;}
.nav-desktop{ display:flex; align-items:center; gap: 4px; }
.nav-desktop > li{ position:relative; }
.nav-desktop > li > a, .nav-desktop > li > button{
  display:flex; align-items:center; gap:6px;
  padding: 12px 16px; border-radius: 999px; font-weight:560; font-size: .98rem;
  color: var(--ink); background:none; border:none;
}
.nav-desktop > li > a:hover, .nav-desktop > li > button:hover, .nav-desktop > li.is-open > button{ background: var(--sky-50); color: var(--horizon-700); }
.nav-desktop > li > button svg{ width:15px; height:15px; transition: transform .2s ease; }
.nav-desktop > li.is-open > button svg{ transform: rotate(180deg); }

.header-actions{ display:flex; align-items:center; gap: 10px; flex-shrink:0; }
.header-actions .btn-ghost{ display:none; }
@media (min-width: 860px){ .header-actions .btn-ghost{ display:inline-flex; } }

.mega{
  position:absolute;  left: 10%; transform: translateX(-50%);
  width: 1024px; max-width: 84vw;
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px; display:none; grid-template-columns: repeat(3, 1fr); gap: 6px 22px;
}
.nav-desktop > li.is-open .mega{ display:grid; }
@media (hover:hover) and (min-width: 981px){
  .nav-desktop > li:hover .mega{ display:grid; }
  .nav-desktop > li:hover > button svg{ transform: rotate(180deg); }
}
.mega-col-title{ font-family: var(--font-mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color: var(--slate-mute); margin: 4px 0 10px; }
.mega a.mega-link{
  display:flex; gap: 12px; align-items:flex-start; padding: 9px 8px; border-radius: 12px; color: var(--ink);
}
.mega a.mega-link:hover{ background: var(--sky-50); }
.mega a.mega-link .ic{
  width:34px; height:34px; border-radius:9px; background: var(--sky-50); color: var(--horizon-700);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.mega a.mega-link:hover .ic{ background: var(--horizon); color:#fff; }
.mega a.mega-link .ic svg{ width:17px; height:17px; }
.mega a.mega-link strong{ display:block; font-size:.93rem; font-weight:600; }
.mega a.mega-link span{ display:block; font-size:.8rem; color: var(--slate-2); margin-top:1px; }
.mega-feature{
  grid-column: 1 / -1; margin-top: 10px; padding-top: 18px; border-top:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
}
.mega-feature p{ margin:0; font-size:.88rem; color: var(--slate-2); }
.mega-feature strong{ display:block; color: var(--ink); font-size: .95rem; }

.menu-toggle{
  display:flex; align-items:center; justify-content:center;
  width: 44px; height:44px; border-radius: 12px; border:1.5px solid var(--line-2); background:#fff;
}
.menu-toggle svg{ width:20px; height:20px; }
@media (min-width: 981px){ .menu-toggle{ display:none; } }
@media (max-width: 980px){ .nav-desktop{ display:none; } }

@media (max-width: 420px){
  .container{ padding: 0 18px; }
  .header-row{ height: 74px; gap: 8px; }
  .brand{ font-size: 1.08rem; gap:8px; }
  .brand-mark{ width:32px; height:32px; border-radius:9px; }
  .brand-mark svg{ width:17px; height:17px; }
  .header-actions{ gap:6px; }
  .header-actions .btn{ padding: 10px 14px; font-size:.86rem; }
  .header-actions .btn svg{ width:14px; height:14px; }
  .menu-toggle{ width:40px; height:40px; }
}

.nav-mobile{
  display:none; position: fixed; inset: 84px 0 0 0; background:#fff; z-index: 89;
  overflow-y:auto; padding: 10px 24px 40px;
}
.nav-mobile.is-open{ display:block; }
.nav-mobile-item > a, .nav-mobile-item > button{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding: 16px 4px; border-bottom:1px solid var(--line); background:none; border-left:0;border-right:0;border-top:0;
  font-size: 1.08rem; font-weight:600; color: var(--ink); text-align:left;
}
.nav-mobile-item svg{ width:16px; height:16px; transition: transform .2s ease; }
.nav-mobile-item.is-open > button svg{ transform: rotate(180deg); }
.nav-mobile-sub{ display:none; padding: 6px 0 14px 6px; }
.nav-mobile-item.is-open .nav-mobile-sub{ display:block; }
.nav-mobile-sub li a{ display:block; padding: 10px 4px; color: var(--slate); font-size:.98rem; }
.nav-mobile-actions{ margin-top: 22px; display:flex; flex-direction:column; gap:10px; }

/* ---- Hero ---- */
.hero{ position:relative; overflow:hidden; padding: 76px 0 40px; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items:center; }
@media (max-width: 980px){ .hero-grid{ grid-template-columns: 1fr; gap:48px; } }

.hero-copy h1{ margin-bottom: .42em; }
.hero-copy .lede{ font-size: 1.15rem; max-width: 520px; }
.hero-cta{ display:flex; gap: 14px; flex-wrap:wrap; margin: 30px 0 34px; }

.hero-pills{ display:flex; gap:10px; flex-wrap:wrap; }
.pill{
  display:flex; align-items:center; gap:8px;
  padding: 9px 15px 9px 10px; border-radius: 999px; background:#fff; border:1px solid var(--line);
  font-size: .86rem; font-weight:600; color: var(--ink); box-shadow: var(--shadow-sm);
}
.pill .dot{ width:8px; height:8px; border-radius:50%; }
.pill .dot.blue{ background: var(--horizon); }
.pill .dot.green{ background: var(--progress); }
.pill .dot.ink{ background: var(--ink); }

.hero-art{ position:relative; height: 480px; }
@media (max-width: 980px){ .hero-art{ height: 380px; max-width:460px; margin:0 auto; } }
@media (max-width: 560px){ .hero-art{ height: 320px; } }

.hero-path{ position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.9; }

.hero-phone-wrap{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; z-index:1; }
.hero-phone-glow{ position:absolute; width:76%; height:76%; border-radius:50%; background: radial-gradient(circle, var(--sky-100), transparent 72%); z-index:0; }
.hero-phone-wrap svg{ position:relative; z-index:1; height:100%; width:auto; filter: drop-shadow(0 28px 40px rgba(30,58,138,.25)); }
@media (max-width: 560px){ .hero-phone-wrap svg{ height:92%; } }

.hero-card{
  position:absolute; background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border:1px solid var(--line); padding: 18px 20px; z-index:2;
}
.hero-card-illustration{
  position:absolute; inset: 10% 8%; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--sky-100), var(--sky-50));
  box-shadow: var(--shadow-lg); display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.hero-card-illustration svg{ width:78%; height:78%; }

.hero-stat-1{ top: 4%; right: -2%; }
.hero-stat-2{ bottom: 6%; left: -4%; }
@media (max-width: 560px){ .hero-stat-1{ right:0; } .hero-stat-2{ left:0; } }
.hero-stat-num{ font-family: var(--font-mono); font-size: 1.5rem; font-weight:700; color: var(--ink); line-height:1; }
.hero-stat-label{ font-size:.78rem; color: var(--slate-2); margin-top:5px; max-width:140px; }
.hero-stat-chip{ display:inline-flex; align-items:center; gap:6px; background: var(--progress-tint); color: var(--progress); font-size:.72rem; font-weight:700; padding:3px 9px; border-radius:999px; margin-bottom:8px; }
.hero-stat-chip svg{ width:11px; height:11px; }

/* ---- App store badges ---- */
.badge-row{ display:flex; gap:12px; flex-wrap:wrap; }
.badge-row.sm{ gap:8px; }
.store-badge{
  display:inline-flex; align-items:center; gap:10px; background: var(--ink); color:#fff;
  padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--ink);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.store-badge:hover{ transform: translateY(-2px); background:#000; box-shadow: var(--shadow); }
.store-badge .ic{ width:22px; height:22px; flex-shrink:0; }
.store-badge .top{ display:block; font-size:.6rem; text-transform:uppercase; letter-spacing:.05em; opacity:.8; line-height:1.2; }
.store-badge .bottom{ display:block; font-family: var(--font-display); font-weight:600; font-size:.98rem; line-height:1.2; }
.badge-row.sm .store-badge{ padding:8px 14px; gap:8px; }
.badge-row.sm .store-badge .ic{ width:18px; height:18px; }
.badge-row.sm .store-badge .bottom{ font-size:.86rem; }
.store-badge.on-dark{ background:#fff; color: var(--horizon-900); border-color:#fff; }
.store-badge.on-dark:hover{ background: var(--sky-100); }

/* ---- Logos / marquee strip ---- */
.strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background: var(--mist); padding: 26px 0; }
.strip-row{ display:flex; align-items:center; justify-content:space-between; gap: 20px; flex-wrap:wrap; }
.strip-label{ font-family: var(--font-mono); font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; color: var(--slate-mute); flex-shrink:0; }
.strip-words{ display:flex; gap: 34px; flex-wrap:wrap; font-family: var(--font-display); font-weight:600; color: var(--slate-2); font-size: 1rem; }

/* ---- Stats band ---- */
.stats-band{ background: linear-gradient(160deg, var(--horizon-950), var(--horizon-900)); position:relative; overflow:hidden; }
.stats-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position:relative; z-index:1; }
@media (max-width: 780px){ .stats-grid{ grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } }
.stat-item{ color:#fff; }
.stat-num{ font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 2.6rem); font-weight:700; color:#fff; display:flex; align-items:baseline; gap:2px; }
.stat-num .sfx{ font-size: 1.2rem; color: #6fe3b4; }
.stat-label{ color:#a9bcec; font-size: .92rem; margin-top:6px; }
.stats-path{ position:absolute; right:-40px; bottom:-30px; width:46%; opacity:.18; z-index:0; }

/* ---- Feature split rows ---- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
.split + .split{ margin-top: 100px; }
.split.reverse .split-art{ order:2; }
@media (max-width: 900px){
  .split, .split.reverse .split-art{ grid-template-columns: 1fr; order:0; }
  .split{ gap: 32px; }
  .split + .split{ margin-top: 64px; }
}
.split-art{ position:relative; }
.split-art-frame{
  border-radius: var(--radius-lg); background: linear-gradient(155deg, var(--sky-50), var(--sky-100));
  aspect-ratio: 5/4.3; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow); overflow:hidden;
}
.split-art-frame.tutor{ background: linear-gradient(155deg, var(--progress-tint), #f2fdf9); }
.split-art-frame svg{ width:72%; height:72%; }
.split-badge{
  position:absolute; bottom:-18px; left: -18px; background:#fff; border:1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 18px; display:flex; align-items:center; gap:12px;
}
.split.reverse .split-badge{ left:auto; right:-18px; }
@media (max-width: 560px){ .split-badge{ left:12px; right:12px !important; bottom:-16px; } }
.split-badge .ic{ width:38px; height:38px; border-radius:10px; background: var(--progress-tint); color: var(--progress); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.split-badge .ic svg{ width:19px; height:19px; }
.split-badge strong{ display:block; font-size:.92rem; color:var(--ink); }
.split-badge span{ font-size:.78rem; color: var(--slate-2); }

.feature-list{ margin-top: 26px; display:flex; flex-direction:column; gap: 18px; }
.feature-list li{ display:flex; gap:14px; align-items:flex-start; }
.feature-list .ic{
  width: 36px; height:36px; border-radius: 10px; background: var(--sky-50); color: var(--horizon-700);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top: 2px;
}
.feature-list.tutor .ic{ background: var(--progress-tint); color: var(--progress); }
.feature-list .ic svg{ width:18px; height:18px; }
.feature-list strong{ display:block; color: var(--ink); font-size: 1.02rem; margin-bottom:2px; }
.feature-list p{ margin:0; font-size: .96rem; }

/* ---- Card grids ---- */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px){ .grid-3{ grid-template-columns: repeat(2,1fr); } .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-3, .grid-4{ grid-template-columns: 1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic{
  width:48px; height:48px; border-radius: 13px; background: var(--sky-50); color: var(--horizon-700);
  display:flex; align-items:center; justify-content:center; margin-bottom: 18px;
}
.card .ic svg{ width:23px; height:23px; }
.card.alt .ic{ background: var(--progress-tint); color: var(--progress); }
.card h3{ margin-bottom:8px; }
.card p{ margin:0; font-size: .95rem; }
.card .num{ font-family: var(--font-mono); font-size:.8rem; color: var(--slate-mute); margin-bottom:10px; display:block; }

/* ---- Steps / process ---- */
.steps{ counter-reset: step; display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
@media (max-width: 820px){ .steps{ grid-template-columns: 1fr; } }
.step{ position:relative; padding-top: 6px; }
.step-num{
  font-family: var(--font-mono); font-weight:700; font-size:1rem; color:#fff;
  width:40px; height:40px; border-radius:12px; background: var(--horizon); display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.step:nth-child(2) .step-num{ background: var(--progress); }
.step:nth-child(3) .step-num{ background: var(--ink); }

/* ---- Testimonials ---- */
.testi-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display:flex; flex-direction:column; gap:16px; box-shadow: var(--shadow-sm);
}
.testi-stars{ display:flex; gap:3px; color:#f5b333; }
.testi-stars svg{ width:15px; height:15px; }
.testi-quote{ color: var(--ink); font-size: 1.01rem; margin:0; flex-grow:1; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.avatar{
  width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; color:#fff; font-size:.92rem; flex-shrink:0;
}
.testi-person strong{ display:block; font-size:.92rem; color: var(--ink); }
.testi-person span{ font-size:.8rem; color: var(--slate-2); }
.testi-tag{ font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; color: var(--slate-mute); font-family: var(--font-mono); }

/* ---- CTA banner ---- */
.cta-banner{
  border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--horizon-900), var(--horizon-700) 60%, var(--progress) 150%);
  padding: 58px 56px; display:flex; align-items:center; justify-content:space-between; gap: 40px; color:#fff; position:relative; overflow:hidden;
}
.cta-banner::after{
  content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
}
.cta-banner h2{ color:#fff; margin-bottom:8px; }
.cta-banner p{ color:#d7e2fb; margin:0; max-width: 420px; }
.cta-actions{ display:flex; gap:12px; flex-shrink:0; flex-wrap:wrap; }
@media (max-width: 780px){ .cta-banner{ flex-direction:column; align-items:flex-start; padding: 40px 30px; } }

/* ---- Newsletter ---- */
.newsletter{ background: var(--mist); border-top:1px solid var(--line); }
.newsletter-row{ display:flex; align-items:center; justify-content:space-between; gap: 32px; flex-wrap:wrap; }
.newsletter h3{ margin-bottom:4px; }
.newsletter p{ margin:0; color: var(--slate-2); font-size:.95rem; }
.newsletter-form{ display:flex; gap:10px; flex-wrap:wrap; }
.newsletter-form input[type=email]{
  padding: 13px 18px; border-radius:999px; border:1.5px solid var(--line-2); min-width:250px; background:#fff;
}
.newsletter-form input[type=email]:focus{ border-color: var(--horizon); outline:none; }
.form-note{ font-size:.76rem; color: var(--slate-mute); margin-top:8px; }

/* ---- Blog cards ---- */
.blog-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; display:flex; flex-direction:column; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-thumb{ aspect-ratio: 16/10.5; background: linear-gradient(155deg, var(--sky-100), var(--sky-50)); display:flex; align-items:center; justify-content:center; }
.blog-thumb svg{ width:44%; height:44%; }
.blog-thumb.alt{ background: linear-gradient(155deg, var(--progress-tint), #f2fdf9); }
.blog-body{ padding: 24px 24px 26px; display:flex; flex-direction:column; gap:10px; flex-grow:1; }
.blog-meta{ display:flex; gap:10px; align-items:center; font-family: var(--font-mono); font-size:.72rem; color: var(--slate-mute); text-transform:uppercase; letter-spacing:.05em; }
.tag{ background: var(--sky-50); color: var(--horizon-700); font-family: var(--font-body); text-transform:none; letter-spacing:0; padding:3px 10px; border-radius:999px; font-weight:600; font-size:.74rem; }
.tag.green{ background: var(--progress-tint); color: var(--progress); }
.blog-body h3{ margin:0; font-size:1.12rem; }
.blog-body p{ margin:0; font-size:.92rem; }
.blog-readmore{ margin-top:auto; padding-top:8px; font-weight:700; font-size:.88rem; color: var(--horizon-700); display:flex; align-items:center; gap:6px; }
.blog-readmore svg{ width:15px; height:15px; transition: transform .18s ease; }
.blog-card:hover .blog-readmore svg{ transform: translateX(3px); }

/* ---- FAQ accordion ---- */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  width:100%; background:none; border:none; padding: 22px 4px; display:flex; align-items:center; justify-content:space-between;
  text-align:left; font-family: var(--font-display); font-weight:600; font-size: 1.04rem; color: var(--ink);
}
.faq-q svg{ width:19px; height:19px; flex-shrink:0; transition: transform .2s ease; color: var(--horizon); }
.faq-item.is-open .faq-q svg{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .28s ease; }
.faq-item.is-open .faq-a{ max-height: 320px; }
.faq-a p{ padding: 0 4px 22px; margin:0; font-size:.96rem; }

/* ---- Contact page ---- */
.contact-grid{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 56px; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-info-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:22px; display:flex; gap:14px; align-items:flex-start; }
.contact-info-card .ic{ width:42px; height:42px; border-radius:11px; background: var(--sky-50); color:var(--horizon-700); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-card .ic svg{ width:20px; height:20px; }
.contact-info-card strong{ display:block; color:var(--ink); font-size:.98rem; }
.contact-info-card span, .contact-info-card a{ font-size:.9rem; color: var(--slate-2); }

.form-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size:.86rem; font-weight:600; color: var(--ink); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--mist);
  transition: border-color .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--horizon); background:#fff; outline:none; }
.field textarea{ resize: vertical; min-height: 120px; }
.radio-row{ display:flex; gap:12px; flex-wrap:wrap; }
.radio-chip{ position:relative; }
.radio-chip input{ position:absolute; opacity:0; inset:0; cursor:pointer; }
.radio-chip label{
  display:flex; align-items:center; gap:8px; padding: 10px 16px; border-radius:999px; border:1.5px solid var(--line-2);
  font-size:.88rem; font-weight:600; color: var(--slate-2); cursor:pointer; transition: all .15s ease;
}
.radio-chip input:checked + label{ border-color: var(--horizon); background: var(--sky-50); color: var(--horizon-700); }

/* ---- Map / office block ---- */
.map-block{ border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line); aspect-ratio: 16/6; background:
  repeating-linear-gradient(135deg, var(--sky-50), var(--sky-50) 14px, #fff 14px, #fff 28px);
  display:flex; align-items:center; justify-content:center; position:relative;
}
.map-pin{ display:flex; flex-direction:column; align-items:center; gap:8px; color: var(--horizon-900); }
.map-pin .pin-ic{ width:48px; height:48px; border-radius:50%; background:var(--horizon); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow); }
.map-pin .pin-ic svg{ width:24px; height:24px; }
.map-pin strong{ font-family: var(--font-display); }

/* ---- Footer ---- */
.site-footer{ background: linear-gradient(180deg, var(--horizon-950), #0e1e4d); color: #b9c9f2; padding-top: 76px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 860px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand .brand{ color:#fff; }
.footer-brand p{ font-size:.92rem; max-width: 300px; margin: 14px 0 20px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition: background .18s ease; }
.footer-social a:hover{ background: var(--horizon); }
.footer-social svg{ width:16px; height:16px; color:#fff; }
.footer-col h4{ color:#fff; font-family: var(--font-mono); font-size:.76rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom: 18px; font-weight:600; }
.footer-col li{ margin-bottom: 12px; }
.footer-col a{ font-size:.92rem; color:#b9c9f2; transition: color .15s ease; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding: 26px 0; font-size:.82rem; color: #8ea1d6; }
.footer-bottom a{ color: #8ea1d6; }
.footer-bottom a:hover{ color:#fff; }

/* ---- Sample / demo banner (this is a mockup, not the live site) ---- */
.demo-banner{
  background: var(--ink); color:#fff; text-align:center; font-size:.85rem; padding: 10px 16px;
  font-family: var(--font-mono); letter-spacing:.01em;
}
.demo-banner strong{ color: #6fe3b4; }

/* ---- Page header (inner pages) ---- */
.page-hero{ padding: 60px 0 54px; text-align:center; }
.page-hero .eyebrow{ justify-content:center; }
.page-hero p{ max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumbs{ display:flex; gap:8px; justify-content:center; align-items:center; font-size:.85rem; color: var(--slate-mute); margin-bottom:18px; flex-wrap:wrap; }
.breadcrumbs svg{ width:11px; height:11px; transform: rotate(-90deg); color: var(--slate-mute); }
.breadcrumbs a{ color: var(--slate-2); }
.breadcrumbs a:hover{ color: var(--horizon); }

/* ---- Single post ---- */
.post-hero{ padding: 54px 0 20px; }
.post-cover{ border-radius: var(--radius-lg); aspect-ratio: 16/6.4; background: linear-gradient(150deg, var(--sky-100), var(--sky-50)); display:flex; align-items:center; justify-content:center; margin-top: 30px; box-shadow: var(--shadow); }
.post-cover svg{ width:30%; height:auto; }
.post-body{ max-width: 740px; margin: 0 auto; }
.post-body h2{ margin-top: 1.4em; font-size: 1.55rem; }
.post-body p{ font-size: 1.05rem; }
.post-body ul{ margin: 0 0 1.2em; padding-left: 1.3em; list-style: disc; }
.post-body li{ margin-bottom: .5em; font-size: 1.03rem; }
.post-byline{ display:flex; align-items:center; gap:12px; margin: 26px 0 6px; }
.pull-quote{ border-left: 3px solid var(--horizon); padding: 4px 0 4px 22px; margin: 32px 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); font-weight:500; }
.share-row{ display:flex; align-items:center; gap:12px; margin-top:40px; padding-top:28px; border-top:1px solid var(--line); }
.share-row a{ width:38px; height:38px; border-radius:50%; background: var(--sky-50); color: var(--horizon-700); display:flex; align-items:center; justify-content:center; }
.share-row a svg{ width:17px; height:17px; }

/* ---- Values grid (about page) ---- */
.value-card{ text-align:left; }

/* ---- Animations ----
   Everything is visible by default, with no dependency on JS ever running —
   safe for print, saved copies, or a client opening the raw file. The only
   motion is a pure-CSS entrance for the hero on first paint. */
@media (prefers-reduced-motion: no-preference){
  .hero-copy{ animation: rise-in .6s ease both; }
  .hero-art{ animation: rise-in .7s ease .1s both; }
  @keyframes rise-in{
    from{ opacity:0; transform: translateY(16px); }
    to{ opacity:1; transform:none; }
  }
}

/* ---- Misc ---- */
.divider{ height:1px; background: var(--line); border:none; margin: 0; }
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
