/* AdaptEd — Refined Marketing Site
   Brand: #4AAEBF (teal), Depth: #0B3D47
   Typography: Inter with tight headings, generous body
*/

/* ── Design Tokens ── */
:root {
  --brand: #4AAEBF;
  --brand-dark: #3692A3;
  --brand-deep: #1E5F6B;
  --brand-soft: #E7F4F7;
  --brand-glow: rgba(74, 174, 191, .22);
  --ink: #1F2933;
  --ink-light: #374151;
  --muted: #5B6773;
  --muted-light: #8A949D;
  --line: #E5E8EC;
  --line-light: #F0F2F5;
  --bg: #FFFFFF;
  --bg-warm: #FBFDFE;
  --bg-alt: #F5F9FA;
  --dark: #0F172A;
  --dark-muted: #64748B;
  --dark-line: rgba(255,255,255,.08);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,.07), 0 1px 3px rgba(15,23,42,.04);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.09), 0 2px 6px rgba(15,23,42,.04);
  --shadow-xl: 0 20px 48px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
  --max: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.02em;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  letter-spacing: -.025em;
}
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; }

p { color: var(--muted); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Layout Utilities ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.08rem; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .93rem;
  font-family: var(--font);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s var(--ease-out);
  white-space: nowrap;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(74,174,191,.3);
}
.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74,174,191,.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(74,174,191,.25);
}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-soft); }
.btn-large { padding: 16px 34px; font-size: 1rem; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 28px;
}
.brand img { height: 40px; width: auto; transition: opacity .2s ease; }
.brand:hover img { opacity: .85; }
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}
.nav-links a:not(.btn) {
  color: var(--ink);
  font-weight: 500;
  font-size: .93rem;
  letter-spacing: .01em;
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width .25s var(--ease-out);
}
.nav-links a:not(.btn):hover { color: var(--brand); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links a.active:not(.btn) {
  color: var(--brand-dark);
  font-weight: 600;
}
.nav-links a.active:not(.btn)::after { width: 100%; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .3s ease, opacity .2s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 100px 0 96px;
  background:
    radial-gradient(70% 90% at 85% 5%, rgba(74,174,191,.14), transparent 55%),
    radial-gradient(55% 70% at 5% 95%, rgba(74,174,191,.09), transparent 55%),
    radial-gradient(40% 50% at 50% 50%, rgba(74,174,191,.06), transparent 70%),
    linear-gradient(180deg, #FBFDFE 0%, #F4F9FB 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(74,174,191,.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(74,174,191,.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: .3em; }
.hero .eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(74,174,191,.1);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(74,174,191,.15);
}
.hero .eyebrow-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-art {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(145deg, #4AAEBF 0%, #2B7E8E 50%, #1A5C68 100%);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
  mix-blend-mode: normal;
}
.hero-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float-badge 5s ease-in-out infinite;
}
.hero-badge .badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}
.hero-badge.b1 { bottom: 28px; left: -28px; animation-delay: 0s; }
.hero-badge.b2 { top: 28px; right: -20px; animation-delay: 1.5s; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Secondary Hero / Value Section ── */
.value-showcase {
  padding: 88px 0;
  background: var(--bg);
}
.showcase-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.showcase-grid h2 { margin-bottom: 16px; }
.showcase-grid .lead { margin-bottom: 0; }
.showcase-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.showcase-image:hover img { transform: scale(1.04); }

/* ── Feature Cards ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(74,174,191,.3); }
.feature:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-soft), rgba(74,174,191,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}
.feature:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(74,174,191,.2);
}
.feature-icon img { width: 30px; height: 30px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature > p { font-size: .94rem; margin-bottom: 16px; line-height: 1.6; }
.feature ul {
  list-style: none;
  font-size: .9rem;
  color: var(--ink);
}
.feature ul li {
  padding: 7px 0 7px 26px;
  position: relative;
}
.feature ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 16px; height: 16px;
  background: var(--brand-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%234AAEBF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Split Sections ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease-out);
}
.split-image:hover { transform: scale(1.02); }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split .copy h2 { margin-bottom: 16px; }
.split .copy p { font-size: 1.05rem; margin-bottom: 12px; }
.split-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: border-color .2s ease;
}
.faq-item:hover { border-bottom-color: rgba(74,174,191,.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 52px 24px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  position: relative;
  transition: color .2s ease;
  letter-spacing: .01em;
}
.faq-item summary:hover { color: var(--brand-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  transition: all .3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234AAEBF' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.faq-item[open] summary { color: var(--brand-dark); }
.faq-item[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234AAEBF' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  background-color: var(--brand-soft);
}
.faq-item[open] summary::after { border-color: var(--brand-dark); }
.faq-item .answer {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
}

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(145deg, #4AAEBF 0%, #2D8696 40%, #1A5C68 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-strip::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin-bottom: 14px; }
.cta-strip p { color: rgba(255,255,255,.9); max-width: 580px; margin: 0 auto 26px; font-size: 1.05rem; line-height: 1.65; }
.cta-strip .btn-primary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.cta-strip .btn-primary:hover {
  background: #F0F9FB;
  color: var(--brand-deep);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: #CBD5E1;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer h4 {
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
  font-weight: 600;
}
.site-footer a { color: #94A3B8; font-size: .9rem; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer ul li { padding: 6px 0; }
.footer-brand img { height: 38px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: #94A3B8; font-size: .88rem; max-width: 260px; line-height: 1.6; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.footer-social a:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.footer-social a img { width: 18px; height: 18px; filter: brightness(0) invert(1); opacity: .8; }
.footer-social a:hover img { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #64748B;
  font-size: .84rem;
}

/* ── Page Hero (sub-pages) ── */
.page-hero {
  background: linear-gradient(180deg, #FBFDFE 0%, #EEF7F9 100%);
  padding: 84px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs {
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 16px;
  letter-spacing: .01em;
}
.page-hero .crumbs a { color: var(--muted); }
.page-hero .crumbs a:hover { color: var(--brand); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero > .container > p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
}
.page-hero .hero-cta { margin-top: 26px; }

/* ── Values / About Cards ── */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value {
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(74,174,191,.25); }
.value::before {
  content: "";
  display: block;
  width: 40px; height: 4px;
  background: var(--brand);
  border-radius: 2px;
  margin-bottom: 20px;
}
.value h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); }
.value p { font-size: .94rem; line-height: 1.6; }

/* ── Activity Library Cards ── */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.activity-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(74,174,191,.3); }
.activity-card .tag {
  display: inline-flex;
  align-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.activity-card h3 { font-size: 1.05rem; margin-bottom: 14px; line-height: 1.3; }
.activity-card dl { font-size: .87rem; margin-bottom: 18px; flex: 1; }
.activity-card dt { font-weight: 600; color: var(--ink); display: inline; }
.activity-card dd { display: inline; margin: 0; color: var(--muted); }
.activity-card dl > div { padding: 3px 0; }
.activity-card .view-btn { margin-top: auto; align-self: flex-start; }

/* ── Forms ── */
.form-card {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-field label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  letter-spacing: .01em;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: .95rem;
  background: var(--bg-warm);
  color: var(--ink);
  transition: all .2s ease;
  width: 100%;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: #D1D5DB; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(74,174,191,.12);
  background: #fff;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6773' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-submit { display: flex; justify-content: flex-end; padding-top: 4px; }
.form-note {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-size: .9rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.form-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 20px;
  display: none;
  font-weight: 500;
}

/* ── Resources / Blog Cards ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
  color: inherit;
  text-decoration: none;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(74,174,191,.3); }
.post-card .thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #4AAEBF 0%, #2D8696 50%, #1A5C68 100%);
  position: relative;
  overflow: hidden;
}
.post-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.1) 100%);
}
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-card .meta .cat {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .05em;
}
.post-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--ink); }
.post-card:hover h3 { color: var(--brand-dark); }
.post-card p { font-size: .9rem; flex: 1; line-height: 1.6; }
.post-card .read-more {
  font-weight: 600;
  color: var(--brand-dark);
  font-size: .9rem;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s ease;
}
.post-card:hover .read-more { gap: 10px; }

/* ── Article ── */
.article {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 28px 0;
}
.article .crumbs { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.article .crumbs a { color: var(--muted); }
.article .crumbs a:hover { color: var(--brand); }
.article h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.article .article-meta {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.article .article-meta .cat {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .06em;
  margin-right: 6px;
}
.article p {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1.3em;
  line-height: 1.8;
}

/* ── Privacy / Legal ── */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink); line-height: 1.7; }

/* ── Demo Result (Premium Editorial Document) ── */
.demo-result {
  max-width: 820px;
  margin: 44px auto 0;
  padding: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 1px 3px rgba(15,23,42,.04),
    0 8px 32px rgba(15,23,42,.08),
    0 0 0 1px rgba(15,23,42,.04);
  display: none;
  animation: resultReveal .55s cubic-bezier(.22, .61, .36, 1);
  overflow: hidden;
}
@keyframes resultReveal {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Gradient accent bar */
.demo-result::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 60%, var(--brand-deep) 100%);
}

/* ── Inner content wrapper (for padding) ── */
.demo-result > p,
.demo-result > ul,
.demo-result > h3,
.demo-result > .demo-section,
.demo-result > .activity-meta-bar {
  padding-left: 40px;
  padding-right: 40px;
}
.demo-result > p:first-child { padding-top: 32px; }
.demo-result > :last-child { padding-bottom: 36px; }
.demo-result > p:first-child { padding-top: 32px; }
.demo-result > :last-child { padding-bottom: 36px; }

/* ── Activity Guide eyebrow label ── */
.demo-result > p:first-child {
  padding-top: 32px;
  margin-bottom: 4px;
}
.demo-result > p:first-child strong:first-child {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--brand-dark);
  font-weight: 700;
}

/* ── Project title / activity name ── */
.demo-result h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

/* ── Section headings (any <p><strong>Title</strong>...) ── */
.demo-result p > strong:first-child {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 28px;
}
/* Exception: the Activity Guide eyebrow is smaller, no margin-top */
.demo-result > p:first-child > strong:first-child {
  margin-top: 0;
  font-size: .68rem;
}

/* ── Body paragraphs ── */
.demo-result p {
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ── Lists ── */
.demo-result ul {
  list-style: none;
  padding: 0 0 0 40px;
  margin: 6px 0 18px;
}
.demo-result ul li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--ink-light);
  font-size: .94rem;
  line-height: 1.6;
}
.demo-result ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}

/* ── Assessment card (uses .assessment-list class) ── */
.demo-result ul.assessment-list {
  background: linear-gradient(135deg, #F8FAFB 0%, #F0F6F7 100%);
  border-radius: 14px;
  border: 1px solid #E8F0F2;
  padding: 20px 24px 20px 50px;
  margin: 8px 40px 24px;
}
.demo-result ul.assessment-list li {
  color: var(--ink);
  font-size: .92rem;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.demo-result ul.assessment-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.demo-result ul.assessment-list li:first-child {
  padding-top: 0;
}

/* ── Materials card ── */
.demo-result ul.materials-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px 14px 48px;
  margin: 8px 40px 18px;
}

/* ── Procedure step numbers ── */
.demo-result p strong + br + *,
.demo-result p > strong:first-child {
  /* Step headings like "1. Introduction" stay inline-bold */
}
/* Step headings that are inline (numbered) */
.demo-result p > strong:only-child {
  display: block;
}

/* ── Time Required pill ── */
.demo-result .time-pill {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: .88rem;
  padding: 7px 18px;
  border-radius: 999px;
  margin: 4px 0 16px;
}

/* ── Differentiation callout ── */
.demo-result .diff-callout {
  font-style: italic;
  color: var(--muted);
  border-left: 3px solid var(--brand-soft);
  padding: 0 0 0 16px !important;
  margin-left: 40px;
  margin-right: 40px;
  line-height: 1.7;
}

/* ── AI watermark footer ── */
.demo-result::after {
  content: "Generated by AdaptEd AI";
  display: block;
  text-align: center;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted-light);
  padding: 28px 40px 20px;
  background: linear-gradient(180deg, transparent 0%, #F8FAFB 100%);
  margin-top: 8px;
  border-top: 1px solid var(--line-light);
}

/* ── Demo section (mock preview fallback) ── */
.demo-result .demo-section {
  margin: 24px 0 0;
}
.demo-result .demo-section h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.demo-result .demo-section ul {
  padding-left: 40px;
}
.demo-result .demo-section ul li {
  padding: 6px 0 6px 26px;
  font-size: .93rem;
}

/* ── Loading spinner ── */
.demo-loading {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: center;
  padding: 56px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 1px 3px rgba(15,23,42,.04),
    0 8px 32px rgba(15,23,42,.08);
}
.demo-loading p {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 18px;
  letter-spacing: .01em;
}
.spinner {
  width: 40px; height: 40px;
  margin: 0 auto;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Error state ── */
.activity-page-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  max-width: 820px;
  margin: 44px auto 0;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 1px 3px rgba(15,23,42,.04),
    0 8px 32px rgba(15,23,42,.08);
}
.activity-page-error h2 { margin-bottom: 12px; }

/* ── Meta tags bar ── */
.activity-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.activity-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .demo-result > p,
  .demo-result > ul,
  .demo-result > h3,
  .demo-result > .demo-section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .demo-result ul {
    padding-left: 24px;
  }
  .demo-result ul.assessment-list,
  .demo-result ul.materials-list {
    margin-left: 24px;
    margin-right: 24px;
  }
  .demo-result .diff-callout {
    margin-left: 24px;
    margin-right: 24px;
  }
  .demo-result > *:last-child { padding-bottom: 24px; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { gap: 48px; }
  .showcase-grid { gap: 40px; }
  .split { gap: 40px; }
  .footer-grid { gap: 32px; }
  .form-card { padding: 32px; }
}

@media (max-width: 960px) {
  .features, .values, .activity-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 440px; margin: 0 auto; }
  .showcase-image { max-width: 500px; margin: 0 auto; }
  .split-image { max-width: 500px; }
  .split .copy { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .value-showcase { padding: 60px 0; }
  .page-hero { padding: 60px 0 48px; }

  .features, .values, .activity-grid, .posts-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }

  .hero-badge.b1 { left: -12px; bottom: 16px; }
  .hero-badge.b2 { right: -8px; top: 16px; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 50;
    font-size: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .cta-strip { padding: 44px 28px; margin: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article { padding: 40px 20px 0; }
}
