@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* 01. Theme color variables */
:root {
  --ink: #172b30;
  --muted: #5e7073;
  --paper: #f6f7f2;
  --line: #d4dcd5;
  --accent: #d5f07c;
}


/* 02. Global styles and keyboard accessibility */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px 'DM Sans',system-ui,sans-serif;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,button:focus-visible {
  outline: 3px solid #397d71;
  outline-offset: 5px;
}

.skip {
  position: absolute;
  top: -80px;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 8px;
  z-index: 10;
}


/* 03. Page containers and navigation */
header,main,footer {
  max-width: 1320px;
  margin: auto;
}

header {
  padding: 30px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 1.3px;
  font-weight: 800;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  margin-top: 4px;
}

.star {
  font-size: 40px;
  font-weight: 400;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
  font-size: 14px;
}

nav a:hover {
  text-decoration: underline;
}

#language {
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 4px;
}


/* 04. Hero, typography, and buttons */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  padding: 86px 48px 88px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 700;
  margin: 0 0 26px;
}

h1,h2,h3 {
  font-family: Manrope,system-ui,sans-serif;
}

h1 {
  font-size: clamp(40px,4.5vw,62px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -2.6px;
  margin: 0 0 26px;
}

p {
  line-height: 1.75;
}

.intro {
  color: var(--muted);
  max-width: 490px;
  font-size: 17px;
  margin-bottom: 32px;
}

.button {
  background: var(--ink);
  color: white;
  border: 0;
  padding: 17px 22px;
  display: inline-block;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

.button:hover {
  background: #31544d;
}

.subnote {
  display: block;
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .6px;
}


/* 05. Commerce architecture illustration */
.system {
  height: 420px;
  position: relative;
  background: #e7eee7;
  border: 1px solid #d4dfd4;
  border-radius: 6px;
  overflow: hidden;
  background-image: radial-gradient(#b8c9bd .8px,transparent .8px);
  background-size: 18px 18px;
}

.system-top {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.4px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5d7c59;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid #b2c5b6;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

.o1 {
  width: 200px;
  height: 200px;
}

.o2 {
  width: 340px;
  height: 340px;
}

.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 130px;
  height: 130px;
  background: var(--ink);
  border-radius: 24px;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 600;
  box-shadow: 0 15px 30px #19372a22;
}

.hub span {
  font-size: 8px;
  letter-spacing: 1.3px;
  margin-top: 10px;
  color: white;
}

.node {
  position: absolute;
  background: var(--paper);
  padding: 13px 14px;
  border: 1px solid #c4d0c5;
  font-size: 9px;
  letter-spacing: .7px;
  border-radius: 4px;
  box-shadow: 0 4px 12px #22362e08;
}

.n1 {
  left: 12%;
  top: 20%;
}

.n2 {
  right: 6%;
  top: 31%;
}

.n3 {
  left: 5%;
  top: 53%;
}

.n4 {
  right: 9%;
  top: 65%;
}

.n5 {
  left: 29%;
  top: 81%;
}

.diagram-label {
  position: absolute;
  bottom: 5px;
  left: 20px;
  font-size: 9px;
  color: var(--muted);
}


/* 06. Services */
.services {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  padding: 70px 48px;
}

h2 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  font-weight: 500;
  margin: 0 0 24px;
}

.service-list article {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.service-list article:first-child {
  padding-top: 0;
}

.service-list article>span {
  font-size: 11px;
  color: var(--muted);
  padding-top: 5px;
}

h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}


/* 07. Commerce starter kit */
.platform {
  margin: 16px 24px;
  background: var(--ink);
  color: #fff;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-radius: 6px;
}

.platform .eyebrow {
  color: #b3c9c5;
}

.badge {
  display: inline-block;
  color: var(--accent);
  border: 1px solid #5d7560;
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 7px 10px;
  margin-bottom: 22px;
  border-radius: 20px;
}

.platform p {
  font-size: 14px;
  color: #c9d4d2;
}

.platform .muted {
  font-size: 12px;
  color: #a6bbb7;
}

.modules {
  align-self: center;
}

.modules>div {
  padding: 24px 0;
  border-bottom: 1px solid #49605c;
  position: relative;
}

.modules span {
  float: right;
  font-size: 12px;
  color: var(--accent);
}

.modules p {
  margin: 0;
}


/* 08. Project workflow */
.process {
  padding: 70px 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
}

.steps b {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  display: block;
  margin-bottom: 23px;
}

.steps p {
  font-size: 14px;
  color: var(--muted);
}


/* 09. Project checklist download */
.project {
  background: var(--accent);
  padding: 55px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.project p {
  font-size: 14px;
  max-width: 450px;
}

.contact-note {
  font-size: 12px!important;
  max-width: 340px!important;
  margin-top: 22px;
}


/* 10. Footer */
footer {
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}


/* 11. Tablet and small desktop layouts (up to 900px) */
@media(max-width:900px) {
  header {
    padding: 22px 24px;
  }

  nav {
    gap: 14px;
    font-size: 12px;
  }

  .hero {
    gap: 28px;
    padding: 55px 24px;
  }

  .system {
    height: 370px;
  }

  h1 {
    font-size: 43px;
  }

  .services {
    padding: 48px 24px;
    gap: 35px;
  }

  .platform {
    gap: 35px;
    padding: 40px 28px;
  }

  .process,.project {
    padding: 48px 24px;
  }

  h2 {
    font-size: 31px;
  }

}


/* 12. Mobile layouts (up to 650px) */
@media(max-width:650px) {
  header {
    flex-wrap: wrap;
    gap: 15px;
  }

  .brand {
    font-size: 11px;
  }

  #language {
    margin-left: auto;
  }

  nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
  }

  .hero,.services,.platform,.project {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

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

  .system {
    height: 360px;
  }

  .platform {
    margin: 0 12px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .steps article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px;
  }

  .steps b {
    margin-bottom: 12px;
  }

  footer {
    padding: 24px;
    flex-direction: column;
  }

  .project {
    gap: 20px;
  }

}


/* 13. Reduced-motion accessibility preferences */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

}
