
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #1a2d42;
  --blue: #2e4156;
  --muted: #aab7b7;
  --silver: #c0c8ca;
  --mist: #d4d8dd;

  --bg: #d4d8dd;
  --surface: rgba(255,255,255,.48);
  --surface-strong: rgba(255,255,255,.68);
  --text: #1a2d42;
  --text-soft: #2e4156;
  --line: rgba(26,45,66,.14);
  --line-strong: rgba(26,45,66,.22);
  --accent: #2e4156;
  --accent-contrast: #d4d8dd;
  --shadow: 0 24px 70px rgba(26,45,66,.13);
  --shadow-soft: 0 12px 34px rgba(26,45,66,.10);
  --grid: rgba(26,45,66,.055);
}

html.dark {
  --bg: #1a2d42;
  --surface: rgba(46,65,86,.58);
  --surface-strong: rgba(46,65,86,.78);
  --text: #d4d8dd;
  --text-soft: #c0c8ca;
  --line: rgba(212,216,221,.14);
  --line-strong: rgba(212,216,221,.22);
  --accent: #c0c8ca;
  --accent-contrast: #1a2d42;
  --shadow: 0 24px 70px rgba(0,0,0,.24);
  --shadow-soft: 0 12px 34px rgba(0,0,0,.18);
  --grid: rgba(212,216,221,.045);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(192,200,202,.7), transparent 30%),
    radial-gradient(circle at 90% 100%, rgba(46,65,86,.16), transparent 35%),
    var(--bg);
  line-height: 1.55;
  letter-spacing: -.015em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s ease, color .25s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .8;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 38px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-contrast);
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(26,45,66,.16);
}

.brand-mark::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 7px 0 currentColor, 3.5px 7px currentColor;
  transform: translate(-3px,-2px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.nav a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 8px 13px;
  border-radius: 11px;
  font-size: .82rem;
  font-weight: 700;
  transition: .2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-strong);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-size: 1rem;
  transition: transform .2s ease, background .2s ease;
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle .sun { display: none; }
html.dark .theme-toggle .moon { display: none; }
html.dark .theme-toggle .sun { display: inline; }

main {
  animation: pageIn .65s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  position: relative;
  min-height: calc(100vh - 150px);
  min-height: calc(100dvh - 150px);
  display: grid;
  align-items: center;
  padding: 44px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}

.eyebrow, .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(46,65,86,.10);
}
html.dark .status-dot { background: var(--silver); box-shadow: 0 0 0 5px rgba(192,200,202,.10); }

.hero h1, .page-title {
  margin-top: 22px;
  max-width: 780px;
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: .9;
  letter-spacing: -.085em;
  font-weight: 800;
}

.hero h1 span { color: var(--blue); }
html.dark .hero h1 span { color: var(--silver); }

.hero-lead {
  max-width: 590px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--accent-contrast);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(26,45,66,.18);
}
.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.hero-card {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 24px;
}

.hero-card::before {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  right: -80px;
  top: -70px;
  background: var(--silver);
  opacity: .42;
  filter: blur(3px);
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: auto 22px 22px 22px;
  height: 1px;
  background: var(--line);
}

.mock-window {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 370px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(212,216,221,.30);
}
html.dark .mock-window { background: rgba(26,45,66,.45); }

.mock-top { display: flex; gap: 6px; margin-bottom: 28px; }
.mock-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.mock-title { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.mock-line { height: 10px; border-radius: 99px; background: var(--silver); opacity: .72; margin: 12px 0; }
.mock-line.short { width: 58%; }
.mock-line.tiny { width: 34%; }
.mock-card {
  padding: 16px;
  margin-top: 16px;
  border-radius: 17px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}
.mock-card strong { display: block; font-size: .9rem; }
.mock-card span { display: block; margin-top: 5px; color: var(--text-soft); font-size: .72rem; }

.section-wrap {
  padding: 72px 0;
}
.page-intro {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 50px;
  align-items: end;
  padding: 54px 0 58px;
  border-bottom: 1px solid var(--line);
}
.page-intro .page-title { margin-top: 0; font-size: clamp(3.5rem, 8vw, 7rem); }
.intro-copy {
  max-width: 570px;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.75;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

.prose {
  max-width: 850px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}
.prose + .prose { margin-top: 16px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-top: 26px;
}
.feature {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, background .2s ease;
}
.feature:hover { transform: translateY(-4px); background: var(--surface-strong); }
.feature-number {
  font-size: .72rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .1em;
}
.feature-title { margin-top: 54px; font-size: 1.15rem; font-weight: 800; }
.feature-text { margin-top: 8px; color: var(--text-soft); font-size: .9rem; line-height: 1.65; }

.status-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 26px;
  padding: 28px;
  border-radius: 24px;
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: var(--shadow);
}
.status-panel p { max-width: 720px; font-size: .92rem; line-height: 1.7; opacity: .82; }
.status-panel strong { display: block; font-size: 1.1rem; margin-bottom: 5px; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-top: 26px;
}
.role {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, background .2s ease;
}
.role:hover { transform: translateY(-4px); background: var(--surface-strong); }
.role-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.role-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: .72rem;
  font-weight: 800;
}
.role-meta { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.role-title { margin-top: 26px; font-size: 1.18rem; font-weight: 800; }
.role-text { margin-top: 8px; color: var(--text-soft); font-size: .88rem; line-height: 1.65; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-soft);
  font-size: .68rem;
  font-weight: 700;
  background: rgba(192,200,202,.12);
}

.content-block {
  padding: 58px 0 10px;
  max-width: 900px;
}
.content-block + .content-block { border-top: 1px solid var(--line); margin-top: 54px; }
.content-block p { color: var(--text-soft); line-height: 1.8; }
.content-block p + p { margin-top: 14px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}
.cta-row .btn { flex: 1 1 240px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0 8px;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: .72rem;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 820px) {
  .site-shell { width: min(100% - 28px, 680px); }
  .site-header { padding-bottom: 14px; }
  .nav a { display: none; }
  .nav a[aria-current="page"] { display: block; }
  .hero { min-height: auto; padding: 55px 0 50px; }
  .hero-grid, .page-intro { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { min-height: 360px; }
  .mock-window { min-height: 310px; }
  .feature-grid, .roles-grid { grid-template-columns: 1fr; }
  .status-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-shell { width: min(100% - 22px, 500px); padding-top: 12px; }
  .brand { font-size: .95rem; }
  .theme-toggle { width: 38px; height: 38px; }
  .hero h1 { font-size: clamp(3.6rem, 20vw, 5.5rem); }
  .hero-lead { font-size: .98rem; }
  .hero-card { min-height: 310px; padding: 14px; border-radius: 24px; }
  .mock-window { min-height: 280px; padding: 14px; }
  .page-intro { padding-top: 35px; }
  .page-intro .page-title { font-size: clamp(3.3rem, 18vw, 5.2rem); }
  .intro-copy { font-size: 1rem; }
  .feature, .role { padding: 22px; }
  .feature { min-height: 190px; }
  .feature-title { margin-top: 40px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
