:root {
  --ink: #1b2029;
  --muted: #59616c;
  --blue: #2542d8;
  --line: #dce0e6;
  --paper: #fff;
  --soft: #f5f6f9;
  --space: clamp(24px,6vw,96px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a,
button {
  touch-action: manipulation;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 24px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(48px,6.3vw,98px);
  line-height: 1.06;
}

h2 {
  font-size: clamp(34px,3.8vw,58px);
  line-height: 1.12;
}

h3 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

h1 span,
.accent {
  color: var(--blue);
}

.section {
  padding: 100px var(--space);
  max-width: 1600px;
  margin: auto;
}

.header {
  height: 100px;
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  max-width: 1600px;
  margin: auto;
  background: white;
}

.brand {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.06em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.mark {
  position: relative;
  letter-spacing: -.13em;
  padding-right: 4px;
  font-size: 35px;
  line-height: 1;
}

.mark span {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

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

nav>a:not(.button) {
  font-size: 14px;
  padding: 12px 0;
  color: var(--muted);
}

nav>a[aria-current] {
  color: var(--ink);
  box-shadow: 0 2px var(--blue);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 16px 23px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background .2s,transform .2s;
}

.button:hover {
  background: #1930ad;
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  border-color: #bec5cf;
  color: var(--ink);
}

.button.secondary:hover {
  background: #eef0f5;
}

.eyebrow,
.number {
  font-family: 'Courier New',monospace;
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 600;
  line-height: 1.5;
}

.eyebrow {
  display: block;
  color: var(--muted);
}

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

.hero {
  padding-top: 68px;
  padding-bottom: 24px;
  background: var(--soft);
}

.hero .eyebrow {
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash {
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 36px;
}

.hero-bottom p {
  max-width: 525px;
  margin: 0;
  font-size: 20px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.hero-foot {
  border-top: 1px solid var(--line);
  margin-top: 54px;
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  font-family: 'Courier New',monospace;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.section-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1.25fr;
  gap: 35px;
  align-items: start;
  margin-bottom: 55px;
}

.section-top p {
  font-size: 17px;
  margin: 4px 0 0;
}

.section-top>.eyebrow {
  padding-top: 8px;
}

.text-link {
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #a9b3c1;
  line-height: 1.6;
}

.text-link:hover {
  color: var(--blue);
  text-decoration-color: var(--blue);
}

.section-top .text-link {
  justify-self: end;
  align-self: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
}

.service-card {
  padding: 36px 30px 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border: 0;
}

.service-card h3 {
  margin: 43px 0 18px;
  max-width: 290px;
  font-size: 30px;
}

.service-card h3 a:hover {
  color: var(--blue);
}

.service-card p {
  font-size: 17px;
  max-width: 290px;
}

.tags {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: auto;
  min-height: 74px;
}

.service-card>.text-link {
  margin-top: 25px;
}

.problem {
  background: #1b2029;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding-top: 85px;
  padding-bottom: 85px;
}

.problem .eyebrow {
  color: #b8c0cd;
  margin-bottom: 30px;
}

.problem h2 {
  font-size: clamp(48px,5.7vw,86px);
}

.problem .accent {
  color: #8e9fff;
}

.problem-copy h3 {
  font-size: 31px;
  margin: 5px 0 24px;
}

.problem-copy p {
  color: #c2c8d1;
  max-width: 500px;
}

.problem .button {
  margin-top: 12px;
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.problem .button:hover {
  background: #e0e5ff;
}

.process-strip {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  border-top: 1px solid var(--line);
}

.process-strip li {
  padding: 26px 25px 0 0;
  position: relative;
}

.process-strip li:before {
  content: '';
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.process-strip h3 {
  margin: 26px 0 15px;
  font-size: 25px;
}

.process-strip p {
  font-size: 16px;
  max-width: 200px;
  margin: 0;
}

.examples {
  background: var(--soft);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0 34px;
}

.example-grid article {
  border-top: 1px solid #cfd5de;
  padding: 26px 0 38px;
}

.example-grid h3 {
  font-size: 23px;
  line-height: 1.4;
  margin-top: 23px;
  letter-spacing: -.025em;
  max-width: 350px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 3.25fr;
  gap: 35px;
}

.about-intro p {
  max-width: 700px;
  margin-top: 28px;
}

.cta {
  background: #edf0fd;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  column-gap: 10%;
  padding-top: 72px;
  padding-bottom: 72px;
}

.cta>.eyebrow {
  grid-column: 1/-1;
  margin-bottom: 26px;
  color: var(--blue);
}

.cta h2 {
  font-size: clamp(38px,4.3vw,66px);
}

.cta p {
  max-width: 410px;
}

.email {
  display: block;
  font-size: 15px;
  margin-top: 18px;
  padding-block: 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  max-width: 1600px;
  margin: auto;
  padding: 55px var(--space) 25px;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 25px;
  align-items: center;
}

.footer p {
  font-size: 14px;
  margin: 0;
}

.footer>a:last-of-type {
  font-size: 15px;
  justify-self: end;
  padding-block: 4px;
}

.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 25px;
  font-size: 13px;
  color: var(--muted);
}

.page-hero {
  background: var(--soft);
  padding-top: 75px;
  padding-bottom: 70px;
}

.page-hero .eyebrow {
  margin-bottom: 35px;
}

.page-hero h1 {
  font-size: clamp(48px,5.8vw,88px);
}

.page-hero .actions {
  margin-top: 36px;
}

.page-hero p {
  max-width: 660px;
  font-size: 21px;
  margin: 32px 0 0;
}

.detail {
  display: grid;
  grid-template-columns: .4fr 2fr 1.35fr;
  gap: 42px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 30px;
}

.detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail:last-child {
  padding-bottom: 0;
}

.detail h2 {
  font-size: 43px;
  margin-bottom: 26px;
}

.detail h3 {
  font-size: 23px;
  margin-bottom: 20px;
}

.detail p {
  font-size: 17px;
}

.deliverables {
  background: var(--soft);
  padding: 30px;
  align-self: start;
}

.deliverables ul {
  padding: 0;
  margin: 25px 0 0;
  list-style: none;
}

.deliverables li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}

.note {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding-top: 60px;
  padding-bottom: 60px;
}

.note p {
  margin: 0;
}

.steps article {
  display: grid;
  grid-template-columns: .65fr 1.5fr 1.5fr;
  gap: 40px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.steps article:first-child {
  padding-top: 0;
  border: 0;
}

.step-num {
  font-size: 60px;
  letter-spacing: -.06em;
  color: var(--blue);
}

.steps h3 {
  font-size: 22px;
  max-width: 310px;
  margin-top: 20px;
}

.steps p {
  font-size: 17px;
}

.result {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin: 0;
}

.result .eyebrow {
  margin-bottom: 12px;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 10%;
}

.contact-section {
  background: #edf0fd;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10%;
}

.contact-section h2 {
  margin: 26px 0;
}

.contact-section p {
  max-width: 510px;
}

.contact-email {
  display: block;
  font-size: clamp(20px,2.2vw,32px);
  color: var(--blue);
  margin: 32px 0;
  letter-spacing: -.035em;
}

.contact-section .contact-guide {
  border-top: 1px solid #b9c4f0;
  padding-top: 28px;
  align-self: center;
}

.contact-section .actions {
  flex-wrap: wrap;
}

.copy-email[hidden] {
  display: none;
}

.copy-status {
  min-height: 1.65em;
  margin: 14px 0 0;
  font-size: 15px;
}

.contact-section ol {
  padding-left: 23px;
  margin: 25px 0;
}

.contact-section li {
  font-size: 17px;
  padding: 10px 0;
  line-height: 1.6;
}

.contact-section .contact-guide p {
  font-size: 15px;
}

.menu-toggle {
  display: none;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 15px;
  border: 2px solid var(--blue);
}

.skip:focus {
  top: 10px;
}

@media(min-width:1601px) {
  body {
    background: #eef0f3;
  }
  .header,
  .section,
  .footer {
    background-color: white;
  }
  .hero,
  .page-hero,
  .examples {
    background: var(--soft);
  }
  .problem {
    background: var(--ink);
  }
  .cta,
  .contact-section {
    background: #edf0fd;
  }
}

@media(max-width:1100px) {
  nav {
    gap: 18px;
  }
  .header {
    height: 90px;
  }
  .section-top {
    grid-template-columns: .8fr 2fr;
  }
  .section-top>p,
  .section-top>.text-link {
    grid-column: 2;
    justify-self: start;
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
  .service-card {
    padding: 28px 22px;
  }
  .service-card h3 {
    font-size: 26px;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer>p {
    display: none;
  }
  .detail {
    grid-template-columns: .25fr 1.5fr 1fr;
    gap: 25px;
  }
  .detail h2 {
    font-size: 34px;
  }
}

@media(max-width:760px) {
  .header {
    height: 80px;
    position: relative;
  }
  .brand {
    font-size: 22px;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    padding: 10px 14px;
    min-height: 44px;
    color: var(--ink);
  }
  nav {
    display: none;
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    background: white;
    z-index: 10;
    padding: 20px var(--space) 28px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 6px;
    box-shadow: 0 15px 25px #1b20290a;
  }
  nav.open {
    display: flex;
    flex-direction: column;
  }
  nav>a:not(.button) {
    padding: 12px;
    font-size: 16px;
  }
  nav>a[aria-current] {
    box-shadow: none;
    color: var(--blue);
  }
  nav .button {
    margin-top: 8px;
  }
  .section {
    padding: 65px var(--space);
  }
  .hero {
    padding-top: 45px;
    padding-bottom: 22px;
  }
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: .05em;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: clamp(40px,8.4vw,63px);
  }
  .hero-bottom {
    margin-top: 26px;
  }
  .hero-bottom p {
    font-size: 18px;
  }
  .actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .button {
    padding: 14px 18px;
    font-size: 14px;
  }
  .hero-foot {
    margin-top: 38px;
    font-size: 12px;
  }
  .section-top {
    display: block;
    margin-bottom: 34px;
  }
  .section-top .eyebrow {
    margin-bottom: 20px;
  }
  .section-top p,
  .section-top .text-link {
    display: block;
    margin-top: 22px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 27px;
  }
  .service-card h3 {
    margin-top: 25px;
    max-width: 100%;
    font-size: 30px;
  }
  .service-card p {
    max-width: 100%;
  }
  .tags {
    min-height: 0;
  }
  .problem {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .problem h2 {
    font-size: 56px;
  }
  .problem-copy h3 {
    font-size: 28px;
  }
  .process-strip {
    grid-template-columns: 1fr;
  }
  .process-strip li {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 8px 12px;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .process-strip li:before {
    display: none;
  }
  .process-strip h3 {
    margin: 0;
  }
  .process-strip p {
    grid-column: 2;
    max-width: none;
  }
  .example-grid {
    grid-template-columns: 1fr;
  }
  .example-grid article {
    padding: 24px 0 30px;
  }
  .example-grid h3 {
    max-width: 100%;
    margin-top: 18px;
  }
  .about-intro,
  .cta,
  .about-story,
  .contact-section,
  .note {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-intro p {
    margin-top: 24px;
  }
  .cta>.eyebrow {
    margin-bottom: 0;
  }
  .footer {
    padding: 38px var(--space) 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer>a:last-of-type {
    justify-self: start;
  }
  .footer-bottom {
    font-size: 12px;
    gap: 20px;
    line-height: 1.5;
  }
  .page-hero h1 {
    font-size: clamp(40px,8.5vw,66px);
  }
  .page-hero p {
    font-size: 19px;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 42px 0;
  }
  .detail h2 {
    font-size: 35px;
  }
  .deliverables {
    padding: 25px;
  }
  .steps article {
    grid-template-columns: 50px 1fr;
    gap: 22px 18px;
    padding: 32px 0;
  }
  .step-num {
    font-size: 42px;
  }
  .steps article>div:last-child {
    grid-column: 2;
  }
  .steps h2 {
    font-size: 35px;
  }
  .steps h3 {
    margin-top: 14px;
  }
  .contact-email {
    font-size: 25px;
  }
  .contact-section .contact-guide {
    margin-top: 15px;
  }
  .note h2 {
    font-size: 32px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none!important;
    animation: none!important;
  }
}

@media(prefers-reduced-motion:no-preference) {
  main {
    animation: enter .5s ease-out;
  }
  @keyframes enter {
    from {
      opacity: .4;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Shared navigation and accessible controls. */
.footer-nav {
  grid-column: 1/-1;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.detail .result {
  margin-bottom: 24px;
}

.problem a:focus-visible {
  outline-color: #aebaff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.header nav>a:not(.button) {
  min-height: 44px;
}

@media(max-width:760px) {
  .footer-nav {
    display: flex;
    position: static;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    flex-direction: row;
    gap: 8px 24px;
  }
  .footer-nav>a:not(.button) {
    padding: 8px 0;
  }
  .hero-foot {
    letter-spacing: .03em;
  }
  .hero h1 {
    font-size: clamp(34px,8.4vw,63px);
  }
}
