/* OKhuman LTI — public landing page (GET /). Styled as an extension of
   okhuman.com: same faces (Basier Circle body, Martina Plantijn display),
   same orange, same pill buttons. Tool pages that run inside Canvas keep
   using lti.css; this sheet is for the one page a person opens directly. */

@font-face {
  font-family: "Basier Circle";
  src: url("/static/fonts/basiercircle-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Basier Circle";
  src: url("/static/fonts/basiercircle-medium-webfont.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Basier Circle";
  src: url("/static/fonts/basiercircle-semibold-webfont.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Martina Plantijn";
  src: url("/static/fonts/martina-plantijn-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Martina Plantijn";
  src: url("/static/fonts/martina-plantijn-medium-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --orange: #ff6900;
  --orange-dark: #c2410c;
  --orange-50: #fff7ed;
  --orange-200: #fed7aa;
  --ink: #171717;
  --ink-2: #404040;
  --muted: #737373;
  --line: #e5e5e5;
  --paper: #fafafa;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: "Basier Circle", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange-dark); }
h1, h2, h3 { font-family: "Martina Plantijn", Georgia, serif; font-weight: 500; margin: 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

/* Header: the website's light nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* Wordmark and "for Canvas" share a baseline and a weight, one brand line. */
/* baseline alignment: an image's baseline is its bottom edge, and the
   wordmark's letters sit on the bottom of the SVG, so the text baseline lands
   on the same line as the wordmark. */
.nav-brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-brand img { display: inline-block; height: 18px; width: auto; }
.nav-brand span {
  /* Cap height ~0.7em: 1.55rem puts the capitals at the wordmark's 18px. */
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s;
}
.pill:hover { background: #f5f5f5; }
/* Back to the website: a real button, not a text link in a ring. */
.pill-back {
  border-color: #d4d4d4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  padding: 10px 18px 10px 14px;
}
.pill-back svg { display: block; }
.pill-back:hover { border-color: #a3a3a3; }
.pill-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.pill-primary:hover { background: #e55f00; }

/* Page column */
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Hero: text left, the Instructure badge top right with its caption below */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 32px 48px;
  padding: 56px 0 40px;
}
.hero h1 { font-size: 2.6rem; line-height: 1.1; letter-spacing: -0.01em; max-width: 14ch; }
.hero h1 em { font-style: italic; }
.hero p { font-size: 1.15rem; color: var(--ink-2); max-width: 44rem; margin: 20px 0 0; }
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.hero-badge img { width: 140px; height: 140px; display: block; }
.hero-badge a { color: inherit; text-decoration: none; display: block; }
/* Text-only variant (Brightspace has no verified-integration badge). */
.hero-note { align-items: flex-start; text-align: left; max-width: 26ch; padding-top: 10px; }

/* Audience sections */
.section { padding: 40px 0; border-top: 1px solid var(--line); }
.section-kicker {
  font-family: "Basier Circle", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 8px;
}
.section h2 { font-size: 1.9rem; line-height: 1.15; margin-bottom: 20px; }
.section .lead { color: var(--ink-2); margin: 0 0 24px; max-width: 44rem; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
/* Light list: no rules between steps, modest spacing, quiet counters. */
.step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 9px 0;
}
.step:first-child { padding-top: 0; }
/* Quiet counter: a thin ring with a small number, aligned to the first line. */
.step-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 0;
  border: 1px solid #d4d4d4;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  color: var(--muted);
}
.step h3 {
  font-family: "Basier Circle", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 26px;
  margin: 0 0 2px;
}
.step p { margin: 0 0 6px; color: var(--ink-2); }
.step > div > p:first-child { line-height: 26px; margin-top: 0; }
.step p:last-child { margin-bottom: 0; }
.step .path { color: var(--ink); font-weight: 500; }
.substeps { margin: 8px 0 6px 20px; padding: 0; color: var(--ink-2); }
.substeps li { margin: 4px 0; }
.note { font-size: 0.9rem; color: var(--muted); }

/* How it works: one sentence per step, so the rows sit close together. */
#how h2 { margin-bottom: 14px; }
#how .step { padding: 5px 0; }
#how .step p { margin: 0; }

/* Copyable URL row */
.url {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.url code { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
/* Icon-only copy button; the check swaps in for a moment after a copy. */
.copy {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.copy:hover { background: #fff; border-color: var(--line); color: var(--ink); }
.copy svg { display: block; }
.copy .copy-done { display: none; color: #15803d; }
.copy.is-done > svg:first-child { display: none; }
.copy.is-done .copy-done { display: block; }
.url-label { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
/* "Using Brightspace?" / "Using Canvas?" line between a section heading and its steps. */
.cross-link { margin: -8px 0 20px; }

/* Footer, same links as okhuman.com */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--orange-dark); }
.foot .env { margin-left: auto; }

@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav-brand span { display: none; }
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; padding: 36px 0 28px; }
  .hero-badge { justify-self: center; align-items: center; text-align: center; }
  .hero-badge img { width: 112px; height: 112px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .section h2 { font-size: 1.6rem; }
  .step { gap: 12px; }
  .url { flex-wrap: wrap; }
  .foot .env { margin-left: 0; width: 100%; }
}
