/* Generated by dart run tool/visibility/generate_visibility.dart. Edit tool/visibility/visibility_manifest.json instead. */
:root {
  color-scheme: light;
  --bg: #f7f9f6;
  --surface: #ffffff;
  --surface-alt: #eef5f1;
  --ink: #13211a;
  --muted: #51615a;
  --line: #d8e2dc;
  --green: #155e52;
  --blue: #2558a2;
  --amber: #b45309;
  --red: #b42318;
  --shadow: 0 18px 50px rgba(19, 33, 26, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: rgba(247, 249, 246, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(20px, 5vw, 72px) 56px;
}

section {
  margin-top: 56px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  margin-top: 0;
  min-height: min(680px, calc(100vh - 78px));
  padding: 42px 0 34px;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.5rem, 4.7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
}

.lede {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 690px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

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

.hero-diagram {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  width: 100%;
}

.status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: -20px;
}

.status-grid div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.status-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.status-grid strong {
  color: var(--green);
  font-size: 1.45rem;
}

.split {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.check-list,
.warning-box ul {
  padding-left: 20px;
}

.check-list li {
  margin: 10px 0;
}

.warning-box {
  background: #fff8ed;
  border: 1px solid #f1c27d;
  border-radius: 8px;
  padding: 22px;
}

.warning-box h3 {
  color: var(--red);
}

.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
}

th {
  background: var(--surface-alt);
  color: var(--green);
  font-size: 0.86rem;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

code {
  color: var(--blue);
}

.code-section {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
}

pre {
  background: #10221c;
  border-radius: 8px;
  color: #e7f4ee;
  margin: 0;
  overflow-x: auto;
  padding: 22px;
}

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

.cards.docs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  text-decoration: none;
}

.card strong {
  color: var(--green);
  font-size: 1rem;
}

.card span {
  color: var(--muted);
  font-size: 0.94rem;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 26px;
}

footer a {
  font-weight: 700;
  text-decoration: none;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-content: center;
}

@media (max-width: 860px) {
  .topbar,
  .hero,
  .split,
  .code-section {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 32px 0 24px;
  }

  .hero-diagram {
    height: 220px;
    margin-top: 32px;
    object-fit: contain;
  }

  .status-grid,
  .cards,
  .cards.docs {
    grid-template-columns: 1fr;
  }

  nav {
    margin-top: 12px;
  }
}
