:root {
  color-scheme: light;
  --cream: #f7f5ef;
  --evergreen: #183630;
  --diagram-green: #173b36;
  --coral-light: #f18467;
  --coral-dark: #c55f43;
  --mint: #e2eee7;
  --muted: #506c65;
  --line: #c7d3cb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--evergreen);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--coral-dark);
  outline-offset: 5px;
}

.site-footer a:focus-visible { outline-color: var(--coral-dark); }

.skip-link {
  position: absolute;
  top: 8px;
  left: 32px;
  z-index: 2;
  padding: 12px 18px;
  transform: translateY(-180%);
  border-radius: 5px;
  background: var(--evergreen);
  color: var(--cream);
  font-weight: 700;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  padding: 22px max(48px, calc((100% - 1280px) / 2));
  border-bottom: 1px solid var(--line);
}

.wordmark {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -2.7px;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  position: relative;
  color: transparent;
  letter-spacing: 0;
}

.wordmark span::after {
  position: absolute;
  left: .04em;
  bottom: .28em;
  width: .17em;
  height: .17em;
  border-radius: 50%;
  background: var(--coral-dark);
  content: "";
}

nav { display: flex; align-items: center; gap: 32px; }

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 40px;
  padding: 32px 0 16px;
}

.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1200px; text-align: center; }
.hero-copy h1 { width: 100%; }

.hero, .idea, .approach, .footer-content {
  width: min(calc(100% - 96px), 1280px);
  margin-inline: auto;
}

.eyebrow,
.footer-bottom {
  font-family: var(--mono);
  font-weight: 400;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1.7px;
  line-height: 1.6;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-block: 0 32px;
  font-family: var(--serif);
  font-size: clamp(64px, 5.5vw, 104px);
  font-weight: 400;
  letter-spacing: -3px;
  line-height: 1.06;
}

.keep-together { white-space: nowrap; }

h1 em { display: block; color: var(--coral-dark); font-weight: 700; }

.hero-description {
  width: 100%;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 23px;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 64px;
  padding: 16px 27px;
  border-radius: 8px;
  background: var(--evergreen);
  color: var(--cream);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.button:hover { background: #28554a; }

.connection {
  --connector-length: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: center;
  width: min(100%, 960px);
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--evergreen);
}

.connection-illustration {
  position: relative;
  display: grid;
  align-items: center;
}

.connection-sequence {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--connector-length);
  margin: 0;
  padding: 0;
  list-style: none;
}

.connection-stop { position: relative; min-width: 0; }

.connection-stop:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: var(--connector-length);
  border-top: 1px solid var(--muted);
  content: "";
}

.connection-stop:not(:last-child)::before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: calc(100% + var(--connector-length) / 2);
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--coral-light);
  content: "";
}

.connection-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--evergreen);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.connection-node span { max-width: 220px; text-wrap: balance; }

.connection-icon,
.gateway-icon {
  flex: none;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connection-gateway {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 104px;
  margin-inline: auto;
  padding: 18px 24px;
  clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%);
  background: var(--coral-light);
  color: var(--evergreen);
}

.gateway-heading { display: flex; align-items: center; justify-content: center; gap: 6px; }
.gateway-icon { width: 26px; height: 26px; }
.gateway-title { display: block; font-size: 20px; font-weight: 700; line-height: 1.3; }

.gateway-detail {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.idea {
  padding: 54px 0 0;
}

.idea p {
  margin: 0;
  padding-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.approach { padding: 54px 0 68px; }

.idea h2,
.approach h2,
.contact h2 {
  margin-bottom: 36px;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.2;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.idea p, .principles li {
  position: relative;
  border-top: 1px solid var(--line);
}

.principles li { padding-top: 24px; }

.idea p::before,
.principles li::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--coral-dark);
  content: "";
}

.principles h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.3; }
.principles p { margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.site-footer { background: var(--evergreen); color: var(--cream); }

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 58px 0 50px;
}

.about .eyebrow { margin-bottom: 20px; color: #b0cabc; }

.footer-content p { margin-bottom: 0; color: #c3d4ca; font-size: 18px; line-height: 1.7; }
.about p { max-width: 700px; }
.contact h2 { margin-bottom: 20px; font-size: 40px; }
.contact p { margin-bottom: 22px; }

.email {
  display: inline-block;
  padding-block: 3px 6px;
  color: var(--coral-light);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
}

.email:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 23px max(48px, calc((100% - 1280px) / 2));
  border-top: 1px solid #456156;
  color: #b0cabc;
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom p { margin: 0; }

.privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 12px;
  text-underline-offset: 3px;
}

.privacy-page {
  width: min(calc(100% - 64px), 760px);
  margin-inline: auto;
  padding-block: 48px 64px;
}

.privacy-page h1 { font-size: 44px; letter-spacing: -1px; line-height: 1.2; }
.privacy-page h2 { margin-block: 28px 12px; font-size: 22px; line-height: 1.3; }
.privacy-page p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.privacy-page a { text-underline-offset: 3px; }

@media (max-width: 1200px) {
  .site-header { padding-inline: 32px; }
  .hero, .idea, .approach, .footer-content { width: calc(100% - 64px); }
  .hero { gap: 36px; padding: 32px 0 20px; }
  h1 { font-size: clamp(52px, 6.25vw, 76px); letter-spacing: -2.8px; }
  .hero-description { font-size: 20px; }
  .idea { padding: 44px 0 0; }
  .approach { padding: 44px 0 56px; }
  .footer-content { gap: 36px; padding: 48px 0; }
  .contact h2 { font-size: 34px; }
  .footer-bottom { padding-inline: 32px; }
}

@media (max-width: 900px) {
  .connection { --connector-length: 64px; }
  .connection-node { font-size: 16px; }
  .gateway-title { font-size: 18px; }
  .gateway-detail { font-size: 13px; }
  .footer-content { grid-template-columns: minmax(0, 1fr); gap: 42px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 16px; }
  .site-header { gap: 8px; min-height: 73px; padding: 15px 20px; }
  .hero, .idea, .approach, .footer-content { width: calc(100% - 40px); }
  .wordmark { font-size: 32px; letter-spacing: -2.1px; }
  nav { gap: 8px; }
  nav a { font-size: 12px; letter-spacing: .3px; }
  .hero { gap: 28px; padding: 28px 0 24px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.2px; line-height: 1.7; }
  h1 { margin-block: 0 24px; font-size: clamp(42px, 9vw, 64px); letter-spacing: -2px; line-height: 1.08; }
  .hero-description { margin-bottom: 24px; font-size: 17px; line-height: 1.6; }
  .button { min-height: 47px; padding: 13px 19px; border-radius: 5px; font-size: 13px; }
  .connection { --connector-length: 24px; width: min(100%, 340px); }
  .connection-sequence { grid-template-columns: minmax(0, 1fr); }
  .connection-stop:not(:last-child)::after { top: 100%; left: 50%; width: 0; height: var(--connector-length); border-top: 0; border-left: 1px solid var(--muted); }
  .connection-stop:not(:last-child)::before { top: calc(100% + var(--connector-length) / 2); left: 50%; }
  .connection-node { flex-direction: row; gap: 10px; font-size: 16px; }
  .connection-node span { max-width: none; }
  .connection-icon { width: 28px; height: 28px; }
  .connection-gateway { width: min(100%, 320px); min-height: 96px; padding: 16px 22px; }
  .gateway-icon { width: 24px; height: 24px; }
  .idea { padding: 32px 0 0; }
  .idea p { padding-top: 16px; font-size: 14px; }
  .approach { padding: 32px 0 36px; }
  .idea h2, .approach h2 { margin-bottom: 24px; font-size: 32px; letter-spacing: -.7px; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .principles li { padding-top: 16px; }
  .principles h3 { margin-bottom: 6px; font-size: 17px; }
  .principles p { font-size: 14px; }
  .footer-content { gap: 42px; padding: 34px 0 36px; }
  .about .eyebrow { margin-bottom: 14px; }
  .footer-content p { font-size: 14px; line-height: 1.6; }
  .contact h2 { margin-bottom: 16px; font-size: clamp(26px, 6.6vw, 30px); letter-spacing: -.7px; }
  .contact p { margin-bottom: 14px; }
  .email { font-size: 18px; }
  .footer-bottom { padding: 17px 20px; font-size: 10px; }
  .privacy-page { width: calc(100% - 40px); padding-block: 32px 40px; }
  .privacy-page h1 { font-size: 32px; }
  .privacy-page p { font-size: 16px; }
}

@media (max-width: 360px) {
  .site-header { padding-inline: 18px; }
  .wordmark { font-size: 29px; }
  .hero, .idea, .approach, .footer-content { width: calc(100% - 36px); }
  .footer-bottom { padding-inline: 18px; }
  h1 { letter-spacing: -1.8px; }
}
