/* ==========================================================================
   ESTACC — Design System
   A product of Estinopo Technologies Inc.
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  /* Brand */
  --navy-950: #071733;
  --navy-900: #0a1f44;
  --navy-800: #0e2a5a;
  --navy-700: #14356e;
  --blue-700: #1553c7;
  --blue-600: #1e63ef;   /* primary */
  --blue-500: #3b7bff;
  --blue-400: #6699ff;
  --blue-100: #d7e5ff;
  --blue-50:  #eef4ff;
  --sky-50:   #f4f8ff;

  --mint-600: #0e7a4e;
  --mint-500: #17a267;
  --mint-100: #d6f6e6;

  --amber-600: #b7791f;
  --amber-100: #fdf1d6;

  /* Neutrals */
  --ink:      #0c1a2e;
  --ink-soft: #24344b;
  --slate:    #5a6a82;
  --slate-2:  #7b8aa1;
  --line:     #e5ebf3;
  --line-2:   #eef2f8;
  --white:    #ffffff;
  --bg:       #ffffff;
  --bg-soft:  #f6f9fe;
  --bg-tint:  #eef4ff;

  /* Typography */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-body);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(12, 26, 46, .06);
  --shadow-sm: 0 2px 8px rgba(12, 26, 46, .06);
  --shadow-md: 0 12px 30px -12px rgba(14, 42, 90, .18);
  --shadow-lg: 0 30px 60px -22px rgba(14, 42, 90, .28);
  --shadow-blue: 0 18px 40px -16px rgba(30, 99, 239, .5);

  /* Layout */
  --maxw: 1180px;
  --gutter: 24px;
  --nav-h: 74px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.55rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -.01em; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--slate); line-height: 1.65; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 16px;
}
.eyebrow--light { color: var(--blue-400); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.text-grad { color: var(--blue-600); }
.muted { color: var(--slate); }

/* ----- Buttons ----- */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  padding: 13px 22px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-700); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { --btn-bd: var(--blue-400); --btn-fg: var(--blue-700); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
.btn--ondark { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.22); }
.btn--ondark:hover { --btn-bg: rgba(255,255,255,.16); }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--disabled { --btn-bg: var(--line-2); --btn-fg: var(--slate-2); box-shadow: none; cursor: default; pointer-events: none; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; color: var(--blue-600);
}
.textlink svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.textlink:hover { color: var(--blue-700); }
.textlink:hover svg { transform: translateX(4px); }
.textlink--light { color: var(--blue-400); }
.textlink--muted { color: var(--slate); }
.textlink--muted:hover { color: var(--blue-600); }

/* ----- Badges ----- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.badge--live { background: var(--mint-100); color: var(--mint-600); }
.badge--live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-500); box-shadow: 0 0 0 3px rgba(23,162,103,.2); }
.badge--soon { background: var(--blue-50); color: var(--blue-700); }
.badge--soon-dark { background: rgba(255,255,255,.12); color: #cfe0ff; }
.badge--ondark-live { background: rgba(23,162,103,.22); color: #7ff0bd; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; font-family: var(--font-display); font-weight: 500; font-size: .94rem;
  color: var(--ink-soft); padding: 9px 14px; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--blue-600); background: var(--blue-50); }
.nav__link.is-active { color: var(--blue-600); }
.nav__right { display: flex; align-items: center; gap: 14px; }

/* Dropdown */
.nav__item { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; color: var(--ink-soft); font-family: var(--font-display); font-weight: 500; font-size: .94rem; padding: 9px 14px; border-radius: var(--r-sm); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__toggle:hover { color: var(--blue-600); background: var(--blue-50); }
.nav__item:hover .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.nav__item:hover .nav__menu, .nav__menu:hover, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__menu-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-md); transition: background .18s; }
.nav__menu-item:hover { background: var(--sky-50); }
.nav__menu-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.nav__menu-ic svg { width: 20px; height: 20px; }
.nmi-sme { background: linear-gradient(135deg, #2f74f0, #1e63ef); }
.nmi-practice { background: linear-gradient(135deg, #4f8bff, #2f6fe6); }
.nmi-ent { background: linear-gradient(135deg, #16305f, #0e2a5a); }
.nav__menu-title { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.nav__menu-desc { font-size: .82rem; color: var(--slate); line-height: 1.45; margin-top: 2px; }
.tag-mini { font-size: .58rem; font-weight: 700; letter-spacing: .05em; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; }
.tag-mini--live { background: var(--mint-100); color: var(--mint-600); }
.tag-mini--soon { background: var(--blue-50); color: var(--blue-700); }

/* Burger + mobile */
.nav__burger { display: none; background: none; border: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: #fff; padding: 22px var(--gutter) 40px;
  transform: translateX(100%); transition: transform .34s var(--ease);
  overflow-y: auto; display: flex; flex-direction: column;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a.m-link { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); padding: 15px 4px; border-bottom: 1px solid var(--line-2); }
.mobile-menu .m-sub { font-size: .95rem; color: var(--slate); font-weight: 500; padding: 12px 4px 12px 18px; display: flex; align-items: center; gap: 10px; }
.mobile-menu .m-cta { margin-top: 26px; }

/* ----- Logo ----- */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { width: auto; height: 34px; flex: none; }
/* Real brand logo (image) */
.brand { display: inline-flex; align-items: center; }
.brandimg { height: 42px; width: auto; display: block; }
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm); }
.footer__logo img { height: 40px; width: auto; display: block; }
@media (max-width: 720px) { .brandimg { height: 38px; } }
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; }
.logo__text .es { color: var(--navy-900); }
.logo__text .cc { color: var(--blue-600); }
.logo--light .logo__text .es { color: #fff; }
.logo--light .logo__text .cc { color: var(--blue-400); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(52px, 7vw, 92px) clamp(56px, 8vw, 104px); background: linear-gradient(180deg, #fbfcff 0%, #f2f7ff 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(30,99,239,.10) 1px, transparent 0); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000, transparent 75%); opacity: .8; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero__title { margin-bottom: 22px; }
.hero__title .accent { color: var(--blue-600); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { margin-top: 30px; display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--slate); }
.hero__trust svg { width: 18px; height: 18px; color: var(--mint-500); flex: none; }

/* Product family visual */
.family { position: relative; }
.family__label { text-align: center; margin-bottom: 26px; }
.family__label .brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .16em; color: var(--blue-600); }
.family__label .sub { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate-2); font-weight: 600; margin-top: 4px; }
.family__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fam-card { position: relative; border-radius: var(--r-lg); padding: 22px 16px 26px; color: #fff; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease); min-height: 188px; display: flex; flex-direction: column; }
.fam-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fam-card--sme { background: linear-gradient(160deg, #2f74f0, #1656d0); }
.fam-card--practice { background: linear-gradient(160deg, #4f8bff, #2f6fe6); margin-top: -14px; }
.fam-card--ent { background: linear-gradient(160deg, #16305f, #0b2044); }
.fam-card__ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: 14px; }
.fam-card__ic svg { width: 22px; height: 22px; color: #fff; }
.fam-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; }
.fam-card__for { font-size: .76rem; color: rgba(255,255,255,.82); margin-top: 3px; line-height: 1.4; flex-grow: 1; }
.fam-card__tag { margin-top: 14px; align-self: flex-start; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.fam-card--sme .fam-card__tag { background: rgba(23,162,103,.28); color: #a6f5cf; }
.fam-card__tag--soon { background: rgba(255,255,255,.16); color: rgba(255,255,255,.85); }
.family__track { margin-top: 22px; height: 2px; background: linear-gradient(90deg, transparent, var(--blue-100), transparent); border-radius: 2px; position: relative; }
.family__track span { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px #fff; }

/* ==========================================================================
   Choose your Estacc (dark band)
   ========================================================================== */
.dark { background: radial-gradient(120% 120% at 80% -10%, #123163 0%, var(--navy-900) 45%, var(--navy-950) 100%); color: #fff; position: relative; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: rgba(255,255,255,.72); }
.choose__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 44px; }
.choose__title span { color: var(--blue-400); }
.choose__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
  background: #fff; border-radius: var(--r-xl); padding: 30px 28px 28px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease); position: relative; overflow: hidden;
}
.pcard::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent, var(--blue-500)); }
.pcard:hover { transform: translateY(-8px); }
.pcard--sme { --accent: linear-gradient(90deg, #2f74f0, #1e63ef); }
.pcard--practice { --accent: linear-gradient(90deg, #5b93ff, #3b7bff); }
.pcard--ent { --accent: linear-gradient(90deg, #16305f, #2f6fe6); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pcard__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.pcard__ic svg { width: 26px; height: 26px; }
.ic-sme { background: linear-gradient(145deg, #2f74f0, #1656d0); }
.ic-practice { background: linear-gradient(145deg, #5b93ff, #2f6fe6); }
.ic-ent { background: linear-gradient(145deg, #16305f, #0b2044); }
.pcard__name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; color: var(--ink); }
.pcard__aud { font-size: .82rem; color: var(--slate); font-weight: 600; margin-top: 2px; }
.pcard__tagline { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink); margin: 16px 0 10px; letter-spacing: -.01em; }
.pcard__desc { font-size: .92rem; color: var(--slate); line-height: 1.6; flex-grow: 1; }
.pcard__foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ==========================================================================
   Progression / one platform
   ========================================================================== */
.prog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.prog-step { position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 26px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.prog-step:hover { border-color: var(--blue-400); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.prog-step__q { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.3; }
.prog-step__arrow { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0; color: var(--blue-600); }
.prog-step__arrow svg { width: 22px; height: 22px; }
.prog-step__to { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--blue-600); }
.prog-step__note { font-size: .86rem; color: var(--slate); margin-top: 6px; }
.prog-step__badge { position: absolute; top: 22px; right: 22px; }

/* ==========================================================================
   SME feature section
   ========================================================================== */
.feat__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.feat-card__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 16px; }
.feat-card__ic svg { width: 23px; height: 23px; }
.feat-card__step { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); }
.feat-card h3 { font-size: 1.14rem; margin: 6px 0 8px; }
.feat-card p { font-size: .9rem; color: var(--slate); line-height: 1.55; }

/* Product mock frame */
.mockup { position: relative; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.mockup__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.mockup__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.mockup__bar i:nth-child(1){ background:#ff5f57; } .mockup__bar i:nth-child(2){ background:#febc2e; } .mockup__bar i:nth-child(3){ background:#28c840; }
.mockup__url { margin-left: 12px; font-size: .74rem; color: var(--slate-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }
.mockup__body { padding: 22px; }

.dash { font-family: var(--font-body); }
.dash__row { display: flex; gap: 14px; }
.dash__stat { flex: 1; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 15px 16px; }
.dash__stat .k { font-size: .72rem; color: var(--slate); font-weight: 600; }
.dash__stat .v { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; color: var(--ink); margin-top: 3px; letter-spacing: -.02em; }
.dash__stat .v small { font-size: .72rem; font-weight: 700; color: var(--mint-500); }
.dash__stat .v.neg small { color: #e06666; }
.dash__panel { margin-top: 14px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 16px; }
.dash__panel h4 { font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.dash__panel h4 span { font-size: .68rem; font-weight: 700; color: var(--blue-600); background: var(--blue-50); padding: 3px 9px; border-radius: 999px; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 88px; margin-top: 14px; }
.bars .bar { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--blue-400), var(--blue-600)); opacity: .9; }
.bars .bar.alt { background: linear-gradient(180deg, #cfe0ff, #a8c8ff); }
.dash__list { margin-top: 12px; }
.dash__li { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: .82rem; }
.dash__li:first-child { border-top: none; }
.dash__li .dsc { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-weight: 500; }
.dash__li .tick { width: 22px; height: 22px; border-radius: 7px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.dash__li .tick svg { width: 13px; height: 13px; }
.dash__li .amt { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.pill-due { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--amber-100); color: var(--amber-600); }

/* ==========================================================================
   Built for the Philippines
   ========================================================================== */
.ph__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.ph__chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ph-chip { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; transition: transform .22s, box-shadow .22s, border-color .22s; }
.ph-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.ph-chip__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, var(--blue-50), #dfeaff); color: var(--blue-600); display: grid; place-items: center; }
.ph-chip__ic svg { width: 22px; height: 22px; }
.ph-chip h4 { font-size: 1rem; margin-bottom: 3px; }
.ph-chip p { font-size: .82rem; color: var(--slate); line-height: 1.5; }

/* ==========================================================================
   Reason band (Estinopo)
   ========================================================================== */
.reason { position: relative; overflow: hidden; background: linear-gradient(120deg, #0a1f44, #0e2a5a 55%, #123163); color: #fff; }
.reason::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0, rgba(59,123,255,.28), transparent 60%); }
.reason__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.reason h2 { color: #fff; }
.reason h2 .accent { color: var(--blue-400); }
.reason__cries { margin: 26px 0; display: flex; flex-direction: column; gap: 12px; }
.reason__cry { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.9); font-size: 1.02rem; }
.reason__cry svg { flex: none; width: 22px; height: 22px; color: var(--blue-400); }
.reason__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl); padding: 34px; backdrop-filter: blur(4px); }
.reason__card .quote { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.4; color: #fff; letter-spacing: -.01em; }
.reason__card .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.reason__card .who .av { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(145deg, #3b7bff, #1e63ef); display: grid; place-items: center; color: #fff; }
.reason__card .who .av svg { width: 24px; height: 24px; }
.reason__card .who b { font-family: var(--font-display); display: block; font-size: .96rem; }
.reason__card .who span { font-size: .82rem; color: rgba(255,255,255,.7); }

/* ==========================================================================
   Roadmap
   ========================================================================== */
.road { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 18px; align-items: stretch; margin-top: 12px; }
.road-node { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 24px; position: relative; transition: transform .25s, box-shadow .25s; }
.road-node:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.road-node__phase { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; color: #fff; }
.rp-now { background: linear-gradient(135deg, #2f74f0, #1e63ef); }
.rp-next { background: linear-gradient(135deg, #16305f, #0e2a5a); }
.rp-future { background: linear-gradient(135deg, #16305f, #0e2a5a); }
.road-node h3 { margin: 16px 0 6px; }
.road-node p { font-size: .88rem; color: var(--slate); }
.road-node__arrow { position: absolute; right: -22px; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue-500); }
.road-node__arrow svg { width: 15px; height: 15px; }
.road__closer { display: flex; align-items: center; padding: 8px; }
.road__closer p { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; color: var(--ink); line-height: 1.35; }
.road__closer .u { display: block; width: 46px; height: 3px; background: var(--blue-500); border-radius: 3px; margin-top: 14px; }

/* ==========================================================================
   Why Estacc pillars
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.pillar { padding: 28px 24px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, background .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.pillar__ic { width: 50px; height: 50px; border-radius: 13px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 18px; }
.pillar__ic svg { width: 25px; height: 25px; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pillar p { font-size: .89rem; color: var(--slate); line-height: 1.55; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.finalcta { position: relative; overflow: hidden; background: radial-gradient(120% 130% at 50% -20%, #1a4699, var(--navy-900) 55%, var(--navy-950)); color: #fff; text-align: center; }
.finalcta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0); background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000, transparent 72%); mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000, transparent 72%); }
.finalcta__inner { position: relative; max-width: 720px; margin-inline: auto; }
.finalcta h2 { color: #fff; margin-bottom: 16px; }
.finalcta p { color: rgba(255,255,255,.78); font-size: 1.1rem; }
.finalcta__actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.finalcta__sub { margin-top: 22px; font-size: .86rem; color: rgba(255,255,255,.6); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-950); color: rgba(255,255,255,.66); padding-block: 64px 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .logo { margin-bottom: 16px; }
.footer__tag { font-size: .9rem; line-height: 1.6; max-width: 300px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--blue-600); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer__col a { display: block; padding: 7px 0; font-size: .92rem; color: rgba(255,255,255,.72); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__col a .mini { font-size: .66rem; color: var(--blue-400); font-weight: 700; margin-left: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .83rem; color: rgba(255,255,255,.55); }
.footer__bottom a { color: rgba(255,255,255,.7); }
.footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   Sub-page hero + shared content blocks
   ========================================================================== */
.subhero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 60px); background: linear-gradient(180deg, #fbfcff, #f1f6ff); }
.subhero.dark { background: radial-gradient(120% 120% at 80% -10%, #123163, var(--navy-900) 50%, var(--navy-950)); }
.subhero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(30,99,239,.08) 1px, transparent 0); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 10%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 75% 10%, #000, transparent 75%); }
.subhero.dark::before { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0); }
.subhero__inner { position: relative; max-width: 780px; }
.subhero__inner.center { margin-inline: auto; text-align: center; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--slate); margin-bottom: 20px; }
.subhero.dark .breadcrumb { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--blue-600); }
.subhero.dark .breadcrumb a:hover { color: var(--blue-400); }
.subhero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.subhero.dark h1 { color: #fff; }
.subhero.dark .lead { color: rgba(255,255,255,.75); }

/* Content prose */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose ul.dotted { margin: 8px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.prose ul.dotted li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.prose ul.dotted li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); }

/* Feature list rows */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding-block: clamp(30px, 4vw, 44px); }
.frow.rev .frow__media { order: -1; }
.frow__ic { width: 50px; height: 50px; border-radius: 13px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 18px; }
.frow__ic svg { width: 25px; height: 25px; }
.frow ul.checks { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-soft); font-size: .96rem; }
.checks li svg { flex: none; width: 21px; height: 21px; color: var(--mint-500); margin-top: 2px; }

/* Capability grid (coming soon) */
.capgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 12px; }
.cap { display: flex; align-items: flex-start; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px; transition: border-color .2s, transform .2s; }
.cap:hover { border-color: var(--blue-100); transform: translateY(-3px); }
.cap__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.cap__ic svg { width: 19px; height: 19px; }
.cap b { font-family: var(--font-display); font-size: .94rem; color: var(--ink); display: block; }
.cap span { font-size: .8rem; color: var(--slate); line-height: 1.45; }
.planned-note { display: inline-flex; align-items: center; gap: 9px; background: var(--amber-100); color: var(--amber-600); font-size: .84rem; font-weight: 600; padding: 10px 16px; border-radius: var(--r-pill); margin-bottom: 26px; }
.planned-note svg { width: 17px; height: 17px; }

/* Waitlist */
.waitlist { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: clamp(30px, 5vw, 52px); text-align: center; max-width: 660px; margin-inline: auto; }
.waitlist form { display: flex; gap: 12px; max-width: 460px; margin: 26px auto 0; }
.waitlist input { flex: 1; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 13px 20px; font-family: var(--font-body); font-size: .96rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.waitlist input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-50); }
.waitlist__note { font-size: .8rem; color: var(--slate-2); margin-top: 14px; }
.waitlist__ok { display: none; align-items: center; justify-content: center; gap: 10px; color: var(--mint-600); font-weight: 600; margin-top: 22px; }
.waitlist__ok svg { width: 20px; height: 20px; }
.waitlist.is-done form { display: none; }
.waitlist.is-done .waitlist__ok { display: flex; }
.waitlist__err { display: none; margin-top: 16px; font-size: .9rem; color: #b3261e; }
.waitlist__err a { color: var(--blue-600); font-weight: 600; text-decoration: underline; }
.waitlist.is-error .waitlist__err { display: block; }

/* Stat / info strips */
.infostrip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.infostrip > div { background: #fff; padding: 26px 24px; }
.infostrip .k { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--blue-600); letter-spacing: -.02em; }
.infostrip .l { font-size: .88rem; color: var(--slate); margin-top: 4px; }

/* Callout box */
.callout { display: flex; gap: 16px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-lg); padding: 22px 24px; margin: 12px 0; }
.callout__ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--blue-600); color: #fff; display: grid; place-items: center; }
.callout__ic svg { width: 21px; height: 21px; }
.callout b { font-family: var(--font-display); color: var(--ink); }
.callout p { font-size: .92rem; margin: 4px 0 0; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.faq__q svg { flex: none; width: 22px; height: 22px; color: var(--blue-600); transition: transform .28s var(--ease); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a p { padding: 0 4px 22px; color: var(--slate); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .family { max-width: 520px; margin-inline: auto; width: 100%; }
  .reason__grid, .ph__grid { grid-template-columns: 1fr; gap: 36px; }
  .choose__grid, .prog__grid, .pillars { grid-template-columns: 1fr 1fr; }
  .road { grid-template-columns: 1fr 1fr; }
  .road-node__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .frow, .frow.rev { grid-template-columns: 1fr; gap: 26px; }
  .frow.rev .frow__media { order: 0; }
}
@media (max-width: 720px) {
  .nav__links, .nav__right .btn.desktop-cta { display: none; }
  .nav__burger { display: block; }
  .choose__grid, .prog__grid, .pillars, .road { grid-template-columns: 1fr; }
  .family__cards { gap: 10px; }
  .fam-card--practice { margin-top: 0; }
  .fam-card { min-height: 168px; padding: 18px 14px 20px; }
  .hero__actions .btn, .subhero__actions .btn, .finalcta__actions .btn { flex: 1; justify-content: center; }
  .waitlist form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .infostrip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .family__cards { grid-template-columns: 1fr; }
  .fam-card--practice { margin-top: 0; }
  .dash__row { flex-direction: column; }
}
