/* ==========================================================================
   Accuracy Accounting Suite — marketing site
   Design system matched to the app (navy #0C2340 + teal #37D9C8, Sora wordmark)
   ========================================================================== */

/* ----------------------------------------------------------- Tokens ------ */
:root {
  /* Brand (fixed in both themes) */
  --navy:        #0C2340;
  --navy-2:      #15365C;
  --navy-deep:   #081a30;
  --teal:        #37D9C8;   /* accent on dark   */
  --teal-ink:    #0fae9f;   /* accent on light (AA contrast) */
  --teal-soft:   #d8f7f2;

  /* Semantic surfaces (light theme) */
  --bg:          #f6f8fa;
  --surface:     #ffffff;
  --surface-2:   #eef2f7;
  --border:      #e1e4e8;
  --text:        #14233a;
  --heading:     #0C2340;
  --muted:       #5b6b80;
  --subtle:      #8294aa;

  /* Module / area accents (from the app) */
  --m-financials:   #648de5;
  --m-sales:        #6fae71;
  --m-purchase:     #8e7dbe;
  --m-inventory:    #c79f3f;
  --m-incexp:       #578a9e;
  --m-banking:      #00a39e;
  --m-commission:   #88a85f;
  --m-payroll:      #9097c0;
  --m-mfg:          #8f7166;
  --m-admin:        #9c86ab;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(12,35,64,.06), 0 1px 3px rgba(12,35,64,.05);
  --shadow:    0 6px 24px rgba(12,35,64,.08), 0 2px 6px rgba(12,35,64,.05);
  --shadow-lg: 0 24px 60px rgba(12,35,64,.16), 0 8px 24px rgba(12,35,64,.08);
  --ring: 0 0 0 3px rgba(55,217,200,.45);

  /* Geometry */
  --radius:   16px;
  --radius-sm:10px;
  --radius-lg:24px;
  --maxw: 1200px;
  --gut: clamp(1.1rem, 4vw, 2rem);
  --sect: clamp(3.5rem, 8vw, 7rem);

  /* Type */
  --font-head: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --t-fast: .15s ease;
  --t: .25s cubic-bezier(.4,0,.2,1);
}

/* ------------------------------------------------------------- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  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: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, textarea, select, button { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* --------------------------------------------------------- Helpers ------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sect); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--surface); }
.section--navy { background: var(--navy); color: #dbe6f3; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.center { text-align: center; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink);
  display: inline-flex; align-items: center; gap: .5rem;
}
.section--navy .eyebrow { color: var(--teal); }
.display { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
.h3 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.27rem); color: var(--muted); line-height: 1.6; }
.section--navy .lead { color: #b6c6da; }
.muted { color: var(--muted); }
.measure { max-width: 56ch; }
.measure-narrow { max-width: 44ch; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.section-head { max-width: 60ch; margin-inline: auto; text-align: center; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head .lead { margin-top: .9rem; }
.grad-text { background: linear-gradient(100deg, var(--teal) 10%, #8be8dc 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------- Buttons ------- */
.btn {
  --b: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.35rem; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: #06231f; box-shadow: 0 6px 18px rgba(55,217,200,.35); }
.btn--primary:hover { background: #54e6d6; box-shadow: 0 10px 26px rgba(55,217,200,.45); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn--outline { background: transparent; color: var(--heading); border-color: var(--border); }
.btn--outline:hover { border-color: var(--navy); background: var(--surface-2); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }

.btnrow { display: flex; flex-wrap: wrap; gap: .8rem; }
.btnrow--center { justify-content: center; }

/* ------------------------------------------------------------ Icons ------ */
.ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 28px; height: 28px; }

/* ----------------------------------------------------------- Header ------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,35,64,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.28); background: rgba(9,26,48,.98); }
.nav { display: flex; align-items: center; gap: 1.4rem; height: 68px; }
.nav__brand { display: flex; align-items: center; flex: none; }
.nav__brand img { height: 54px; width: auto; }
.nav__links { display: flex; align-items: center; gap: .35rem; margin-left: .6rem; }
.nav__link {
  color: #c7d4e6; font-weight: 500; font-size: .95rem; padding: .55rem .7rem; border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__link[aria-current="page"] { color: #fff; background: rgba(55,217,200,.16); }
.mobile-menu a[aria-current="page"] { color: var(--teal); background: rgba(255,255,255,.06); }
.nav__spacer { margin-left: auto; }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__signin { color: #dbe6f3; font-weight: 600; font-size: .95rem; padding: .55rem .8rem; border-radius: 8px; }
.nav__signin:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__toggle { display: none; background: transparent; border: 0; color: #fff; padding: .4rem; }
.nav__toggle .ico { width: 28px; height: 28px; }

/* mobile nav */
@media (max-width: 960px) {
  .nav__links, .nav__signin.is-desktop { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { gap: .8rem; }
  .mobile-menu {
    position: fixed; inset: 68px 0 auto 0; z-index: 99;
    background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 1rem var(--gut) 1.6rem; display: none; flex-direction: column; gap: .25rem;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a { color: #d6e2f1; padding: .85rem .5rem; border-radius: 10px; font-weight: 500; font-family: var(--font-head); }
  .mobile-menu a:hover { background: rgba(255,255,255,.07); }
  .mobile-menu .btn { margin-top: .5rem; }
  .mobile-menu hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: .6rem 0; }
}
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* ------------------------------------------------------------- Hero ------ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(55,217,200,.16), transparent 60%),
              linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #eaf1fa; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
}
.hero::after { /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(900px 500px at 70% 0%, #000, transparent 75%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.7vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; }
.hero__sub { color: #b9cae0; font-size: clamp(1.05rem, 1.6vw, 1.27rem); margin-top: 1.15rem; max-width: 36ch; }
.hero .btnrow { margin-top: 1.8rem; }
.hero__micro { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.4rem; color: #93a8c4; font-size: .9rem; }
.hero__micro span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__micro .ico { width: 16px; height: 16px; color: var(--teal); }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem .4rem .55rem;
  background: rgba(55,217,200,.12); border: 1px solid rgba(55,217,200,.3); color: #bdeee7;
  border-radius: 999px; font-size: .82rem; font-weight: 600; font-family: var(--font-head);
}
.pill b { color: #fff; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(55,217,200,.25); }

/* product mockup (pure CSS, no fake screenshot) */
.mockup { position: relative; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.4); }
.mockup__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; background: var(--navy); }
.mockup__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); }
.mockup__bar .url { margin-left: .6rem; font-size: .72rem; color: #9fb4d0; background: rgba(255,255,255,.08); padding: .25rem .6rem; border-radius: 6px; }
.mockup__body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.mockup__side { background: var(--navy-2); padding: .75rem .45rem; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.mockup__side i { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.12); display: block; }
.mockup__side i.on { background: var(--teal); }
.mockup__side i.mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--teal), #2aa996); margin-bottom: .35rem; }
.mockup__main { padding: .9rem; background: var(--bg); }
.mockup__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.mockup__head b { font-family: var(--font-head); font-size: .92rem; color: var(--navy); display: block; letter-spacing: -.01em; }
.mockup__head small { font-size: .62rem; color: var(--muted); }
.mockup__chip { font-size: .6rem; font-weight: 700; color: var(--teal-ink); background: var(--teal-soft); padding: .22rem .55rem; border-radius: 999px; font-family: var(--font-head); }
.mockup__row { display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; margin-bottom: .65rem; }
.mockup__kpi { background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--c, var(--teal)); border-radius: 9px; padding: .55rem .6rem; }
.mockup__kpi span { font-size: .56rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: block; }
.mockup__kpi b { font-family: var(--font-head); font-size: 1.02rem; color: var(--navy); display: block; margin: .14rem 0 .1rem; letter-spacing: -.02em; }
.mockup__kpi em { font-size: .56rem; color: #1f9d57; font-style: normal; font-weight: 700; }
.mockup__panel { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: .7rem .8rem; }
.mockup__panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .55rem; }
.mockup__panel-head b { font-family: var(--font-head); font-size: .74rem; color: var(--navy); }
.mockup__panel-head span { font-size: .58rem; color: var(--muted); }
.mockup__chart { display: flex; align-items: flex-end; gap: .32rem; height: 92px; }
.mockup__chart span { flex: 1; background: linear-gradient(var(--teal), #bfeee7); border-radius: 3px 3px 0 0; opacity: .92; }
.mockup__float {
  position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: .7rem .85rem; display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 600; color: var(--navy); font-family: var(--font-head);
}
.mockup__float .ico { color: var(--teal-ink); width: 20px; height: 20px; }
.mockup__float--tl { top: -18px; left: -22px; }
.mockup__float--br { bottom: -18px; right: -20px; }
@media (max-width: 480px) { .mockup__float { display: none; } }

/* ----------------------------------------- Product tour (app workspace) -- */
.appshot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #fff; max-width: 1000px; margin: 0 auto; }
.appshot__bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #0a1f3a; }
.appshot__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); }
.appshot__bar .url { margin-left: .6rem; font-size: .72rem; color: #9fb4d0; background: rgba(255,255,255,.08); padding: .25rem .7rem; border-radius: 6px; }
.appshot__top { display: flex; align-items: center; gap: 1rem; padding: .7rem 1.1rem; background: var(--navy); color: #fff; }
.appshot__brand { font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; }
.appshot__crumb { display: inline-flex; align-items: center; gap: .4rem; color: #c7d4e6; font-size: .9rem; }
.appshot__crumb .ico { width: 16px; height: 16px; }
.appshot__grow { flex: 1; }
.appshot__user { font-size: .85rem; color: #c7d4e6; display: inline-flex; align-items: center; gap: .5rem; }
.appshot__user b { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--teal); color: #08231c; padding: .14rem .45rem; border-radius: 999px; }
.appshot__body { display: grid; grid-template-columns: 210px 1fr; min-height: 340px; }
.appshot__nav { background: var(--surface-2); border-right: 1px solid var(--border); padding: .8rem .7rem; }
.appshot__navhead { font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; padding-left: .3rem; }
.nav-grp { padding: .42rem .55rem; border-radius: 7px; color: var(--text); font-weight: 600; font-size: .88rem; }
.nav-grp--open { background: #fff; box-shadow: inset 0 0 0 1px var(--border); color: var(--heading); }
.nav-sub { padding: .32rem .55rem .32rem 1.3rem; color: var(--muted); font-size: .82rem; border-radius: 6px; }
.nav-sub--on { color: var(--teal-ink); font-weight: 600; background: var(--teal-soft); }
.appshot__main { padding: 1.1rem 1.2rem; background: var(--bg); }
.appshot__hello { color: var(--muted); font-size: .9rem; margin-bottom: .9rem; }
.appshot__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.atile { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .8rem; transition: transform var(--t), box-shadow var(--t); }
.atile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.atile__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--teal)) 15%, #fff); color: var(--c, var(--teal-ink)); margin-bottom: .55rem; }
.atile__ic .ico { width: 18px; height: 18px; }
.atile b { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--heading); }
.atile span { display: block; font-size: .72rem; color: var(--muted); margin-top: .15rem; }
@media (max-width: 760px) {
  .appshot__body { grid-template-columns: 1fr; }
  .appshot__nav { display: none; }
  .appshot__tiles { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------- Trust bar ----- */
.trustbar { padding-block: clamp(2rem,4vw,2.8rem); border-bottom: 1px solid var(--border); background: var(--surface); }
.trustbar__label { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem,4vw,3rem); margin-top: 1.2rem; }
.logos .logo-ph { font-family: var(--font-head); font-weight: 700; color: #97a6b8; font-size: 1.1rem; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: .45rem; opacity: .85; }
.logos .logo-ph .ico { width: 22px; height: 22px; color: #aab6c6; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stat { text-align: center; padding: 1rem; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem,3.4vw,2.6rem); color: var(--navy); letter-spacing: -.02em; }
.section--navy .stat b { color: #fff; }
.stat span { color: var(--muted); font-size: .92rem; }
.section--navy .stat span { color: #9fb4d0; }

/* ----------------------------------------------------- Feature grid ------ */
.grid { display: grid; gap: 1.2rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d2dae4; }
.feature-card .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-ink); margin-bottom: 1.1rem;
}
.feature-card .ic .ico { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: .4rem; }
.feature-card p { color: var(--muted); font-size: .96rem; }

/* ------------------------------------------------- Module showcase ------- */
.module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.module-card {
  --accent: var(--m-financials);
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.module-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); opacity: .9; }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.module-card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--accent) 16%, #fff); color: color-mix(in srgb, var(--accent) 72%, #1a2a3f);
}
.module-card h3 { font-size: 1.08rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.module-card p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.badge {
  font-family: var(--font-head); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 999px; border: 1px solid transparent; line-height: 1.4;
}
.badge--live { background: #e3f8ee; color: #18794e; border-color: #b9ecd2; }
.badge--new  { background: #e7f0ff; color: #2256c5; border-color: #c5dbff; }
.badge--soon { background: #fff3e0; color: #9a5b00; border-color: #ffe0b0; }
.badge--region { background: #efeaff; color: #5b3dc4; border-color: #dcd2fb; }

/* --------------------------------------------------------- Split rows ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split + .split { margin-top: clamp(3rem,6vw,5.5rem); }
.split--reverse .split__media { order: 2; }
.split__media {
  background: linear-gradient(150deg, #fff, var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow);
  min-height: 240px; position: relative;
}
.split h2 { font-size: clamp(1.5rem,2.8vw,2.15rem); }
.split .eyebrow { margin-bottom: .8rem; }
.split p { color: var(--muted); margin-top: .9rem; }
.checks { margin-top: 1.2rem; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text); }
.checks .ico { width: 22px; height: 22px; color: var(--teal-ink); margin-top: 1px; }

/* mini ledger / visual props inside split media */
.vrow { display: flex; align-items: center; justify-content: space-between; padding: .7rem .85rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: .55rem; font-size: .9rem; }
.vrow b { font-family: var(--font-head); color: var(--navy); }
.vrow .tag { font-size: .7rem; padding: .15rem .5rem; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.vrow .pos { color: #18794e; font-weight: 600; }
.vrow .neg { color: #c0392b; font-weight: 600; }
.fx-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .6rem; border-radius: 8px; background: var(--surface-2); font-size: .8rem; font-weight: 600; color: var(--navy); font-family: var(--font-head); }

/* --------------------------------------------------------- Audiences ----- */
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.audience { display: flex; gap: .9rem; padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.audience .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-ink); }
.audience h3 { font-size: 1rem; }
.audience p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }

/* --------------------------------------------------- Security strip ------ */
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.trust-item { text-align: center; padding: 1.2rem; }
.trust-item .ic { width: 54px; height: 54px; margin: 0 auto .8rem; border-radius: 14px; display: grid; place-items: center; background: rgba(55,217,200,.14); color: var(--teal); }
.section--navy .trust-item h3 { color: #fff; font-size: 1rem; }
.section--navy .trust-item p { color: #9fb4d0; font-size: .88rem; margin-top: .3rem; }

/* ----------------------------------------------------------- Pricing ----- */
.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 2.4rem; }
.toggle-wrap span { font-weight: 600; color: var(--muted); font-family: var(--font-head); font-size: .95rem; }
.toggle-wrap span.on { color: var(--heading); }
.save-tag { background: var(--teal-soft); color: var(--teal-ink); font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; font-family: var(--font-head); }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--navy); border-radius: 999px; transition: background var(--t); }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; transition: transform var(--t); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked ~ .track { background: var(--teal-ink); }
.switch input:checked ~ .knob { transform: translateX(22px); }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; position: relative; }
.price-card--featured { border-color: var(--navy); box-shadow: var(--shadow-lg); }
.price-card--featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .04em; padding: .35rem .85rem; border-radius: 999px; }
.price-card h3 { font-size: 1.25rem; }
.price-card .desc { color: var(--muted); font-size: .9rem; margin-top: .35rem; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: .3rem; margin: 1.1rem 0 .3rem; }
.price .amt { font-family: var(--font-head); font-weight: 800; font-size: 2.7rem; color: var(--navy); letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: .9rem; }
.price-note { color: var(--subtle); font-size: .8rem; min-height: 1.2em; }
.price-card .btn { margin-top: 1.2rem; }
.plan-feats { margin-top: 1.4rem; display: grid; gap: .65rem; border-top: 1px solid var(--border); padding-top: 1.3rem; }
.plan-feats li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.plan-feats .ico { width: 19px; height: 19px; color: var(--teal-ink); flex: none; margin-top: 2px; }
.plan-feats li.muted-feat { color: var(--subtle); }
.plan-feats li.muted-feat .ico { color: var(--subtle); }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { padding: .9rem 1rem; text-align: center; border-bottom: 1px solid var(--border); }
.compare th { font-family: var(--font-head); }
.compare thead th { background: var(--navy); color: #fff; position: sticky; top: 68px; }
.compare thead th:first-child { border-radius: 12px 0 0 0; }
.compare thead th:last-child { border-radius: 0 12px 0 0; }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 600; color: var(--heading); }
.compare tbody tr:hover { background: var(--surface-2); }
.compare .yes { color: var(--teal-ink); }
.compare .no { color: #c4ccd6; }
.compare .ico { display: inline-block; width: 20px; height: 20px; }
.compare-scroll { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }

/* ------------------------------------------------------ Testimonials ----- */
.quote-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.stars { display: flex; gap: .15rem; color: #f5a623; margin-bottom: .9rem; }
.stars .ico { width: 18px; height: 18px; fill: #f5a623; stroke: #f5a623; }
.quote-card blockquote { font-size: 1.02rem; color: var(--text); line-height: 1.6; flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: .7rem; margin-top: 1.3rem; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--navy-2), var(--navy)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-card .who b { font-family: var(--font-head); color: var(--heading); display: block; font-size: .95rem; }
.quote-card .who span { color: var(--muted); font-size: .82rem; }

/* -------------------------------------------------------------- FAQ ------ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin-bottom: .8rem; overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; background: transparent; border: 0; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--heading); }
.faq__q .ico { color: var(--teal-ink); transition: transform var(--t); flex: none; }
.faq__item[open] .faq__q .ico, .faq__item.is-open .faq__q .ico { transform: rotate(45deg); }
.faq__a { padding: 0 1.3rem; max-height: 0; overflow: hidden; transition: max-height var(--t), padding var(--t); color: var(--muted); }
.faq__item.is-open .faq__a { padding: 0 1.3rem 1.25rem; max-height: 460px; }

/* --------------------------------------------------------- CTA band ------ */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--navy-2), var(--navy)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem,5vw,4rem); text-align: center; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(55,217,200,.25), transparent 70%); top: -120px; right: -80px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #b9cae0; position: relative; margin: .8rem auto 0; max-width: 50ch; }
.cta-band .btnrow { position: relative; margin-top: 1.8rem; }

/* ----------------------------------------------------------- Footer ------ */
.site-footer { background: var(--navy-deep); color: #9fb4d0; padding-block: clamp(3rem,5vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; color: #8ba0bc; max-width: 30ch; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-family: var(--font-head); }
.footer-col a { display: block; color: #9fb4d0; padding: .35rem 0; font-size: .92rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom .socials { display: flex; gap: .6rem; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #b9cae0; }
.footer-bottom .socials a:hover { background: var(--teal); color: var(--navy); }
.region-note { display: inline-flex; align-items: center; gap: .45rem; color: #8ba0bc; }
.region-note .ico { width: 16px; height: 16px; }
.footer-legal a { transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--teal); }

/* --------------------------------------------------------- Legal docs ---- */
.legal-doc { max-width: 768px; margin-inline: auto; }
.legal-doc > p { color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }
.legal-doc h2 { font-size: 1.3rem; margin: 2.4rem 0 .7rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: .4rem; }
.legal-doc h3 { font-size: 1.05rem; color: var(--heading); margin: 1.5rem 0 .4rem; }
.legal-doc ul { list-style: disc; padding-left: 1.3rem; margin: .3rem 0 1.2rem; }
.legal-doc li { color: var(--muted); margin-bottom: .5rem; line-height: 1.7; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc a { color: var(--teal-ink); font-weight: 600; }
.legal-updated { display: inline-block; margin-top: .9rem; font-size: .85rem; color: var(--subtle); }
.legal-callout { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.legal-callout p { color: var(--muted); margin: 0; font-size: .94rem; line-height: 1.7; }

/* ------------------------------------------------------------ Forms ------ */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { background: radial-gradient(900px 500px at 30% 0%, rgba(55,217,200,.16), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy-deep)); color: #dbe6f3; padding: clamp(2.5rem,5vw,4rem); display: flex; flex-direction: column; justify-content: center; }
.auth-aside img { height: 38px; margin-bottom: 2rem; }
.auth-aside h2 { color: #fff; font-size: clamp(1.6rem,2.6vw,2.2rem); }
.auth-aside .checks { margin-top: 1.6rem; }
.auth-aside .checks li { color: #cddaeb; }
.auth-aside .checks .ico { color: var(--teal); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(2rem,5vw,4rem); background: var(--bg); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card > .back { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; margin-bottom: 1.4rem; }
.auth-card h1 { font-size: 1.7rem; }
.auth-card .sub { color: var(--muted); margin-top: .4rem; margin-bottom: 1.8rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--heading); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast); font-size: .98rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px rgba(15,174,159,.15); }
.field .hint { font-size: .8rem; color: var(--subtle); margin-top: .35rem; }
.form-row { display: flex; gap: 1rem; }
.form-row .field { flex: 1; }
.form-foot { text-align: center; margin-top: 1.4rem; color: var(--muted); font-size: .92rem; }
.form-foot a { color: var(--teal-ink); font-weight: 600; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox input { margin-top: .25rem; width: 16px; height: 16px; flex: none; }
.alert-ok { display: none; background: #e3f8ee; border: 1px solid #b9ecd2; color: #18794e; padding: .9rem 1rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .92rem; }
.alert-ok.show { display: block; }
.divider { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; color: var(--subtle); font-size: .82rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* page hero (interior pages) */
.page-hero { background: radial-gradient(900px 500px at 80% -20%, rgba(55,217,200,.14), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy) 70%); color: #eaf1fa; padding-block: clamp(3rem,6vw,5rem); text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem,4vw,3rem); }
.page-hero p { color: #b9cae0; max-width: 56ch; margin: 1rem auto 0; }
.breadcrumb { color: #8aa0bd; font-size: .85rem; margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--teal); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------- Responsive --------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 2.5rem; max-width: 560px; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .module-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .hero .btnrow .btn { width: 100%; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------- Dark mode ------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0a1626;
    --surface:   #0f2138;
    --surface-2: #14273f;
    --border:    #23374f;
    --text:      #d9e3ef;
    --heading:   #ffffff;
    --muted:     #93a6bd;
    --subtle:    #6f8197;
    --teal-ink:  #37D9C8;
    --teal-soft: rgba(55,217,200,.14);
    --shadow:    0 6px 24px rgba(0,0,0,.4);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  }
  .trustbar, .section--alt { background: var(--surface); }
  .mockup { border-color: var(--border); }
  .mockup__main { background: #0a1626; }
  .mockup__kpi, .mockup__chart { background: #0f2138; border-color: var(--border); }
  .module-card .ic { background: color-mix(in srgb, var(--accent) 22%, #0f2138); color: color-mix(in srgb, var(--accent) 60%, #fff); }
  .split__media { background: linear-gradient(150deg, #11243c, #0c1c30); }
  .vrow, .field input, .field select, .field textarea { background: #0c1c30; }
  .badge--live { background: rgba(24,121,78,.2); color: #5fe0a3; border-color: rgba(24,121,78,.4); }
  .badge--new  { background: rgba(34,86,197,.2); color: #8fb4ff; border-color: rgba(34,86,197,.4); }
  .badge--soon { background: rgba(154,91,0,.2); color: #ffc16b; border-color: rgba(154,91,0,.45); }
  .badge--region { background: rgba(91,61,196,.22); color: #c3b1ff; border-color: rgba(91,61,196,.45); }
  .logos .logo-ph { color: #6f8197; }
  .auth-main { background: var(--bg); }
}
