:root {
  color-scheme: light;
  --ink: #203644;
  --muted: #5d6c73;
  --paper: #f6f2e8;
  --paper-2: #fffaf0;
  --line: #d9d0bf;
  --blue: #3e7895;
  --blue-dark: #214f65;
  --coral: #df583e;
  --yellow: #f1b94d;
  --green: #66845a;
  --shadow: 0 22px 70px rgba(32, 54, 68, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(32, 54, 68, 0.05) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(0deg, rgba(32, 54, 68, 0.04) 1px, transparent 1px) 0 0 / 84px 84px,
    var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0;
}

.wordmark-mark {
  color: var(--coral);
  font-size: 0.85em;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.nav-cta {
  color: #fff;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  padding: 34px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-weight: 850;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(223, 88, 62, 0.14);
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4.6rem, 9.2vw, 8.4rem);
  line-height: 0.82;
  letter-spacing: 0;
  max-width: 650px;
}

h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 em,
.underlined {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
}

.underlined {
  position: relative;
  display: inline-block;
}

.underlined::after {
  content: "";
  position: absolute;
  left: 0.03em;
  right: 0.03em;
  bottom: 0.02em;
  height: 0.1em;
  background: var(--yellow);
  z-index: -1;
}

.hero-description {
  margin: 28px 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-detail,
.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.hero-detail {
  max-width: 550px;
  margin: 0 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
}

.cta-note,
.scope-note,
.planner-status,
small {
  color: var(--muted);
  font-size: 0.92rem;
}

.idea-board {
  position: relative;
  min-height: min(640px, 74vh);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 18%, rgba(241, 185, 77, 0.38), transparent 28%),
    linear-gradient(135deg, #fffaf0 0%, #edf4f1 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 26px;
}

.board-caption,
.diagram-label,
.activity-index {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.board-orbit {
  position: absolute;
  inset: 14%;
  border: 2px dashed rgba(32, 54, 68, 0.22);
  border-radius: 999px;
  transform: rotate(-8deg);
}

.idea-piece {
  position: absolute;
  width: min(245px, 44%);
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 10px 10px 0 rgba(32, 54, 68, 0.12);
}

.idea-piece svg {
  width: 76px;
  height: 76px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idea-piece h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 10px 0 8px;
}

.idea-piece p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.piece-number {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--coral);
  font-weight: 900;
  font-size: 0.78rem;
}

.imagine {
  left: 8%;
  top: 16%;
  transform: rotate(-5deg);
}

.make {
  right: 9%;
  top: 33%;
  transform: rotate(4deg);
}

.share {
  left: 20%;
  bottom: 8%;
  transform: rotate(3deg);
}

.board-note {
  position: absolute;
  right: 28px;
  bottom: 28px;
  max-width: 190px;
  color: var(--blue-dark);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.05;
}

.board-note em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.board-spark {
  position: absolute;
  right: 18%;
  top: 13%;
  color: var(--coral);
  font-size: 3rem;
}

.principles-strip {
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.principles-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 26px);
  flex-wrap: wrap;
  padding: 15px 0;
  font-weight: 850;
}

.section-space {
  padding: clamp(70px, 12vw, 130px) 0;
}

.idea-section,
.pilot-section,
.questions-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
}

.section-heading {
  position: sticky;
  top: 24px;
  align-self: start;
}

.idea-explanation p {
  line-height: 1.65;
}

.activity-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.activity-list article,
.planner,
.questions details {
  background: rgba(255, 250, 240, 0.86);
  border: 2px solid var(--line);
  border-radius: 8px;
}

.activity-list article {
  padding: 22px;
}

.activity-list h3 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
}

.activity-list p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.local-section {
  background: var(--ink);
  color: #fff;
  padding: clamp(70px, 10vw, 120px) 0;
}

.local-section .eyebrow,
.local-section .lead,
.local-section p {
  color: rgba(255, 255, 255, 0.82);
}

.local-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
}

.local-disclosure {
  border-left: 4px solid var(--yellow);
  padding-left: 16px;
}

.network-sketch {
  position: relative;
  min-height: 520px;
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 8px;
  padding: 24px;
  overflow: hidden;
  border: 2px solid #fff;
}

.teacher-node,
.school-node,
.network-line,
.diagram-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.teacher-node,
.school-node {
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px solid var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(32, 54, 68, 0.12);
}

.teacher-node {
  top: 82px;
  width: 170px;
  height: 112px;
}

.node-icon {
  color: var(--coral);
  font-size: 1.8rem;
}

.school-node {
  top: 242px;
  width: min(360px, calc(100% - 60px));
  min-height: 92px;
  padding: 16px;
  background: #e9f1ed;
}

.school-node span,
.teacher-node small {
  color: var(--muted);
}

.diagram-line {
  position: absolute;
  top: 194px;
  left: 50%;
  height: 48px;
  border-left: 2px dashed var(--ink);
}

.network-line {
  top: 366px;
  width: min(420px, calc(100% - 48px));
  border-top: 2px dashed var(--blue);
  text-align: center;
}

.network-line span {
  position: relative;
  top: -13px;
  background: var(--paper-2);
  color: var(--blue-dark);
  padding: 0 12px;
  font-weight: 850;
  font-size: 0.85rem;
}

.class-devices {
  position: absolute;
  left: 50%;
  bottom: 82px;
  display: flex;
  gap: 18px;
  transform: translateX(-50%);
}

.class-devices span {
  width: 78px;
  height: 56px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

.diagram-bottom {
  bottom: 24px;
  width: 100%;
  text-align: center;
  color: var(--muted);
  line-height: 1.35;
}

.privacy-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.planner {
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.planner h3 {
  margin: 0 0 22px;
  font-size: 1.7rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  font-weight: 850;
}

select,
input {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}

select:focus,
input:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(62, 120, 149, 0.35);
  outline-offset: 3px;
}

.plan-preview {
  margin: 20px 0;
  padding: 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.plan-preview .eyebrow,
.plan-preview p {
  color: rgba(255, 255, 255, 0.78);
}

.plan-preview h4 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.plan-check {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 14px;
}

.planner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-weight: 850;
  cursor: pointer;
  padding: 10px 0;
}

.questions {
  display: grid;
  gap: 12px;
}

.questions details {
  padding: 0;
}

.questions summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 850;
}

.questions details[open] summary {
  border-bottom: 2px solid var(--line);
}

.questions p {
  margin: 0;
  padding: 16px 20px;
  color: var(--muted);
  line-height: 1.55;
}

.closing {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 430px;
  padding: 90px 0;
}

.closing .button {
  margin-top: 26px;
}

.closing-spark {
  color: var(--coral);
  font-size: 3rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 2px solid var(--line);
  color: var(--muted);
}

.site-footer .wordmark {
  color: var(--ink);
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  color: var(--blue-dark);
  font-weight: 850;
}

.preview-label {
  font-size: 0.86rem;
}

#print-output {
  display: none;
}

@media (max-width: 900px) {
  .hero,
  .idea-section,
  .pilot-section,
  .questions-section,
  .local-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .idea-board {
    min-height: 620px;
  }

  .section-heading {
    position: static;
  }

  .activity-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3.55rem, 17vw, 5rem);
  }

  .idea-board {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .board-orbit,
  .board-note,
  .board-spark {
    display: none;
  }

  .idea-piece {
    position: static;
    width: 100%;
    transform: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .network-sketch {
    min-height: 500px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media print {
  body > *:not(#print-output) {
    display: none !important;
  }

  #print-output {
    display: block;
    padding: 28px;
    font-family: Georgia, "Times New Roman", serif;
  }
}
