/* =========================================================
   Aarogya EMR — Marketing Site Stylesheet
   ========================================================= */

:root{
  /* Brand palette */
  --ink:            #0B1220;   /* near-black navy for text/hero bg */
  --ink-soft:       #10192E;
  --paper:          #FBFAF6;   /* warm off-white page background */
  --paper-alt:      #F3F1EA;
  --line:           #E7E3D8;
  --line-strong:    #D8D2C2;

  --teal-900:       #062E2A;
  --teal-700:       #0D6E5F;
  --teal-600:       #0F8E77;
  --teal-500:       #14A78D;
  --teal-400:       #33C4A8;
  --teal-100:       #DCF3EC;

  --gold-600:       #B0872B;
  --gold-500:       #C9A227;
  --gold-300:       #E4C766;
  --gold-100:       #F7ECC9;

  --text-primary:   #10182B;
  --text-muted:     #5B6478;
  --text-faint:     #8A9099;
  --text-on-dark:   #F4F2EA;
  --text-on-dark-muted: rgba(244,242,234,0.68);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(16,24,43,0.04), 0 8px 24px rgba(16,24,43,0.06);
  --shadow-lift: 0 4px 10px rgba(16,24,43,0.06), 0 24px 48px rgba(16,24,43,0.10);
  --shadow-dark-lift: 0 20px 60px rgba(0,0,0,0.35);

  --maxw: 1180px;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family: inherit; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

section{ position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before{
  content:"";
  width:6px; height:6px;
  border-radius:50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-100);
}
.eyebrow.on-dark{ color: var(--teal-400); }
.eyebrow.on-dark::before{ box-shadow: 0 0 0 3px rgba(20,167,141,0.18); }

h1,.h1{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
}
h2,.h2{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
}
h3,.h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
}
.lede{
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 640px;
}
.body-sm{ font-size: 14.5px; color: var(--text-muted); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; }
.btn-primary{
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(15,142,119,0.28);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 32px rgba(15,142,119,0.36); }
.btn-ghost-dark{
  background: rgba(255,255,255,0.06);
  color: var(--text-on-dark);
  border-color: rgba(244,242,234,0.28);
  backdrop-filter: blur(6px);
}
.btn-ghost-dark:hover{ background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  color: var(--text-primary);
  border-color: var(--line-strong);
}
.btn-outline:hover{ border-color: var(--teal-600); color: var(--teal-700); transform: translateY(-2px); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 20px; font-size: 13.5px; }

/* ---------- Nav ---------- */
.nav{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  padding: 20px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  padding: 12px 0;
  background: rgba(251,250,246,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(16,24,43,0.05);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-display);
  font-weight:600;
  font-size: 20px;
  color: var(--text-primary);
}
body.on-dark-nav .nav:not(.is-scrolled) .brand{ color: var(--text-on-dark); }
.brand-mark{ width:34px; height:34px; flex-shrink:0; }
.nav-links{
  display:flex;
  align-items:center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a{ color: var(--text-muted); transition: color .2s ease; position:relative; }
.nav-links a:hover{ color: var(--text-primary); }
body.on-dark-nav .nav:not(.is-scrolled) .nav-links a{ color: var(--text-on-dark-muted); }
body.on-dark-nav .nav:not(.is-scrolled) .nav-links a:hover{ color: var(--text-on-dark); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-links a.current{ color: var(--teal-700); }
body.on-dark-nav .nav:not(.is-scrolled) .nav-links a.current{ color: var(--teal-400); }
body.on-dark-nav .nav:not(.is-scrolled) .nav-cta .btn-outline{
  color: var(--text-on-dark);
  border-color: rgba(244,242,234,0.35);
  background: rgba(255,255,255,0.04);
}
body.on-dark-nav .nav:not(.is-scrolled) .nav-cta .btn-outline:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(244,242,234,0.5);
}
body.on-dark-nav .nav:not(.is-scrolled) .nav-toggle{
  color: var(--text-on-dark);
  border-color: rgba(244,242,234,0.3);
}

.nav-toggle{
  display:none;
  width: 40px; height:40px;
  border-radius: 10px;
  border:1px solid var(--line-strong);
  background: transparent;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle svg{ width:18px; height:18px; }
.mobile-panel{
  display:none;
  position: fixed;
  top: 0; left:0; right:0;
  background: var(--paper);
  z-index: 490;
  padding: 96px 32px 32px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lift);
}
.mobile-panel.is-open{ display:flex; }
.mobile-panel a{
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}
.mobile-panel .btn{ margin-top: 18px; }

@media (max-width: 900px){
  .nav-links{ display:none; }
  .nav-cta .btn-outline{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: radial-gradient(120% 120% at 15% -10%, #143C36 0%, var(--ink) 46%, #060A13 100%);
  color: var(--text-on-dark);
  padding: 176px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(20,167,141,0.35), transparent 42%),
    radial-gradient(circle at 8% 80%, rgba(201,162,39,0.18), transparent 45%);
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  opacity:0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  z-index:0;
}
.hero-grid{
  position: relative;
  z-index: 1;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items:center;
}
.hero-copy .lede{ color: var(--text-on-dark-muted); max-width: 560px; }
.hero-copy h1{ margin: 22px 0 24px; }
.hero-copy h1 em{ font-style:italic; color: var(--teal-400); }
.hero-cta{ display:flex; gap:16px; margin-top: 40px; flex-wrap:wrap; }
.hero-trust{
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(244,242,234,0.14);
}
.hero-trust p{ font-size: 12.5px; letter-spacing:0.1em; text-transform:uppercase; color: rgba(244,242,234,0.5); margin-bottom: 16px; }
.trust-row{ display:flex; gap: 28px; flex-wrap:wrap; align-items:center; }
.trust-chip{
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(244,242,234,0.55);
  border: 1px dashed rgba(244,242,234,0.22);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

/* Hero mockup */
.mockup{
  position: relative;
  z-index:1;
  border-radius: 20px;
  background: linear-gradient(180deg, #111B30, #0B1424);
  border: 1px solid rgba(244,242,234,0.10);
  box-shadow: var(--shadow-dark-lift);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s ease;
}
.mockup:hover{ transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.mockup-bar{
  display:flex; align-items:center; gap:8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(244,242,234,0.08);
}
.mockup-dot{ width:9px; height:9px; border-radius:50%; background: rgba(244,242,234,0.18); }
.mockup-title{ margin-left: 8px; font-size:12px; color: rgba(244,242,234,0.4); letter-spacing:0.04em; }
.mockup-body{ padding: 22px; display:grid; gap:16px; }
.mockup-row{ display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
.mockup-card{
  background: rgba(244,242,234,0.04);
  border: 1px solid rgba(244,242,234,0.08);
  border-radius: 14px;
  padding: 16px;
}
.mockup-card .cap{ font-size: 11px; color: rgba(244,242,234,0.45); text-transform:uppercase; letter-spacing:0.08em; }
.mockup-card .num{ font-family: var(--font-display); font-size: 26px; margin-top:6px; color: var(--text-on-dark); }
.mockup-card .num.up{ color: var(--teal-400); }
.mockup-chart{
  height: 132px;
  display:flex; align-items:flex-end; gap:8px;
  background: rgba(244,242,234,0.03);
  border: 1px solid rgba(244,242,234,0.08);
  border-radius: 14px;
  padding: 16px;
}
.mockup-chart span{
  flex:1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--teal-400), rgba(20,167,141,0.15));
}
.mockup-list{ display:grid; gap:10px; }
.mockup-list-item{
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(244,242,234,0.03);
  border: 1px solid rgba(244,242,234,0.07);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(244,242,234,0.75);
}
.mockup-list-item .tag{
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(20,167,141,0.16);
  color: var(--teal-400);
  font-weight:600;
  letter-spacing:0.03em;
}

@media (max-width: 980px){
  .hero{ padding: 148px 0 88px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 56px; }
  .mockup{ transform:none; max-width: 480px; margin:0 auto; }
}

/* ---------- Stat strip ---------- */
.stat-strip{
  background: var(--ink-soft);
  color: var(--text-on-dark);
  padding: 0;
}
.stat-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell{
  padding: 40px 28px;
  border-right: 1px solid rgba(244,242,234,0.08);
  text-align:center;
}
.stat-cell:last-child{ border-right:none; }
.stat-num{
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--teal-400);
}
.stat-label{ margin-top:8px; font-size: 13.5px; color: var(--text-on-dark-muted); }
@media (max-width: 760px){
  .stat-grid{ grid-template-columns: repeat(2,1fr); }
  .stat-cell{ border-bottom: 1px solid rgba(244,242,234,0.08); }
}

/* ---------- Generic section spacing ---------- */
.section{ padding: 120px 0; }
.section-tight{ padding: 88px 0; }
.section-head{ max-width: 720px; margin-bottom: 64px; }
.section-head .eyebrow{ margin-bottom: 18px; }
.section-head h2{ margin-top: 4px; }
.section-head .lede{ margin-top: 20px; }
.section-alt{ background: var(--paper-alt); }
.section-dark{ background: var(--ink); color: var(--text-on-dark); }
.section-dark .lede{ color: var(--text-on-dark-muted); }

/* ---------- Problem / narrative ---------- */
.narrative{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items:start; }
.narrative-visual{
  border-radius: var(--radius-lg);
  background: var(--ink);
  padding: 44px 36px;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lift);
}
.narrative-visual .quote-mark{ font-family: var(--font-display); font-size: 64px; color: var(--gold-500); line-height:1; }
.narrative-visual p{ font-family: var(--font-display); font-size: 22px; line-height:1.5; margin-top: 8px; }
.narrative-visual .attr{ margin-top: 28px; font-size: 13px; color: var(--text-on-dark-muted); }
.pain-list{ display:grid; gap: 22px; margin-top: 8px; }
.pain-item{ display:flex; gap:16px; }
.pain-item .ico{
  flex-shrink:0; width:44px; height:44px; border-radius: 12px;
  background: var(--paper-alt); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color: var(--teal-700);
}
.pain-item .ico svg{ width:20px; height:20px; }
.pain-item h4{ font-family: var(--font-body); font-weight:700; font-size:16px; margin-bottom:4px; }
.pain-item p{ color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 960px){ .narrative{ grid-template-columns: 1fr; } }

/* ---------- Feature cards ---------- */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; } }

.card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.card-ico{
  width:52px; height:52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-100), #fff);
  border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color: var(--teal-700);
  margin-bottom: 22px;
}
.card-ico svg{ width:24px; height:24px; }
.card h3{ margin-bottom: 10px; }
.card p{ color: var(--text-muted); font-size: 14.75px; }
.card .card-link{
  display:inline-flex; align-items:center; gap:6px;
  margin-top:18px; font-size:13.5px; font-weight:700; color: var(--teal-700);
}

.pillar-card{ position:relative; overflow:hidden; }
.pillar-card .pillar-index{
  position:absolute; top:22px; right:26px;
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--paper-alt);
  z-index:0;
}
.pillar-card > *{ position:relative; z-index:1; }

/* ---------- Module categories ---------- */
.cat-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-soft);
}
.cat-card-head{ display:flex; align-items:flex-start; gap:16px; margin-bottom:18px; }
.cat-card-head .card-ico{ margin-bottom:0; }
.cat-card-head .count{
  margin-left:auto;
  font-size: 12px;
  font-weight:700;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  white-space:nowrap;
}
.cat-modules{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.mod-chip{
  font-size: 12.75px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  color: var(--text-muted);
}

/* ---------- Process steps ---------- */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap: 28px; counter-reset: step; }
@media (max-width: 900px){ .steps{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr; } }
.step{ position:relative; padding-top: 8px; }
.step-num{
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--line-strong);
  margin-bottom: 14px;
}
.step h4{ font-family: var(--font-body); font-weight:700; font-size:16.5px; margin-bottom:8px; }
.step p{ color: var(--text-muted); font-size: 14.5px; }

/* ---------- Security list ---------- */
.sec-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (max-width: 760px){ .sec-grid{ grid-template-columns: 1fr; } }
.sec-item{
  display:flex; gap:16px; align-items:flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(244,242,234,0.10);
  border-radius: var(--radius-md);
  padding: 22px;
}
.sec-item .ico{
  flex-shrink:0; width:42px; height:42px; border-radius:12px;
  background: rgba(20,167,141,0.14);
  display:flex; align-items:center; justify-content:center;
  color: var(--teal-400);
}
.sec-item .ico svg{ width:20px; height:20px; }
.sec-item h4{ font-family:var(--font-body); font-weight:700; font-size:15.5px; margin-bottom:6px; color:var(--text-on-dark); }
.sec-item p{ font-size:13.75px; color: var(--text-on-dark-muted); }

/* ---------- Placeholder badge ---------- */
.ph{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11.5px; font-weight:700; letter-spacing:0.04em;
  color:#96631A; background:#FBF0D3; border:1px dashed #D9B65B;
  padding:3px 10px; border-radius:var(--radius-pill);
  vertical-align:middle;
}
.ph-block{
  border:1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: repeating-linear-gradient(135deg, rgba(201,162,39,0.06) 0 10px, transparent 10px 20px);
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- Testimonial ---------- */
.testi-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.testi-stars{ display:flex; gap:4px; color:var(--gold-500); margin-bottom:20px; }
.testi-stars svg{ width:16px; height:16px; }
.testi-card p.quote{ font-family: var(--font-display); font-size: 19px; line-height:1.55; }
.testi-person{ display:flex; align-items:center; gap:14px; margin-top:26px; }
.testi-avatar{
  width:46px; height:46px; border-radius:50%;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-size:16px;
}
.testi-person .name{ font-weight:700; font-size:14.5px; }
.testi-person .role{ font-size:12.75px; color: var(--text-faint); }

/* ---------- CTA banner ---------- */
.cta-banner{
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 20% 0%, #143C36, var(--ink) 60%);
  color: var(--text-on-dark);
  padding: 72px 56px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-banner::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 85% 20%, rgba(201,162,39,0.22), transparent 40%);
}
.cta-banner > *{ position:relative; z-index:1; }
.cta-banner h2{ max-width: 640px; margin: 0 auto 18px; }
.cta-banner .lede{ margin:0 auto 36px; color: var(--text-on-dark-muted); }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.footer{ background: var(--ink); color: var(--text-on-dark-muted); padding: 80px 0 32px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(244,242,234,0.10); }
@media (max-width: 900px){ .footer-top{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }
.footer-brand .brand{ color: var(--text-on-dark); margin-bottom:16px; }
.footer-brand p{ font-size: 13.75px; max-width: 260px; line-height:1.6; }
.footer-col h5{ font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase; color: rgba(244,242,234,0.45); margin-bottom:18px; }
.footer-col ul{ display:grid; gap:11px; }
.footer-col a{ font-size:14px; color: var(--text-on-dark-muted); transition: color .2s ease; }
.footer-col a:hover{ color: var(--text-on-dark); }
.footer-contact li{ font-size:14px; margin-bottom:11px; display:flex; gap:10px; }
.footer-contact svg{ width:16px; height:16px; flex-shrink:0; margin-top:2px; color: var(--teal-400); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding-top:28px; font-size:13px; flex-wrap:wrap; gap:12px; }
.footer-legal{ display:flex; gap:22px; }
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(244,242,234,0.16);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, border-color .2s ease;
}
.social-row a:hover{ background: rgba(244,242,234,0.08); border-color: rgba(244,242,234,0.3); }
.social-row svg{ width:16px; height:16px; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero{
  background: radial-gradient(120% 140% at 10% -20%, #143C36 0%, var(--ink) 55%, #060A13 100%);
  color: var(--text-on-dark);
  padding: 168px 0 96px;
}
.page-hero .eyebrow{ margin-bottom: 20px; }
.page-hero .lede{ color: var(--text-on-dark-muted); margin-top:18px; max-width: 640px; }
.breadcrumb{ display:flex; gap:8px; align-items:center; font-size:13px; color: var(--text-on-dark-muted); margin-bottom: 24px; }
.breadcrumb a{ color: var(--text-on-dark-muted); }
.breadcrumb a:hover{ color: var(--text-on-dark); }

/* ---------- Forms ---------- */
.form-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px; box-shadow: var(--shadow-lift);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
@media (max-width:640px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom: 20px; }
.field label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:8px; color: var(--text-primary); }
.field input, .field select, .field textarea{
  width:100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-primary);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-100);
}
.field textarea{ resize:vertical; min-height: 120px; }
.form-note{ font-size:12.75px; color: var(--text-faint); margin-top: 6px; }
.form-submit-note{ padding: 14px 16px; border-radius: var(--radius-sm); font-size: 13.5px; }
.form-note-success{ border:1px solid var(--teal-500); background: var(--teal-100); color: var(--teal-700); }
.form-note-error{ border:1px solid var(--gold-500); background:#FBF0D3; color:#96631A; }

.contact-info-card{
  background: var(--ink); color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-card h3{ color: var(--text-on-dark); margin-bottom: 8px; }
.contact-info-card .lede{ color: var(--text-on-dark-muted); margin-bottom:32px; }
.contact-info-row{ display:flex; gap:16px; padding:18px 0; border-top:1px solid rgba(244,242,234,0.1); }
.contact-info-row:first-of-type{ border-top:none; }
.contact-info-row .ico{
  width:40px;height:40px;border-radius:10px;flex-shrink:0;
  background: rgba(20,167,141,0.16); color: var(--teal-400);
  display:flex; align-items:center; justify-content:center;
}
.contact-info-row .ico svg{ width:18px; height:18px; }
.contact-info-row h5{ font-size:13.5px; color: rgba(244,242,234,0.5); margin-bottom:4px; }
.contact-info-row p{ font-size:15px; }

/* ---------- Utility ---------- */
.mt-8{ margin-top:8px; } .mt-16{ margin-top:16px; } .mt-24{ margin-top:24px; } .mt-40{ margin-top:40px; }
.flex-between{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; }
.small-caps{ font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase; color: var(--text-faint); }

/* ---------- Status badges (AI: live vs roadmap) ---------- */
.status-badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase;
  padding: 4px 11px; border-radius: var(--radius-pill);
  white-space:nowrap;
}
.status-badge::before{ content:""; width:6px; height:6px; border-radius:50%; }
.status-live{ color: var(--teal-700); background: var(--teal-100); }
.status-live::before{ background: var(--teal-600); }
.status-roadmap{ color: #96631A; background: #FBF0D3; }
.status-roadmap::before{ background: var(--gold-500); }
.status-badge.on-dark.status-live{ color: var(--teal-400); background: rgba(20,167,141,0.14); }
.status-badge.on-dark.status-roadmap{ color: var(--gold-300); background: rgba(201,162,39,0.14); }

.ai-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ai-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.ai-card .flex-between{ margin-bottom: 16px; align-items:flex-start; }
.ai-card .card-ico{ margin-bottom:0; }
.ai-card h3{ margin-bottom:10px; }
.ai-card p{ color: var(--text-muted); font-size:14.75px; }
.ai-card .why{
  margin-top:16px; padding-top:14px; border-top:1px solid var(--line);
  font-size:13px; color: var(--teal-700); font-weight:600;
}
.ai-card.is-roadmap .why{ color:#96631A; }

.roadmap-track{ position:relative; padding-left: 28px; }
.roadmap-track::before{
  content:""; position:absolute; left:5px; top:6px; bottom:6px; width:2px;
  background: linear-gradient(180deg, var(--teal-400), var(--line-strong));
}
.roadmap-step{ position:relative; padding-bottom: 32px; }
.roadmap-step:last-child{ padding-bottom:0; }
.roadmap-step::before{
  content:""; position:absolute; left:-28px; top:4px; width:12px; height:12px;
  border-radius:50%; background: var(--paper); border:2px solid var(--teal-500);
}
.roadmap-step h4{ font-family: var(--font-body); font-weight:700; font-size:15.5px; margin-bottom:6px; }
.roadmap-step p{ color: var(--text-muted); font-size:14px; }

/* ---------- Product screenshots ---------- */
.shot-frame{
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.shot-frame:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px rgba(16,24,43,0.16); }
.shot-chrome{
  display:flex; align-items:center; gap:8px;
  padding: 12px 16px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}
.shot-chrome span{ width:9px; height:9px; border-radius:50%; background: var(--line-strong); }
.shot-chrome .url{
  margin-left: 10px;
  font-size: 11.5px;
  color: var(--text-faint);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  flex: 1;
  max-width: 260px;
}
.shot-frame img{ display:block; width:100%; height:auto; }

.tour-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 860px){ .tour-grid{ grid-template-columns: 1fr; } }
.tour-item h3{ margin-bottom: 6px; }
.tour-item p{ color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px; }

.shot-feature{ display:grid; grid-template-columns: 1fr; gap: 18px; }
.shot-feature .shot-frame{ order: 2; }
.shot-feature .tour-copy{ order: 1; }

/* ---------- Modules directory page ---------- */
.category-block{ padding: 64px 0; border-bottom: 1px solid var(--line); }
.category-block:last-child{ border-bottom:none; }
.category-head{ display:flex; gap:20px; align-items:flex-start; margin-bottom: 36px; }
.category-head .card-ico{ margin-bottom:0; width:56px; height:56px; }
.category-head .card-ico svg{ width:26px; height:26px; }
.category-head .count{
  display:inline-block; margin-top:6px;
  font-size: 12px; font-weight:700; color: var(--teal-700);
  background: var(--teal-100); padding: 4px 12px; border-radius: var(--radius-pill);
}
.module-list{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px){ .module-list{ grid-template-columns: 1fr; } }
.module-item{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.module-item:hover{ border-color: var(--teal-500); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.module-item .num{ font-family: var(--font-display); font-size: 13px; color: var(--gold-600); margin-right: 8px; }
.module-item h4{ font-family: var(--font-body); font-weight:700; font-size: 14.75px; display:inline; }
.module-item p{ margin-top:6px; font-size: 13.5px; color: var(--text-muted); }

.dir-jump{ display:flex; flex-wrap:wrap; gap:10px; }
.dir-jump a{
  font-size: 13px; font-weight:600;
  padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid rgba(244,242,234,0.22);
  color: var(--text-on-dark-muted);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dir-jump a:hover{ background: rgba(244,242,234,0.1); color: var(--text-on-dark); border-color: rgba(244,242,234,0.4); }

@media (max-width: 640px){
  .hide-mobile{ display:none; }
  .section{ padding: 84px 0; }
  .section-tight{ padding:64px 0; }
  .container{ padding: 0 20px; }
  .cta-banner{ padding: 48px 24px; }
  .form-card{ padding: 28px; }
  .footer{ padding: 56px 0 24px; }
}
