/* Tech Help — shared tokens and the web pages. Print sheets load this file too, then print/print.css. */

:root {
  --ink: #14242b;
  --ink-2: #3a4a51;
  --line: #c9d4d0;
  --paper: #fcfcfb;
  --white: #ffffff;
  --wash: #eef3f1;
  --tint: #e2eee9;
  --accent: #135e54;
  --accent-dark: #0c433c;
  --radius: 1.25rem;
  --font: "Lexend", Verdana, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.25rem;
  line-height: 1.5;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; }

a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 0.4rem;
}

.wrap {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  z-index: 10;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.icon {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 2.5rem; height: 2.5rem; color: var(--accent); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-small { min-height: 3rem; padding-inline: 1.1rem; font-size: 1.1rem; }
.btn-quiet { background: var(--white); color: var(--accent); }
.btn-quiet:hover { background: var(--tint); color: var(--accent-dark); }
.btn-big { min-height: 4rem; padding-inline: 1.75rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.55rem); }

/* Top bar */

.bar { background: var(--white); border-bottom: 1px solid var(--line); }
.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.wordmark::before {
  content: "";
  width: 0.8em;
  height: 0.8em;
  border-radius: 0.22em;
  background: var(--accent);
}
.wordmark:hover { color: var(--ink); }
.bar-nav { display: flex; align-items: center; gap: 1.75rem; font-size: 1.15rem; font-weight: 600; }
.bar-pages { display: contents; }
.bar-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 3rem; color: var(--ink); }
.bar-nav a[aria-current="page"] { text-decoration-color: var(--accent); text-decoration-thickness: 3px; }

/* Home: intro */

.intro { padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(1.75rem, 3vw, 2.5rem); }
.intro h1 {
  max-width: 24ch;
  font-size: clamp(2rem, 1.4rem + 2.3vw, 3.1rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede { max-width: 40em; margin-top: 1rem; color: var(--ink-2); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.4rem); }

/* Home: the three ways */

.board {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.way {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2.25rem;
}
.way + .way { border-left: 2px solid var(--line); }
.way-free { background: var(--tint); }
.way-head { display: flex; align-items: center; gap: 0.8rem; }
.way-head h2 { font-size: 1.4rem; }
.price {
  margin-top: 1.5rem;
  font-size: clamp(3rem, 2.4rem + 2vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.way-free .price { color: var(--accent); }
.price-note { margin-top: 0.45rem; font-weight: 700; color: var(--ink-2); }
.way > p:not(.price):not(.price-note) { margin-top: 1.25rem; }
.terms { margin-top: 1.25rem; }
.terms li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
  border-top: 1px solid var(--line);
}
.terms li:last-child { border-bottom: 1px solid var(--line); }
.terms b { white-space: nowrap; }
.way-btn { margin-top: auto; }
.way > :nth-last-child(2) { margin-bottom: 1.75rem; }
.way-foot {
  margin-top: auto !important;
  padding-top: 1rem;
  border-top: 2px solid rgba(19, 94, 84, 0.25);
  font-weight: 700;
}

.plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  padding: 1.5rem 2rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.plan h2 { font-size: 1.4rem; }
.plan-price { margin-left: 0.4rem; color: var(--accent); font-weight: 700; white-space: nowrap; }
.plan p { color: var(--ink-2); }

/* Home: topics */

.topics {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 4.25rem);
  background: var(--wash);
  border-block: 1px solid var(--line);
}
.topics h2, .reach h2, .section-title { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.25rem); letter-spacing: -0.01em; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem 2.5rem;
  margin-top: 2.25rem;
}
.topic-grid h3 { margin-top: 0.75rem; font-size: 1.3rem; }
.topic-grid p { margin-top: 0.3rem; color: var(--ink-2); }

/* Home: contact and paying */

.reach {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2.5rem 3.5rem;
  align-items: start;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.reach-main p { max-width: 32em; margin-top: 0.75rem; }
.reach-main .btn { margin-top: 1.5rem; }
.reach-pay { padding-left: 2.5rem; border-left: 2px solid var(--line); }
.reach-pay h3 { margin-top: 0.6rem; font-size: 1.3rem; }
.reach-pay p { margin-top: 0.3rem; }

/* Footer */

.foot { background: var(--white); border-top: 1px solid var(--line); font-size: 1.1rem; }
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.foot-links a { display: inline-block; padding-block: 0.6rem; }

/* Directors page */

.page-head { padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(1.5rem, 3vw, 2.25rem); }
.page-head h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); letter-spacing: -0.015em; }
.page-head .lede { max-width: 36em; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 1.75rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
}
.steps h2 { margin-top: 1rem; font-size: 1.35rem; }
.steps p { margin-top: 0.4rem; color: var(--ink-2); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
  padding-block: clamp(3rem, 6vw, 4.25rem);
}
.split p { margin-top: 0.75rem; }
.split .section-title + p { margin-top: 1rem; }

.fee-list { margin-top: 1.25rem; }
.fee-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
  border-top: 1px solid var(--line);
}
.fee-list li:last-child { border-bottom: 1px solid var(--line); }
.fee-list b { text-align: right; }
.fee-list .group { padding-top: 1.1rem; border-top: 0; color: var(--accent); font-weight: 700; }
.fee-list .group + li { border-top: 2px solid var(--ink); }

.topic-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.topic-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
}
.topic-list .icon { color: var(--accent); }

.sheets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.sheets a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1.5rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.sheets a:hover { border-color: var(--accent); }
.sheets b { display: flex; align-items: center; gap: 0.6rem; color: var(--accent); font-size: 1.25rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.sheets span { color: var(--ink-2); }

.cta-band { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band p { max-width: 32em; margin-top: 0.75rem; }
.cta-band .btn { margin-top: 1.5rem; }

/* Narrow screens */

@media (max-width: 60rem) {
  .board { grid-template-columns: 1fr; }
  .way + .way { border-left: 0; border-top: 2px solid var(--line); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .reach, .split { grid-template-columns: 1fr; }
  .reach-pay { padding-left: 0; padding-top: 2rem; border-left: 0; border-top: 2px solid var(--line); }
  .steps, .sheets { grid-template-columns: 1fr; }
}

@media (max-width: 40rem) {
  body { font-size: 1.1875rem; }
  .bar-inner {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.35rem;
    min-height: 4.5rem;
    padding-block: 0.65rem;
  }
  .wordmark { order: 1; flex: 1 1 auto; min-width: 0; font-size: 1.45rem; }
  .bar-nav { display: contents; }
  .bar-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    order: 3;
    flex-basis: 100%;
  }
  .bar-nav .btn { order: 2; margin-left: auto; }
  .bar-nav a:not(.btn) {
    min-height: 3rem;
    font-size: max(1.0625rem, 17px);
  }
  .way { padding: 1.6rem 1.35rem 1.75rem; }
  .way-btn { width: 100%; }
  .plan { grid-template-columns: auto 1fr; padding: 1.4rem 1.35rem; }
  .plan .btn { grid-column: 1 / -1; }
  .plan-price { display: block; margin: 0.2rem 0 0; }
  .topic-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .topic-grid li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .topic-grid li .icon { grid-row: span 2; }
  .topic-grid h3 { margin-top: 0.2rem; }
  .reach-main .btn, .cta-band .btn { width: 100%; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
