:root {
  color-scheme: light;
  --ink: #16201f;
  --muted: #60716d;
  --paper: #f6f2e8;
  --paper-2: #efe8d8;
  --line: rgba(22, 32, 31, 0.16);
  --violet: #6536e5;
  --violet-dark: #5429cc;
  --green: #0f6b55;
  --gold: #d69e2e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 232, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand::before {
  content: "";
  display: block;
  width: 137px;
  height: 28px;
  background-image: url("/logo.png");
  background-repeat: no-repeat;
  background-size: 363px 220px;
  background-position: -113px -75px;
  mix-blend-mode: multiply;
}

.brand img {
  display: none;
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

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

.button.primary:hover {
  background: var(--violet-dark);
}

.button.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  padding: 68px 0 44px;
}

.hero > div:first-child,
.application-panel {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
}

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

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy {
  max-width: 610px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

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

.notice {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.application-panel {
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 rgba(22, 32, 31, 0.1);
  justify-self: stretch;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--ink);
  padding: 18px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-body {
  padding: 22px;
}

.panel-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.panel-body p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.doc-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.doc-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 11px;
  font-size: 0.9rem;
  font-weight: 800;
}

.doc-row span:first-child {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(101, 54, 229, 0.1);
  color: var(--violet);
}

.doc-row small {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  border-top: 1px solid var(--line);
  padding: 70px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 720px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 210px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  padding: 22px;
}

.card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
  line-height: 1.62;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.person {
  min-height: 230px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px;
}

.avatar {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--violet);
  color: var(--white);
  font-weight: 900;
}

.person h3 {
  font-size: 1.1rem;
}

.role {
  margin-top: 6px;
  color: var(--green);
  font-weight: 900;
  font-size: 0.82rem;
}

.person p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.page-main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.page-main h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.page-main .lede {
  max-width: 690px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.info-item {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.info-item h2 {
  font-size: 1.2rem;
}

.info-item p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.68;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.footer-links a {
  text-decoration: none;
  font-weight: 800;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .application-panel {
    max-width: 680px;
  }
}

@media (max-width: 900px) {

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .nav-actions {
    gap: 6px;
  }

  .button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .hero,
  .section-inner,
  .page-main,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .doc-row {
    grid-template-columns: 28px 1fr;
  }

  .doc-row small {
    grid-column: 2;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
