/* =========================================================
   Chalk24 Personal — theme matched to chalk24.com
   Palette:
     --navy       #00235E  (brand primary — theme-color of chalk24.com)
     --navy-2     #0B3B94  (lighter navy for gradients/hover)
     --navy-deep  #001636  (footer / deepest navy)
     --gold       #E8A93D  (warm accent — CTA highlight, personal-product warmth)
     --offwhite   #F5F7FB  (alternate section background)
     --white      #FFFFFF
     --text       #1B2438
     --muted      #64708A
   Type:
     Display: Poppins (headings, brand)
     Body:    Inter
   ========================================================= */

:root {
  --navy: #00235E;
  --navy-2: #0B3B94;
  --navy-deep: #001636;
  --gold: #E8A93D;
  --gold-dark: #CC8B22;
  --gold-300:#f0ac5f;
  --gold-100:#fbe7cf;
  --coral-400:#e8735a;
  --offwhite: #F5F7FB;
  --white: #FFFFFF;
  --text: #1B2438;
  --muted: #64708A;
  --lightRed : #CD5F37;
  --lightGold: #FCF4f1;
  --line:#E9E7DE;
  --line-soft:rgba(10,20,66,0.07);
  --line-softer:rgba(10,20,66,0.045);
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --sand-50:#FFFDF9;
  --shadow-sm: 0 2px 10px rgba(0,35,94,0.07);
  --shadow-md: 0 18px 34px rgba(0,35,94,0.12);
  --shadow-lg: 0 30px 60px rgba(0,35,94,0.16);
  --card-shadow:0 24px 50px -28px rgba(10,20,66,0.22);
  --card-shadow-hover:0 32px 64px -28px rgba(10,20,66,0.32);
}

/* ---------- Container ----------
   NOTE: previously forced `min-width: 1250px !important`, which broke the
   site on any viewport under that width (forced horizontal scrolling on
   mobile/tablet). Replaced with a normal fluid container that caps out
   at a comfortable max width on large screens. */
.website-container {
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h5, .c24-brand {
  font-family: 'Poppins', sans-serif;
}

a { color: var(--navy-2); }
a:hover { color: var(--gold-dark); text-decoration: none; }

img { max-width: 100%; }

::selection { background: var(--gold); color: var(--navy); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.c24-btn-solid {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(232,169,61,0.28);
  transition: background 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.c24-btn-solid:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(204,139,34,0.32);
}
.c24-btn-solid:active { transform: translateY(0); }
.c24-btn-lg { padding: 0.8rem 2rem; font-size: 1.02rem; }

.c24-btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: 50px;
  color: var(--navy);
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}
.c24-btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.c24-btn-outline:active { transform: translateY(0); }

/* ---------- Navbar ---------- */
.c24-nav {
  background: var(--white);
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  box-shadow: 0 2px 18px rgba(0,35,94,0.06);
  transition: box-shadow 0.2s var(--ease);
}

.c24-nav .container.website-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.c24-logo {
  width: 80px;
  height: 80px;
  margin-right: 8px;
  flex-shrink: 0;
}

.c24-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.c24-brand-name {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.5rem;
}
.c24-brand-name-light { color: var(--gold-dark); font-weight: 600; }
.c24-brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Desktop nav list */
.c24-nav-desktop {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.2rem;
}
.c24-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.c24-nav .nav-link:hover { color: var(--navy-2) !important; background: var(--lightGold); }
.c24-nav-desktop .nav-item.ml-2 { margin-left: 0.6rem; }

/* ---------- Hamburger (mobile/tablet trigger) ---------- */
.c24-hamburger {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(0,35,94,0.12);
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.c24-hamburger:hover { border-color: var(--navy); }
.c24-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.c24-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.c24-hamburger.is-open span:nth-child(2) { opacity: 0; }
.c24-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile sidebar ---------- */
.c24-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,10,30,0.45);
  opacity: 0;
  visibility: hidden;
  z-index: 1040;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.c24-sidebar-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.c24-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 340px);
  background: var(--white);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 40px rgba(0,10,30,0.18);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
}
.c24-sidebar.is-open { transform: translateX(0); }

.c24-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.4rem;
  border-bottom: 1px solid rgba(0,35,94,0.08);
}
.c24-sidebar-head .c24-brand-name { font-size: 1.15rem; }

.c24-sidebar-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--offwhite);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.c24-sidebar-close:hover { background: rgba(232,169,61,0.25); }

.c24-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0.6rem;
  flex: 1;
}
.c24-sidebar-nav li + li { margin-top: 0.15rem; }
.c24-sidebar-nav a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.c24-sidebar-nav a:hover {
  background: rgba(11,59,148,0.07);
  color: var(--navy-2);
}

.c24-sidebar-actions {
  padding: 1rem 1.4rem 1.5rem;
  border-top: 1px solid rgba(0,35,94,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.c24-sidebar-actions .btn { text-align: center; }

/* Sidebar only ever needed below desktop nav breakpoint */
@media (min-width: 992px) {
  .c24-hamburger,
  .c24-sidebar,
  .c24-sidebar-backdrop { display: none !important; }
}

/* ---------- Hero ---------- */
.c24-hero {
background: radial-gradient(circle at 15% 18%, rgba(232, 169, 61, 0.18), transparent 45%), radial-gradient(circle at 88% 82%, rgba(11, 59, 148, 0.14), transparent 50%), var(--offwhite);
  width: 100%;
  min-height: 100vh;
  /* height: 100vh; */
  padding: 140px 0 0 0;             
  box-sizing: border-box;

}
.c24-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-2);
  background: rgba(11,59,148,0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.c24-kicker-dark { color: var(--navy); background: rgba(0,35,94,0.07); }

.c24-h1 {
  color: var(--navy);
  font-weight: 700;
  font-size: 2.85rem;
  line-height: 1.18;
  margin-bottom: 1.3rem;
  letter-spacing: -0.01em;
}
.c24-h1-accent { color: var(--gold-dark);}

.c24-lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 470px;
  margin-bottom: 1.8rem;
}

.c24-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }

.c24-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
}
.c24-badge-row span {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}
.c24-badge-row i { color: var(--gold-dark); margin-right: 0.35rem; }

.c24-hero-copy { padding-bottom: 4.5rem; }

/* ---------- Hero banner visual (life-ecosystem hex cluster) ---------- */
.c24-hero-visual-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}
.c24-hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
}

/* soft radial glow sitting behind the cluster for depth */
.c24-hero-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(232,169,61,0.22), transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(11,59,148,0.14), transparent 75%);
  filter: blur(6px);
  z-index: 0;
}

.c24-hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.c24-hero-lines line {
  stroke: rgba(0,35,94,0.18);
  stroke-width: 0.5;
  stroke-dasharray: 2 2;
}

.c24-hex {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease);
}

/* -- centre hex -- */
.c24-hex-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
  height: 164px;
  background: linear-gradient(150deg, var(--navy-2), var(--navy) 70%);
  box-shadow: 0 0 0 4px rgba(232,169,61,0.35), var(--shadow-lg);
  padding: 0 16px;
  z-index: 3;
  animation: c24HexPulse 3.6s ease-in-out infinite;
}
.c24-hex-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.c24-hex-brand-sub {
  color: var(--gold);
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}

@keyframes c24HexPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,169,61,0.35), var(--shadow-lg); }
  50%      { box-shadow: 0 0 0 8px rgba(232,169,61,0.18), var(--shadow-lg); }
}

/* -- satellite hexes -- */
.c24-hex-node {
  width: 132px;
  height: 114px;
  background: var(--white);
  border: 1px solid rgba(10,20,66,0.07);
  box-shadow: var(--card-shadow);
  transform: translate(-50%, -50%);
  padding: 8px;
  z-index: 2;
}
.c24-hex-node-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,35,94,0.07);
  background: color-mix(in srgb, var(--accent) 14%, white);
  margin-bottom: 0.5rem;
  transition: background 0.28s var(--ease), transform 0.28s var(--ease);
}
.c24-hex-node-icon i {
  color: var(--accent);
  font-size: 1.05rem;
  transition: color 0.28s var(--ease);
}
.c24-hex-node span {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.15;
}
.c24-hex-node:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent);
  z-index: 4;
}
.c24-hex-node:hover .c24-hex-node-icon {
  background: var(--accent);
  transform: scale(1.08);
}
.c24-hex-node:hover .c24-hex-node-icon i { color: var(--white); }

/* -- caption pill under the cluster -- */
.c24-hero-visual-caption {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(10,20,66,0.08);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.c24-hero-visual-caption i { color: var(--gold-dark); }

@media (max-width: 991px) {
  .c24-hero-visual { max-width: 440px; }
}
@media (max-width: 767px) {
  .c24-hero-visual { max-width: 330px; }
  .c24-hero-visual-wrap { margin-top: 2rem; }
  .c24-hex-center { width: 138px; height: 119px; }
  .c24-hex-brand { font-size: 0.88rem; }
  .c24-hex-brand-sub { font-size: 0.52rem; }
  .c24-hex-node { width: 96px; height: 83px; padding: 5px; }
  .c24-hex-node-icon { width: 26px; height: 26px; margin-bottom: 0.3rem; }
  .c24-hex-node-icon i { font-size: 0.82rem; }
  .c24-hex-node span { font-size: 0.6rem; }
  .c24-hero-visual-caption { font-size: 0.74rem; padding: 0.4rem 0.9rem; }
}
@media (max-width: 420px) {
  .c24-hero-visual { max-width: 288px; }
  .c24-hex-center { width: 122px; height: 106px; }
  .c24-hex-node { width: 84px; height: 73px; }
}

/* ---------- Floating stat strip ---------- */

.stats{
    position:relative;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:0;
    margin-top: 64px;
    border-radius:20px;
    border:1px solid var(--line);
    background:var(--white);
    overflow:hidden;
  }
  .stat{
    padding:26px 18px;
    text-align:center;
    border-right:1px solid var(--line);
  }
  .stat:last-child{ border-right:none; }
  .stat .num{
    font-family:'Fraunces',serif;
    font-weight:600;
    font-size:26px;
    color:var(--navy-950);
  }
  .stat .lbl{
    margin-top:4px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.07em;
    text-transform:uppercase;
    color:var(--muted);
  }
@media (max-width: 991px) {
  .stats{ grid-template-columns:repeat(2,1fr); }
  .c24-h1 { font-size: 2.15rem; }
}

@media (max-width: 767px) {
  .c24-hero { padding-top: 6.5rem; }
  .c24-h1 { font-size: 1.85rem; }
  .c24-lead { max-width: 100%; font-size: 1rem; }
  .c24-hero-actions .btn { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 420px) {
  .c24-logo { width: 56px; height: 56px; }
  .c24-brand-name { font-size: 1.2rem; }
  .c24-brand-tag { font-size: 0.56rem; }
}

/* ---------- Sections ---------- */
.c24-section { padding: 4rem 0 4rem; }
.c24-section-alt { background: var(--offwhite); overflow: hidden; position: relative; }
.c24-section-head { max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 3rem; }

.c24-h2 {
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--navy);
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}
.c24-h2-light { color: var(--white); }

.c24-body-text { color: var(--muted); line-height: 1.7; font-size: 1rem; }
.c24-mx-auto { max-width: 560px; margin-left: auto; margin-right: auto; }

@media (max-width: 991px) {
  .c24-section { padding: 5.5rem 0 4.5rem; }
}
@media (max-width: 767px) {
  .c24-section { padding: 4rem 0 3.5rem; }
  .c24-h2 { font-size: 1.65rem; }
  .c24-section-head { margin-bottom: 2.2rem; }
}

/* ---------- About mini features ---------- */
.c24-mini-features { margin-top: 2rem; }
.c24-mini-features i { color: var(--gold-dark); font-size: 1.3rem; margin-bottom: 0.6rem; display: block; }
.c24-mini-features h6 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.4rem; }
.c24-mini-features p { color: var(--muted); font-size: 0.85rem; line-height: 1.55; }
@media (max-width: 575px) {
  .c24-mini-features .col-sm-4 { margin-bottom: 1.5rem; }
  .c24-mini-features .col-sm-4:last-child { margin-bottom: 0; }
}

/* ---------- Why box ---------- */
.c24-why-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  color: var(--white);
  margin-top: 0.5rem;
  box-shadow: var(--shadow-md);
}
.c24-why-box h5 { font-weight: 600; margin-bottom: 1.3rem; }
.c24-check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.c24-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}
.c24-check-list i { color: var(--gold); margin-top: 0.25rem; font-size: 0.8rem; }
.c24-why-quote {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.2rem;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .c24-why-box { margin-top: 2.5rem; padding: 2rem 1.8rem; }
}

/* ---------- Feature cards ---------- */
 
.c24-feature-grid { margin-top: 0.5rem; }
.c24-feature-card {
  background: var(--white);
  border:1px solid rgba(10,20,66,0.06);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  margin-bottom: 1.8rem;
  height: calc(100% - 1.8rem);
  box-shadow:var(--card-shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.c24-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color:rgba(10,20,66,0.03);
}
.c24-feature-card::before{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height:3px;
    background:linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform:scaleX(0);
    transform-origin:left;
    transition:transform 0.4s ease;
  }
.c24-feature-card:hover::before{ transform:scaleX(1); }
.c24-feature-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(0,35,94,0.07);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.3rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.c24-feature-card:hover .c24-feature-icon { background: var(--gold); color: var(--navy); }
.c24-feature-card h5 { font-weight: 600; color: var(--navy); font-size: 1.08rem; margin-bottom: 0.6rem; }
.c24-feature-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0; }
.icon-chip{ width:56px; height:56px; border-radius:16px; color: var(--white); display:flex; align-items:center; justify-content:center; background:linear-gradient(150deg, var(--navy), var(--navy-2)); margin-bottom:22px; transition:transform 0.35s cubic-bezier(.2,.8,.2,1);}
.icon-chip svg{ width:26px; height:26px; stroke:var(--gold); }
.c24-feature-card:hover .icon-chip{ transform:scale(1.08) rotate(-4deg); }
/* ---------------------------------------------------------------
                          How it works 
 --------------------------------------------------------------- */
.step-icon{
    width:40px; height:40px;
    margin:14px 0 20px;
    display:flex; align-items:center; justify-content:center;
    border-radius:12px;
    background:var(--navy);
}
.step-icon svg{ width:20px; height:20px; stroke:var(--gold); }

.c24-how-grid { margin-top: 0.5rem; }
.c24-how-card {
  background: var(--white);
  border: 1px solid rgba(0,35,94,0.08);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  margin-bottom: 1.6rem;
  height: calc(100% - 1.6rem);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.c24-how-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.c24-how-pill {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
  background: rgba(232,169,61,0.18);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.c24-how-card h5 { font-weight: 600; color: var(--navy); font-size: 1.02rem; margin-bottom: 0.5rem; }
.c24-how-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0; }

/* ---------- Why cards ---------- */
.c24-why-grid { margin-top: 0.5rem; }
.c24-why-card {
  text-align: left;
  padding: 0.5rem 0.5rem 1.6rem;
  background: var(--white);
  border:1px solid rgba(10,20,66,0.06);
  border-radius: var(--radius);
  box-shadow:var(--card-shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.c24-why-card h5 { font-weight: 600; color: var(--navy); font-size: 1.02rem; margin-bottom: 0.5rem; }
.c24-why-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ---------- CTA banner ---------- */
.c24-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 5rem 0;
}
.c24-cta-sub { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }
@media (max-width: 767px) {
  .c24-cta { padding: 3.5rem 0; }
  .c24-cta .c24-h2 { font-size: 1.55rem; }
}

/* ---------- Footer ---------- */
.c24-footer {
  background: var(--navy-deep);
  padding: 3rem 0 2rem;
}
.c24-brand-footer { color: var(--white); font-size: 1.2rem; font-weight: 700; }
.c24-footer-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.3rem;
  margin-bottom: 0;
}
.c24-footer-links a {
  color: rgba(255,255,255,0.7);
  margin-left: 1.4rem;
  font-size: 0.9rem;
  transition: color 0.15s var(--ease);
}
.c24-footer-links a:hover { color: var(--gold); }
.c24-footer hr { border-color: rgba(255,255,255,0.1); margin: 1.8rem 0 1.2rem; }
.c24-footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
  text-align: center;
}
@media (max-width: 767px) {
  .c24-footer { text-align: center; }
  .c24-footer .col-md-6 .d-flex { justify-content: center; }
  .c24-footer-links { margin-top: 1.5rem; text-align: center; }
  .c24-footer-links a { margin: 0 0.7rem; display: inline-block; }
}

/* ---------- Modals ---------- */
.c24-modal .modal-content { border-radius: var(--radius); border: none; padding: 0.5rem; }
.c24-modal .modal-header { border-bottom: none; padding-bottom: 0; }
.c24-modal .modal-title { font-weight: 600; color: var(--navy); }
.c24-modal .form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.c24-modal .form-control { border-radius: 6px; border: 1px solid #DDE3F0; padding: 0.6rem 0.8rem; height: auto; }
.c24-modal .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,169,61,0.2); }
.c24-modal .btn-block { margin-top: 0.5rem; }
.c24-small-link { font-size: 0.82rem; }
.c24-modal-switch { text-align: center; margin-top: 1.2rem; margin-bottom: 0.3rem; font-size: 0.88rem; color: var(--muted); }

/* =========================================================
   Auth screens (login / register / forgot-password / create-password)
   ========================================================= */
.c24-auth-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(232,169,61,0.18), transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(11,59,148,0.14), transparent 50%),
    var(--offwhite);
}

/* Decorative layer: soft glows + a restrained confetti motif nodding to
   birthdays/anniversaries without competing with the form. */
.c24-auth-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image: radial-gradient(rgba(0,35,94,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}

.c24-auth-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.c24-auth-glow-gold {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -120px;
  background: var(--gold);
  opacity: 0.3;
}
.c24-auth-glow-blue {
  width: 480px;
  height: 480px;
  bottom: -200px;
  left: -160px;
  background: var(--navy-2);
  opacity: 0.16;
}

.c24-auth-confetti {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
}
.c24-confetti-1 { width: 10px; height: 10px; background: var(--gold); top: 14%; left: 12%; }
.c24-confetti-2 { width: 6px;  height: 6px;  background: #FF8FA3; top: 22%; right: 16%; }
.c24-confetti-3 { width: 14px; height: 14px; border: 2px solid rgba(0,35,94,0.22); background: transparent; top: 68%; left: 9%; }
.c24-confetti-4 { width: 8px;  height: 8px;  background: rgba(0,35,94,0.25); top: 8%; left: 46%; }
.c24-confetti-5 { width: 7px;  height: 7px;  background: var(--gold); bottom: 12%; right: 12%; }
.c24-confetti-6 { width: 12px; height: 12px; border: 2px solid rgba(11,59,148,0.22); background: transparent; bottom: 22%; right: 28%; }
.c24-confetti-7 { width: 5px;  height: 5px;  background: #FF8FA3; bottom: 30%; left: 22%; }
.c24-confetti-8 { width: 9px;  height: 9px;  background: rgba(232,169,61,0.75); top: 46%; right: 8%; }

/* =========================================================
   Auth split-screen layout
   Left: brand / description panel   Right: auth form
   ========================================================= */
.c24-auth-split {
  display: flex;
  align-items: stretch;
}

/* -- Left brand panel -- */
.c24-auth-brand-panel {
  position: relative;
  flex: 0 0 44%;
  max-width: 580px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.2rem 3.2rem 2rem;
}

.c24-auth-brand-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
}
.c24-auth-brand-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.c24-auth-brand-glow-gold {
  width: 380px;
  height: 380px;
  top: -120px;
  right: -110px;
  background: var(--gold);
  opacity: 0.35;
}
.c24-auth-brand-glow-light {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -150px;
  background: var(--white);
  opacity: 0.08;
}

.c24-auth-brand-inner { position: relative; z-index: 1; }

.c24-auth-brand-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 420px;
  margin: 1.8rem 0 2rem;
}

.c24-auth-brand-points {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
.c24-auth-brand-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.c24-auth-brand-points i { color: var(--gold); margin-top: 0.2rem; }

.c24-auth-brand-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.c24-auth-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.c24-auth-home-btn i { color: var(--gold); transition: color 0.2s var(--ease); }
.c24-auth-home-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.c24-auth-home-btn:hover i { color: var(--navy); }

.c24-auth-footnote-panel {
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  margin: 0;
}

/* -- Right form panel -- */
.c24-auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 3rem 1.5rem;
  overflow-y: auto;
  background:
    radial-gradient(circle at 88% 82%, rgba(11,59,148,0.10), transparent 55%),
    radial-gradient(circle at 12% 12%, rgba(232,169,61,0.10), transparent 45%),
    var(--offwhite);
}

.c24-auth-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c24-auth-footnote-mobile { display: none; }

/* -- Brand mark inside the panel: larger logo + type -- */
.c24-auth-top {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.c24-auth-top .c24-logo { width: 96px; height: 96px; margin-right: 12px; }
.c24-auth-top .c24-brand-name { font-size: 1.75rem; color: var(--white); }
.c24-auth-top .c24-brand-name-light { color: var(--gold); }
.c24-auth-top .c24-brand-tag { color: rgba(255,255,255,0.75); font-size: 0.7rem; }

@media (max-width: 991px) {
  .c24-auth-split { flex-direction: column; }
  .c24-auth-brand-panel {
    flex: 0 0 auto;
    max-width: 100%;
    padding: 2.4rem 1.75rem 2rem;
  }
  .c24-auth-brand-desc { max-width: 100%; margin: 1.4rem 0 1.4rem; }
  .c24-auth-footnote-panel { display: none; }
  .c24-auth-form-panel { min-height: 0; padding: 2.5rem 1.25rem 3rem; }
  .c24-auth-footnote-mobile {
    display: block;
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .c24-auth-top .c24-logo { width: 72px; height: 72px; }
  .c24-auth-top .c24-brand-name { font-size: 1.35rem; }
  .c24-auth-brand-points li { font-size: 0.88rem; }
}

.c24-auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,35,94,0.18);
  padding: 2.8rem 2.4rem 2.6rem;
  overflow: hidden;
}
.c24-auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 50%, var(--navy-2) 100%);
}

/* Wider variant for forms with paired columns (e.g. register) */
.c24-auth-card-wide { max-width: 660px; }

.c24-auth-kicker { margin-bottom: 1rem; }

.c24-auth-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}
.c24-auth-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.c24-auth-form .form-group { margin-bottom: 1.2rem; }
.c24-auth-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  display: block;
}
.c24-auth-form .form-control {
  border-radius: 6px;
  border: 1px solid #DDE3F0;
  padding: 0.65rem 0.9rem;
  height: auto;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.c24-auth-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,169,61,0.2);
  outline: none;
}
.c24-auth-form .form-control.is-invalid { border-color: #E15361; }

.c24-field-error {
  color: #E15361;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.c24-input-group { position: relative; }
.c24-input-group .form-control { padding-right: 2.6rem; }
.c24-input-toggle {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  padding: 0.2rem;
  cursor: pointer;
}
.c24-input-toggle:hover { color: var(--navy); }

.c24-form-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.c24-form-row-between label { margin-bottom: 0; }

.c24-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 1.4rem;
}
.c24-checkbox input { margin-top: 0.25rem; accent-color: var(--gold); flex-shrink: 0; }

.c24-auth-form .c24-btn-solid { width: 100%; margin-top: 0.3rem; }
.c24-auth-form .c24-btn-solid:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.c24-auth-alt {
  text-align: center;
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.c24-auth-alt a { color: var(--navy-2); font-weight: 600; }
.c24-auth-alt a:hover { color: var(--gold-dark); }

.c24-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.c24-auth-back:hover { color: var(--navy-2); }
.c24-auth-back i { font-size: 0.75rem; }

.c24-auth-alert {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}
.c24-auth-alert-success { background: rgba(46,164,101,0.12); color: #1E7D46; }
.c24-auth-alert-error { background: rgba(225,83,97,0.1); color: #B23347; }

.c24-auth-footnote {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.c24-strength-bar {
  display: flex;
  gap: 4px;
  margin-top: 0.5rem;
}
.c24-strength-bar span {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: #E5E9F2;
  transition: background 0.2s var(--ease);
}
.c24-strength-bar span.is-active-weak { background: #E15361; }
.c24-strength-bar span.is-active-fair { background: var(--gold); }
.c24-strength-bar span.is-active-strong { background: #2EA465; }
.c24-strength-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

@media (max-width: 480px) {
  .c24-auth-card { padding: 2rem 1.5rem; }
  .c24-auth-page { padding-top: 2rem; }
}

.c24-field-error-tight { margin-top: -0.9rem; margin-bottom: 1.1rem; }

/* ---------- Social auth (Google) ---------- */
.c24-btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--white);
  border: 1.5px solid #DDE3F0;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.c24-btn-google:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: var(--text);
}
.c24-btn-google svg { flex-shrink: 0; }

.c24-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.c24-auth-divider::before,
.c24-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E5E9F2;
}

.c24-field-hint {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

/* ---------- Two-column form grid (used by the wider register card) ---------- */
.c24-auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.1rem;
}
.c24-auth-form-grid .form-group,
.c24-auth-form-grid .c24-checkbox {
  min-width: 0;
}
.c24-col-span-2 { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .c24-auth-form-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Lifetime AI Companion section
   ========================================================= */
.c24-companion { position: relative; }

/* -- life journey timeline -- */
.c24-journey-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem 0;
  padding: 0.5rem 0 2.2rem;
}
.c24-journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  width: 122px;
  position: relative;
  text-align: center;
  padding: 0 0.4rem;
}
.c24-journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(50% + 28px);
  width: calc(100% - 20px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0,35,94,0.2) 0 6px, transparent 6px 12px);
}
.c24-journey-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  position: relative;
  z-index: 1;
}
.c24-journey-step:hover .c24-journey-dot {
  transform: translateY(-4px) scale(1.06);
  background: var(--gold);
  color: var(--navy);
}
.c24-journey-step span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.c24-companion-statement {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0 0 3rem;
}

/* -- privacy + memory grid -- */
.c24-companion-grid { margin-top: 0.5rem; }
.c24-companion-privacy { height: 100%; }

.c24-remember-card {
  background: var(--white);
  border: 1px solid rgba(10,20,66,0.06);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 2.3rem 2.1rem;
  height: 100%;
}
.c24-remember-card h5 {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.c24-remember-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem 0.6rem;
  margin-bottom: 1.7rem;
}
.c24-remember-item { text-align: center; }
.c24-remember-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--gold-dark);
}
.c24-remember-lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.25rem;
  line-height: 1.3;
}
.c24-companion-tomorrow {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-bottom: 0;
}
.c24-companion-tomorrow strong { color: var(--navy); }

@media (max-width: 991px) {
  .c24-companion-privacy { margin-bottom: 1.8rem; }
}
@media (max-width: 767px) {
  .c24-journey-track { justify-content: flex-start; overflow-x: auto; padding-bottom: 1.6rem; }
  .c24-journey-step:not(:last-child)::after { display: none; }
  .c24-companion-statement { font-size: 1.15rem; }
  .c24-remember-grid { grid-template-columns: repeat(2, 1fr); }
  .c24-remember-card { padding: 1.8rem 1.5rem; }
}


.c24-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--gold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease), visibility 0.3s;
}
.c24-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.c24-back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px);
}
@media (max-width: 767px) {
  .c24-back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}