/* Divisiri — site styles
   Brand colors, layout, components, and accessibility states. */

:root {
  --blue: #1459b8;
  --orange: #e98208;
  --green: #126b0d;
  --white: #ffffff;
  --charcoal: #1e2933;
  --bg-light: #f7fafc;
  --bg-soft-blue: #eef5ff;
  --border-grey: #dde5ee;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 18px rgba(20, 89, 184, 0.08);
  --max-width: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 0;
  padding: 0;
}

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

/* Focus states — visible everywhere, never suppressed */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(20, 89, 184, 0.22);
}

.btn-primary:hover {
  background: #0f4693;
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--bg-soft-blue);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(233, 130, 8, 0.28);
}

.btn-orange:hover {
  background: #c66f06;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border-grey);
  box-shadow: 0 8px 24px -16px rgba(20, 89, 184, 0.25);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-link img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 2px;
  position: relative;
}

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

.header-cta {
  flex-shrink: 0;
}

.header-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border-grey);
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px auto;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-grey);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--bg-light);
  }

  .header-cta {
    display: none;
  }

  .main-nav .header-cta-mobile {
    display: block;
    margin-top: 16px;
  }

  .brand-logo-link img {
    height: 36px;
  }
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg-soft-blue);
  padding: 64px 0;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.hero::before {
  width: 380px;
  height: 380px;
  background: var(--blue);
  top: -140px;
  right: -80px;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: var(--orange);
  bottom: -120px;
  left: -60px;
  opacity: 0.22;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-grey);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Pillars (interactive tab strip) */
.pillars {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 0;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  margin-top: 24px;
}

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

.pillar-tabs {
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
  border-right: 1px solid var(--border-grey);
  list-style: none;
}

@media (max-width: 720px) {
  .pillar-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-grey);
  }
}

.pillar-tabs button {
  all: unset;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--charcoal);
  border-left: 4px solid transparent;
  white-space: nowrap;
}

.pillar-tabs button:hover {
  background: var(--bg-soft-blue);
}

.pillar-tabs button[aria-selected="true"] {
  border-left-color: var(--orange);
  background: var(--white);
  color: var(--blue);
}

@media (max-width: 720px) {
  .pillar-tabs button[aria-selected="true"] {
    border-left-color: transparent;
    border-bottom: 3px solid var(--orange);
  }
}

.pillar-panels {
  padding: 32px;
}

.pillar-panel h3 {
  margin-top: 0;
}

.pillar-panel a.btn {
  margin-top: 8px;
}

/* Trust / collaboration strip (placeholder logos) */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.trust-slot {
  border: 1px dashed var(--border-grey);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  font-size: 0.78rem;
  color: #6a7986;
  background: var(--bg-light);
}

/* Leadership / people placeholder cards */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.people-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  padding: 24px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.people-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-soft-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.people-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.people-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #6a7986;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

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

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--charcoal);
}

.hero p.lede {
  font-size: 1.15rem;
  margin: 0 0 28px;
  max-width: 52ch;
}

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

.hero-art {
  width: 100%;
  height: auto;
}

.hero-icon-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow);
}

.hero-icon {
  width: 100%;
  max-width: 320px;
  height: auto;
}

@media (max-width: 860px) {
  .hero-icon-panel {
    padding: 32px;
  }

  .hero-icon {
    max-width: 220px;
  }
}

/* Page header (non-home pages) */
.page-hero {
  background: radial-gradient(circle at 92% 20%, rgba(20, 89, 184, 0.14), transparent 45%),
    radial-gradient(circle at 8% 100%, rgba(233, 130, 8, 0.1), transparent 40%),
    var(--bg-soft-blue);
  padding: 48px 0;
  text-align: left;
  border-bottom: 1px solid var(--border-grey);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  max-width: 65ch;
  font-size: 1.05rem;
}

/* Sections */
main section {
  padding: 56px 0;
}

section.alt {
  background: var(--bg-light);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 16px;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.section-intro {
  max-width: 70ch;
  margin: 0 0 36px;
  font-size: 1.05rem;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  padding: 8px;
  box-sizing: content-box;
  border-radius: 10px;
  background: var(--bg-soft-blue);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin: 0 0 12px;
}

/* Status pill */
.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft-blue);
  color: var(--blue);
  border: 1px solid var(--border-grey);
  margin-bottom: 10px;
}

.status-pill.current {
  background: #e8f5e7;
  color: var(--green);
}

.status-pill.proposed {
  background: #fdf1e0;
  color: #8a5407;
}

.status-pill.development {
  background: var(--bg-soft-blue);
  color: var(--blue);
}

.status-pill.soon {
  background: #f2eefc;
  color: #5a3a9c;
}

.status-pill.verify {
  background: #fcecec;
  color: #a12a2a;
}

/* Callout / notice box */
.callout {
  border: 1px solid var(--border-grey);
  border-left: 5px solid var(--orange);
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px 0;
}

.callout p {
  margin: 0;
}

.callout.legal {
  border-left-color: var(--blue);
  background: var(--bg-soft-blue);
  font-weight: 600;
}

/* Values / value cards */
.value-card {
  text-align: left;
}

/* Timeline / process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  counter-reset: step;
  margin-top: 24px;
}

.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  padding: 24px 18px 18px;
  counter-increment: step;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  margin: 0;
  font-size: 0.95rem;
}

/* Numbered ordered journey list */
.journey-list {
  list-style: none;
  counter-reset: journey;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.journey-list li {
  counter-increment: journey;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.journey-list li::before {
  content: counter(journey);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Newsletter / forms */
.form-block {
  max-width: 640px;
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="file"],
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  min-height: 44px;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form-row.checkbox input {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-form > input[type="email"] {
  flex: 1 1 240px;
}

#form-status,
[id^="form-status"] {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-status-success {
  display: block !important;
  background: #e8f5e7;
  color: var(--green);
  border: 1px solid #bfe3bd;
}

.form-status-error {
  display: block !important;
  background: #fcecec;
  color: #a12a2a;
  border: 1px solid #f3c2c2;
}

.form-status-empty {
  display: block !important;
  background: #fdf1e0;
  color: #8a5407;
  border: 1px solid #f0d8ac;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-soft-blue) 100%);
  border-top: 1px solid var(--border-grey);
  padding: 48px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 32ch;
  font-size: 0.92rem;
}

.footer-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: #4a5a68;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--charcoal);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-grey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
}

.footer-bottom {
  border-top: 1px solid var(--border-grey);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #4a5a68;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Accordion (FAQ) */
.accordion-item {
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 4px 20px;
  background: var(--white);
}

.accordion-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue);
  flex-shrink: 0;
}

.accordion-item[open] summary::after {
  content: "\2212";
}

.accordion-item p {
  padding-bottom: 16px;
  margin: 0;
}

/* Filters (products / journal) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  align-items: center;
}

.filter-bar select,
.filter-bar input[type="search"] {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-grey);
  font-family: var(--font);
  min-height: 44px;
}

.filter-bar input[type="search"] {
  flex: 1 1 220px;
}

/* Reserve space until JS has rendered the grid, so the footer doesn't jump (CLS). */
.card-grid[data-loading] {
  min-height: 60vh;
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #4a5a68;
  border: 1px dashed var(--border-grey);
  border-radius: var(--radius);
  display: none;
}

.placeholder-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #a12a2a;
  background: #fcecec;
  border: 1px solid #f3c2c2;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.draft-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a5407;
  background: #fdf1e0;
  border: 1px solid #f0d8ac;
  border-radius: 999px;
  padding: 3px 10px;
}

details.product-detail {
  margin-top: 12px;
  border-top: 1px solid var(--border-grey);
  padding-top: 12px;
}

details.product-detail summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--blue);
}

.detail-field {
  margin: 10px 0;
}

.detail-field dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #4a5a68;
}

.detail-field dd {
  margin: 4px 0 0;
}

/* 404 */
.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  gap: 20px;
}

.notfound img {
  height: 60px;
}

/* Legal pages */
.legal-content h2 {
  margin-top: 36px;
}

.legal-content dl {
  background: var(--bg-light);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.legal-content dt {
  font-weight: 700;
  margin-top: 12px;
}

.legal-content dd {
  margin: 2px 0 0;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

/* Visual polish */
main section > .container > h2 {
  position: relative;
  padding-top: 14px;
}

main section > .container > h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 89, 184, 0.14);
  border-color: rgba(20, 89, 184, 0.35);
}

.card:hover::after {
  transform: scaleX(1);
}

.card a {
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.process-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 89, 184, 0.12);
}

.footer-col a:hover {
  color: var(--blue);
  text-decoration: none;
}

.people-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 89, 184, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card::after,
  .btn,
  .main-nav a::after,
  .process-step,
  .people-card {
    transition: none !important;
    transform: none !important;
  }
}

/* SaaS-style homepage components */
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.saas-preview {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(20, 89, 184, 0.12);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  justify-self: end;
}

.saas-preview-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-grey);
}

.saas-preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-grey);
}

.saas-preview-body {
  padding: 20px;
}

.saas-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.saas-preview-stats div {
  background: var(--bg-soft-blue);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.saas-preview-stats strong {
  display: block;
  font-size: 1.6rem;
  color: var(--blue);
  line-height: 1.1;
}

.saas-preview-stats span {
  font-size: 0.8rem;
  color: #51606f;
}

.saas-preview-list {
  list-style: none;
}

.saas-preview-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border-grey);
}

.saas-preview-list em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--bg-light);
  color: #51606f;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-green { background: var(--green); }
.dot-orange { background: var(--orange); }
.dot-blue { background: var(--blue); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--charcoal);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  text-decoration: none;
  border-color: var(--blue);
  transform: translateY(-2px);
}

.feature-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.feature-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: #51606f;
}

.feature-link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  .feature-card { transition: none; }
  .feature-card:hover { transform: none; }
}
