:root {
  color-scheme: light;
  --ink: #13221c;
  --muted: #52635b;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --soft: #edf4ef;
  --line: #d5dfd8;
  --green: #087a5d;
  --green-deep: #0a4335;
  --mint: #9be8cb;
  --gold: #b5832b;
  --blue: #2d5972;
  --danger: #9f2536;
  --shadow: 0 18px 45px rgba(25, 40, 34, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.58;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green);
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  background:
    linear-gradient(90deg, rgba(8, 24, 18, .88) 0%, rgba(8, 24, 18, .72) 42%, rgba(8, 24, 18, .18) 100%),
    url("images/hero-library-study.png") center / cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow {
  color: var(--mint);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

h1 {
  max-width: 720px;
  font-size: clamp(44px, 8vw, 86px);
}

h2 {
  font-size: clamp(31px, 4.5vw, 52px);
}

h3 {
  font-size: 24px;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(19px, 2.5vw, 25px);
  color: rgba(255, 255, 255, .88);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 9px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, .12);
  color: white;
  cursor: pointer;
  font: inherit;
}

.button.primary {
  background: var(--mint);
  border-color: var(--mint);
  color: #0b3329;
}

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

.button.light {
  background: var(--panel);
  color: var(--green-deep);
  border-color: var(--line);
}

.button.is-disabled {
  opacity: .55;
  cursor: not-allowed;
}

.request-panel {
  scroll-margin-top: 96px;
}

.request-panel h2 {
  margin-top: 0;
}

.request-panel a:not(.button) {
  color: var(--green);
  font-weight: 800;
}

.site-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.site-form label {
  display: grid;
  gap: 7px;
  color: var(--green-deep);
  font-weight: 800;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.site-form input,
.site-form select {
  min-height: 48px;
  padding: 0 12px;
}

.site-form textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
}

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

.form-status {
  align-self: center;
  color: var(--muted);
  font-weight: 800;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--danger);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--soft);
}

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

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 19px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.tile,
.callout,
.page-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.tile {
  display: grid;
  gap: 10px;
}

.tile .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--soft);
  color: var(--green);
  font-weight: 900;
}

.tile p,
.callout p,
.page-panel p,
.list-copy li {
  color: var(--muted);
}

.screens {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.phone-stack {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: center;
}

.phone-shot {
  width: min(280px, 46vw);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 8px solid #13221c;
  background: #13221c;
}

.phone-shot:nth-child(2) {
  transform: translateY(32px);
}

.ipad-shot {
  border-radius: 24px;
  border: 8px solid #13221c;
  box-shadow: var(--shadow);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.banner {
  background: var(--green-deep);
  color: white;
  padding: 52px 0;
}

.banner p {
  color: rgba(255, 255, 255, .8);
}

.footer {
  background: #0d1713;
  color: white;
  padding: 38px 0;
}

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

.footer a {
  color: rgba(255, 255, 255, .82);
}

.prose {
  max-width: 860px;
  display: grid;
  gap: 22px;
}

.prose h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 64px);
}

.prose h2 {
  font-size: 30px;
  margin-top: 18px;
}

.prose ul {
  margin: 0;
  padding-left: 22px;
}

.list-copy {
  display: grid;
  gap: 10px;
}

.page-hero {
  padding: 72px 0 40px;
  background: var(--soft);
}

.mini-note {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(8, 24, 18, .92) 0%, rgba(8, 24, 18, .62) 100%),
      url("images/hero-library-study.png") center / cover no-repeat;
  }

  .grid.three,
  .grid.two,
  .form-grid,
  .screens {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 18px;
  }

  .phone-shot:nth-child(2) {
    transform: none;
  }

  .section {
    padding: 54px 0;
  }
}
