:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5b6670;
  --line: #d9e0e6;
  --panel: #ffffff;
  --bg: #f5f7f8;
  --teal: #087f8c;
  --skyline-blue: #0089cf;
  --skyline-blue-soft: #e8f6fc;
  --skyline-blue-line: #9bd8f2;
  --green: #237a57;
  --gold: #b7791f;
  --nav: #24313a;
  --content-width: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
}

a { color: var(--teal); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nav);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 7px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--nav);
  font-weight: 700;
}

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 32px;
  align-items: end;
  padding: 88px 48px 58px;
  background:
    linear-gradient(120deg, rgba(18, 32, 40, 0.92), rgba(8, 127, 140, 0.68)),
    url("assets/image6.png") center / cover no-repeat;
  color: white;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #d4f4ef;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy > p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: #eef9f7;
  font-size: 1.13rem;
}

.hero-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  background: rgba(9, 22, 29, 0.72);
}

.hero-panel span {
  display: block;
  color: #f4d79c;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 34px 42px 80px;
}

.toc {
  position: sticky;
  top: 86px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: 16px;
  border-left: 3px solid var(--teal);
  background: white;
}

.toc a {
  display: block;
  padding: 8px 9px;
  color: var(--nav);
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
}

.toc a:hover,
.toc a.active {
  background: #e8f4f3;
  color: #055c65;
}

.article {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
}

.content-section {
  padding: 44px min(6vw, 74px);
  border-bottom: 1px solid var(--line);
}

.content-section:last-child { border-bottom: 0; }

h2 {
  margin: 0 0 18px;
  color: #13242d;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  max-width: var(--content-width);
  margin: 13px 0;
}

.article a,
.article p,
.article li {
  overflow-wrap: anywhere;
}

.skyline-reference,
.dropbox-reference {
  max-width: var(--content-width);
  padding: 14px 16px;
  border-left: 4px solid var(--skyline-blue);
  background: var(--skyline-blue-soft);
}

.action-list li.skyline-reference,
.action-list li.dropbox-reference {
  border-left-color: var(--skyline-blue);
  background: var(--skyline-blue-soft);
}

.action-list li.skyline-reference::before,
.action-list li.dropbox-reference::before {
  background: var(--skyline-blue);
}

.skyline-link,
.dropbox-link {
  color: var(--skyline-blue);
  font-weight: 650;
}

.dropbox-reference .dropbox-link {
  display: inline-block;
  margin-top: 4px;
}

.section-lede {
  max-width: var(--content-width);
  color: var(--muted);
  font-size: 1.1rem;
}

.action-list {
  max-width: var(--content-width);
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
}

.action-list li {
  position: relative;
  margin: 10px 0;
  padding: 12px 14px 12px 42px;
  border-left: 3px solid var(--green);
  background: #f4faf7;
}

.action-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.25em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.definition {
  display: grid;
  grid-template-columns: minmax(72px, 120px) minmax(0, 1fr);
  gap: 16px;
  max-width: var(--content-width);
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f3;
}

.definition strong {
  color: var(--teal);
}

.definition span {
  min-width: 0;
}

.definition.wide {
  grid-template-columns: minmax(180px, 270px) minmax(0, 1fr);
}

figure {
  max-width: var(--content-width);
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafb;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-splats {
  background:
    linear-gradient(120deg, rgba(18, 32, 40, 0.92), rgba(8, 127, 140, 0.68)),
    url("assets/image6.png") center / cover no-repeat;
}

.article h3 {
  margin: 24px 0 10px;
  color: var(--teal);
  font-size: 1.18rem;
  line-height: 1.25;
}

.tof {
  max-width: 90ch;
  margin: 4px 0;
  padding-bottom: 6px;
  color: var(--muted);
  border-bottom: 1px solid #edf1f3;
  font-size: 0.92rem;
}

figcaption {
  padding: 12px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.note {
  max-width: var(--content-width);
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: #fff8ea;
  color: #43351d;
}

.note strong {
  display: block;
  margin-bottom: 5px;
  color: #7a4f0d;
}

.note span {
  display: block;
}

.code-sample {
  max-width: var(--content-width);
  max-height: 560px;
  overflow: auto;
  margin: 20px 0 26px;
  padding: 16px 18px;
  color: #d4d4d4;
  background: #1e1e1e;
  border: 1px solid #3c3c3c;
  border-left: 4px solid var(--skyline-blue);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
  font: 0.92rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.code-sample code {
  color: inherit;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: white;
}

th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  background: #edf5f4;
  color: #173139;
}

tr:last-child td { border-bottom: 0; }

@media (max-width: 920px) {
  .site-header { padding: 0 18px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 470px;
    padding: 72px 24px 34px;
  }
  .layout {
    display: block;
    padding: 0 0 48px;
  }
  .toc {
    position: fixed;
    inset: 64px 0 auto 0;
    z-index: 9;
    display: none;
    max-height: calc(100vh - 64px);
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .toc.open { display: block; }
  .article {
    border-left: 0;
    border-right: 0;
  }
  .content-section {
    padding: 34px 22px;
  }
  .definition,
  .definition.wide {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

