:root {
  color-scheme: light;
  --paper: #f4f7f8;
  --card: #ffffff;
  --ink: #172c3c;
  --muted: #506473;
  --green: #096b59;
  --green-dark: #075444;
  --mint: #e7f4ee;
  --line: #dce6e9;
  --focus: #b26b00;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

a {
  color: var(--green);
  text-underline-offset: 5px;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  color: var(--green-dark);
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 10;
  padding: 12px 20px;
  background: var(--card);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  color: var(--green);
  font-size: 30px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.9px;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 40px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--green);
}

.site-header nav .nav-start {
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green);
  font-weight: 650;
}

.hero {
  padding: 78px 0 64px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
}

h1 {
  font-size: clamp(43px, 5vw, 67px);
  font-weight: 750;
  line-height: 1.24;
  letter-spacing: -.05em;
}

h1 span {
  color: var(--green);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.95;
  list-style: none;
}

.hero-features > li {
  position: relative;
  min-width: 0;
  padding: 48px 20px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.hero-features strong {
  display: block;
  color: var(--muted);
  font-size: 22px;
  font-weight: 550;
}

.hero-features span {
  display: block;
  color: var(--green);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 750;
  line-height: 1.5;
}

.feature-product {
  position: absolute;
  top: 14px;
  right: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .06em;
}

.feature-art {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: 24px auto 0;
}

.feature-details {
  margin: 24px 0 0;
  padding-left: 1.25em;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.8;
  text-align: left;
}

.feature-details li + li {
  margin-top: 8px;
}

.feature-details li::marker {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}

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

.button.primary:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding-top: 92px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

h2 {
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.035em;
}

h3 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.02em;
}

.card-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid article,
.service-grid article {
  min-width: 0;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font: 12px ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.card-grid h3 {
  margin-bottom: 12px;
}

.card-grid p,
.service-grid p {
  color: var(--muted);
  font-size: 14px;
}

.getting-started {
  padding-top: 24px;
}

.setup-guides article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.setup-guides p {
  margin-bottom: 24px;
  font-size: 16px;
}

.setup-guides .button {
  width: 100%;
  min-height: 58px;
  gap: 12px;
  margin-top: auto;
  font-size: 18px;
}

.install-command {
  width: 100%;
  margin: auto 0 0;
  padding: 16px;
  border: 1px solid #c8dfd5;
  border-radius: 10px;
  background: var(--mint);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.install-command code {
  padding: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1.7;
}

.flow {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.flow-number {
  padding-top: 3px;
  color: var(--green);
  font: 13px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.flow h3 {
  margin-bottom: 6px;
}

.flow p {
  max-width: 850px;
  color: var(--muted);
  font-size: 14px;
}

.start-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 18px;
  padding: 34px 36px;
  border: 1px solid #c8dfd5;
  border-radius: 18px;
  background: var(--mint);
}

.start-panel .eyebrow {
  margin-bottom: 8px;
}

.start-panel h2 {
  font-size: clamp(24px, 2.7vw, 32px);
}

.start-panel p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.start-panel .button {
  flex: 0 0 auto;
}

.activation-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr) 130px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.activation-party {
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.activation-party.robot-party {
  border-color: #c8dfd5;
  background: var(--mint);
}

.party-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 52px;
  margin-bottom: 22px;
  color: var(--green);
}

.browser-icon {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  padding: 9px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.browser-icon::after {
  content: "";
  align-self: flex-end;
  width: 100%;
  height: 20px;
  margin-left: -24px;
  border-radius: 4px;
  background: var(--mint);
}

.browser-icon span {
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.robot-icon {
  gap: 9px;
  border: 5px solid #294453;
  border-radius: 13px;
  background: var(--ink);
}

.robot-icon span {
  width: 13px;
  height: 11px;
  border-radius: 4px;
  background: #58d9b0;
}

.cloud-icon {
  position: relative;
  align-items: flex-end;
}

.cloud-icon span {
  position: absolute;
  bottom: 7px;
  border: 2px solid currentColor;
  background: var(--card);
}

.cloud-icon span:nth-child(1) {
  left: 4px;
  width: 28px;
  height: 26px;
  border-radius: 50%;
}

.cloud-icon span:nth-child(2) {
  left: 21px;
  width: 35px;
  height: 36px;
  border-radius: 50%;
}

.cloud-icon span:nth-child(3) {
  left: 6px;
  bottom: 4px;
  width: 48px;
  height: 20px;
  border-radius: 10px;
}

.party-place {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
}

.activation-party h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.activation-party > p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.activation-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  color: var(--muted);
  text-align: center;
}

.activation-link span {
  font-size: 10px;
  line-height: 1.45;
}

.activation-link b {
  color: var(--green);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.activation-link em {
  margin: 5px 0;
  color: var(--ink);
  font: 600 10px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-style: normal;
  white-space: nowrap;
}

.diagram-note {
  margin-top: 16px;
  padding: 16px 20px;
  border-left: 3px solid var(--green);
  background: var(--mint);
  color: var(--muted);
  font-size: 13px;
}

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

.activation-stages li {
  min-width: 0;
  padding: 25px 24px 27px;
  border-top: 2px solid #c5ddd2;
  background: transparent;
}

.stage-number {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font: 13px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.stage-label {
  margin-bottom: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
}

.activation-stages h3 {
  margin-bottom: 11px;
}

.activation-stages li > div > p:last-child {
  color: var(--muted);
  font-size: 13px;
}

code {
  padding: .08em .32em;
  border-radius: 4px;
  background: rgb(9 107 89 / 8%);
  color: var(--green-dark);
  font: .92em ui-monospace, "SFMono-Regular", Consolas, monospace;
  overflow-wrap: anywhere;
}

.data-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 54px 0 22px;
}

.data-heading .eyebrow {
  margin-bottom: 7px;
}

.data-heading h3 {
  font-size: 27px;
}

.data-heading > p {
  color: var(--muted);
  font-size: 13px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.data-grid article {
  min-width: 0;
  padding: 26px 25px 28px;
}

.data-grid article + article {
  border-left: 1px solid var(--line);
}

.data-owner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--green);
  font: 12px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.data-owner strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mint);
  font-family: inherit;
  font-size: 10px;
  font-weight: 650;
}

.data-grid h3 {
  margin-bottom: 14px;
}

.data-grid ul {
  margin: 0;
  padding-left: 1.25em;
  color: var(--muted);
  font-size: 13px;
}

.data-grid li + li {
  margin-top: 9px;
}

.data-grid li::marker {
  color: var(--green);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid #e9dfcb;
  border-radius: 14px;
  background: #faf6ed;
  color: #715629;
}

.privacy-note strong {
  flex: 0 0 auto;
  font-size: 14px;
}

.privacy-note p {
  font-size: 12px;
}

.service-grid article {
  display: flex;
  flex-direction: column;
}

.service-grid article.featured {
  border-color: #c8dfd5;
  background: var(--mint);
}

.service-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 12px;
}

.service-top span {
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.service-top small {
  color: var(--muted);
  font: inherit;
}

.service-grid h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.help-section {
  display: grid;
  grid-template-columns: .8fr 1.3fr auto;
  align-items: center;
  gap: 34px;
  margin-top: 92px;
  padding: 32px;
  border: 1px solid #e9dfcb;
  border-radius: 18px;
  background: #faf6ed;
}

.help-section .eyebrow {
  margin-bottom: 8px;
  color: #715629;
}

.help-section h2 {
  font-size: 25px;
}

.help-section > p {
  color: #715629;
  font-size: 13px;
}

.help-section .text-link {
  color: #715629;
  white-space: nowrap;
}

footer {
  margin-top: 72px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .activation-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .activation-link {
    display: none;
  }

  .help-section {
    grid-template-columns: 1fr 1.4fr;
  }

  .help-section .text-link {
    grid-column: 2;
  }
}

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

  .site-header {
    flex-wrap: wrap;
    gap: 18px;
    padding: 20px 0 14px;
  }

  .brand {
    font-size: 28px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px 12px;
  }

  .site-header nav a {
    font-size: 12px;
  }

  .site-header nav .nav-start {
    padding: 6px 10px;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 32px;
  }

  .hero-features span {
    font-size: 34px;
  }

  h1 {
    font-size: clamp(42px, 10vw, 58px);
  }

  .section {
    padding-top: 64px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  h2 {
    font-size: 28px;
  }

  .card-grid,
  .service-grid,
  .activation-stages,
  .data-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .activation-map {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .activation-party {
    position: relative;
    padding-left: 96px;
  }

  .activation-link {
    display: block;
    padding: 9px 14px;
    border-left: 2px solid var(--green);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
    text-align: left;
  }

  .activation-link::before {
    content: attr(data-mobile);
  }

  .activation-link > * {
    display: none;
  }

  .party-icon {
    position: absolute;
    top: 27px;
    left: 24px;
  }

  .activation-stages li {
    padding: 22px 4px 24px;
  }

  .data-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 42px;
  }

  .data-grid {
    gap: 0;
  }

  .data-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .privacy-note {
    flex-direction: column;
    gap: 6px;
  }

  .start-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .help-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 64px;
    padding: 26px;
  }

  .help-section .text-link {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .shell {
    width: calc(100% - 32px);
  }

  .site-header nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
  }

  .site-header nav a {
    justify-content: center;
    font-size: 13px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 42px;
  }

  .flow li {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 22px;
  }

  .start-panel {
    padding: 24px;
  }

  .start-panel .button {
    width: 100%;
  }

}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
