:root {
  --ull-bg: #f6f8fb;
  --ull-surface: #ffffff;
  --ull-soft: #eef5ff;
  --ull-soft-2: #f8fbff;
  --ull-navy: #0f172a;
  --ull-text: #273447;
  --ull-muted: #64748b;
  --ull-line: #dbe5f1;
  --ull-blue: #2563eb;
  --ull-blue-dark: #1d4ed8;
  --ull-blue-soft: #dbeafe;
  --ull-amber: #f59e0b;
  --ull-green: #10b981;
  --ull-shadow: 0 22px 55px rgba(15, 23, 42, .10);
  --ull-shadow-soft: 0 12px 28px rgba(15, 23, 42, .07);
  --ull-radius: 26px;
  --ull-radius-sm: 16px;
  --ull-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(37,99,235,.12), transparent 38%), var(--ull-bg);
  color: var(--ull-text);
  line-height: 1.6;
}

a { color: inherit; }

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

strong { color: var(--ull-navy); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--ull-navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 251, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 229, 241, .9);
}

.nav-shell {
  max-width: var(--ull-max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ull-navy);
  font-weight: 900;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ull-blue), #38bdf8);
  color: #fff;
  font-size: .88rem;
  box-shadow: var(--ull-shadow-soft);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 750;
  font-size: .95rem;
}

.primary-nav a {
  color: #334155;
  text-decoration: none;
}

.primary-nav a:hover { color: var(--ull-blue); }

.nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ull-navy);
  color: #fff !important;
  box-shadow: var(--ull-shadow-soft);
}

.hero, .page-hero, .section, .content-shell, .final-cta, .site-footer-inner {
  max-width: var(--ull-max);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  padding: 78px 22px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 36px;
  align-items: center;
}

.page-hero {
  padding: 62px 22px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 30px;
  align-items: center;
}

.hero-copy h1, .page-hero h1 {
  margin: 10px 0 18px;
  color: var(--ull-navy);
  font-size: clamp(2.35rem, 5.3vw, 4.85rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.page-hero h1 { font-size: clamp(2.15rem, 4.8vw, 4.15rem); }

.lede, .hero-text, .article-lead {
  margin: 0;
  color: #475569;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  max-width: 70ch;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--ull-blue-dark);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .78rem;
}

.cta-row, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

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

.button.primary {
  background: var(--ull-blue);
  color: #fff;
  box-shadow: 0 14px 24px rgba(37, 99, 235, .22);
}

.button.primary:hover { background: var(--ull-blue-dark); }

.button.secondary {
  background: #fff;
  color: var(--ull-navy);
  border-color: var(--ull-line);
  box-shadow: var(--ull-shadow-soft);
}

.button.ghost {
  color: var(--ull-blue-dark);
  background: var(--ull-blue-soft);
}

.button.full { width: 100%; }

.card, .hero-card, .preview-card, .price-card, .panel, .sidebar-card {
  background: var(--ull-surface);
  border: 1px solid var(--ull-line);
  border-radius: var(--ull-radius);
  box-shadow: var(--ull-shadow-soft);
}

.hero-card, .preview-card {
  padding: 28px;
  box-shadow: var(--ull-shadow);
}

.hero-card h2 {
  margin: 10px 0 6px;
  color: var(--ull-navy);
  font-size: 3.2rem;
  letter-spacing: -.05em;
  line-height: 1;
}

.hero-card p { margin: 0 0 18px; color: var(--ull-muted); }

.pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ull-blue-soft);
  color: var(--ull-blue-dark);
  font-weight: 900;
  font-size: .82rem;
}

.badge.amber { background: #fef3c7; color: #92400e; }
.badge.green { background: #d1fae5; color: #065f46; }

.section {
  padding: 48px 22px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-heading h2, .panel h2, .final-cta h2, .article-body h2 {
  margin: 0 0 12px;
  color: var(--ull-navy);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.section-heading p:not(.eyebrow) { color: var(--ull-muted); margin: 0; }

.grid {
  display: grid;
  gap: 18px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .price-card, .panel, .sidebar-card {
  padding: 24px;
}

.card h3, .price-card h3, .sidebar-card h3 {
  margin: 0 0 8px;
  color: var(--ull-navy);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.card p, .price-card p, .sidebar-card p { margin: 0; color: var(--ull-muted); }

.price-card.featured {
  border-color: rgba(37, 99, 235, .38);
  box-shadow: var(--ull-shadow);
}

.price {
  color: var(--ull-navy) !important;
  font-size: 2.8rem;
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: 1;
  margin: 10px 0 !important;
}

.check-list, .clean-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li, .clean-list li {
  position: relative;
  padding-left: 28px;
  color: #334155;
}

.check-list li::before, .clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dcfce7;
  color: #15803d;
  font-size: .75rem;
  font-weight: 950;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 24px;
  align-items: start;
}

.content-grid {
  max-width: var(--ull-max);
  margin: 0 auto;
  padding: 26px 22px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.main-stack { display: grid; gap: 22px; }

.sidebar-sticky {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding-bottom: 2px;
}

.breadcrumbs {
  max-width: var(--ull-max);
  margin: 0 auto;
  padding: 0 22px 4px;
  color: var(--ull-muted);
  font-size: .93rem;
}

.breadcrumbs a {
  color: var(--ull-blue-dark);
  font-weight: 850;
  text-decoration: none;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 22px 54px;
}

.article-body p, .panel p {
  color: #475569;
}

.article-body h2 {
  margin-top: 34px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.article-body h3 { color: var(--ull-navy); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ull-line);
  border-radius: 20px;
  background: #fff;
}

.sample-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  font-size: .92rem;
}

.sample-table th, .sample-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--ull-line);
  text-align: left;
  vertical-align: top;
}

.sample-table th {
  background: var(--ull-soft);
  color: var(--ull-navy);
  font-weight: 950;
  white-space: nowrap;
}

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

.code-pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: .82rem;
  font-weight: 850;
}

.final-cta {
  margin-top: 28px;
  margin-bottom: 48px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--ull-navy), #1e3a8a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,.78); max-width: 720px; }
.final-cta .eyebrow { color: #bfdbfe; }

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 44px 22px 22px;
}

.footer-grid {
  max-width: var(--ull-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p { margin: 0 0 10px; color: #cbd5e1; }

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

.site-footer a {
  color: #dbeafe;
  text-decoration: none;
}

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

.footer-bottom {
  max-width: var(--ull-max);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .92rem;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.kpi {
  padding: 16px;
  border-radius: 18px;
  background: var(--ull-soft-2);
  border: 1px solid var(--ull-line);
}

.kpi strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 4px;
}

@media (max-width: 940px) {
  .hero, .page-hero, .split, .content-grid {
    grid-template-columns: 1fr;
  }
  .grid.three, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-sticky { position: static; max-height: none; overflow: visible; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .nav-shell { align-items: flex-start; }
  .primary-nav { display: none; }
  .hero, .page-hero { padding-top: 46px; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .final-cta { display: grid; padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .cta-row, .button-row { width: 100%; }
}


/* Batch 2 additions */
.section.soft { background: rgba(238,245,255,.55); border-top: 1px solid rgba(219,229,241,.65); border-bottom: 1px solid rgba(219,229,241,.65); max-width: none; }
.section.soft > .section-heading,
.section.soft > .grid,
.section.soft > .link-grid,
.section.soft > .table-wrap,
.section.soft > .centered-action { max-width: var(--ull-max); margin-left: auto; margin-right: auto; }
.link-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.link-card { display: grid; gap: 4px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--ull-line); box-shadow: var(--ull-shadow-soft); text-decoration: none; color: var(--ull-text); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.link-card:hover { transform: translateY(-1px); border-color: rgba(37,99,235,.42); box-shadow: var(--ull-shadow); }
.link-card strong { color: var(--ull-navy); line-height: 1.15; }
.link-card span { color: var(--ull-muted); font-size: .93rem; }
.list-card ul { margin: 14px 0 0; padding-left: 18px; color: #334155; }
.list-card li { margin: 7px 0; }
.centered-action { text-align: center; margin-top: 24px; }
table caption { caption-side: bottom; color: var(--ull-muted); padding: 12px; font-size: .9rem; }
.table-wrap table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .93rem; }
.table-wrap th, .table-wrap td { padding: 13px 14px; border-bottom: 1px solid var(--ull-line); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--ull-soft); color: var(--ull-navy); font-weight: 950; white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
.page-mini-card { display: grid; gap: 14px; }
.stat-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ull-line); }
.stat-line:last-child { border-bottom: 0; }
.stat-line span { color: var(--ull-muted); }
.stat-line strong { text-align: right; }
@media (max-width: 1060px) { .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .link-grid { grid-template-columns: 1fr; } }


/* Header logo fix - Design System v1 */
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}
.brand-logo {
  display: block;
  width: 180px;
  height: auto;
  max-width: 48vw;
}
@media (max-width: 640px) {
  .brand-logo {
    width: 156px;
    max-width: 54vw;
  }
}


/* Header logo size/visibility adjustment - 2026-06-25 */
.brand-logo {
  width: 216px !important;
  max-width: 58vw !important;
  opacity: 1 !important;
  filter: contrast(1.14) saturate(1.08);
}

@media (max-width: 720px) {
  .brand-logo {
    width: 188px !important;
    max-width: 62vw !important;
  }
}
