/* ============================================================
   Wwings Smart Technologies — Website stylesheet
   Same component system as prisms.in, re-grounded to the Wwings
   logo palette: deep indigo #1E1866 → periwinkle #5050A0.
   Responsive: mobile-first, fluid type, max-width 1200 container.
   ============================================================ */

:root {
  /* ---- Brand palette (from the logo) ---- */
  --brand:        #2F2A8A;
  --brand-dark:   #241F72;
  --brand-darker: #1A1659;
  --brand-accent: #5B5FD6;   /* periwinkle — icons & highlights on light */
  --brand-light:  #A9ABFF;   /* periwinkle — highlights on dark */
  --brand-50:     #F1F1FC;
  --brand-100:    #E4E4F9;
  --brand-200:    #CACAF1;
  --ink:          #15114A;   /* deep indigo for dark sections */
  --ink-2:        #221D66;
  --gold:         #F5B301;

  /* ---- Category tints ---- */
  --blue:      #2F6FDB;  --blue-bg:   #E4EEFC;
  --green:     #1F9254;  --green-bg:  #DDF2E5;
  --amber:     #B86E00;  --amber-bg:  #FDF0D9;
  --rose:      #C73B63;  --rose-bg:   #FBE5EC;
  --violet:    #6D3BD8;  --violet-bg: #EEE7FD;
  --teal:      #0E7F86;  --teal-bg:   #DDF3F3;

  /* ---- Status ---- */
  --status-success: #1F9254;
  --status-danger:  #D64545;

  /* ---- Neutrals ---- */
  --fg-1: #121029;
  --fg-2: #3A3850;
  --fg-3: #67657A;
  --fg-4: #9C9BAE;
  --bg-1: #FFFFFF;
  --bg-2: #F7F7FB;
  --border-1: #E6E5EF;
  --border-2: #D6D5E2;

  /* ---- Type ---- */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Web type scale (fluid) */
  --fs-display: clamp(2.3rem, 1.4rem + 4vw, 4rem);
  --fs-h1:      clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --fs-h2:      clamp(1.6rem, 1.2rem + 1.8vw, 2.35rem);
  --fs-h3:      clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem);
  --fs-lead:    clamp(1.05rem, 0.98rem + 0.45vw, 1.25rem);

  /* ---- Layout ---- */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius-card: 18px;
  --shadow-soft: 0 2px 8px rgba(18,16,41,.06);
  --shadow-lift: 0 18px 44px rgba(21,17,74,.12);
  --shadow-deep: 0 30px 70px rgba(21,17,74,.22);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 150ms;
  --dur-base: 200ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; border-radius: 6px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* Material Symbols — the font is a per-page subset (see footer.php).
   Fixed box so text never reflows while the font loads. */
.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: normal; font-style: normal; line-height: 1;
  letter-spacing: normal; text-transform: none; display: inline-block;
  white-space: nowrap; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  width: 1em; overflow: hidden;
}

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border-1); }
.section-head { max-width: 740px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-accent);
}
.eyebrow .ms { font-size: 1.15em; }

h1, h2, h3 { font-family: var(--font-sans); letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
.h-display { font-size: var(--fs-display); font-weight: 800; }
.h1 { font-size: var(--fs-h1); font-weight: 800; }
.h2 { font-size: var(--fs-h2); font-weight: 800; }
.h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; }
.lead { font-size: var(--fs-lead); color: var(--fg-2); font-weight: 500; line-height: 1.6; }
.muted { color: var(--fg-3); }
.text-brand { color: var(--brand); }
.text-grad { background: linear-gradient(90deg, var(--brand), var(--brand-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); white-space: nowrap;
}
.btn .ms { font-size: 1.2em; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(47,42,138,.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--fg-1); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-1);
}
.nav {
  max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 20px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__logo img { height: 36px; width: auto; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__wordmark b { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.nav__wordmark small { font-size: .68rem; font-weight: 700; color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav__links a {
  font-weight: 600; font-size: .95rem; color: var(--fg-2);
  padding: 9px 13px; border-radius: 9px; transition: color var(--dur-fast), background var(--dur-fast);
}
.nav__links a:hover { color: var(--brand); background: var(--brand-50); }
.nav__links a.active { color: var(--brand); font-weight: 700; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__cta .btn { padding: 11px 20px; font-size: .95rem; }
.nav__login { font-weight: 700; font-size: .95rem; color: var(--fg-2); padding: 10px 14px; border-radius: 9px; }
.nav__login:hover { color: var(--brand); background: var(--brand-50); }

/* Dropdown submenus */
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav__item > a .ms { font-size: 18px; transition: transform var(--dur-fast); }
.nav__sub {
  display: none; position: absolute; top: 100%; left: 0; z-index: 110;
  min-width: 250px; padding: 8px; background: #fff;
  border: 1px solid var(--border-1); border-radius: 14px; box-shadow: var(--shadow-lift);
}
.nav__sub a { display: block; padding: 10px 14px; border-radius: 9px; font-weight: 600; font-size: .94rem; color: var(--fg-2); }
.nav__sub a:hover { color: var(--brand); background: var(--brand-50); }
.nav__sub a.active { color: var(--brand); }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { display: block; }
.nav__item:hover > a .ms { transform: rotate(180deg); }

.nav__toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--fg-1); }
.nav__toggle .ms { font-size: 30px; }
.nav__mobile-cta { display: none; }

@media (max-width: 1020px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--border-1);
    padding: 12px var(--gutter) 20px; box-shadow: var(--shadow-lift);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav__links.open a { padding: 13px 12px; font-size: 1.05rem; border-radius: 10px; }
  /* In the mobile menu, submenus render inline, always expanded */
  .nav__links.open .nav__item > a { width: 100%; }
  .nav__links.open .nav__sub {
    display: block; position: static; min-width: 0; padding: 0 0 6px 18px;
    border: 0; box-shadow: none; border-radius: 0;
  }
  .nav__links.open .nav__sub a { padding: 10px 12px; font-size: 1rem; }
  .nav__links.open .nav__item > a .ms { display: none; }
  .nav__links.open .nav__mobile-cta { display: flex; gap: 10px; margin-top: 10px; }
  .nav__links.open .nav__mobile-cta .btn { flex: 1; }
}

/* WhatsApp floating button */
.wa-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000;
  display: flex; align-items: center; gap: 10px;
  background: #1FAF54; color: #fff; font-weight: 700; font-size: .95rem;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(31,175,84,.4);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(31,175,84,.5); }
.wa-btn svg { width: 22px; height: 22px; flex: none; fill: #fff; }
@media (max-width: 600px) { .wa-btn span { display: none; } .wa-btn { padding: 14px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(55% 75% at 92% 0%, rgba(91,95,214,.16), transparent 62%),
    radial-gradient(40% 50% at 0% 100%, rgba(169,171,255,.14), transparent 60%),
    linear-gradient(180deg, var(--brand-50) 0%, #fff 70%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 92px);
}
.hero__copy { max-width: 590px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3vw, 34px); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero__proof span { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 600; color: var(--fg-2); }
.hero__proof .ms { color: var(--green); font-size: 20px; }
.hero__media { position: relative; min-width: 0; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: none; }
}

/* ---------- Card grid ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.card {
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-card);
  padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow-soft);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--brand-200); }
.card p { color: var(--fg-2); margin: 10px 0 0; }
.card__icon {
  width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card__icon .ms { font-size: 30px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--brand); }
.card__link .ms { font-size: 18px; transition: transform var(--dur-fast); }
.card:hover .card__link .ms { transform: translateX(3px); }
/* Make the whole card clickable via its heading link */
.card--link { position: relative; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.feature-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 11px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .98rem; color: var(--fg-1); }
.feature-list .ms { font-size: 20px; margin-top: 1px; flex: none; }

/* ---------- Stats band ---------- */
.stats { background: linear-gradient(120deg, var(--ink) 0%, var(--brand) 100%); border-radius: 24px; padding: clamp(34px, 4vw, 52px) clamp(24px, 3vw, 44px); position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(169,171,255,.35), transparent 65%); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; position: relative; z-index: 1; }
.stat { text-align: center; color: #fff; }
.stat__n { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stat__l { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-top: 10px; }
@media (max-width: 620px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; } .stat__l { font-size: .72rem; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media { display: flex; justify-content: center; min-width: 0; }
.photo { border-radius: 22px; box-shadow: var(--shadow-lift); width: 100%; object-fit: cover; }

/* ---------- Values / prose panel ---------- */
.panel { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 24px; padding: clamp(28px, 3.5vw, 48px); }
.panel .h3 { margin-bottom: 10px; }
.panel p { color: var(--fg-2); margin: 0; font-size: 1.02rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: clamp(18px, 2.4vw, 28px); justify-content: center; align-items: stretch; }
@media (max-width: 760px) { .pricing { grid-template-columns: minmax(0, 460px); } }
.plan { position: relative; background: #fff; border: 1px solid var(--border-1); border-radius: 22px; padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.plan--featured { background: linear-gradient(160deg, var(--ink) 0%, var(--brand) 100%); border-color: transparent; color: #fff; box-shadow: var(--shadow-deep); }
.plan__badge { position: absolute; top: 20px; right: 20px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; }
.plan__name { font-size: 1.05rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-accent); }
.plan--featured .plan__name { color: var(--brand-light); }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 4px; flex-wrap: wrap; }
.plan__price b { font-size: clamp(2.6rem, 2rem + 2vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__price s { font-size: 1.2rem; font-weight: 600; opacity: .6; }
.plan__per { font-size: .95rem; font-weight: 600; color: var(--fg-3); }
.plan--featured .plan__per { color: rgba(255,255,255,.75); }
.plan .feature-list { margin: 24px 0 28px; flex: 1; }
.plan--featured .feature-list li { color: #fff; }
.plan--featured .feature-list .ms { color: var(--brand-light) !important; }
.plan__note { text-align: center; font-size: .88rem; color: var(--fg-3); margin-top: 22px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { background: #fff; border: 1px solid var(--border-1); border-radius: 16px; padding: 20px 18px; box-shadow: var(--shadow-soft); position: relative; }
.step__n { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; margin-bottom: 14px; }
.step b { display: block; font-size: 1.02rem; }
.step p { margin: 6px 0 0; font-size: .9rem; color: var(--fg-2); line-height: 1.5; }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 26px 18px; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--brand-50); box-shadow: 0 0 0 1px var(--brand-100); }
.team-card h3 { font-size: 1.08rem; letter-spacing: -.01em; }
.team-card .role { font-size: .88rem; font-weight: 600; color: var(--fg-3); margin-top: 4px; }
.team-card .li { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .86rem; font-weight: 700; color: var(--brand); }
.team-card .li svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); border-radius: 26px; padding: clamp(40px, 5vw, 68px) clamp(24px, 4vw, 56px); text-align: center; position: relative; overflow: hidden; }
.cta-band__glow { position: absolute; top: -40%; right: -10%; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(91,95,214,.5), transparent 65%); }
.cta-band > :not(.cta-band__glow) { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--brand-light); }
.cta-band h2 { color: #fff; margin-top: 10px; }
.cta-band p { color: rgba(255,255,255,.78); }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.74); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr 1.4fr; gap: clamp(24px, 3vw, 44px); }
.footer__brand img { height: 92px; width: auto; border-radius: 12px; margin-bottom: 16px; background: #fff; padding: 6px 10px; }
.footer__brand p { font-size: .94rem; line-height: 1.6; max-width: 300px; margin: 0; }
.footer__col h2 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 800; }
.footer__col a, .footer__col p { display: block; color: rgba(255,255,255,.74); font-size: .94rem; margin-bottom: 11px; line-height: 1.45; }
.footer__col a:hover { color: var(--brand-light); }
.footer__contact .row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; font-size: .94rem; }
.footer__contact .row a { margin-bottom: 4px; }
.footer__contact .ms { font-size: 19px; color: var(--brand-light); flex: none; margin-top: 1px; }
.footer__bottom { max-width: var(--container); margin: 40px auto 0; padding: 24px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer__bottom a { color: rgba(255,255,255,.74); }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background:
    radial-gradient(50% 90% at 100% 0%, rgba(91,95,214,.12), transparent 60%),
    linear-gradient(180deg, var(--brand-50), #fff);
  border-bottom: 1px solid var(--border-1); }
.page-hero__inner { padding-block: clamp(48px, 6vw, 82px); max-width: 780px; }
.breadcrumb { font-size: .85rem; font-weight: 600; color: var(--fg-3); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Icon tile (detail-page media) ---------- */
.tile-card { width: 100%; max-width: 440px; aspect-ratio: 4/3; border-radius: 24px; background:
    radial-gradient(circle at 30% 20%, #fff, transparent 55%),
    linear-gradient(135deg, var(--brand-50), var(--brand-100));
  border: 1px solid var(--border-1); box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; position: relative; overflow: hidden; }
.tile-card > .ms { font-size: 76px; color: var(--brand); }
.tile-card__label { font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.tile-card__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 24px; }
.chip { background: #fff; border: 1px solid var(--border-1); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 700; color: var(--fg-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border-1); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-soft); }
.contact-info .row .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info .row .ic .ms { color: var(--brand); font-size: 24px; }
.contact-info .row h2 { margin: 0 0 4px; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); font-weight: 800; }
.contact-info .row p, .contact-info .row a { margin: 2px 0; font-size: 1.02rem; font-weight: 700; color: var(--fg-1); line-height: 1.4; display: block; }
.contact-info .row a:hover { color: var(--brand); }
.form-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-card); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lift); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--fg-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--fg-1);
  padding: 12px 14px; border: 1.5px solid var(--border-2); border-radius: 10px; background: #fff; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,42,138,.16); }
.field textarea { resize: vertical; min-height: 110px; }
.field .invalid { border-color: var(--status-danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--fg-2); margin: 4px 0 18px; line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.check a { color: var(--brand); font-weight: 700; }
.form-note { font-size: .82rem; color: var(--fg-3); margin-top: 10px; }
.form-success, .form-error { display: none; border-radius: 12px; padding: 16px 18px; font-weight: 700; align-items: center; gap: 10px; margin-bottom: 18px; }
.form-success { background: var(--green-bg); border: 1px solid #BFE6CC; color: #176B3E; }
.form-error { background: #FDEAEA; border: 1px solid #F2C4C4; color: #A93434; }
.form-success.show, .form-error.show { display: flex; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.prose p, .prose li { color: var(--fg-2); line-height: 1.75; font-size: 1rem; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brand); font-weight: 700; }
.prose .updated { font-size: .85rem; font-weight: 700; color: var(--fg-3); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border-1); border-radius: 14px; box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 1.04rem; color: var(--fg-1);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ms { color: var(--brand); font-size: 24px; flex: none; transition: transform var(--dur-base) var(--ease-out); }
.faq-item[open] summary .ms { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 18px; color: var(--fg-2); line-height: 1.65; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(70px, 10vw, 140px); }
.notfound .code { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============================================================
   Insurance CRM dashboard mockup (decorative, pure HTML/CSS)
   ============================================================ */
.crm-stack { position: relative; padding-bottom: 48px; }
.mock-crm {
  width: 100%; max-width: 600px; margin-left: auto; background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-1); box-shadow: var(--shadow-deep);
}
.mock-crm__chrome { height: 38px; background: #F3F3F8; border-bottom: 1px solid var(--border-1); display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.mock-crm__chrome .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.mock-crm__url { flex: 1; margin-inline: auto; text-align: center; max-width: 60%; font-size: .7rem; color: var(--fg-3); font-weight: 700; background: #fff; border: 1px solid var(--border-1); border-radius: 999px; padding: 4px 16px; }
.mock-crm__body { display: flex; min-height: 340px; }
.mock-crm__side { width: 158px; background: var(--ink); padding: 16px 10px; flex: none; }
.mock-crm__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: .9rem; padding: 0 8px 16px; }
.mock-crm__brand .ms { font-size: 20px; color: var(--brand-light); }
.mock-crm__nav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; margin-bottom: 2px; color: rgba(255,255,255,.62); font-weight: 600; font-size: .78rem; }
.mock-crm__nav .ms { font-size: 17px; }
.mock-crm__nav.on { background: var(--brand-accent); color: #fff; }
.mock-crm__main { flex: 1; background: #F7F7FB; padding: 16px; min-width: 0; }
.mock-crm__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.mock-crm__hi { font-weight: 800; font-size: .95rem; white-space: nowrap; }
.mock-crm__sub { font-size: .72rem; color: var(--fg-3); font-weight: 600; }
.mock-crm__btn { background: var(--brand); color: #fff; font-weight: 700; font-size: .72rem; padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
.mock-crm__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 11px; }
.mock-crm__kpi { background: #fff; border-radius: 10px; padding: 11px; border: 1px solid var(--border-1); min-width: 0; }
.mock-crm__kpi .k-l { font-size: .6rem; color: var(--fg-3); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-crm__kpi .k-n { font-size: 1.25rem; font-weight: 800; margin: 4px 0 2px; }
.mock-crm__kpi .k-s { font-size: .64rem; font-weight: 800; }
.mock-crm__panel { background: #fff; border-radius: 10px; padding: 12px 14px; border: 1px solid var(--border-1); }
.mock-crm__panel-h { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 800; font-size: .76rem; }
.mock-crm__panel-h .muted { font-weight: 600; }
.mock-crm__lead { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border-1); font-size: .74rem; }
.mock-crm__lead:first-of-type { border-top: 0; }
.mock-crm__av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .66rem; flex: none; }
.mock-crm__lead .nm { font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-crm__lead .nm small { display: block; font-weight: 600; color: var(--fg-3); font-size: .64rem; }
.pill { font-size: .62rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.crm-pop {
  position: absolute; left: -36px; bottom: 0; width: 220px; background: #fff; border-radius: 14px;
  border: 1px solid var(--border-1); box-shadow: var(--shadow-lift); padding: 14px 16px;
}
.crm-pop__h { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--violet); }
.crm-pop__h .ms { font-size: 18px; }
.crm-pop b { display: block; font-size: .95rem; margin-top: 6px; }
.crm-pop .muted { font-size: .76rem; font-weight: 600; margin-top: 2px; }
.crm-pop__bar { height: 7px; background: var(--brand-100); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.crm-pop__bar i { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--brand), var(--brand-accent)); border-radius: inherit; }
@media (max-width: 520px) {
  .mock-crm__side { width: 50px; padding: 14px 7px; }
  .mock-crm__brand { font-size: 0; gap: 0; justify-content: center; padding-inline: 0; }
  .mock-crm__nav { font-size: 0; justify-content: center; gap: 0; }
  .mock-crm__kpis { grid-template-columns: 1fr 1fr; }
  .mock-crm__kpi:nth-child(3) { display: none; }
  .crm-pop { position: relative; left: 0; width: auto; margin-top: 14px; }
  .crm-stack { padding-bottom: 0; }
}
