:root {
  --ink: #171717;
  --muted: #5d646f;
  --line: #e8e8e8;
  --paper: #ffffff;
  --soft: #f7f7f4;
  --blue: #0067ff;
  --orange: #ea6c11;
  --red: #cd3e27;
  --forest: #00463e;
  --green: #36871c;
  --sky: #80d7ef;
  --slf: #8f2a62;
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 100%;
}

nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 12px;
}

nav a:hover {
  border-color: var(--line);
  color: var(--ink);
}

main {
  max-width: 100vw;
  overflow: hidden;
}

.hero,
.closing {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(72px, 12vw, 150px) 24px clamp(56px, 9vw, 96px);
}

.hero {
  min-height: 76vh;
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow.blue {
  color: var(--blue);
}

.eyebrow.orange {
  color: var(--orange);
}

.eyebrow.forest {
  color: var(--forest);
}

.eyebrow.magenta {
  color: var(--slf);
}

h1,
h2,
h3,
h4,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
  margin: 0;
  max-width: 970px;
  overflow-wrap: break-word;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  margin: 28px 0 0;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  min-height: 46px;
  padding: 0 20px;
}

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

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.summary-grid {
  background: var(--soft);
  border-block: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-grid article {
  background: var(--soft);
  min-height: 230px;
  padding: clamp(24px, 4vw, 54px);
}

.summary-grid span {
  color: var(--muted);
  font-weight: 800;
}

.summary-grid h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  margin: 22px 0 12px;
}

.summary-grid p,
.prototype-copy p,
.prototype-copy li,
.closing p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.prototype {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  margin: 0 auto;
  max-width: 1480px;
  padding: clamp(64px, 9vw, 116px) 24px;
  width: 100%;
}

.prototype.alt {
  background: #fbfbfb;
}

.prototype.alt .prototype-copy {
  order: 2;
}

.prototype.alt .prototype-shot,
.prototype.alt .coded-shot {
  order: 1;
}

.prototype-copy {
  max-width: 560px;
  padding-left: clamp(0px, 3vw, 48px);
}

.prototype-copy h2,
.closing h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  margin: 0 0 20px;
}

.prototype-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.message-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 28px;
  padding: 18px;
}

.message-card strong {
  display: block;
  margin-bottom: 6px;
}

.message-card p {
  font-size: 15px;
  margin: 0;
}

.prototype-shot {
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.13);
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.prototype-shot img {
  display: block;
  height: auto;
  width: 100%;
}

.coded-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
  min-height: 620px;
  overflow: hidden;
  width: 100%;
}

.cpaws-shot {
  background: #fffdfc;
  color: #293a3a;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.mini-nav {
  align-items: center;
  border-bottom: 1px solid rgba(41, 58, 58, 0.18);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 20px 28px;
}

.mini-nav strong {
  font-size: 24px;
  font-weight: 900;
}

.mini-nav span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.cpaws-hero {
  background: #00463e;
  color: #fffdfc;
  padding: 56px 48px;
}

.cpaws-hero p {
  color: #80d7ef;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.cpaws-hero h3 {
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 900;
  line-height: 0.96;
  margin: 0;
  max-width: 720px;
}

.action-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 24px;
}

.action-cards article {
  background: #f9f4ed;
  border-top: 8px solid #36871c;
  min-height: 210px;
  padding: 22px;
}

.action-cards span {
  color: #36871c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.action-cards h4 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  margin: 18px 0 12px;
}

.action-cards p {
  color: #293a3a;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.slf-shot {
  background:
    linear-gradient(135deg, rgba(143, 42, 98, 0.08), transparent 45%),
    #fff;
  color: #23191f;
  padding: 28px;
}

.slf-topline {
  border-bottom: 1px solid rgba(143, 42, 98, 0.22);
  color: var(--slf);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding-bottom: 18px;
  text-transform: uppercase;
}

.story-panel {
  background: #8f2a62;
  color: #fff;
  margin-top: 28px;
  padding: 54px 44px;
}

.story-panel h3 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  margin: 0 0 20px;
}

.story-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
  line-height: 1.5;
  max-width: 620px;
}

.story-panel button {
  background: #fff;
  border: 0;
  border-radius: 999px;
  color: #8f2a62;
  font: inherit;
  font-weight: 900;
  margin-top: 20px;
  padding: 14px 18px;
}

.module-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.module-grid article {
  background: #f7f1f5;
  border: 1px solid rgba(143, 42, 98, 0.14);
  min-height: 160px;
  padding: 20px;
}

.module-grid p {
  color: #685c64;
  font-size: 14px;
  line-height: 1.45;
}

.closing {
  text-align: center;
}

.closing p {
  margin: 0 auto 28px;
  max-width: 720px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  nav a {
    flex: 0 0 auto;
  }

  .summary-grid,
  .prototype,
  .action-cards,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .prototype {
    max-width: 760px;
  }

  .prototype.alt .prototype-copy,
  .prototype.alt .prototype-shot,
  .prototype.alt .coded-shot {
    order: initial;
  }

  .prototype-copy {
    padding-left: 0;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow-wrap: anywhere;
  }

  .site-header {
    position: static;
    gap: 16px;
    padding: 16px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 36px;
    line-height: 1;
    max-width: calc(100vw - 32px);
    overflow-wrap: anywhere;
    white-space: normal;
    width: calc(100vw - 32px);
  }

  .hero,
  .closing {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero > *,
  .closing > *,
  .summary-grid article > *,
  .prototype-copy > * {
    max-width: calc(100vw - 32px);
  }

  .summary-grid article,
  .prototype {
    padding-left: 16px;
    padding-right: 16px;
  }

  .prototype-copy h2,
  .closing h2 {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 1;
  }

  .hero-copy,
  .summary-grid p,
  .prototype-copy p,
  .prototype-copy li,
  .closing p {
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .coded-shot {
    min-height: auto;
  }

  .mini-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
  }

  .cpaws-hero,
  .story-panel {
    padding: 32px 18px;
  }

  .cpaws-hero h3,
  .story-panel h3 {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 1;
  }

  .action-cards,
  .module-grid {
    padding: 16px;
  }

  .slf-shot {
    padding: 18px;
  }
}
