:root {
  color-scheme: light;
  --brand-blue: #1d4ed8;
  --brand-blue-dark: #0f2e9e;
  --brand-blue-soft: #e2e8ff;
  --brand-orange: #f97316;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5f6b7a;
  --accent: var(--brand-blue);
  --accent-dark: var(--brand-blue-dark);
  --border: #d9e2ec;
  --shadow: rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  font-size: 1rem;
}

a.button.primary {
  background: linear-gradient(120deg, #1253ff, #467bff);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 18px 40px -18px rgba(18, 83, 255, 0.6);
}

a.button.primary:hover,
a.button.primary:focus-visible {
  background: linear-gradient(120deg, #0b3bc1, #1253ff);
  transform: translateY(-1px);
}

a.button.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--accent);
}

a.button.secondary:hover,
a.button.secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.9);
}

.site-header-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.2rem 1.2rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  padding-left: 0.5rem;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  color: var(--muted);
  transition: color 0.2s ease, border 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--accent);
}

main {
  padding: 3.2rem 0 4rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  padding: clamp(2.6rem, 5vw, 3.4rem);
  background: var(--surface);
  border: 1px solid rgba(29, 78, 216, 0.14);
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'><path%20d='M0%20119h120M0%2099h120M0%2079h120M0%2059h120M0%2039h120M0%2019h120M0%200v120M20%200v120M40%200v120M60%200v120M80%200v120M100%200v120'%20stroke='rgba(29,78,216,0.15)'%20stroke-width='1'/></svg>");
  opacity: 0.28;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  top: -160px;
  left: -140px;
  background: radial-gradient(circle at center, rgba(29, 78, 216, 0.22), rgba(29, 78, 216, 0));
  filter: blur(2px);
  pointer-events: none;
}

.hero-visual .hero-shape {
  position: absolute;
  width: 280px;
  height: 280px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.25), rgba(249, 115, 22, 0));
  pointer-events: none;
}

.hero-visual > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  margin: 0;
  line-height: 1.2;
  font-family: 'Palatino Linotype', Palatino, 'Times New Roman', serif;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
}

.hero .lead strong {
  color: var(--text);
}

.hero .tagline {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.cta-subtext {
  font-size: 0.9rem;
  color: var(--muted);
  margin: -0.4rem 0 0;
}

.hero .note {
  font-size: 0.95rem;
  color: var(--muted);
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 12px 40px -24px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.18);
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.45rem;
}

.card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

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

.card dl {
  margin: 0;
}

.card dt {
  font-weight: 600;
  color: var(--text);
}

.card dd {
  margin: 0 0 0.6rem;
  color: var(--muted);
}

.process-steps {
  position: relative;
  padding: 0;
  list-style: none;
  margin-left: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: -0.5rem;
  bottom: -0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(18, 83, 255, 0.25), rgba(18, 83, 255, 0));
}

.process-steps li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.2rem 1.1rem;
  box-shadow: 0 16px 32px -26px var(--shadow);
}

.process-steps .step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.process-steps .step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.15);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-steps .step-body h3 {
  margin: 0;
  font-size: 1rem;
}

.process-steps .step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

blockquote {
  margin: 0;
  padding-left: 1.2rem;
  border-left: 4px solid var(--border);
  color: var(--muted);
}

.credibility {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.9rem;
  box-shadow: 0 16px 40px -24px var(--shadow);
}

.credibility h2 {
  margin: 0;
}

.founder-profile {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.founder-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-highlights {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.founder-links {
  display: flex;
  gap: 0.75rem;
}

.credibility p {
  margin: 0;
  color: var(--muted);
}

.credibility a {
  color: var(--accent);
  font-weight: 600;
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex: 1 1 280px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-meta {
  flex: 0 1 320px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 360px;
}

small, .caption {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  margin-bottom: 3rem;
}

ul, ol {
  margin: 0 0 1.1rem 1.25rem;
  padding: 0;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 0.75rem;
  text-align: left;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #eef2ff;
  color: #3730a3;
}

.highlight {
  background: #f0f4f8;
  border-radius: 12px;
  padding: 1.25rem;
}

.anchor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.anchor-list a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.callout {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--muted);
}

.legal-note {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .hero-visual {
    padding: 2.25rem 1.75rem;
  }

  .site-nav {
    gap: 0.5rem 0.75rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  a.button {
    justify-content: center;
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
    gap: 1.75rem;
  }

  .footer-brand,
  .footer-links,
  .footer-meta,
  .founder-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

.secondary-callout {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(249, 115, 22, 0.08));
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(18, 83, 255, 0.12);
}

.secondary-callout h2 {
  margin: 0 0 0.5rem;
}

.secondary-callout p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
