:root {
  --bg: #F8FAFC;
  --bg-top: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --muted-2: #64748B;
  --border: #E2E8F0;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-soft: #E2E8F0;
  --accent-soft-hover: #CBD5E1;
  --green: #22C55E;
  --cyan: #06B6D4;
  --card: rgba(255, 255, 255, 0.72);
  --content: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #FFFFFF;
  /*
    radial-gradient(circle at top, rgba(37, 99, 235, 0.05), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

.page {
  position: relative;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) clamp(18px, 3vw, 28px) 56px;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(5px) saturate(80%);
  -webkit-backdrop-filter: blur(5px) saturate(80%);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
}

.nav {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 16px clamp(18px, 3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  background: transparent;
}

.site-footer {
  padding: 72px 0 28px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.footer-brand h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 20px;
}

.footer-brand p {
  max-width: 320px;
  line-height: 1.65;
}

.footer-col {
  display: grid;
  gap: 14px;
}

.footer-col h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover,
.footer-social a:hover {
  color: var(--text);
}

.footer-social {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
}

.footer-social svg {
  width: 28px;
  height: 28px;
}

.footer-copy {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 35% 30%, var(--cyan), transparent 36%),
    linear-gradient(135deg, var(--accent), var(--green));
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 26px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover { color: var(--text); }

.hero {
  min-height: calc(100svh - 80px);
  display: grid;
  align-items: center;
  padding: 48px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
  min-width: 0;
}

.copy {
  min-width: 0;
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

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

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 11ch;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.lede {
  margin: 24px 0 0;
  max-width: 44ch;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.75;
  color: var(--muted);
}

.term {
  position: relative;
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  background-image: linear-gradient(rgba(37, 99, 235, 0.24), rgba(37, 99, 235, 0.24));
  background-repeat: no-repeat;
  background-size: 100% 0.36em;
  background-position: 0 92%;
  padding-bottom: 0.02em;
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  background: var(--accent-soft-hover);
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.button.primary {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.button.primary:hover {
  background: #1E293B;
  border-color: #1E293B;
}

.visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateY(-12px);
}

.network-shell {
  position: relative;
  width: min(100%, 620px);
  pointer-events: none;
  isolation: isolate;
}

.network-shell::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 48%, rgba(6, 182, 212, 0.14), transparent 48%),
    radial-gradient(circle at 48% 50%, rgba(34, 197, 94, 0.10), transparent 46%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}

.network-shell img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
}

.section-intro {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: var(--card);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.role-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.role-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.role-meta {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 14px;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 28px 0 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-2);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.subpage {
  padding-top: 62px;
}

.narrow {
  max-width: 780px;
}

.blog-header {
  max-width: 980px;
}

.blog-header h1 {
  max-width: 18ch;
}

.job-header {
  max-width: 850px;
  padding: 64px 0 34px;
}

.job-header h1 {
  max-width: 14ch;
  font-size: clamp(40px, 5.2vw, 64px);
}

.job-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 700;
}

.content-block {
  max-width: 850px;
  padding: 18px 0;
}

.content-block p, .content-block li {
  color: var(--muted);
  line-height: 1.72;
}

.content-block ul {
  padding-left: 20px;
}

.notice {
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 16px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-copy {
  max-width: 560px;
}

.contact-card {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.contact-form {
  margin-top: 10px;
  min-height: 560px;
  display: grid;
  gap: 22px;
}

.contact-reason {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-reason legend {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-reason label {
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-reason input {
  position: absolute;
  opacity: 0;
}

.contact-reason label:has(input:checked) {
  background: var(--text);
  color: white;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  min-height: 44px;
  display: flex;
}

.consent-row.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.consent-row input {
  width: auto;
  margin-top: 3px;
}

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

  .contact-form {
    margin-top: 0;
  }  
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-success {
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 16px;
  text-align: center;
}

.form-success h3 {
  font-size: 28px;
  margin: 0;
}

.form-success p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 42ch;
  margin: 0 auto;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
}

.form-status.error {
  color: #B91C1C;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 15px;
  font: inherit;
  background: white;
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .copy {
    max-width: 100%;
    order: 2;
    text-align: center;
    margin: 0 auto;
  }

  .visual {
    order: 1;
  }

  h1 {
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    justify-content: center;
  }

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

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .role-card {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
