:root {
  color-scheme: light;
  --ink: #102126;
  --paper: #f4f7f5;
  --white: #ffffff;
  --teal: #087f78;
  --teal-dark: #075e59;
  --amber: #c56b1a;
  --cobalt: #2455a4;
  --line: #cdd8d5;
  --muted: #50636a;
  --dark: #0b1619;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

a { color: var(--teal-dark); }
a:hover { color: var(--cobalt); }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  isolation: isolate;
  background: var(--dark) url("planner-ipad.png") center 18% / cover no-repeat;
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(5, 17, 20, 0.82);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(65vh, 640px);
  max-width: 760px;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffb565;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: 0; }

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 850;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: #dce8e5;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #b9d3ce;
  font-size: 0.88rem;
  font-weight: 700;
}

.band { padding: 86px 0; }
.band.white { background: var(--white); }
.band.dark { background: var(--dark); color: var(--white); }
.band.amber { background: #fff3e5; }

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .section-heading p { color: #b9cbc7; }

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

figure { margin: 0; }

.shot-grid img {
  display: block;
  width: 100%;
  border: 1px solid #b9c8c4;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(10, 27, 32, 0.14);
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #415055;
  border-left: 1px solid #415055;
}

.capability {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid #415055;
  border-bottom: 1px solid #415055;
}

.capability strong {
  display: block;
  margin-bottom: 10px;
  color: #68d1c6;
  font-size: 1.08rem;
}

.capability p { margin: 0; color: #c7d7d3; }

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 44px;
}

.source-list a {
  display: block;
  padding: 18px 0;
  border-bottom: 2px solid var(--amber);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.document-header {
  background: var(--dark);
  color: var(--white);
}

.document-header .site-nav { border-bottom: 1px solid #34454a; }

.document-title {
  padding: 72px 0 82px;
}

.document-title h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.document-title p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #bdcfcb;
}

.document {
  max-width: 840px;
  padding: 70px 0 100px;
}

.document section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.document h2 { margin: 0 0 12px; font-size: 1.55rem; }
.document p, .document ul { margin: 0 0 14px; }
.document li + li { margin-top: 8px; }

.support-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid var(--line);
}

.support-index section { min-height: 220px; }

.contact-link {
  display: inline-block;
  padding: 12px 16px;
  border: 2px solid var(--teal);
  border-radius: 4px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover { background: var(--cobalt); color: var(--white); }

footer {
  padding: 34px 0;
  background: #071114;
  color: #9eb3ae;
  font-size: 0.85rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer a { color: #d3e4e0; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .site-nav { min-height: 64px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.78rem; }
  .hero { min-height: 74svh; background-position: 58% top; }
  .hero-copy { min-height: calc(74svh - 64px); padding: 54px 0 72px; }
  h1 { font-size: clamp(2.8rem, 17vw, 4.9rem); }
  .band { padding: 62px 0; }
  .shot-grid, .capability-grid, .source-list, .support-index { grid-template-columns: 1fr; }
  .capability-grid { border-left: 0; }
  .capability { min-height: 0; border-left: 1px solid #415055; }
  footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
