:root {
  --paper: #f7f7f2;
  --paper-warm: #eeeee7;
  --ink: #151713;
  --muted: #646961;
  --line: #d4d6cf;
  --green: #254a3c;
  --green-dark: #19362c;
  --sage: #dce7df;
  --blue: #dce5ee;
  --yellow: #efd262;
  --white: #fffef9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
}

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

.wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: repeat(4, 6px);
  grid-template-rows: repeat(4, 6px);
  gap: 2px;
}

.brand-mark i {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--green);
}

.brand-mark i:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.brand-mark i:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.brand-mark i:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.brand-mark i:nth-child(4) {
  grid-column: 4;
  grid-row: 1;
  background: var(--yellow);
}

.brand-mark i:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.brand-mark i:nth-child(6) {
  grid-column: 2;
  grid-row: 3;
}

.brand-mark i:nth-child(7) {
  grid-column: 1;
  grid-row: 4;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 15px;
  letter-spacing: -0.035em;
}

.brand-name strong {
  font-weight: 700;
}

.brand-name > span {
  font-weight: 400;
}

.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}

.site-header nav a,
.email-link {
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.email-link:hover,
.email-link:focus-visible {
  border-color: currentColor;
  outline: none;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  padding-block: 92px;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 24px 0 0;
  font-size: clamp(64px, 7.2vw, 104px);
  font-weight: 600;
  letter-spacing: -0.072em;
  line-height: 0.92;
}

.hero-side {
  align-self: end;
  padding-bottom: 14px;
}

.pattern-grid {
  width: 176px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 64px;
}

.pattern-grid i {
  aspect-ratio: 1;
  display: block;
  background: var(--green);
}

.pattern-grid i:nth-child(2),
.pattern-grid i:nth-child(6) {
  background: var(--yellow);
}

.pattern-grid i:nth-child(4),
.pattern-grid i:nth-child(5) {
  background: var(--sage);
}

.pattern-grid i:nth-child(7) {
  border-radius: 50%;
}

.hero-side > p {
  margin: 0 0 34px;
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.email-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
}

.email-link span {
  color: var(--green);
}

.statement-band {
  padding-block: 22px;
  background: var(--green);
  color: var(--white);
}

.statement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.statement-inner i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
}

.services {
  padding-block: clamp(90px, 10vw, 138px);
}

.section-header {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 58px;
}

.section-header h2,
.working-note h2,
.contact h2 {
  margin: 0;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-header > p:last-child {
  max-width: 420px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 2px;
}

.featured {
  min-height: 440px;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.5vw, 46px);
}

.migration-card {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.commerce-card {
  background: var(--blue);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-number,
.service-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-number {
  color: var(--green);
}

.migration-card .service-number,
.migration-card .service-type {
  color: #c5d6cd;
}

.featured h3 {
  max-width: 510px;
  margin: 38px 0 20px;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.featured p {
  max-width: 520px;
  margin: 0;
  color: #536058;
  font-size: 15px;
  line-height: 1.55;
}

.migration-card p {
  color: #d5e1da;
}

.featured ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.featured li {
  padding: 7px 10px;
  border: 1px solid rgba(21, 23, 19, 0.24);
  border-radius: 999px;
  font-size: 11px;
}

.migration-card li {
  border-color: rgba(255, 255, 255, 0.28);
}

.compact-card {
  min-height: 270px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 27px;
  background: var(--white);
}

.compact-card h3 {
  margin: auto 0 16px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.compact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.last-card {
  grid-column: 3 / span 2;
}

.working-note {
  display: grid;
  grid-template-columns: 0.7fr 2.1fr;
  gap: 44px;
  padding-block: clamp(76px, 9vw, 126px);
  border-top: 1px solid var(--line);
}

.working-note > div {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: end;
}

.working-note h2 {
  max-width: 690px;
}

.working-note div > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.contact {
  padding-block: clamp(70px, 8vw, 108px);
  background: var(--yellow);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: end;
}

.contact .kicker {
  color: #6a5a1c;
}

.contact h2 {
  max-width: 720px;
  margin-top: 22px;
}

.contact a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(21, 23, 19, 0.55);
  border-bottom: 1px solid rgba(21, 23, 19, 0.55);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.site-footer {
  min-height: 138px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 11px;
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .section-header {
    grid-template-columns: 0.5fr 1fr;
  }

  .section-header > p:last-child {
    grid-column: 2;
  }

  .compact-card {
    grid-column: span 3;
  }

  .last-card {
    grid-column: 1 / span 3;
  }

  .working-note > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 74px;
  }

  .site-header nav {
    gap: 18px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 64px 72px;
  }

  .hero h1 {
    font-size: clamp(55px, 17vw, 78px);
  }

  .hero-side {
    display: grid;
    grid-template-columns: 94px 1fr;
    gap: 25px;
    align-items: start;
    padding: 0;
  }

  .pattern-grid {
    width: 94px;
    gap: 4px;
    margin: 0;
  }

  .hero-side > p {
    margin: 0;
    font-size: 15px;
  }

  .email-link {
    grid-column: 2;
  }

  .statement-inner {
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .statement-inner span:nth-of-type(3),
  .statement-inner i:nth-of-type(2) {
    display: none;
  }

  .services {
    padding-block: 82px;
  }

  .section-header,
  .working-note,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-header {
    gap: 24px;
    margin-bottom: 42px;
  }

  .section-header > p:last-child {
    grid-column: auto;
  }

  .section-header h2,
  .working-note h2,
  .contact h2 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured,
  .compact-card,
  .last-card {
    min-height: 0;
    grid-column: auto;
  }

  .featured {
    padding: 30px;
  }

  .featured h3 {
    margin-top: 64px;
    font-size: 38px;
  }

  .featured ul {
    margin-top: 32px;
  }

  .compact-card {
    min-height: 218px;
    padding: 24px;
  }

  .working-note {
    gap: 34px;
  }

  .contact-inner {
    gap: 48px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 32px;
  }

  .site-footer p:last-child {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .site-header nav a:first-child {
    display: none;
  }

  .hero h1 {
    font-size: 53px;
  }

  .hero-side {
    grid-template-columns: 76px 1fr;
  }

  .pattern-grid {
    width: 76px;
  }

  .contact a {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
