:root {
  --blue: #005486;
  --navy: #123451;
  --pink: #e90083;
  --sky: #eaf6ff;
  --cream: #fffaf0;
  --line: #d8e3eb;
  --muted: #5e7488;
  --green: #08785b;
  --amber: #a65f00;
  --white: #fff;
  --shadow: 0 14px 40px rgba(18, 52, 81, 0.09);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--navy);
  background: #f4f7f9;
  font:
    16px/1.65 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
.site {
  min-height: 100vh;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 2px solid var(--blue);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.brand-logo {
  display: block;
  width: auto;
  height: 28px;
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(0, 84, 134, 0.28);
}
.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.topnav a {
  padding: 8px 11px;
  border-radius: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 750;
}
.topnav a:hover,
.topnav a[aria-current="page"] {
  color: var(--blue);
  background: var(--sky);
}
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.hero {
  padding: 76px 0 54px;
  background: linear-gradient(135deg, var(--sky), #fff 58%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.3;
}
.lede {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.13rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid var(--blue);
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.button.secondary {
  background: #fff;
  color: var(--blue);
}
.section {
  padding: 64px 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.card:hover {
  border-color: #9dc7df;
  transform: translateY(-2px);
}
.card p {
  color: var(--muted);
  margin: 8px 0 0;
}
.card .number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 9px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 900;
}
.task-list {
  display: grid;
  gap: 12px;
}
.task-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}
.task-item:hover {
  border-color: #9dc7df;
  transform: translateY(-2px);
}
.task-item .number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 900;
}
.task-item strong {
  display: block;
  color: var(--blue);
  font-size: 1.08rem;
  line-height: 1.3;
}
.task-item small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.task-arrow {
  color: var(--pink);
  font-size: 1.5rem;
  font-weight: 900;
}
.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.process-item {
  position: relative;
  min-height: 190px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 12px;
  background: #fff;
}
.process-item span {
  display: block;
  margin-bottom: 28px;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.process-item strong {
  display: block;
  color: var(--blue);
  line-height: 1.3;
}
.process-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.bug-template {
  padding: 24px;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--pink);
}
.bug-template > strong {
  color: var(--blue);
  font-size: 1.1rem;
}
.bug-template ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 18px 0 0;
  padding-left: 22px;
}
.bug-template li {
  padding-left: 4px;
  color: var(--muted);
}
.bug-template b {
  color: var(--navy);
}
.ownership-head {
  margin-top: 48px;
}
.role {
  border-top: 4px solid var(--pink);
}
.step-list {
  display: grid;
  gap: 16px;
  counter-reset: steps;
}
.step {
  position: relative;
  padding: 23px 24px 23px 72px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 22px;
  top: 21px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
}
.step p {
  margin: 5px 0 0;
  color: var(--muted);
}
.callout {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--sky);
}
.callout strong {
  display: block;
  margin-bottom: 4px;
}
.callout.warning {
  border-color: var(--amber);
  background: #fff7e9;
}
.callout.private {
  border-color: var(--pink);
  background: #fff3fa;
}
.checklist {
  list-style: none;
  margin: 22px 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 3px;
  color: var(--green);
  font-weight: 900;
}
.owner {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e7f8f2;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}
.owner.platform {
  background: var(--sky);
  color: var(--blue);
}
.owner.team {
  background: #fff0f8;
  color: #a71362;
}
.demo {
  overflow: hidden;
  border: 2px solid var(--blue);
  border-radius: 14px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--pink);
}
.demo-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.demo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd6df;
}
.demo-body {
  padding: clamp(18px, 4vw, 30px);
}
.search-demo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px;
  border: 2px solid var(--blue);
  box-shadow: 5px 5px 0 var(--pink);
}
.search-demo input {
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  color: var(--blue);
  font-weight: 800;
  outline: 0;
}
.search-demo button {
  border: 0;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.result-preview {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--sky);
  opacity: 0.45;
  transform: translateY(4px);
  transition: 0.35s ease;
}
.result-preview.ready {
  opacity: 1;
  transform: none;
}
.result-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.metric {
  font-size: 0.82rem;
  color: var(--muted);
}
.tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 5px;
  background: #fff1dc;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}
.access-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.access-node {
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-weight: 850;
}
.arrow {
  color: var(--pink);
  font-size: 1.5rem;
  font-weight: 900;
}
.url-box {
  padding: 14px;
  border: 2px solid var(--blue);
  background: #fff;
}
.url-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}
.url-row:last-child {
  border: 0;
}
.url-text {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status {
  color: var(--amber);
  font-weight: 900;
}
.status.ready {
  color: var(--green);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.tabs a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 850;
}
.boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.boundary > div {
  padding: 26px;
}
.boundary .public {
  background: var(--sky);
}
.boundary .internal {
  background: #fff3fa;
}
.boundary ul {
  margin: 12px 0 0;
  padding-left: 20px;
}
.small {
  color: var(--muted);
  font-size: 0.9rem;
}
.page-foot {
  padding: 38px 0;
  border-top: 2px solid var(--blue);
  background: #0d3552;
  color: #d9e8f2;
}
.page-foot a {
  color: #fff;
}

@media (max-width: 820px) {
  .topbar {
    position: static;
    align-items: flex-start;
  }
  .topnav {
    display: none;
  }
  .hero-grid,
  .grid.two,
  .grid.three,
  .boundary,
  .process-flow {
    grid-template-columns: 1fr;
  }
  .process-item {
    min-height: 0;
  }
  .process-item span {
    margin-bottom: 12px;
  }
  .access-flow {
    grid-template-columns: 1fr;
  }
  .arrow {
    transform: rotate(90deg);
    text-align: center;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }
  .hero {
    padding: 48px 0 38px;
  }
  .section {
    padding: 44px 0;
  }
  .search-demo {
    grid-template-columns: 1fr;
  }
  .step {
    padding-left: 62px;
  }
  .brand {
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.035em;
  }
  .brand-logo {
    height: 23px;
  }
  .brand-divider {
    height: 23px;
  }
  .task-item {
    grid-template-columns: auto 1fr;
    align-items: start;
    padding: 18px;
  }
  .task-arrow {
    display: none;
  }
  .bug-template ol {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
