:root {
  color-scheme: light;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  color: #252b29;
  background: #f5f8f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #252b29;
  --muted: #68716d;
  --line: rgba(35, 62, 52, 0.11);
  --green: #3e8e70;
  --green-deep: #245e49;
  --mint: #d9f1e7;
  --paper: rgba(255, 255, 255, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(44, 91, 72, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 91, 72, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcfb 0%, #f3f7f4 52%, #f8faf8 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

body::before {
  position: fixed;
  z-index: -3;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.68), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.68));
  content: "";
  inset: 0;
  pointer-events: none;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

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

.ambient {
  position: fixed;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.78;
  pointer-events: none;
}

.ambient-one {
  top: -260px;
  right: -150px;
  background: radial-gradient(circle, rgba(104, 203, 164, 0.26), rgba(104, 203, 164, 0));
}

.ambient-two {
  top: 930px;
  left: -300px;
  background: radial-gradient(circle, rgba(83, 155, 126, 0.11), rgba(83, 155, 126, 0));
}

.site-shell {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 34px 0 40px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  padding: 14px 0 24px;
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(33, 96, 72, 0.17);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  color: #26312d;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-copy span {
  color: #77817c;
  font-size: 11px;
  letter-spacing: 0.13em;
}

.security-status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 9px 14px;
  color: #4e5d57;
  font-size: 12px;
  letter-spacing: 0.11em;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.security-status i,
.media-card figcaption i {
  width: 7px;
  height: 7px;
  background: #48a47f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(72, 164, 127, 0.11);
}

.hero {
  padding: 104px 0 86px;
}

.hero-kicker {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 24px;
  color: #5b6d66;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.17em;
}

.hero-kicker i {
  width: 26px;
  height: 1px;
  background: #7aa18f;
}

.hero h1 {
  max-width: 950px;
  color: var(--ink);
  font-size: clamp(58px, 8.4vw, 104px);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: var(--green-deep);
  font-style: normal;
}

.hero-lead {
  max-width: 960px;
  margin-top: 44px;
  color: #4e5854;
  font-size: clamp(19px, 2.25vw, 25px);
  line-height: 1.82;
  letter-spacing: 0.035em;
}

.hero-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 68px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hero-principles > div {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 5px 8px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-principles span {
  grid-row: 1 / span 2;
  color: #62a38a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-principles strong {
  color: #2d3934;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.hero-principles small {
  color: #7a837f;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.showcase {
  padding: 78px 0 88px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.7fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 34px;
}

.section-label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.section-label span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.section-head h2,
.application h2,
.content-note h2 {
  color: var(--ink);
  font-size: clamp(31px, 4.2vw, 48px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.section-summary {
  padding-bottom: 5px;
  color: #737d78;
  font-size: 14px;
  line-height: 1.8;
}

.media-card {
  overflow: hidden;
  background: #101513;
  border: 1px solid rgba(16, 25, 21, 0.9);
  border-radius: 24px;
  box-shadow: 0 34px 80px rgba(27, 59, 47, 0.21);
}

.media-toolbar,
.media-card figcaption {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(232, 242, 238, 0.63);
  background: #151c19;
}

.media-toolbar {
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.media-toolbar > span {
  font-size: 10px;
  letter-spacing: 0.2em;
}

.media-toolbar small {
  justify-self: end;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.media-dots {
  display: flex;
  gap: 7px;
}

.media-dots i {
  width: 7px;
  height: 7px;
  background: rgba(215, 236, 227, 0.3);
  border-radius: 50%;
}

.media-dots i:first-child {
  background: #4eaa84;
}

.media-stage {
  position: relative;
  background: #080a09;
}

.media-stage video {
  width: 100%;
  aspect-ratio: 640 / 416;
  object-fit: contain;
  background: #080a09;
}

.media-corner {
  position: absolute;
  top: 18px;
  width: 34px;
  height: 34px;
  border-top: 1px solid rgba(181, 225, 207, 0.38);
  pointer-events: none;
}

.media-corner-left {
  left: 18px;
  border-left: 1px solid rgba(181, 225, 207, 0.38);
}

.media-corner-right {
  right: 18px;
  border-right: 1px solid rgba(181, 225, 207, 0.38);
}

.media-card figcaption {
  min-height: 54px;
  padding: 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.media-card figcaption > span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.media-card figcaption p {
  grid-column: 3;
  justify-self: end;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.application {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  margin: 12px 0 24px;
  padding: 48px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(240, 248, 244, 0.88)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 20px 58px rgba(42, 81, 65, 0.08);
}

.application-identity {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.app-icon-wrap {
  position: relative;
}

.app-icon-wrap img {
  position: relative;
  z-index: 1;
  width: 156px;
  height: 156px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 35px;
  box-shadow: 0 24px 45px rgba(45, 123, 92, 0.22);
}

.app-icon-wrap span {
  position: absolute;
  right: -13px;
  bottom: -13px;
  width: 74px;
  height: 74px;
  background: rgba(86, 173, 138, 0.18);
  border: 1px solid rgba(70, 145, 115, 0.2);
  border-radius: 50%;
}

.application-identity > div:last-child > p:last-child {
  max-width: 520px;
  margin-top: 14px;
  color: #67716c;
  font-size: 16px;
  line-height: 1.8;
}

.application-tags {
  display: grid;
  gap: 10px;
}

.application-tags span {
  min-width: 112px;
  padding: 10px 14px;
  color: #4e6d60;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.08em;
  background: rgba(226, 242, 235, 0.74);
  border: 1px solid rgba(59, 124, 98, 0.12);
  border-radius: 999px;
}

.capabilities {
  padding: 78px 0 84px;
}

.capabilities-head {
  margin-bottom: 30px;
}

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

.capability-grid article {
  position: relative;
  min-height: 340px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.capability-grid article::after {
  position: absolute;
  right: -55px;
  bottom: -65px;
  width: 145px;
  height: 145px;
  background: radial-gradient(circle, rgba(82, 172, 136, 0.14), transparent 68%);
  content: "";
}

.capability-grid article:hover {
  border-color: rgba(61, 142, 111, 0.26);
  box-shadow: 0 22px 48px rgba(39, 87, 68, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  place-items: center;
  color: var(--green-deep);
  background: linear-gradient(145deg, #edf8f3, #dff1e9);
  border: 1px solid rgba(56, 127, 99, 0.13);
  border-radius: 17px;
}

.feature-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-number {
  color: #8c9993;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
}

.capability-grid h3 {
  margin-top: 30px;
  color: #2e3935;
  font-size: 23px;
  letter-spacing: 0.03em;
}

.capability-grid p {
  margin-top: 13px;
  color: #6c7571;
  font-size: 15px;
  line-height: 1.8;
}

.content-note {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 180px;
  gap: 30px;
  align-items: center;
  padding: 50px 54px;
  overflow: hidden;
  color: #eaf4f0;
  background:
    radial-gradient(circle at 82% 20%, rgba(91, 173, 139, 0.24), transparent 24rem),
    #17372b;
  border-radius: 26px;
  box-shadow: 0 28px 60px rgba(23, 55, 43, 0.19);
}

.content-note-index {
  align-self: start;
  color: rgba(218, 240, 231, 0.44);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.content-note .section-label {
  color: #8fd3b8;
}

.content-note h2 {
  max-width: 620px;
  color: #f5faf8;
}

.content-note > div:nth-child(2) > p:last-child {
  margin-top: 16px;
  color: rgba(229, 241, 236, 0.68);
  font-size: 15px;
  line-height: 1.8;
}

.content-lines {
  display: grid;
  gap: 14px;
  opacity: 0.56;
}

.content-lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(187, 225, 209, 0.72));
}

.content-lines i:nth-child(2) {
  width: 72%;
  justify-self: end;
}

.content-lines i:nth-child(3) {
  width: 44%;
  justify-self: end;
}

.footer {
  margin-top: 62px;
  padding: 30px 0 8px;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.footer p {
  color: #84908b;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.reveal {
  animation: reveal-up 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-first {
  animation-delay: 80ms;
}

.reveal-second {
  animation-delay: 150ms;
}

.reveal-third {
  animation-delay: 230ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 32px), 1120px);
    padding-top: 20px;
  }

  .hero {
    padding: 76px 0 64px;
  }

  .hero-principles,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero-principles > div {
    min-height: 84px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-summary {
    max-width: 540px;
  }

  .application {
    grid-template-columns: 1fr;
  }

  .application-tags {
    display: flex;
    flex-wrap: wrap;
  }

  .application-tags span {
    min-width: 0;
  }

  .capability-grid article {
    min-height: 270px;
  }

  .content-note {
    grid-template-columns: 54px 1fr;
  }

  .content-lines {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-bottom: 18px;
  }

  .security-status {
    padding: 8px 10px;
  }

  .security-status span {
    display: none;
  }

  .hero {
    padding: 58px 0 54px;
  }

  .hero-kicker {
    flex-wrap: wrap;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 62px);
    line-height: 1.04;
  }

  .hero-lead {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.75;
  }

  .hero-principles {
    margin-top: 44px;
    border-radius: 15px;
  }

  .hero-principles > div {
    padding: 19px 20px;
  }

  .showcase,
  .capabilities {
    padding: 58px 0;
  }

  .media-card {
    border-radius: 17px;
  }

  .media-toolbar {
    min-height: 44px;
    padding: 0 14px;
  }

  .media-card figcaption {
    grid-template-columns: 1fr auto;
    min-height: 48px;
    padding: 0 14px;
  }

  .media-card figcaption p {
    grid-column: 2;
  }

  .application {
    gap: 26px;
    padding: 25px;
    border-radius: 20px;
  }

  .application-identity {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 20px;
  }

  .app-icon-wrap img {
    width: 88px;
    height: 88px;
    border-radius: 21px;
  }

  .app-icon-wrap span {
    right: -8px;
    bottom: -8px;
    width: 46px;
    height: 46px;
  }

  .application h2 {
    font-size: 31px;
  }

  .application-identity > div:last-child > p:last-child {
    font-size: 14px;
  }

  .capability-grid article {
    min-height: 250px;
    padding: 24px;
  }

  .content-note {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 34px 28px;
    border-radius: 20px;
  }

  .content-note-index {
    position: absolute;
    top: 24px;
    right: 26px;
  }

  .footer {
    align-items: flex-end;
  }

  .footer .brand-copy span {
    max-width: 150px;
  }
}

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

  .reveal,
  .capability-grid article {
    animation: none;
    transition: none;
  }
}
