:root {
  font:
    17px/1.65 Arial,
    Helvetica,
    sans-serif;
  color: #10293c;
  background: #fff;
  --navy: #10293c;
  --blue: #1559a4;
  --pale: #eef5fa;
  --line: #cbd8e2;
  --grey: #4b6273;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.035em;
}
h1 {
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
}
h2 {
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
}
h3 {
  font-weight: 600;
  font-size: 1.3rem;
}
p {
  margin-bottom: 1.15rem;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--blue);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figcaption {
  font-size: 0.66rem;
  letter-spacing: 0.025em;
  color: var(--grey);
  padding: 0.8rem 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #da7422;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.container,
.topbar {
  max-width: 1350px;
  padding: 0 50px;
  margin: auto;
}
header {
  border-top: 5px solid var(--blue);
  border-bottom: 1px solid var(--line);
}
.topbar {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.025em;
  line-height: 1.15;
}
.brand > span {
  font-size: 3rem;
  color: var(--blue);
  font-weight: 400;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  margin-top: 9px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 0.83rem;
}
nav a {
  text-decoration: none;
}
nav a:last-child {
  color: var(--blue);
  font-weight: 700;
}
.eyeline {
  font-family: monospace;
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 20px;
}
.home-lead {
  padding: 65px 0 40px;
}
.home-lead > div {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: end;
}
.home-lead h1 {
  font-size: clamp(3.4rem, 7vw, 6.1rem);
  line-height: 1;
}
.intro {
  font-size: 1.13rem;
  line-height: 1.6;
  max-width: 850px;
  color: var(--grey);
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 22px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: white;
  text-decoration: none;
}
.action:hover {
  background: #0e4076;
  color: white;
}
.action:disabled {
  background: #536b7f;
  border-color: #536b7f;
  cursor: not-allowed;
}
.secondary {
  background: transparent;
  color: var(--blue);
}
.secondary:hover {
  background: var(--pale);
  color: var(--blue);
}
.light {
  background: white;
  color: var(--navy);
  border-color: white;
}
.loop {
  background: var(--pale);
  border: 1px solid var(--line);
}
.loop figure {
  padding: 20px 35px 0;
}
.loop figure > img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
}
.loop-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.loop-controls button {
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 0.76rem;
  text-align: left;
  padding: 20px;
  line-height: 1.4;
}
.loop-controls button:last-child {
  border-right: 0;
}
.loop-controls span {
  font-family: monospace;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}
.loop-controls [aria-pressed="true"] {
  background: var(--blue);
  color: white;
}
.loop-controls [aria-pressed="true"] span {
  color: white;
}
#loop-detail {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 35px;
  align-items: center;
}
#loop-detail p {
  max-width: 740px;
  font-size: 0.86rem;
  margin-bottom: 0;
}
#loop-detail h3 {
  margin-bottom: 12px;
}
#loop-detail .eyeline {
  margin-bottom: 10px;
}
#loop-detail a {
  flex-shrink: 0;
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.quick-links a {
  text-decoration: none;
}
.section {
  padding: 65px 0;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  margin-bottom: 28px;
}
.section-intro {
  max-width: 750px;
  font-size: 1.05rem;
}
.module-list {
  margin: 30px 0;
}
.module-list article {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  border-top: 1px solid var(--line);
  padding: 32px 0;
  align-items: center;
}
.module-drawing {
  display: block;
  background: var(--pale);
}
.module-list h3 a {
  text-decoration: none;
}
.module-list h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.module-list p {
  font-size: 0.94rem;
  max-width: 780px;
}
.underlink {
  font-size: 0.84rem;
  font-weight: 600;
}
.module-list .eyeline {
  margin-bottom: 12px;
}
.reading-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}
.reading-list > a {
  padding: 30px;
  text-decoration: none;
  position: relative;
}
.reading-list > a + a {
  border-left: 1px solid var(--line);
}
.reading-list span {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--blue);
}
.reading-list h3 {
  margin: 25px 0 18px;
  font-size: 1.65rem;
}
.reading-list p {
  font-size: 0.88rem;
  color: var(--grey);
}
.reading-list b {
  font-size: 1.4rem;
}
.blue-band {
  background: var(--navy);
  color: white;
  padding: 55px;
  margin: 65px 0 0;
}
.blue-band p {
  max-width: 760px;
  margin: 25px 0;
}
.workspace {
  padding: 32px;
  background: var(--pale);
  border: 1px solid var(--line);
  margin: 25px 0;
}
.question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.question-grid > label,
.form-grid > label {
  min-width: 0;
}
label {
  display: block;
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 22px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #788b9b;
  border-radius: 0;
  background: white;
  color: var(--navy);
  padding: 12px;
  margin-top: 10px;
  font-size: 0.86rem;
  line-height: 1.4;
}
textarea {
  resize: vertical;
}
.tool-output {
  margin-top: 25px;
  padding: 25px;
  background: white;
  border-left: 4px solid var(--blue);
}
.tool-output:empty {
  display: none;
}
.tool-output h2 {
  font-size: 1.55rem;
  margin-bottom: 20px;
}
.tool-output li {
  padding: 5px 0;
  font-size: 0.88rem;
}
.tool-output p {
  font-size: 0.9rem;
}
.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 20px;
}
.numbers b {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--blue);
  overflow-wrap: anywhere;
}
.numbers span {
  font-size: 0.74rem;
}
.fine {
  font-size: 0.74rem;
  color: var(--grey);
  margin-top: 20px;
}
.page-heading {
  padding: 48px 0 45px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.page-heading h1 {
  max-width: 1000px;
  margin: 24px 0;
}
.crumb {
  font-size: 0.73rem;
  color: var(--grey);
}
.page-heading .intro {
  max-width: 950px;
}
.table-scroll {
  overflow: auto;
  margin-top: 25px;
}
table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}
th,
td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead {
  background: var(--navy);
  color: white;
}
tbody th {
  font-weight: 600;
  width: 25%;
}
tbody tr:nth-child(even) {
  background: var(--pale);
}
.three-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.three-notes h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.three-notes p {
  font-size: 0.93rem;
}
.module-hero {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  align-items: center;
  padding: 20px 0;
}
.module-hero img {
  width: 100%;
  background: var(--pale);
}
.split-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.split-notes h2 {
  font-size: 1.9rem;
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 70px;
  margin-top: 50px;
}
.article-part {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.article-part h2 {
  font-size: 2rem;
  margin: 0 0 20px;
}
.article-part p {
  max-width: 760px;
}
.article-grid aside {
  background: var(--pale);
  padding: 30px;
  align-self: start;
}
.article-grid aside h2 {
  font-size: 1.5rem;
  margin-bottom: 25px;
}
.article-grid aside p {
  font-size: 0.85rem;
  margin-top: 20px;
}
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 55px;
}
.quote-layout > aside {
  padding-top: 35px;
}
.quote-layout > aside h2 {
  font-size: 2.6rem;
  margin-bottom: 25px;
}
.quote-layout .workspace {
  margin-top: 0;
}
.quote-layout details {
  border-top: 1px solid var(--line);
  padding: 20px 0 5px;
}
.quote-layout summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  font-weight: 400;
}
.consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0;
}
.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#form-status,
[data-receipt-notice] {
  font-size: 0.82rem;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
[data-new-project] {
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  font-size: 0.85rem;
}
.reference-list li {
  padding: 14px 0;
}
main.container {
  padding-bottom: 70px;
}
footer {
  background: var(--pale);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 65px;
  padding: 60px 0 40px;
}
.footer-top h2 {
  font-size: 2.3rem;
  margin-bottom: 25px;
}
.footer-top h3 {
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.footer-top > div:not(:first-child) > a {
  display: block;
  font-size: 0.82rem;
  text-decoration: none;
  margin: 12px 0;
}
.footer-top .fine {
  max-width: 520px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  font-size: 0.69rem;
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  .container,
  .topbar {
    padding-left: 30px;
    padding-right: 30px;
  }
  nav {
    gap: 16px;
  }
  .home-lead > div {
    gap: 40px;
  }
  .question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-grid {
    gap: 30px;
    grid-template-columns: 1fr 270px;
  }
  .module-list article {
    grid-template-columns: 270px 1fr;
    gap: 30px;
  }
  .quote-layout {
    gap: 30px;
  }
  #loop-detail {
    display: block;
  }
  #loop-detail a {
    margin-top: 22px;
  }
  .reading-list > a {
    padding: 24px;
  }
}
@media (max-width: 700px) {
  :root {
    font-size: 16px;
  }
  .container,
  .topbar {
    padding-left: 20px;
    padding-right: 20px;
  }
  .topbar {
    display: block;
    padding-top: 18px;
    padding-bottom: 20px;
    min-height: 0;
  }
  .brand {
    font-size: 0.76rem;
  }
  .brand > span {
    font-size: 2.5rem;
  }
  .brand small {
    font-size: 0.5rem;
  }
  nav {
    margin-top: 18px;
    gap: 15px 20px;
    font-size: 0.76rem;
  }
  .home-lead {
    padding: 40px 0 30px;
  }
  .home-lead > div {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-lead h1 {
    font-size: 4rem;
  }
  .eyeline {
    font-size: 0.61rem;
  }
  .loop figure {
    padding: 10px 10px 0;
  }
  .loop figure > img {
    min-height: 190px;
  }
  .loop-controls {
    grid-template-columns: 1fr;
  }
  .loop-controls button {
    padding: 15px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 15px;
  }
  .loop-controls span {
    margin: 0;
  }
  .loop-controls button:last-child {
    border-bottom: 0;
  }
  #loop-detail {
    padding: 24px 20px;
  }
  .quick-links {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .section {
    padding: 40px 0;
  }
  .module-list article {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .module-list h3 {
    font-size: 1.6rem;
  }
  .reading-list {
    grid-template-columns: 1fr;
  }
  .reading-list > a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .reading-list h3 {
    font-size: 1.6rem;
    margin: 18px 0;
  }
  .blue-band {
    padding: 30px 24px;
    margin-top: 40px;
  }
  .blue-band h2 {
    font-size: 2rem;
  }
  .workspace {
    padding: 22px 18px;
  }
  .question-grid,
  .form-grid,
  .three-notes,
  .split-notes,
  .article-grid,
  .module-hero,
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .question-grid,
  .form-grid {
    gap: 0;
  }
  .tool-output {
    padding: 20px 16px;
  }
  .numbers {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .numbers > div {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .numbers b {
    font-size: 1.8rem;
  }
  .page-heading {
    padding-top: 30px;
    padding-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 2.5rem;
  }
  .article-grid {
    margin-top: 30px;
  }
  .article-part h2 {
    font-size: 1.8rem;
  }
  .article-grid aside {
    margin-top: 0;
  }
  .quote-layout > aside {
    padding-top: 0;
  }
  .quote-layout > aside h2 {
    font-size: 2rem;
  }
  .quote-layout .workspace {
    min-width: 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .footer-top h2 {
    font-size: 2rem;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom a {
    display: block;
    margin-top: 15px;
  }
  .table-scroll {
    margin-bottom: 20px;
  }
  main.container {
    padding-bottom: 45px;
  }
}

#loop-detail h2 {
  font-size: 1.3rem;
  font-weight: 600;
}
