/* Feather LMS / geddeslabs.com - "Ink & Signal" theme.
   Ink navy #0E2035 on fog-white surfaces, one signal-cyan accent.
   Bricolage Grotesque (display) + Public Sans (body). */

:root {
  --ink: #0E2035;
  --ink-soft: #3D4F63;
  --ink-faint: #5F6E80;
  --surface: #FFFFFF;
  --fog: #F2F5F8;
  --rule: #D9E0E8;
  --rule-soft: #E8EDF2;
  --accent: #0FB4CC;
  --accent-deep: #00798F;
  --accent-deeper: #005E70;
  --ok: #2E7D4F;
  --warn: #9A5B12;
  --danger: #BF3B33;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --shadow: 0 1px 2px rgba(14, 32, 53, 0.05), 0 8px 28px rgba(14, 32, 53, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--surface); }

a { color: inherit; text-decoration-color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); position: relative; z-index: 2; }

/* ---------- masthead ---------- */

header.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
  position: relative;
  z-index: 3;
}

.masthead-inner {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.1rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; display: block; transform: translateY(2px); }
.brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand .byline {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-weight: 600;
}

nav.mainnav { margin-left: auto; display: flex; gap: 1.4rem; font-size: 0.92rem; font-weight: 500; }
nav.mainnav a { text-decoration: none; color: var(--ink-soft); }
nav.mainnav a:hover { color: var(--accent-deep); }

/* ---------- small-caps kicker label ---------- */

.kicker {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.kicker::after { content: ""; height: 2px; width: 2rem; background: var(--accent); }

/* ---------- hero ---------- */

.hero { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 17ch;
  margin: 1.4rem 0 1.6rem;
}
.hero h1 em { font-style: normal; font-weight: 700; color: var(--accent-deep); }

.hero .lede {
  font-size: clamp(1.1rem, 1.9vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2.4rem;
}

.hero-feather {
  position: absolute;
  right: clamp(-6rem, -2vw, 0rem);
  top: 50%;
  transform: translateY(-52%) rotate(8deg);
  width: clamp(16rem, 34vw, 30rem);
  height: auto;
  z-index: -1;
  opacity: 0.9;
}
.hero-feather path {
  stroke: var(--ink);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s cubic-bezier(0.5, 0, 0.2, 1) forwards;
  opacity: 0.14;
}
.hero-feather path:nth-child(2) { animation-delay: 0.5s; }
.hero-feather path:nth-child(3) { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: var(--accent-deeper); color: #fff; }
.btn-ghost { border-color: #C2CDD9; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.status-chip {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  background: var(--fog);
}
.status-chip::before { content: "◦ "; color: var(--accent-deep); }

/* staggered page-load reveal */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s ease forwards; }
.reveal:nth-child(2) { animation-delay: 0.12s; }
.reveal:nth-child(3) { animation-delay: 0.24s; }
.reveal:nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- principle band ---------- */

.principle {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--fog);
  position: relative;
}
.principle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 3px;
  border-bottom: 1px solid var(--rule);
}
.principle-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.6rem 0;
  text-align: center;
}
.principle .figure {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}
.principle .caption { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- sections ---------- */

section.block { padding: clamp(3.5rem, 7vw, 6rem) 0; }

section.block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 1.2rem 0 1.2rem;
  max-width: 24ch;
}

section.block > .wrap > p { max-width: var(--measure); color: var(--ink-soft); }

/* ledger-style numbered feature rows */
.ledger { margin-top: 2.8rem; border-top: 1px solid var(--rule); }
.ledger-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr 1.6fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: baseline;
}
.ledger-row:hover { background: linear-gradient(90deg, transparent, rgba(15, 180, 204, 0.06), transparent); }
.ledger-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.ledger-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.ledger-desc { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- IT brief ---------- */

.it-brief { background: var(--ink); color: #fff; }
.it-brief .kicker { color: #fff; opacity: 0.9; }
.it-brief .kicker::after { background: var(--accent); }
.it-brief h2 { color: #fff; }
.it-brief > .wrap > p { color: #C4CCD9; }
.it-brief a { color: #fff; text-decoration-color: var(--accent); }
.it-brief a:hover { color: var(--accent); }

.scope-table { width: 100%; border-collapse: collapse; margin-top: 2.4rem; font-size: 0.95rem; }
.scope-table th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #97A3B6;
  padding: 0 1rem 0.7rem 0;
  border-bottom: 1px solid #2C3D55;
}
.scope-table td {
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid #223148;
  vertical-align: top;
  color: #DDE3EC;
}
.scope-table td:first-child {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  color: var(--accent);
  white-space: nowrap;
}
.scope-table-scroll { overflow-x: auto; }

.it-points { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.it-points div { border-left: 2px solid var(--accent); padding-left: 1.1rem; }
.it-points strong { font-family: var(--font-display); font-weight: 600; display: block; margin-bottom: 0.3rem; }
.it-points p { font-size: 0.95rem; color: #C4CCD9; }

/* ---------- pricing ---------- */

.price-card {
  margin-top: 2.6rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--surface);
  box-shadow: var(--shadow);
  max-width: 46rem;
}
.price-figure { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; }
.price-figure sup { font-size: 0.4em; font-weight: 600; color: var(--accent-deep); }
.price-once { font-weight: 600; color: var(--accent-deep); font-size: 1rem; }
.price-detail ul { list-style: none; }
.price-detail li { padding: 0.4rem 0; border-bottom: 1px solid var(--rule-soft); font-size: 0.98rem; color: var(--ink-soft); }
.price-detail li:last-child { border-bottom: none; }
.price-detail li::before { content: "- "; color: var(--accent-deep); font-weight: 700; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 3rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-inner { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.footer-inner .foot-brand { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.footer-inner img { width: 20px; height: 20px; }
.footer-links { margin-left: auto; display: flex; gap: 1.5rem; }

/* ---------- prose pages (privacy) ---------- */

.prose { padding: clamp(3rem, 6vw, 5rem) 0; }
.prose .wrap { max-width: 46rem; }
.prose h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 1.2rem 0 0.6rem;
}
.prose .effective { color: var(--ink-faint); font-size: 0.95rem; margin-bottom: 2.5rem; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 2.6rem 0 0.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule-soft);
}
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.2rem;
  color: var(--ink);
  margin: 1.4rem 0;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1.4rem 0; }
.prose table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 1rem 0.5rem 0;
  border-bottom: 2px solid var(--ink);
}
.prose table td { padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.prose table td:first-child { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.78rem; color: var(--accent-deep); }
.table-scroll { overflow-x: auto; }

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .principle-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .ledger-row { grid-template-columns: 3rem 1fr; }
  .ledger-desc { grid-column: 2; }
  .price-card { grid-template-columns: 1fr; }
  nav.mainnav { width: 100%; gap: 1.1rem; }
  .hero-feather { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .hero-feather path { animation: none; stroke-dashoffset: 0; }
}
