:root {
  --brand-50: #eef3ff;
  --brand-100: #d9e6ff;
  --brand-200: #bfd3ff;
  --brand-400: #6e9bf8;
  --brand-500: #4c84f6;
  --brand-600: #3d6fe0;
  --brand-700: #2f57b4;
  --navy-950: #07142b;
  --navy-900: #0a2440;
  --ink-900: #0b1530;
  --ink-800: #1a2547;
  --ink-700: #2f3a5c;
  --ink-600: #4a5578;
  --ink-500: #66718f;
  --ink-400: #8c96ae;
  --ink-300: #b8c0d4;
  --ink-200: #d8dde9;
  --ink-100: #ecf0f8;
  --ink-50: #f6f8fc;
  --success-600: #15803d;
  --success-500: #22c55e;
  --warning-600: #b45309;
  --warning-100: #fef3c7;
  --danger-600: #b91c1c;
  --white: #fff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-sm: 0 4px 14px rgba(11, 21, 48, .06);
  --shadow-md: 0 18px 45px -24px rgba(11, 21, 48, .28);
  --shadow-lg: 0 32px 75px -34px rgba(11, 21, 48, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--white);
}

body,
button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

::selection {
  color: var(--navy-900);
  background: var(--brand-100);
}

:focus-visible {
  outline: 3px solid rgba(76, 132, 246, .55);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header[data-scrolled] {
  border-bottom-color: rgba(11, 21, 48, .08);
  box-shadow: 0 10px 32px -28px rgba(11, 21, 48, .5);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: var(--navy-900);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.045em;
}

.brand > span > span {
  color: var(--brand-600);
}

.brand small {
  padding: 3px 6px;
  margin-left: 1px;
  color: var(--ink-500);
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  width: 29px;
  height: 29px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
}

.brand-mark polyline:nth-child(1) {
  stroke: #4c8dff;
}

.brand-mark polyline:nth-child(2) {
  stroke: #1d5bd6;
}

.brand-mark polyline:nth-child(3) {
  stroke: #0a2440;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a,
.nav-login {
  position: relative;
  padding: 10px 13px;
  color: var(--ink-600);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 650;
  transition: color .18s ease, background .18s ease;
}

.desktop-nav a:hover,
.nav-login:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--brand-700);
  background: var(--brand-50);
}

.desktop-nav a[aria-current="page"]::after {
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  content: "";
  background: var(--brand-500);
  border-radius: 999px;
}

.desktop-auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.desktop-auth form {
  margin: 0;
}

.user-chip {
  display: inline-flex;
  max-width: 210px;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 700;
}

.user-chip > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-avatar,
.author-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--brand-700);
  background: var(--brand-100);
  border-radius: 50%;
  font-weight: 800;
}

.user-avatar {
  position: relative;
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.user-avatar::after,
.mobile-profile-avatar::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--success-500);
  border: 2px solid var(--white);
  border-radius: 50%;
}

.menu-button,
.mobile-menu {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: -.01em;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 14px 28px -16px rgba(61, 111, 224, .7), inset 0 1px rgba(255, 255, 255, .22);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  box-shadow: 0 18px 32px -16px rgba(61, 111, 224, .76);
}

.button-secondary {
  color: var(--ink-700);
  background: var(--white);
  border-color: var(--ink-200);
  box-shadow: 0 2px 5px rgba(11, 21, 48, .03);
}

.button-secondary:hover,
.button-ghost:hover {
  color: var(--brand-700);
  background: var(--brand-50);
  border-color: var(--brand-200);
}

.button-ghost {
  color: var(--ink-600);
  background: transparent;
  border-color: var(--ink-200);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 9px;
  font-size: 13px;
}

.button-block {
  width: 100%;
}

.button-white {
  color: var(--brand-700);
  background: var(--white);
  box-shadow: 0 16px 28px -20px rgba(0, 0, 0, .6);
}

.button-white:hover {
  color: var(--navy-900);
  background: var(--brand-50);
}

.flash-wrap {
  position: relative;
  z-index: 10;
}

.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  margin-top: 18px;
  border: 1px solid rgba(34, 197, 94, .25);
  border-radius: var(--radius-md);
  color: var(--success-600);
  background: #f0fdf4;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.flash svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 92px;
  background:
    linear-gradient(180deg, rgba(238, 243, 255, .55) 0%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(circle at 15% 5%, rgba(76, 132, 246, .12), transparent 28%);
}

.hero::after {
  position: absolute;
  z-index: 0;
  right: -6%;
  bottom: 0;
  width: 50%;
  height: 70%;
  content: "";
  opacity: .55;
  background-image: radial-gradient(rgba(76, 132, 246, .22) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to top, black, transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.hero-orb-one {
  top: 30px;
  right: 4%;
  width: 360px;
  height: 360px;
  background: rgba(76, 132, 246, .09);
}

.hero-orb-two {
  right: 28%;
  bottom: -200px;
  width: 420px;
  height: 420px;
  background: rgba(129, 92, 246, .06);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(500px, 1.09fr);
  align-items: center;
  gap: clamp(55px, 7vw, 100px);
}

.hero-copy {
  max-width: 590px;
}

.eyebrow,
.section-kicker,
.article-category,
.auth-kicker,
.auth-step {
  display: inline-flex;
  align-items: center;
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(76, 132, 246, .18);
  border-radius: 999px;
  background: rgba(238, 243, 255, .8);
}

.eyebrow i,
.live-pill i,
.status-label i {
  width: 7px;
  height: 7px;
  background: var(--success-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .12);
}

.hero h1 {
  margin: 25px 0 22px;
  color: var(--navy-900);
  font-size: clamp(47px, 5vw, 69px);
  font-weight: 790;
  letter-spacing: -.055em;
  line-height: 1.01;
}

.hero h1 span {
  color: var(--brand-600);
}

.hero-copy > p {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--ink-600);
  font-size: 18px;
  line-height: 1.72;
}

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
}

.hero-proof p {
  margin: 0;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.55;
}

.hero-proof strong {
  color: var(--ink-700);
  font-size: 13px;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-left: -8px;
  color: var(--white);
  background: var(--brand-600);
  border: 2px solid var(--white);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) {
  background: #7c5ce5;
}

.avatar-stack span:nth-child(3) {
  background: #0f8b78;
}

.dashboard-card {
  position: relative;
  padding: 21px;
  border: 1px solid rgba(11, 21, 48, .1);
  border-radius: 23px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg);
}

.dashboard-card::before {
  position: absolute;
  z-index: -1;
  inset: 7% -7% -8% 12%;
  content: "";
  background: rgba(76, 132, 246, .14);
  border-radius: 25px;
  filter: blur(18px);
}

.dashboard-topbar,
.chart-label,
.article-meta,
.form-card-heading,
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-topbar {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--ink-100);
}

.dashboard-topbar > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.dashboard-topbar strong {
  color: var(--ink-800);
  font-size: 13px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  background: var(--ink-200);
  border-radius: 50%;
}

.window-dots i:first-child {
  background: #f59e0b;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  color: var(--success-600);
  background: #f0fdf4;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.live-pill i {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 16px;
  padding: 22px 7px 18px;
}

.health-score {
  position: relative;
  width: 132px;
  height: 132px;
  margin-inline: auto;
}

.health-score svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.health-score circle {
  fill: none;
  stroke: var(--ink-100);
  stroke-width: 8;
}

.health-score .score-progress {
  stroke: var(--success-500);
  stroke-dasharray: 302;
  stroke-dashoffset: 6;
  stroke-linecap: round;
}

.health-score > div {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.health-score strong {
  color: var(--ink-900);
  font-size: 37px;
  letter-spacing: -.05em;
  line-height: 1;
}

.health-score span {
  margin-top: 5px;
  color: var(--ink-500);
  font-size: 9px;
  font-weight: 700;
}

.mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.mini-metrics > div {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  background: var(--ink-50);
}

.mini-metrics span {
  color: var(--ink-500);
  font-size: 9px;
  font-weight: 700;
}

.mini-metrics strong {
  margin: 4px 0;
  color: var(--ink-800);
  font-size: 17px;
  letter-spacing: -.03em;
}

.mini-metrics i {
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.metric-good {
  color: var(--success-600);
}

.check-list {
  overflow: hidden;
  border: 1px solid var(--ink-100);
  border-radius: 13px;
}

.check-list > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--ink-100);
}

.check-list > div:last-child {
  border-bottom: 0;
}

.check-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}

.check-ok {
  color: var(--success-600);
  background: #dcfce7;
}

.check-warn {
  color: var(--warning-600);
  background: var(--warning-100);
}

.check-list div div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.check-list strong {
  color: var(--ink-800);
  font-size: 10px;
}

.check-list div div span {
  color: var(--ink-400);
  font-size: 8px;
}

.check-list b {
  color: var(--ink-600);
  font-size: 9px;
}

.check-list .warn-text {
  color: var(--warning-600);
}

.chart {
  padding: 16px 2px 0;
}

.chart-label {
  padding-inline: 5px;
  color: var(--ink-500);
  font-size: 8px;
  font-weight: 700;
}

.chart-label strong {
  color: var(--ink-700);
}

.chart svg {
  width: 100%;
  height: 72px;
  margin-top: 7px;
  overflow: visible;
}

.chart-area {
  fill: url("#chart-fill");
}

.chart-line {
  fill: none;
  stroke: var(--brand-500);
  stroke-linecap: round;
  stroke-width: 2.4;
}

.trust-strip {
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  background: #fbfcfe;
}

.trust-grid {
  display: grid;
  min-height: 82px;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  align-items: center;
  gap: 25px;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 750;
}

.trust-grid p {
  margin: 0;
  color: var(--ink-700);
}

.trust-grid div {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.trust-grid div span {
  color: var(--brand-500);
}

.section {
  padding: 100px 0;
}

.section-tint {
  background: var(--ink-50);
}

.section-heading {
  max-width: 710px;
  margin-bottom: 45px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.article-bottom h2,
.cta-panel h2,
.contact-details h2 {
  margin: 13px 0 13px;
  color: var(--navy-900);
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -.045em;
  line-height: 1.08;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.65;
}

.heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.heading-row h2 {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 295px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card::after {
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  content: "";
  opacity: .6;
  background: radial-gradient(circle, var(--brand-100), transparent 68%);
}

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

.feature-card.featured {
  border-color: rgba(76, 132, 246, .25);
  box-shadow: 0 18px 40px -28px rgba(61, 111, 224, .6);
}

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

.feature-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-blue {
  color: var(--brand-700);
  background: var(--brand-50);
}

.feature-violet {
  color: #6d45c7;
  background: #f1edff;
}

.feature-amber {
  color: var(--warning-600);
  background: #fff7df;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--ink-900);
  font-size: 19px;
  letter-spacing: -.025em;
}

.feature-card p {
  margin-bottom: 25px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.65;
}

.feature-tag {
  position: absolute;
  bottom: 28px;
  left: 30px;
  padding: 6px 9px;
  color: var(--ink-500);
  background: var(--ink-50);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

.article-grid-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  overflow: hidden;
  border: 1px solid rgba(11, 21, 48, .08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.article-visual {
  position: relative;
  height: 185px;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .9), transparent 35%),
    linear-gradient(135deg, #dfe9ff, #f5f8ff);
}

.article-visual-1 {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .75), transparent 35%),
    linear-gradient(135deg, #eae4ff, #f9f7ff);
}

.article-visual-2 {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .75), transparent 35%),
    linear-gradient(135deg, #dff6ef, #f5fbf9);
}

.article-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .45;
  background-image: linear-gradient(rgba(76, 132, 246, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 132, 246, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to right, black, transparent);
}

.article-visual > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 6px 9px;
  color: var(--brand-700);
  background: rgba(255, 255, 255, .82);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.article-visual svg {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 70%;
  height: 56%;
}

.article-visual svg path {
  fill: none;
  stroke: var(--brand-500);
  stroke-linecap: round;
  stroke-width: 3;
}

.article-visual svg line {
  stroke: rgba(76, 132, 246, .2);
  stroke-width: 1;
}

.article-card-body {
  padding: 25px;
}

.article-meta {
  justify-content: flex-start;
  color: var(--ink-400);
  font-size: 10px;
  font-weight: 700;
}

.article-meta span + span::before {
  margin-right: 16px;
  content: "·";
}

.article-card h2 {
  margin: 13px 0 10px;
  color: var(--ink-900);
  font-size: 19px;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.article-card h2 a:hover {
  color: var(--brand-700);
}

.article-card p {
  margin-bottom: 18px;
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.65;
}

.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 800;
}

.text-link span {
  transition: transform .18s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 58px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 15%, rgba(116, 164, 255, .35), transparent 30%),
    linear-gradient(135deg, #0a2440, #173d74);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  max-width: 630px;
  margin-top: 12px;
  color: var(--white);
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
}

.section-kicker-light {
  color: #a9c7ff;
}

.site-footer {
  padding-top: 68px;
  color: var(--ink-400);
  background: #07162d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 55px;
}

.brand-footer {
  color: var(--white);
}

.brand-footer .brand-mark polyline:nth-child(3),
.brand-light .brand-mark polyline:nth-child(3) {
  stroke: #9cbcff;
}

.footer-grid > div:first-child p {
  max-width: 430px;
  margin: 19px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}

.footer-links strong {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--brand-200);
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11px;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-label i {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.page-hero {
  padding: 94px 0 84px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(76, 132, 246, .16), transparent 32%),
    linear-gradient(180deg, var(--brand-50), var(--white));
}

.page-hero h1 {
  max-width: 760px;
  margin: 20px auto;
  color: var(--navy-900);
  font-size: clamp(44px, 6vw, 70px);
  letter-spacing: -.06em;
  line-height: 1.02;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--ink-500);
  font-size: 17px;
  line-height: 1.7;
}

.blog-section {
  padding-top: 70px;
}

.blog-section .article-card:nth-child(4n + 1) {
  grid-column: span 1;
}

.article-page {
  background: var(--white);
}

.article-header {
  padding: 75px 0 65px;
  text-align: center;
  background: linear-gradient(180deg, rgba(238, 243, 255, .65), var(--white));
}

.article-shell {
  max-width: 850px;
}

.back-link {
  margin-bottom: 30px;
}

.article-category {
  display: flex;
  width: fit-content;
  padding: 7px 10px;
  margin: 0 auto 18px;
  background: var(--brand-50);
  border-radius: 8px;
}

.article-header h1 {
  margin-bottom: 22px;
  color: var(--navy-900);
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -.055em;
  line-height: 1.06;
}

.article-deck {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--ink-500);
  font-size: 18px;
  line-height: 1.65;
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-align: left;
}

.author-avatar {
  width: 42px;
  height: 42px;
  font-size: 12px;
}

.article-byline > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.article-byline strong {
  color: var(--ink-800);
  font-size: 12px;
}

.article-byline small {
  color: var(--ink-400);
  font-size: 10px;
}

.article-cover {
  position: relative;
  display: grid;
  width: min(1030px, calc(100% - 40px));
  height: 390px;
  place-items: center;
  margin: 0 auto 70px;
  overflow: hidden;
  background: linear-gradient(140deg, #102d52, #285da7);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.article-cover-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle, black, transparent 75%);
}

.article-cover-card {
  position: relative;
  width: min(480px, calc(100% - 44px));
  padding: 28px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 17px;
  background: rgba(6, 19, 42, .56);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5);
  backdrop-filter: blur(15px);
}

.article-cover-card > span {
  color: #b8cefa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-cover-card > strong {
  display: block;
  margin: 8px 0 22px;
  font-size: 22px;
}

.article-cover-card > div {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
}

.article-cover-card i {
  height: 34px;
  background: #42d27d;
  border-radius: 4px;
}

.article-cover-card i:nth-child(4),
.article-cover-card i:nth-child(9) {
  background: #f7bc43;
}

.article-content {
  max-width: 760px;
  padding-bottom: 90px;
}

.article-content h2 {
  margin: 46px 0 15px;
  color: var(--navy-900);
  font-size: 28px;
  letter-spacing: -.035em;
}

.article-content > p {
  margin-bottom: 25px;
  color: #3c4868;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.86;
}

.article-callout {
  padding: 24px 26px;
  margin-top: 42px;
  border-left: 4px solid var(--brand-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--brand-50);
}

.article-callout strong {
  color: var(--ink-900);
}

.article-callout p {
  margin: 7px 0 0;
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.65;
}

.article-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.article-bottom h2 {
  margin-bottom: 0;
}

.article-bottom > div:last-child {
  display: flex;
  gap: 10px;
}

.contact-hero {
  padding-bottom: 150px;
}

.contact-section {
  padding-top: 0;
  margin-top: -88px;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(500px, 1.14fr);
  gap: 70px;
  align-items: start;
}

.contact-details {
  padding-top: 50px;
}

.contact-details h2 {
  font-size: 37px;
}

.contact-details > p {
  max-width: 500px;
  color: var(--ink-500);
  line-height: 1.7;
}

.contact-points {
  display: grid;
  gap: 22px;
  margin: 35px 0;
}

.contact-points > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: 12px;
}

.contact-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-points > div > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-points strong {
  color: var(--ink-800);
  font-size: 13px;
}

.contact-points a,
.contact-points div div span {
  color: var(--ink-500);
  font-size: 12px;
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-100);
}

.contact-note > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.contact-note p {
  max-width: 430px;
  margin: 0;
  color: var(--ink-500);
  font-size: 12px;
  font-style: italic;
  line-height: 1.6;
}

.form-card {
  padding: 38px;
  border: 1px solid rgba(11, 21, 48, .09);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.form-card-heading {
  padding-bottom: 24px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--ink-100);
}

.form-card-heading span {
  color: var(--ink-900);
  font-size: 19px;
  font-weight: 800;
}

.form-card-heading small {
  color: var(--ink-400);
  font-size: 9px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 19px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--ink-800);
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  outline: none;
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field input {
  height: 48px;
  padding: 0 13px;
}

.field textarea {
  min-height: 135px;
  padding: 13px;
  resize: vertical;
  line-height: 1.55;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--ink-300);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(76, 132, 246, .11);
}

.field-error,
.field-help {
  display: block;
  margin-top: 7px;
  font-size: 10px;
}

.field-error {
  color: var(--danger-600);
  font-weight: 700;
}

.field-help {
  color: var(--ink-400);
}

.form-fineprint,
.auth-legal {
  margin: 13px 0 0;
  color: var(--ink-400);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.auth-section {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(400px, .9fr) minmax(520px, 1.1fr);
}

.auth-visual {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(98, 146, 244, .38), transparent 24%),
    radial-gradient(circle at 100% 80%, rgba(94, 65, 176, .25), transparent 32%),
    linear-gradient(145deg, #071b35, #12396b);
}

.auth-visual::after {
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 410px;
  height: 410px;
  content: "";
  opacity: .18;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle, black, transparent 72%);
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(490px, calc(100% - 70px));
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding: 65px 0;
}

.brand-light {
  position: absolute;
  top: 48px;
  left: 0;
  color: var(--white);
}

.auth-kicker {
  color: #9fbdff;
}

.auth-visual h1 {
  margin: 18px 0;
  color: var(--white);
  font-size: clamp(40px, 4.4vw, 61px);
  letter-spacing: -.055em;
  line-height: 1.05;
}

.auth-visual-content > div > p {
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.7;
}

.auth-benefits {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 650;
}

.auth-benefits span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #6ee7a2;
  background: rgba(34, 197, 94, .15);
  border-radius: 50%;
  font-size: 10px;
}

.auth-quote {
  padding-top: 24px;
  margin: 0;
  color: rgba(255, 255, 255, .5);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 11px;
  font-style: italic;
}

.auth-form-wrap {
  display: grid;
  place-items: center;
  padding: 65px 40px;
  background: var(--ink-50);
}

.auth-form-container {
  width: min(430px, 100%);
}

.auth-step {
  padding: 6px 9px;
  background: var(--brand-50);
  border-radius: 7px;
}

.auth-form-container h2 {
  margin: 17px 0 9px;
  color: var(--navy-900);
  font-size: 35px;
  letter-spacing: -.045em;
}

.auth-intro {
  margin-bottom: 28px;
  color: var(--ink-500);
  font-size: 13px;
}

.auth-intro a {
  color: var(--brand-700);
  font-weight: 800;
}

.auth-form {
  padding: 30px;
  border: 1px solid rgba(11, 21, 48, .08);
  border-radius: 17px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 60px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 12px;
  padding: 5px;
  color: var(--brand-700);
  cursor: pointer;
  background: transparent;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 800;
}

.label-row span {
  margin-bottom: 8px;
  color: var(--ink-400);
  font-size: 8px;
}

.form-error-summary {
  padding: 11px 12px;
  margin-bottom: 18px;
  color: var(--danger-600);
  border: 1px solid rgba(185, 28, 28, .15);
  border-radius: 9px;
  background: #fef2f2;
  font-size: 11px;
  font-weight: 700;
}

.demo-credentials {
  padding: 17px;
  margin: 25px 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 13px;
  background: rgba(255, 255, 255, .06);
}

.demo-credentials > span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.demo-credentials > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-credentials code {
  padding: 6px 8px;
  color: #dce8ff;
  background: rgba(0, 0, 0, .2);
  border-radius: 6px;
  font-size: 10px;
}

.auth-signal {
  display: grid;
  gap: 8px;
}

.auth-signal > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  background: rgba(255, 255, 255, .045);
  font-size: 10px;
}

.auth-signal i {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
}

.auth-signal span {
  color: rgba(255, 255, 255, .7);
}

.auth-signal strong {
  color: #86efac;
  font-size: 9px;
}

.state-page {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, var(--brand-50), var(--white) 45%);
}

.state-code {
  color: var(--brand-100);
  font-size: clamp(110px, 18vw, 210px);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .75;
}

.state-page .section-kicker {
  margin-top: -4px;
}

.state-page h1 {
  margin: 17px 0 12px;
  color: var(--navy-900);
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -.05em;
}

.state-page p {
  margin-bottom: 25px;
  color: var(--ink-500);
}

.state-actions {
  display: flex;
  gap: 10px;
}

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

  .hero-copy {
    max-width: 720px;
    text-align: center;
    margin-inline: auto;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .dashboard-card {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    padding-block: 20px;
  }

  .trust-grid p {
    grid-column: 1 / -1;
    text-align: center;
  }

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

  .article-grid-home .article-card:last-child {
    display: none;
  }

  .contact-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 35px;
  }

  .auth-section {
    grid-template-columns: .85fr 1.15fr;
  }
}

@media (max-width: 850px) {
  .desktop-nav,
  .desktop-auth {
    display: none;
  }

  .menu-button {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    background: var(--white);
  }

  .menu-button .menu-line {
    width: 17px;
    height: 2px;
    background: var(--ink-700);
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
  }

  .menu-button[aria-expanded="true"] .menu-line:nth-of-type(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-line:nth-of-type(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] .menu-line:nth-of-type(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-button-profile {
    border-color: var(--brand-200);
    background: var(--brand-50);
  }

  .mobile-profile-avatar {
    position: relative;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    border-radius: 50%;
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% - 5px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 14px;
    border: 1px solid var(--ink-100);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-lg);
  }

  .mobile-menu[data-open] {
    display: grid;
    gap: 4px;
  }

  .mobile-menu > a:not(.button) {
    padding: 11px 12px;
    color: var(--ink-700);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-menu > a:not(.button):hover {
    color: var(--brand-700);
    background: var(--brand-50);
  }

  .mobile-user {
    padding: 10px 12px;
    color: var(--ink-500);
    border-top: 1px solid var(--ink-100);
    font-size: 12px;
  }

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

  .feature-card {
    min-height: 250px;
  }

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

  .contact-details {
    padding-top: 0;
  }

  .auth-section {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 600px;
  }

  .auth-form-wrap {
    padding-block: 80px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .hero {
    padding: 65px 0 70px;
  }

  .hero h1 {
    font-size: clamp(41px, 12vw, 55px);
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .dashboard-card {
    padding: 15px;
  }

  .score-row {
    grid-template-columns: 1fr;
  }

  .health-score {
    width: 120px;
    height: 120px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .trust-grid p {
    text-align: left;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading h2,
  .article-bottom h2,
  .cta-panel h2,
  .contact-details h2 {
    font-size: 34px;
  }

  .heading-row,
  .article-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-grid,
  .article-grid-home {
    grid-template-columns: 1fr;
  }

  .article-grid-home .article-card:last-child {
    display: block;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .page-hero {
    padding: 72px 0 68px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .article-header {
    padding-top: 58px;
  }

  .article-cover {
    height: 300px;
    margin-bottom: 50px;
  }

  .article-content > p {
    font-size: 18px;
  }

  .article-bottom > div:last-child {
    flex-wrap: wrap;
  }

  .contact-hero {
    padding-bottom: 135px;
  }

  .form-card {
    padding: 27px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auth-visual {
    min-height: 580px;
  }

  .auth-visual-content {
    width: min(100% - 42px, 490px);
  }

  .auth-form-wrap {
    padding: 60px 18px;
  }

  .auth-form {
    padding: 24px 20px;
  }

  .state-actions {
    width: min(100%, 330px);
    flex-direction: column;
  }
}

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

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

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

  .check-list b {
    display: none;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .article-cover-card {
    padding: 20px;
  }

  .article-cover-card > div {
    grid-template-columns: repeat(6, 1fr);
  }

  .article-cover-card i:nth-child(n + 7) {
    display: none;
  }

  .auth-visual h1 {
    font-size: 41px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
