:root {
  --bg: #f4f7fd;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --ink: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --line: #dbe4f2;
  --accent: #2563eb;
  --accent-soft: #eaf2ff;
  --success-bg: #eaf8f0;
  --success-line: #bfe7ce;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 50px -28px rgba(15, 23, 42, 0.26);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--slate);
  background:
    radial-gradient(circle at 10% -5%, rgba(96, 165, 250, 0.2), transparent 32%),
    radial-gradient(circle at 90% -10%, rgba(191, 219, 254, 0.35), transparent 40%),
    var(--bg);
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: #fff;
  clip: auto !important;
  clip-path: none;
  color: #000;
  display: block;
  height: auto;
  left: 16px;
  line-height: normal;
  padding: 8px 12px;
  top: 16px;
  width: auto;
  z-index: 9999;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0 8px;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  padding: 10px 18px;
  min-height: 74px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 340px;
  overflow: hidden;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  flex-shrink: 0;
}

.brand-mark-wordmark {
  width: 154px !important;
  max-width: 154px !important;
  height: 72px !important;
  max-height: 72px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-mark-wordmark img {
  width: 154px !important;
  max-width: 154px !important;
  height: 72px !important;
  max-height: 72px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.site-branding img {
  width: 154px !important;
  max-width: 154px !important;
  height: 72px !important;
  max-height: 72px !important;
}

.site-logo img {
  width: auto;
  max-height: 42px;
}

.site-title-wrap {
  min-width: 0;
}

.site-title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-tagline {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px 10px;
  color: var(--ink);
  font-weight: 600;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu a {
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 600;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--accent);
}

.header-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
}

.site-main {
  display: block;
}

.home-section {
  padding: 90px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.55));
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  border: 1px solid #dce8fb;
  background: #f4f8ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

.section-intro {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  max-width: 62ch;
}

.hero-grid,
.process-grid,
.ethics-grid,
.cta-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--slate);
  border-color: var(--line);
}

.inline-disclaimer {
  margin-top: 18px;
  background: var(--success-bg);
  border: 1px solid var(--success-line);
  border-radius: 14px;
  color: #166534;
  padding: 11px 13px;
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-media img,
.section-image img,
.process-intro img,
.ethics-media img,
.cta-media img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

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

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

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

.feature-card,
.step-card,
.testimonial-card,
.faq-item,
.content-card {
  background: var(--surface);
  border: 1px solid #edf2fb;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.testimonial-card {
  padding: 22px 20px;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.compliance-note,
.section-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-steps {
  display: grid;
  gap: 14px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.step-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.ethics-list li {
  background: var(--surface);
  border: 1px solid #edf2fb;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow-soft);
}

.testimonial-card .quote {
  margin: 0;
  color: var(--slate);
}

.testimonial-card .name {
  margin: 16px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.testimonial-card .role {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 38px;
}

.footer-shell {
  display: grid;
  gap: 16px;
}

.footer-top {
  display: grid;
  gap: 6px;
}

.footer-legal {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.footer-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav .menu {
  flex-wrap: wrap;
  gap: 14px;
}

.footer-widgets {
  display: grid;
  gap: 8px;
}

.footer-widget-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.copyright {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 0.84rem;
}

.standard-content {
  padding: 90px 0;
}

.narrow {
  width: min(760px, 100% - 48px);
}

.content-card {
  padding: 24px;
}

.entry-title {
  margin: 0;
  color: var(--ink);
}

.entry-title a {
  color: inherit;
}

.entry-meta {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 0.88rem;
}

.entry-content {
  margin-top: 16px;
}

.entry-content p:first-child {
  margin-top: 0;
}

.entry-thumbnail {
  margin-top: 16px;
}

.entry-thumbnail img {
  border-radius: 16px;
}

.pagination-wrap {
  margin-top: 24px;
}

@media (max-width: 1060px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .header-shell {
    min-height: 82px;
    padding: 10px 14px;
  }

  .site-branding {
    flex: 0 1 auto;
  }

  .brand-mark-wordmark {
    width: 142px !important;
    max-width: 142px !important;
    height: 66px !important;
    max-height: 66px !important;
  }

  .site-branding img {
    width: 142px !important;
    max-width: 142px !important;
    height: 66px !important;
    max-height: 66px !important;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
  }

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

  .hero-grid,
  .process-grid,
  .ethics-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-section {
    padding: 72px 0;
  }

  .container {
    width: min(1200px, 100% - 32px);
  }

  .card-grid-2,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .brand-mark-wordmark {
    width: 130px !important;
    max-width: 130px !important;
    height: 60px !important;
    max-height: 60px !important;
    padding-inline: 0;
  }

  .brand-mark-wordmark img {
    width: 130px !important;
    max-width: 130px !important;
    height: 60px !important;
    max-height: 60px !important;
  }

  .site-branding img {
    width: 130px !important;
    max-width: 130px !important;
    height: 60px !important;
    max-height: 60px !important;
  }
}
