:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-strong: #eef3f7;
  --text: #17212b;
  --muted: #5e6f80;
  --line: #d9e2ea;
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --shadow: 0 16px 42px rgba(23, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(247, 249, 251, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

nav a:hover,
.link-list a:hover {
  color: var(--accent-dark);
}

main {
  padding: 0 clamp(18px, 4vw, 64px) 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  min-height: 68vh;
  padding: clamp(54px, 8vw, 104px) 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 900px;
  font-size: clamp(46px, 7vw, 88px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.hero p:not(.eyebrow),
.muted {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--surface);
  font-weight: 800;
}

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

.status-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-panel div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface-strong);
}

.status-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 54px 0 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

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

.doc-card {
  display: grid;
  min-height: 170px;
  align-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.doc-card span {
  color: var(--accent-dark);
  font-weight: 900;
}

.doc-card strong {
  font-size: 20px;
  line-height: 1.2;
}

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

.link-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 800;
}

.guide {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.guide-block {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.guide-block h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
}

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

.callout {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--muted);
}

code {
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.92em;
}

@media (max-width: 860px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

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

  h1 {
    font-size: 44px;
  }
}
