/* ==========================================================================
   EduManage — marketing site
   Design tokens, layout and components. Built on Bootstrap 5.3.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/jakarta-var-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ink: #07111f;
  --navy: #081426;
  --navy-2: #0b1c38;
  --navy-3: #10284f;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-700: #1e40af;
  --sky: #38bdf8;
  --sky-soft: #e8f4ff;
  --lime: #a3e635;
  --green: #059669;
  --green-soft: #e8f9f1;
  --amber: #d97706;
  --amber-soft: #fff7e6;
  --violet: #7c3aed;
  --violet-soft: #f3edff;
  --rose: #e11d48;
  --rose-soft: #ffedf1;
  --cyan: #0891b2;
  --cyan-soft: #e6f9fd;

  --text: #0f172a;
  --muted: #5b6b82;
  --muted-2: #7c8ba1;
  --border: #e4e9f2;
  --border-strong: #d3ddea;
  --surface: #ffffff;
  --surface-soft: #f6f9fd;
  --surface-tint: #f0f6ff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.24);
  --shadow-lg: 0 34px 80px -36px rgba(15, 23, 42, 0.34);
  --shadow-blue: 0 18px 44px -18px rgba(37, 99, 235, 0.48);

  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.032em;
  color: var(--text);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  color: var(--blue-600);
}

img,
svg {
  vertical-align: middle;
}

/* Inline SVGs using <use> have no intrinsic size; give every icon a sane
   default and let component styles override it. */
svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  padding-left: 1.2rem;
}

strong {
  font-weight: 700;
}

::selection {
  background: #bfdbfe;
  color: #0b1c38;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 575.98px) {
  .container {
    padding-inline: 18px;
  }
}

/* ---------- Helpers ---------- */
.text-gradient {
  background: linear-gradient(100deg, #60a5fa 0%, #38bdf8 48%, #a3e635 118%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-gradient--dark {
  background: linear-gradient(100deg, #1d4ed8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
}

.eyebrow--dark {
  background: rgba(96, 165, 250, 0.11);
  border: 1px solid rgba(96, 165, 250, 0.24);
  color: #93c5fd;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbeafe;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(163, 230, 53, 0.04); }
}

.section {
  padding: clamp(64px, 8vw, 108px) 0;
  position: relative;
}

.section--tight {
  padding: clamp(48px, 6vw, 76px) 0;
}

.section--soft {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--tint {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(37, 99, 235, 0.09), transparent 65%),
    linear-gradient(180deg, #f8fbff, #f4f8fe);
}

.section--dark {
  background:
    radial-gradient(900px 500px at 82% 0%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(700px 440px at 6% 100%, rgba(37, 99, 235, 0.2), transparent 65%),
    linear-gradient(155deg, #07111f 0%, #0a1a33 60%, #0b2145 100%);
  color: #cfe0f5;
  overflow: hidden;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: #a9bdd6;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.05rem);
  margin: 16px 0 14px;
  line-height: 1.06;
  letter-spacing: -0.042em;
}

.section-head .lead {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 650px;
}

.section-head--left {
  text-align: left;
  margin-left: 0;
}

.section-head--left .lead {
  margin-left: 0;
}

.lead {
  font-size: 1.13rem;
  line-height: 1.7;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-600);
}

.link-arrow svg {
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.link-arrow--light {
  color: #bfdbfe;
}

.link-arrow--light:hover {
  color: #fff;
}

.text-balance {
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-focus-box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22);
  border-radius: 12px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-brand {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  border: 1px solid #2563eb;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.6);
}

.btn-brand:hover,
.btn-brand:focus {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -12px rgba(37, 99, 235, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-light-brand {
  background: #fff;
  border: 1px solid #fff;
  color: var(--navy);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.45);
}

.btn-light-brand:hover {
  background: #eff6ff;
  border-color: #eff6ff;
  color: var(--blue-700);
  transform: translateY(-1px);
}

.btn-outline-brand {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--text);
}

.btn-outline-brand:hover {
  border-color: var(--blue);
  color: var(--blue-600);
  background: #f5f9ff;
}

.btn-outline-light-brand {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
}

.btn-outline-light-brand:hover {
  border-color: #fff;
  color: var(--navy);
  background: #fff;
}

.btn-lg {
  padding: 0.92rem 1.4rem;
  font-size: 0.98rem;
}

.btn-sm {
  padding: 0.58rem 0.95rem;
  font-size: 0.84rem;
  border-radius: 10px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 2000;
  padding: 12px 18px;
  background: #fff;
  color: var(--blue-700);
  border-radius: 10px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
  color: var(--blue-700);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1040;
  padding: 16px 0;
  background: transparent;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header--solid {
  padding: 9px 0;
  background: rgba(6, 16, 32, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}

.site-header .navbar {
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.045em;
  line-height: 1;
  padding: 0;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px -8px rgba(7, 17, 31, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  flex: 0 0 40px;
  overflow: hidden;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb4cf;
  font-family: "Inter", sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
}

.navbar-nav {
  gap: 2px;
}

.navbar-nav .nav-link {
  position: relative;
  color: rgba(235, 243, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem !important;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-item.is-active > .nav-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.navbar-nav .nav-item.is-active > .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sky), var(--lime));
}

.navbar-nav .nav-link.dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: 1px;
  border-top-color: currentColor;
  opacity: 0.65;
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: #eef5ff;
  --bs-dropdown-link-active-color: var(--blue-700);
  min-width: 300px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.32);
  background: #fff;
  margin-top: 12px !important;
}

.dropdown-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 10px 11px;
  border-radius: 10px;
  color: #24344d;
  font-size: 0.875rem;
  line-height: 1.35;
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #f3f7fd;
  color: var(--blue-700);
}

.dropdown-item .dd-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #edf4ff;
  color: var(--blue-600);
}

.dropdown-item .dd-icon svg {
  width: 17px;
  height: 17px;
}

.dropdown-item .dd-title {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1px;
}

.dropdown-item:hover .dd-title {
  color: var(--blue-700);
}

.dropdown-item .dd-desc {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}

.dropdown-divider {
  border-color: var(--border);
  margin: 7px 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  margin-left: 14px;
}

.header-signin {
  color: rgba(235, 243, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.4rem;
  white-space: nowrap;
}

.header-signin:hover {
  color: #fff;
}

.navbar-toggler {
  width: 44px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.22) !important;
}

.nav-toggle {
  width: 19px;
  height: 13px;
  position: relative;
  display: block;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 5.5px; }
.nav-toggle span:nth-child(3) { top: 11px; }

.navbar-toggler[aria-expanded="true"] .nav-toggle span:nth-child(1) {
  top: 5.5px;
  transform: rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .nav-toggle span:nth-child(3) {
  top: 5.5px;
  transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
  .site-header {
    padding: 10px 0;
    background: rgba(6, 16, 32, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    background: #0a1a33;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 26px 60px -20px rgba(0, 0, 0, 0.65);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 2px;
  }

  .navbar-nav .nav-link {
    padding: 0.78rem 0.9rem !important;
    font-size: 0.96rem;
  }

  .navbar-nav .nav-item.is-active > .nav-link::after {
    display: none;
  }

  .navbar-nav .nav-item.is-active > .nav-link {
    color: #fff;
    background: rgba(96, 165, 250, 0.12);
  }

  .dropdown-menu {
    min-width: 0;
    margin: 4px 0 8px !important;
    padding: 6px;
    border: 0;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  .dropdown-item {
    color: #dce8f8;
    padding: 9px 10px;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .dropdown-item .dd-title {
    color: #fff;
  }

  .dropdown-item .dd-desc {
    color: #9fb4cf;
  }

  .dropdown-item .dd-icon {
    background: rgba(96, 165, 250, 0.14);
    color: #93c5fd;
  }

  .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
  }

  .header-actions {
    margin: 14px 0 2px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .header-signin {
    text-align: center;
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
  }

  .header-actions .btn {
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 74px) 0 0;
  color: #fff;
  background:
    radial-gradient(1100px 620px at 74% 8%, rgba(37, 99, 235, 0.28), transparent 62%),
    radial-gradient(700px 440px at 2% 74%, rgba(14, 165, 233, 0.14), transparent 64%),
    linear-gradient(158deg, #060f1e 0%, #08162c 48%, #0a2044 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 197, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, 0.07) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(760px 560px at 62% 32%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 560px at 62% 32%, #000 10%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.13);
  box-shadow:
    0 0 0 80px rgba(96, 165, 250, 0.025),
    0 0 0 160px rgba(96, 165, 250, 0.02);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  padding-bottom: 42px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.55rem, 4.2vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.048em;
  margin: 22px 0 20px;
  max-width: 640px;
}

.hero .lead {
  color: #b5c8df;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.72;
  max-width: 565px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-micro {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #8fa6c2;
  font-size: 0.82rem;
}

.hero-micro span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-micro svg {
  width: 14px;
  height: 14px;
  color: #86efac;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  color: #8fa6c2;
  font-size: 0.84rem;
}

.hero-proof strong {
  color: #dbeafe;
  font-weight: 600;
}

.role-avatars {
  display: flex;
  padding-left: 6px;
}

.role-avatars span {
  width: 34px;
  height: 34px;
  margin-left: -7px;
  border-radius: 50%;
  border: 2px solid #0a1a33;
  background: linear-gradient(145deg, #1e40af, #0ea5e9);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.role-avatars span:nth-child(2) {
  background: linear-gradient(145deg, #0f766e, #10b981);
}
.role-avatars span:nth-child(3) {
  background: linear-gradient(145deg, #7c3aed, #c084fc);
}
.role-avatars span:nth-child(4) {
  background: linear-gradient(145deg, #b45309, #f59e0b);
}

.role-avatars svg {
  width: 16px;
  height: 16px;
}

/* ---------- Hero dashboard mockup ---------- */
.hero-visual {
  position: relative;
  padding: 8px 0 46px;
  perspective: 1800px;
}

.app-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 0 8px rgba(255, 255, 255, 0.035);
  transform: rotateY(-7deg) rotateX(2deg) translateZ(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease);
}

.hero-visual:hover .app-frame {
  transform: rotateY(-3deg) rotateX(1deg);
}

.app-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  background: #f1f5fb;
  border-bottom: 1px solid #e3e9f2;
}

.app-chrome .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}
.app-chrome .dot:nth-child(1) { background: #fca5a5; }
.app-chrome .dot:nth-child(2) { background: #fcd34d; }
.app-chrome .dot:nth-child(3) { background: #86efac; }

.app-chrome .url {
  margin-left: 8px;
  flex: 1;
  max-width: 240px;
  height: 15px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 7px;
  font-size: 7px;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.app-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 360px;
  background: #f5f8fd;
}

.app-side {
  background: linear-gradient(180deg, #0a1a33 0%, #0b2145 100%);
  padding: 13px 9px;
  color: #9fb4cf;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-side-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 3px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: -0.02em;
}

.app-side-brand .mini-mark {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: transparent;
  display: grid;
  place-items: center;
  flex: 0 0 15px;
  overflow: hidden;
}

.app-side-brand .mini-mark img {
  width: 15px;
  height: 15px;
  display: block;
}

.app-side-label {
  font-size: 6.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #64748b;
  padding: 8px 5px 4px;
}

.app-side a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: 5px;
  color: #a9bdd6;
  font-size: 7.5px;
  font-weight: 500;
  line-height: 1;
}

.app-side a svg {
  width: 9px;
  height: 9px;
  opacity: 0.8;
}

.app-side a.is-on {
  background: rgba(59, 130, 246, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.25);
}

.app-side a.is-on svg {
  color: #93c5fd;
  opacity: 1;
}

.app-main {
  padding: 13px 14px 14px;
  min-width: 0;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.app-top h3 {
  font-size: 11px;
  margin: 0;
  letter-spacing: -0.02em;
}

.app-top .app-top-sub {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 6.5px;
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 2px;
}

.app-search {
  margin-left: auto;
  height: 19px;
  width: 88px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #e5eaf2;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  color: #a8b6c8;
  font-size: 6.5px;
}

.app-search svg { width: 8px; height: 8px; }

.app-avatar {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d4ed8, #38bdf8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 6px;
  font-weight: 800;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.stat-card {
  background: #fff;
  border: 1px solid #e7ecf4;
  border-radius: 8px;
  padding: 8px 8px 7px;
  min-width: 0;
}

.stat-card .stat-label {
  display: block;
  font-size: 6.2px;
  color: #8b9bb1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-card .stat-value {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .stat-delta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 5.8px;
  font-weight: 700;
  color: #059669;
}

.stat-card .stat-delta.is-warn { color: #d97706; }

.chart-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.panel {
  background: #fff;
  border: 1px solid #e7ecf4;
  border-radius: 8px;
  padding: 9px;
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}

.panel-head strong {
  font-size: 7px;
  font-weight: 700;
  color: #1e293b;
}

.panel-head span {
  font-size: 5.8px;
  color: #94a3b8;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 62px;
  padding-top: 4px;
  border-bottom: 1px solid #eef2f8;
  background-image: linear-gradient(#f1f5f9 1px, transparent 1px);
  background-size: 100% 20px;
}

.bar-chart .bar {
  flex: 1;
  height: var(--h);
  min-height: 4px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #3b82f6, #93c5fd);
  position: relative;
  opacity: 0.92;
}

.bar-chart .bar:nth-child(3n) {
  background: linear-gradient(180deg, #0ea5e9, #bae6fd);
}

.bar-chart .bar.is-hot {
  background: linear-gradient(180deg, #1d4ed8, #60a5fa);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.bar-labels {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  font-size: 5px;
  color: #a3b1c4;
  text-align: center;
}

.bar-labels span { flex: 1; }

.donut-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 3px;
}

.donut {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border-radius: 50%;
  background: conic-gradient(#2563eb 0 62%, #38bdf8 62% 84%, #e2e8f0 84% 100%);
  position: relative;
  display: grid;
  place-items: center;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #fff;
}

.donut-center {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1;
}

.donut-center strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.donut-center span {
  font-size: 4.8px;
  color: #94a3b8;
}

.legend {
  display: grid;
  gap: 5px;
  font-size: 5.8px;
  color: #64748b;
  min-width: 0;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.legend i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: #2563eb;
  flex: 0 0 5px;
}

.legend span:nth-child(2) i { background: #38bdf8; }
.legend span:nth-child(3) i { background: #e2e8f0; }

.app-list {
  display: grid;
  gap: 5px;
}

.app-list-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 5px;
  background: #f8fafc;
  border: 1px solid #eef2f8;
}

.app-list-row .ico {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #eaf1ff;
  color: #2563eb;
  flex: 0 0 14px;
}

.app-list-row .ico svg { width: 8px; height: 8px; }
.app-list-row:nth-child(2) .ico { background: #fff7e6; color: #d97706; }
.app-list-row:nth-child(3) .ico { background: #e8f9f1; color: #059669; }

.app-list-row div {
  min-width: 0;
  line-height: 1.2;
}

.app-list-row strong {
  display: block;
  font-size: 6.3px;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-list-row small {
  display: block;
  font-size: 5.3px;
  color: #94a3b8;
}

.app-list-row .tag {
  margin-left: auto;
  font-size: 5px;
  font-weight: 700;
  color: #2563eb;
  background: #eaf1ff;
  padding: 2px 4px;
  border-radius: 3px;
  white-space: nowrap;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid #e7edf6;
  border-radius: 12px;
  box-shadow: 0 20px 40px -18px rgba(2, 12, 27, 0.5);
  color: #0f172a;
  z-index: 3;
  animation: floaty 7s ease-in-out infinite;
}

.float-card .fc-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  background: #e8f9f1;
  color: #059669;
}

.float-card .fc-icon svg { width: 16px; height: 16px; }

.float-card strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  white-space: nowrap;
}

.float-card small {
  display: block;
  font-size: 0.6rem;
  color: #7c8ba1;
  line-height: 1.3;
  white-space: nowrap;
}

.float-card--one {
  top: -26px;
  left: 18px;
}

.float-card--two {
  right: -14px;
  bottom: 8px;
  animation-delay: -3.5s;
}

.float-card--two .fc-icon {
  background: #eaf1ff;
  color: #2563eb;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  padding: 20px 0;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6f86a3;
  white-space: nowrap;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 22px 34px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9fb4cf;
  font-size: 0.8rem;
  font-weight: 600;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: #60a5fa;
}

/* ---------- Feature cards ---------- */
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--lime));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #cfdcee;
  box-shadow: var(--shadow);
}

.feature-card:hover::before {
  opacity: 1;
}

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.icon-tile svg {
  width: 23px;
  height: 23px;
}

.tile-blue { background: #eaf1ff; color: var(--blue); }
.tile-green { background: var(--green-soft); color: var(--green); }
.tile-amber { background: var(--amber-soft); color: var(--amber); }
.tile-violet { background: var(--violet-soft); color: var(--violet); }
.tile-rose { background: var(--rose-soft); color: var(--rose); }
.tile-cyan { background: var(--cyan-soft); color: var(--cyan); }

.feature-card h3 {
  font-size: 1.16rem;
  margin-bottom: 9px;
  letter-spacing: -0.025em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
  margin-bottom: 16px;
}

.feature-card .link-arrow {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.84rem;
}

.also-included {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.8rem;
}

.also-included strong {
  color: var(--text);
  margin-right: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: #43536b;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
}

.chip svg {
  width: 13px;
  height: 13px;
  color: var(--blue);
}

/* ---------- Media / split sections ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0b1c38;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 26, 0) 45%, rgba(4, 12, 26, 0.52) 100%);
  pointer-events: none;
}

.media-frame--wide img {
  aspect-ratio: 16 / 11;
}

.media-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(8, 20, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #e8f1ff;
  font-size: 0.78rem;
  font-weight: 600;
}

.media-caption svg {
  width: 17px;
  height: 17px;
  color: #86efac;
  flex: 0 0 17px;
}

.media-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(8, 20, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #e8f1ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.split-copy h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 16px 0 16px;
}

.split-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.55;
}

.check-list svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--green);
  margin-top: 2px;
}

.check-list--light li {
  color: #c2d4e9;
}

.check-list--light svg {
  color: #86efac;
}

/* ---------- UI cards (feature mockups) ---------- */
.ui-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 18px;
  box-shadow: 0 34px 70px -34px rgba(8, 20, 38, 0.42);
  padding: 20px;
  overflow: hidden;
}

.ui-card--float {
  transform: rotate(-1.4deg);
}

.ui-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f8;
}

.ui-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1d4ed8, #38bdf8);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  flex: 0 0 40px;
}

.ui-head strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.25;
}

.ui-head small {
  display: block;
  color: var(--muted-2);
  font-size: 0.68rem;
}

.ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f9f1;
  color: #047857;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ui-pill--blue {
  background: #eaf1ff;
  color: var(--blue-600);
}

.ui-pill--amber {
  background: #fff7e6;
  color: #b45309;
}

.ui-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 0;
}

.ui-metric {
  background: #f8fafc;
  border: 1px solid #eef2f8;
  border-radius: 9px;
  padding: 9px;
}

.ui-metric span {
  display: block;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b9bb1;
  margin-bottom: 3px;
}

.ui-metric strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.ui-progress {
  height: 4px;
  border-radius: 4px;
  background: #e6edf7;
  margin-top: 6px;
  overflow: hidden;
}

.ui-progress span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.ui-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 0 0;
  border-top: 1px solid #eef2f8;
  font-size: 0.64rem;
  color: #7c8ba1;
  font-weight: 600;
}

.ui-tabs span {
  padding: 4px 7px;
  border-radius: 5px;
}

.ui-tabs span.is-on {
  background: #eaf1ff;
  color: var(--blue-600);
}

.ui-rows {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #eef2f8;
  border-radius: 8px;
  background: #fbfcfe;
}

.ui-row .ico {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #eaf1ff;
  color: var(--blue);
  flex: 0 0 24px;
}

.ui-row .ico svg { width: 13px; height: 13px; }
.ui-row:nth-child(2) .ico { background: #e8f9f1; color: #059669; }
.ui-row:nth-child(3) .ico { background: #fff7e6; color: #d97706; }

.ui-row strong {
  display: block;
  font-size: 0.68rem;
  line-height: 1.25;
}

.ui-row small {
  display: block;
  font-size: 0.58rem;
  color: #94a3b8;
}

.ui-row .amount {
  margin-left: auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.ui-fee-total {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 16px 0 4px;
  color: #0f172a;
}

.ui-fee-total small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted-2);
  margin-top: 4px;
}

.ui-fee-chart {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}

.ui-donut {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border-radius: 50%;
  background: conic-gradient(#2563eb 0 78%, #f59e0b 78% 92%, #e2e8f0 92% 100%);
  position: relative;
  display: grid;
  place-items: center;
}

.ui-donut::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #fff;
}

.ui-donut div {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.05;
}

.ui-donut strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.ui-donut span {
  font-size: 0.52rem;
  color: var(--muted-2);
}

.ui-breakdown {
  display: grid;
  gap: 8px;
  font-size: 0.68rem;
  color: #4b5b70;
  min-width: 0;
}

.ui-breakdown span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ui-breakdown i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #2563eb;
  flex: 0 0 7px;
}

.ui-breakdown span:nth-child(2) i { background: #f59e0b; }
.ui-breakdown span:nth-child(3) i { background: #e2e8f0; }

.ui-breakdown b {
  margin-left: auto;
  color: #0f172a;
}

.ui-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f0fdf6;
  border: 1px solid #c9f3dd;
  color: #047857;
  font-size: 0.62rem;
  font-weight: 600;
}

.ui-note svg { width: 12px; height: 12px; flex: 0 0 12px; }

/* ---------- Role cards ---------- */
.role-card {
  height: 100%;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.role-card:hover {
  transform: translateY(-4px);
  border-color: #cfdcee;
  box-shadow: var(--shadow);
}

.role-card .role-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.role-card .role-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #eaf1ff;
  color: var(--blue);
  flex: 0 0 40px;
}

.role-card:nth-child(2) .role-icon { background: var(--green-soft); color: var(--green); }
.role-card:nth-child(3) .role-icon { background: var(--amber-soft); color: var(--amber); }
.role-card:nth-child(4) .role-icon { background: var(--violet-soft); color: var(--violet); }

.role-card .role-icon svg { width: 21px; height: 21px; }

.role-card h3 {
  font-size: 1.03rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.role-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.role-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.role-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #43536b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.role-card ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 5px;
  margin-top: 7px;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.price-card--popular {
  border: 2px solid var(--blue);
  box-shadow: 0 26px 60px -30px rgba(37, 99, 235, 0.48);
}

.price-card--popular:hover {
  box-shadow: 0 34px 70px -28px rgba(37, 99, 235, 0.55);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.7);
}

.price-name {
  font-size: 1.18rem;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.price-desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  min-height: 40px;
  margin-bottom: 18px;
}

.price-amount {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}

.price-amount .currency {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-top: 6px;
}

.price-per {
  color: var(--muted-2);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.price-term {
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.45;
  margin: 0 0 2px;
}

.price-term strong {
  color: #43536b;
  font-weight: 600;
}

.price-cap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #43536b;
  font-size: 0.74rem;
  font-weight: 600;
  background: #f5f8fd;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 9px;
  margin: 12px 0 2px;
  align-self: flex-start;
}

.price-features {
  list-style: none;
  padding: 20px 0 0;
  margin: 18px 0 26px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.45;
}

.price-features svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--green);
  margin-top: 1px;
}

.price-card .btn {
  width: 100%;
}

.price-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 740px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.price-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--blue);
  margin-top: 2px;
}

.price-example {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f0f6ff;
  border: 1px solid #d9e7ff;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.6;
}

.price-example strong {
  color: var(--blue-700);
}

/* ---------- Calculator ---------- */
.calc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 38px);
}

.calc-title {
  font-size: 1.35rem;
  margin-bottom: 5px;
  letter-spacing: -0.03em;
}

.calc-sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text);
  background-color: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-control::placeholder {
  color: #a3b1c4;
}

.calc-output {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(150deg, #081426, #0b2145);
  color: #fff;
}

.calc-output .co-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa6c2;
  margin-bottom: 6px;
}

.calc-output .co-total {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
}

.calc-output .co-detail {
  color: #a9bdd6;
  font-size: 0.8rem;
  line-height: 1.6;
}

.calc-output .co-detail strong {
  color: #dbeafe;
}

.calc-output .co-warning {
  display: block;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.32);
  color: #fde68a;
  font-weight: 600;
  line-height: 1.5;
}

.calc-output .co-note {
  display: block;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
  font-weight: 600;
  line-height: 1.5;
}

.calc-output .co-split {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-output .co-split span {
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfe0f5;
  font-size: 0.72rem;
}

/* ---------- Comparison table ---------- */
.compare-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.compare-hint {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.compare-hint svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  text-align: center;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #334155;
  width: 44%;
}

.compare-table thead th {
  background: #f7faff;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border-strong);
}

.compare-table thead th:nth-child(3) {
  background: #eef5ff;
}

.compare-table tbody tr:hover {
  background: #fbfdff;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table .yes {
  color: var(--green);
  display: inline-flex;
}

.compare-table .yes svg {
  width: 18px;
  height: 18px;
}

.compare-table .no {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.compare-table .muted {
  color: var(--muted);
  font-size: 0.8rem;
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-scroll table {
  min-width: 680px;
}

/* ---------- Testimonials ---------- */
.quote-card {
  position: relative;
  height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.example-note {
  max-width: 42rem;
  margin: 18px auto 0;
  padding: 10px 14px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.04);
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.quote-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 4.4rem;
  line-height: 0.7;
  color: #dbe7ff;
  pointer-events: none;
}

.quote-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: #1e293b;
}

.quote-card .stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #f59e0b;
}

.quote-card .stars svg {
  width: 15px;
  height: 15px;
}

.person {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.person-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1d4ed8, #38bdf8);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  flex: 0 0 42px;
}

.quote-card:nth-child(3n + 2) .person-avatar {
  background: linear-gradient(145deg, #0f766e, #34d399);
}

.quote-card:nth-child(3n + 3) .person-avatar {
  background: linear-gradient(145deg, #6d28d9, #a78bfa);
}

.person-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.person-role {
  display: block;
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.35;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq .accordion-item {
  margin-bottom: 11px;
  background: #fff;
  border: 1px solid var(--border) !important;
  border-radius: 13px !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq .accordion-button {
  padding: 18px 20px;
  background: #fff;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: none !important;
}

.faq .accordion-button:not(.collapsed) {
  background: #f7faff;
  color: var(--blue-700);
}

.faq .accordion-button::after {
  width: 16px;
  height: 16px;
  background-size: 16px;
  opacity: 0.55;
}

.faq .accordion-button:not(.collapsed)::after {
  opacity: 0.9;
}

.faq .accordion-body {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.faq .accordion-body p:last-child {
  margin-bottom: 0;
}

.faq .accordion-body a {
  font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(34px, 5.5vw, 64px);
  background: #081426;
  color: #fff;
  isolation: isolate;
}

.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0.42;
  filter: saturate(0.85) contrast(1.02);
  z-index: -2;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 27, 0.97) 0%, rgba(5, 13, 27, 0.88) 45%, rgba(5, 13, 27, 0.42) 100%),
    radial-gradient(700px 300px at 0% 100%, rgba(37, 99, 235, 0.4), transparent 65%);
  z-index: -1;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 14px 0 14px;
}

.cta-inner p {
  color: #b5c8df;
  font-size: 1rem;
  line-height: 1.68;
  margin-bottom: 24px;
  max-width: 600px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.cta-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: #8fa6c2;
  font-size: 0.78rem;
}

.cta-micro span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cta-micro svg {
  width: 13px;
  height: 13px;
  color: #86efac;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 66px) 0 72px;
  color: #fff;
  background:
    radial-gradient(900px 460px at 78% 4%, rgba(37, 99, 235, 0.3), transparent 62%),
    radial-gradient(620px 360px at 4% 110%, rgba(14, 165, 233, 0.14), transparent 65%),
    linear-gradient(158deg, #060f1e 0%, #08162c 52%, #0a2044 100%);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 197, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(760px 480px at 70% 20%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(760px 480px at 70% 20%, #000 0%, transparent 74%);
  pointer-events: none;
  z-index: -1;
}

.page-hero--compact {
  padding-bottom: 56px;
}

.page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.33);
  --bs-breadcrumb-item-padding-x: 0.55rem;
  margin: 0 0 20px;
  font-size: 0.78rem;
}

.page-hero .breadcrumb a {
  color: #93c5fd;
  font-weight: 500;
}

.page-hero .breadcrumb-item.active {
  color: #8299b5;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.7vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -0.048em;
  max-width: 900px;
  margin: 16px 0 0;
}

.page-hero .lead {
  color: #b5c8df;
  max-width: 690px;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  margin: 18px 0 0;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}

.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero-stat strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.1;
}

.page-hero-stat span {
  display: block;
  color: #8fa6c2;
  font-size: 0.74rem;
  margin-top: 3px;
}

/* ---------- Anchor pills ---------- */
.anchor-nav {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: 1020;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.anchor-nav-inner {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1px;
}

.anchor-nav-inner::-webkit-scrollbar {
  display: none;
}

.anchor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #43536b;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}

.anchor-link:hover,
.anchor-link.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- Feature detail sections ---------- */
.feature-detail {
  padding: clamp(52px, 7vw, 84px) 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 64px);
}

.feature-detail:last-of-type {
  border-bottom: 0;
}

.feature-detail h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 14px 0 14px;
}

.feature-detail p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.feature-detail .check-list {
  margin-bottom: 22px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mini-card {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.mini-card .icon-tile {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  margin-bottom: 10px;
}

.mini-card .icon-tile svg {
  width: 17px;
  height: 17px;
}

.mini-card strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 3px;
  color: var(--text);
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

/* ---------- Steps / timeline ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eaf1ff;
  color: var(--blue-600);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Article ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 54px;
  justify-content: center;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  padding-left: 16px;
  border-left: 2px solid var(--border);
}

.toc-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--blue-600);
}

.article-body {
  font-size: 1.03rem;
  line-height: 1.82;
  color: #334155;
}

.article-body h2 {
  font-size: clamp(1.45rem, 2.7vw, 1.85rem);
  margin: 42px 0 14px;
  letter-spacing: -0.035em;
  scroll-margin-top: calc(var(--header-h) + 30px);
}

.article-body h3 {
  font-size: 1.16rem;
  margin: 28px 0 10px;
  letter-spacing: -0.02em;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 1.35rem;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #bfdbfe;
}

.article-body a:hover {
  text-decoration-color: var(--blue);
}

.article-body strong {
  color: #0f172a;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  color: var(--muted-2);
  font-size: 0.8rem;
  margin-top: 18px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-meta svg {
  width: 14px;
  height: 14px;
}

.article-featured {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 28px 0 8px;
}

.callout {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: #f3f7ff;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.7;
}

.callout strong {
  color: var(--blue-700);
}

.callout--tip {
  border-left-color: var(--green);
  background: #f1fbf6;
}

.callout--tip strong {
  color: #047857;
}

.callout--warn {
  border-left-color: var(--amber);
  background: #fffaf0;
}

.callout--warn strong {
  color: #b45309;
}

.article-cta {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #081426, #0b2145);
  color: #fff;
}

.article-cta h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.article-cta p {
  color: #a9bdd6;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Resource cards ---------- */
.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: #cfdcee;
  box-shadow: var(--shadow);
}

.resource-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eaf1ff;
}

.resource-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.resource-card:hover .resource-media img {
  transform: scale(1.035);
}

.resource-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(8, 20, 38, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.resource-body h3 {
  font-size: 1.06rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.resource-body h3 a {
  color: var(--text);
}

.resource-body h3 a:hover {
  color: var(--blue-600);
}

.resource-body p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.resource-body .link-arrow {
  margin-top: auto;
  font-size: 0.8rem;
}

.resource-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.resource-feature-media {
  position: relative;
  min-width: 0;
  min-height: 320px;
  background: #eaf1ff;
}

.resource-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-feature-body {
  min-width: 0;
  padding: clamp(26px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-feature-body > .eyebrow {
  align-self: flex-start;
}

.resource-feature-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 14px 0 12px;
}

.resource-feature-body p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ---------- Demo form ---------- */
.demo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 38px);
}

.demo-side {
  height: 100%;
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(56, 189, 248, 0.18), transparent 62%),
    linear-gradient(155deg, #081426, #0b2145);
  color: #fff;
}

.demo-side h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.demo-side p {
  color: #a9bdd6;
  font-size: 0.9rem;
  line-height: 1.65;
}

.demo-side .check-list {
  margin: 18px 0 22px;
  gap: 11px;
}

.demo-side .check-list li {
  color: #c2d4e9;
  font-size: 0.86rem;
}

.demo-side .check-list svg {
  color: #86efac;
}

.demo-contact {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 600;
}

.demo-contact a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.demo-contact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #86efac;
}

.form-hint {
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.5;
  margin-top: 6px;
}

.form-check-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

.form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #e8f9f1;
  border: 1px solid #b9ecd4;
  color: #047857;
}

.form-status.is-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ---------- Prose pages (legal) ---------- */
.prose {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #334155;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 36px 0 12px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h3 {
  font-size: 1.08rem;
  margin: 24px 0 8px;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 16px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .updated {
  color: var(--muted-2);
  font-size: 0.82rem;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}

.prose .callout {
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: #05101f;
  color: #93a5bf;
  padding: 70px 0 28px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.16), transparent);
  pointer-events: none;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 300px;
  color: #8fa6c2;
  font-size: 0.86rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #a9bdd6;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-badge svg {
  width: 11px;
  height: 11px;
  color: #86efac;
}

.footer-links h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2edfb;
  margin-bottom: 15px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  color: #93a5bf;
  font-size: 0.84rem;
  line-height: 1.45;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c2d4e9;
  font-size: 0.82rem;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  color: #60a5fa;
  flex: 0 0 15px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6f86a3;
  font-size: 0.78rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-bottom a {
  color: #8fa6c2;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-social {
  display: inline-flex;
  gap: 6px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #a9bdd6;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1030;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(8, 20, 38, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--d1 { transition-delay: 0.07s; }
.reveal--d2 { transition-delay: 0.14s; }
.reveal--d3 { transition-delay: 0.21s; }
.reveal--d4 { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.35rem);
  }

  .float-card--one {
    left: -10px;
  }

  .float-card--two {
    right: 0;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 68px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 54px);
  }

  .hero-inner {
    padding-bottom: 8px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero .lead {
    max-width: 680px;
  }

  .hero-visual {
    margin-top: 18px;
    padding-bottom: 26px;
    max-width: 720px;
  }

  .app-frame {
    transform: none;
  }

  .hero-visual:hover .app-frame {
    transform: none;
  }

  .float-card--one {
    top: -18px;
    left: 12px;
  }

  .float-card--two {
    right: -6px;
    bottom: -4px;
  }

  .trust-row {
    justify-content: center;
    text-align: center;
  }

  .trust-items {
    justify-content: center;
    gap: 16px 26px;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
    gap: 26px;
  }

  .price-desc {
    min-height: 0;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-feature {
    grid-template-columns: 1fr;
  }

  .resource-feature-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .toc {
    position: static;
    padding: 18px;
    border-left: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fafc;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 58px;
  }

  .anchor-nav {
    top: var(--header-h);
  }

  .demo-side {
    margin-top: 8px;
  }
}

@media (max-width: 767.98px) {
  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-proof {
    margin-top: 26px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chart-grid {
    grid-template-columns: 1fr;
  }

  .app-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-side {
    display: none;
  }

  .app-main {
    padding: 12px;
  }

  .float-card {
    display: none;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 6.4vw, 2.4rem);
  }

  .split-copy h2 {
    font-size: clamp(1.75rem, 6vw, 2.3rem);
  }

  .cta-band {
    padding: 32px 24px;
    border-radius: 22px;
  }

  .cta-band::after {
    background:
      linear-gradient(180deg, rgba(5, 13, 27, 0.92) 0%, rgba(5, 13, 27, 0.84) 60%, rgba(5, 13, 27, 0.66) 100%),
      radial-gradient(500px 260px at 0% 100%, rgba(37, 99, 235, 0.35), transparent 65%);
  }

  .page-hero-actions .btn {
    flex: 1 1 auto;
  }

  .page-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .compare-hint {
    display: flex;
  }

  .compare-scroll {
    position: relative;
  }

  .compare-scroll table {
    min-width: 620px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 34%;
    min-width: 145px;
    background: #fff;
    box-shadow: 1px 0 0 var(--border);
  }

  .compare-table thead th:first-child {
    z-index: 3;
    background: #f7faff;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 575.98px) {
  .brand-tag {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .hero h1 {
    font-size: clamp(2.18rem, 10vw, 2.8rem);
    letter-spacing: -0.045em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-micro {
    gap: 8px 14px;
  }

  .hero-proof {
    align-items: flex-start;
    gap: 10px;
  }

  .role-avatars span {
    width: 30px;
    height: 30px;
  }

  .app-frame {
    border-radius: 14px;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.14);
  }

  .app-chrome {
    padding: 7px 10px;
  }

  .app-main {
    padding: 10px;
  }

  .stat-card .stat-value {
    font-size: 12px;
  }

  .panel {
    padding: 8px;
  }

  .app-list-row strong {
    font-size: 6px;
  }

  .hero-visual {
    margin-inline: -4px;
  }

  .trust-label {
    width: 100%;
  }

  .trust-items {
    justify-content: center;
    gap: 12px 18px;
  }

  .trust-item {
    font-size: 0.74rem;
  }

  .price-card,
  .feature-card,
  .role-card,
  .quote-card {
    padding: 22px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .page-hero {
    padding-bottom: 46px;
  }

  .page-hero-actions {
    flex-direction: column;
  }

  .page-hero-actions .btn {
    width: 100%;
  }

  .article-body {
    font-size: 1rem;
  }

  .calc-card,
  .demo-card {
    padding: 22px;
  }

  .footer-bottom-links {
    gap: 6px 14px;
  }
}

/* ---------- Print (minimal) ---------- */
@media print {
  .site-header,
  .to-top,
  .site-footer,
  .cta-band,
  .anchor-nav {
    display: none !important;
  }

  body {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ==========================================================================
   Feature-page mockups
   ========================================================================== */
.att-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 12px 0;
  font-size: 0.68rem;
  color: var(--muted);
  border-bottom: 1px solid #eef2f8;
}

.att-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.att-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.att-legend span:nth-child(2) i { background: #f59e0b; }
.att-legend span:nth-child(3) i { background: #ef4444; }
.att-legend span:nth-child(4) i { background: #94a3b8; }

.att-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.att-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid #eef2f8;
  border-radius: 8px;
  background: #fbfcfe;
}

.att-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf1ff;
  color: var(--blue-600);
  font-size: 0.55rem;
  font-weight: 800;
  flex: 0 0 26px;
}

.att-row:nth-child(2) .att-avatar { background: #e8f9f1; color: #047857; }
.att-row:nth-child(3) .att-avatar { background: #fff7e6; color: #b45309; }
.att-row:nth-child(4) .att-avatar { background: #f3edff; color: #6d28d9; }

.att-row strong {
  display: block;
  font-size: 0.66rem;
  line-height: 1.25;
}

.att-row small {
  display: block;
  font-size: 0.56rem;
  color: #94a3b8;
}

.att-state {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.att-state.is-present { background: #e8f9f1; color: #047857; }
.att-state.is-late { background: #fff7e6; color: #b45309; }
.att-state.is-absent { background: #fff1f2; color: #be123c; }

.tt-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 10px;
}

.tt {
  width: 100%;
  min-width: 430px;
  border-collapse: separate;
  border-spacing: 4px;
  font-size: 0.58rem;
}

.tt th {
  padding: 5px;
  border-radius: 5px;
  background: #f1f5fb;
  color: #64748b;
  font-weight: 700;
  text-align: left;
}

.tt td {
  padding: 6px;
  border-radius: 5px;
  background: #f8fafc;
  border: 1px solid #eef2f8;
  color: #334155;
  vertical-align: top;
  line-height: 1.25;
}

.tt td strong {
  display: block;
  font-size: 0.6rem;
  color: #0f172a;
}

.tt td span {
  display: block;
  color: #94a3b8;
  font-size: 0.52rem;
}

.tt td.is-math { background: #eaf1ff; border-color: #d9e7ff; }
.tt td.is-sci { background: #e8f9f1; border-color: #c9f3dd; }
.tt td.is-eng { background: #fff7e6; border-color: #fde9bb; }

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.62rem;
  margin-top: 10px;
}

.report-table th,
.report-table td {
  padding: 6px 5px;
  border-bottom: 1px solid #eef2f8;
  text-align: left;
}

.report-table th {
  color: #8b9bb1;
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.report-table td {
  color: #334155;
}

.report-table td:last-child,
.report-table th:last-child {
  text-align: right;
}

.report-table .grade {
  display: inline-flex;
  min-width: 20px;
  justify-content: center;
  padding: 2px 5px;
  border-radius: 4px;
  background: #e8f9f1;
  color: #047857;
  font-weight: 800;
}

.report-summary {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #f0f6ff;
  border: 1px solid #d9e7ff;
  font-size: 0.62rem;
  color: #334155;
}

.report-summary strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: -0.03em;
  color: var(--blue-700);
}

.report-summary span {
  display: block;
  color: #7c8ba1;
  font-size: 0.54rem;
}

.phone-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.phone-frame {
  width: 270px;
  border-radius: 32px;
  background: #0b1c38;
  padding: 9px;
  box-shadow: 0 34px 70px -30px rgba(8, 20, 38, 0.5);
  transform: rotate(1.5deg);
}

.phone-screen {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #f7faff;
  padding: 16px 12px 14px;
}

.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  border-radius: 999px;
  background: #0b1c38;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 12px;
}

.phone-top strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.2;
}

.phone-top small {
  display: block;
  font-size: 0.56rem;
  color: #7c8ba1;
}

.phone-top .app-avatar {
  width: 26px;
  height: 26px;
  font-size: 0.55rem;
}

.phone-child {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0b1c38, #123a75);
  color: #fff;
}

.phone-child small {
  display: block;
  font-size: 0.54rem;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}

.phone-child strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

.phone-child span {
  display: block;
  font-size: 0.56rem;
  color: #a9bdd6;
  margin-top: 2px;
}

.phone-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 9px 0;
}

.phone-tile {
  padding: 9px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e7edf6;
}

.phone-tile svg {
  width: 13px;
  height: 13px;
  color: var(--blue);
  margin-bottom: 5px;
}

.phone-tile strong {
  display: block;
  font-size: 0.62rem;
  line-height: 1.2;
}

.phone-tile span {
  display: block;
  font-size: 0.52rem;
  color: #94a3b8;
  margin-top: 1px;
}

.phone-bill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e7edf6;
}

.phone-bill svg {
  width: 15px;
  height: 15px;
  color: #059669;
  flex: 0 0 15px;
}

.phone-bill strong {
  display: block;
  font-size: 0.6rem;
}

.phone-bill small {
  display: block;
  font-size: 0.52rem;
  color: #94a3b8;
}

.phone-bill .amount {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 800;
  color: #0f172a;
}

.notice-field {
  padding: 10px 0;
  border-bottom: 1px solid #eef2f8;
}

.notice-field span {
  display: block;
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 5px;
}

.notice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.notice-chips b {
  padding: 3px 7px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--blue-600);
  font-size: 0.56rem;
  font-weight: 700;
}

.notice-body {
  padding: 12px 0;
  font-size: 0.66rem;
  line-height: 1.55;
  color: #334155;
}

.notice-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid #eef2f8;
}

.notice-channels span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #f1f5fb;
  color: #475569;
  font-size: 0.54rem;
  font-weight: 600;
}

.notice-channels span svg {
  width: 9px;
  height: 9px;
  color: #059669;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.security-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.security-card .icon-tile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

.security-card .icon-tile svg {
  width: 19px;
  height: 19px;
}

.security-card h3 {
  font-size: 0.92rem;
  margin-bottom: 5px;
}

.security-card p {
  color: #a9bdd6;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767.98px) {
  .security-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    transform: none;
  }
}
