:root {
  color-scheme: light;
  --bg: #f7faf2;
  --ink: #14221b;
  --muted: #68726a;
  --line: #d8e1d2;
  --panel: #fffefa;
  --panel-strong: #edf6e9;
  --green: #0f5132;
  --green-soft: #dcefd9;
  --mint: #8be0b0;
  --watermelon: #ff5f6d;
  --watermelon-deep: #d9364a;
  --rind: #0d6b43;
  --blue: #dfe9ff;
  --amber: #f2c85b;
  --shadow: 0 24px 80px rgba(19, 42, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 520px 250px at 8% 10%, rgba(255, 95, 109, 0.045), transparent 70%),
    radial-gradient(ellipse 620px 300px at 92% 22%, rgba(13, 107, 67, 0.055), transparent 68%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='960' height='620' viewBox='0 0 960 620' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg opacity='.52' transform='translate(76 78) rotate(-8)'%3E%3Cpath d='M60 0 124 150Q66 174 8 150Z' fill='%23ff5f6d' fill-opacity='.34'/%3E%3Cpath d='M8 150Q66 174 124 150' stroke='%230d6b43' stroke-width='13' stroke-opacity='.45'/%3E%3Cpath d='M14 148Q66 166 118 148' stroke='%23dcefd9' stroke-width='7' stroke-opacity='.55'/%3E%3Cellipse cx='58' cy='70' rx='5' ry='9' fill='%2314221b' fill-opacity='.15' transform='rotate(-18 58 70)'/%3E%3Cellipse cx='82' cy='92' rx='5' ry='9' fill='%2314221b' fill-opacity='.12' transform='rotate(14 82 92)'/%3E%3C/g%3E%3Cg opacity='.34' transform='translate(724 96) scale(.72) rotate(10)'%3E%3Cpath d='M60 0 124 150Q66 174 8 150Z' fill='%23ff5f6d' fill-opacity='.28'/%3E%3Cpath d='M8 150Q66 174 124 150' stroke='%230d6b43' stroke-width='13' stroke-opacity='.38'/%3E%3Cpath d='M14 148Q66 166 118 148' stroke='%23dcefd9' stroke-width='7' stroke-opacity='.5'/%3E%3C/g%3E%3Cg opacity='.28' transform='translate(582 456) scale(.62) rotate(-16)'%3E%3Cpath d='M60 0 124 150Q66 174 8 150Z' fill='%23ff5f6d' fill-opacity='.25'/%3E%3Cpath d='M8 150Q66 174 124 150' stroke='%230d6b43' stroke-width='13' stroke-opacity='.35'/%3E%3Cpath d='M14 148Q66 166 118 148' stroke='%23dcefd9' stroke-width='7' stroke-opacity='.46'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-position:
    center 34px;
  background-size:
    1280px 827px;
  opacity: 0.16;
  content: "";
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
  background: rgba(247, 250, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-word {
  margin-left: -2px;
  font-size: 18px;
  line-height: 1;
}

.logo-mark {
  display: inline-grid;
  width: 35px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.logo-mark svg {
  width: 36px;
  height: 31px;
}

.logo-w-body {
  fill: var(--green);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.72));
}

.logo-watermelon-flesh,
.logo-watermelon-rind,
.logo-circuit {
  fill: none;
  stroke-linecap: round;
}

.logo-watermelon-flesh {
  stroke: var(--watermelon);
  stroke-width: 2.5;
  opacity: 0.76;
}

.logo-watermelon-rind {
  stroke: var(--rind);
  stroke-width: 1.2;
  opacity: 0.45;
}

.logo-circuit {
  stroke: rgba(139, 224, 176, 0.9);
  stroke-width: 1.2;
  opacity: 0.36;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 600;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 0.78fr) minmax(620px, 1fr);
  gap: clamp(28px, 3.5vw, 52px);
  align-items: center;
  min-height: 760px;
  padding: 72px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px 999px 0 0;
  content: "";
}

.hero::before {
  top: 72px;
  right: clamp(18px, 5vw, 74px);
  width: 190px;
  height: 94px;
  border: 13px solid rgba(13, 107, 67, 0.07);
  border-bottom: 0;
  transform: rotate(-16deg);
}

.hero::after {
  bottom: 54px;
  left: clamp(18px, 7vw, 100px);
  width: 120px;
  height: 60px;
  border: 10px solid rgba(255, 95, 109, 0.065);
  border-bottom: 0;
  transform: rotate(14deg);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 46px;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.2;
}

.lead {
  max-width: 660px;
  color: #34332f;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button.primary {
  background: var(--green);
  color: var(--panel);
}

.button.secondary {
  border-color: rgba(217, 54, 74, 0.5);
  color: var(--watermelon-deep);
  background: rgba(255, 95, 109, 0.06);
}

.hero-panel {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.ops-panel {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 15, 0.9);
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 95, 109, 0.14), transparent 23%),
    radial-gradient(circle at 12% 84%, rgba(139, 224, 176, 0.12), transparent 26%),
    linear-gradient(145deg, #0e1914 0%, #0a1110 100%);
  color: #f5f0e6;
  box-shadow: var(--shadow);
}

.ops-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ops-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.logo-mark.mini {
  width: 25px;
  height: 25px;
}

.logo-mark.mini svg {
  width: 28px;
  height: 24px;
}

.ops-brand-mini strong {
  margin-left: -3px;
}

.ops-panel .logo-w-body {
  fill: #f8fff4;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.34));
}

.ops-panel .logo-watermelon-flesh {
  opacity: 0.72;
}

.ops-panel .logo-watermelon-rind {
  stroke: var(--mint);
  opacity: 0.58;
}

.ops-panel .logo-circuit {
  opacity: 0.44;
}

.ops-top strong {
  display: block;
  color: #fffaf0;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: 0;
}

.ops-status-row {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
  color: rgba(245, 240, 230, 0.68);
  font-size: 12px;
}

.ops-status-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ops-status-row span + span {
  position: relative;
}

.ops-status-row span + span::before {
  position: absolute;
  left: -8px;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.ops-status-row i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(125, 242, 202, 0.1);
}

.ops-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
  gap: 9px;
  padding: 9px;
}

.event-panel,
.metric-grid article,
.workflow-panel,
.system-panel {
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.ops-tabs {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 240, 230, 0.72);
  font-size: 14px;
  font-weight: 560;
}

.ops-tabs span {
  position: relative;
}

.ops-tabs .active {
  color: var(--mint);
  font-weight: 720;
}

.ops-tabs .active::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--mint);
  content: "";
}

.event-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 240, 230, 0.74);
  font-size: 12px;
}

.event-toolbar i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--mint);
}

.event-stream {
  display: grid;
}

.event-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 7px 14px 7px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.event-row:last-child {
  border-bottom: 0;
}

.event-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(125, 242, 202, 0.14);
  color: var(--mint);
}

.event-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.event-row.alert .event-icon {
  background: rgba(255, 95, 109, 0.18);
  color: #ff7d87;
}

.event-row.blue .event-icon {
  background: rgba(92, 150, 255, 0.17);
  color: #71a8ff;
}

.event-row.amber .event-icon {
  background: rgba(242, 200, 91, 0.18);
  color: var(--amber);
}

.event-row.purple .event-icon {
  background: rgba(140, 111, 255, 0.18);
  color: #9d83ff;
}

.event-icon.monitor,
.event-icon.folder {
  border: 1px solid rgba(125, 242, 202, 0.32);
}

.event-row time {
  display: block;
  margin-bottom: 2px;
  color: rgba(245, 240, 230, 0.46);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.event-row strong {
  display: block;
  overflow: hidden;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-row p {
  overflow: hidden;
  margin: 3px 0 0;
  color: rgba(245, 240, 230, 0.58);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-row em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  background: rgba(125, 242, 202, 0.1);
  color: var(--mint);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.event-row.alert em {
  background: rgba(255, 95, 109, 0.12);
  color: #ff7d87;
}

.event-row.amber em {
  background: rgba(242, 200, 91, 0.12);
  color: var(--amber);
}

.event-row.blue em {
  background: rgba(92, 150, 255, 0.12);
  color: #71a8ff;
}

.dashboard-panel {
  display: grid;
  gap: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.metric-grid article {
  min-height: 80px;
  padding: 10px;
}

.metric-grid span {
  display: block;
  color: rgba(245, 240, 230, 0.58);
  font-size: 12px;
  font-weight: 620;
}

.metric-grid strong {
  display: block;
  margin-top: 12px;
  color: #fffaf0;
  font-size: 26px;
  font-weight: 520;
  line-height: 0.9;
}

.metric-grid small {
  margin-left: 4px;
  color: rgba(245, 240, 230, 0.8);
  font-size: 12px;
}

.metric-grid p {
  margin: 12px 0 0;
  color: rgba(245, 240, 230, 0.56);
  font-size: 11px;
}

.metric-grid b,
.system-panel b {
  color: var(--mint);
  font-weight: 720;
}

.workflow-panel,
.system-panel {
  padding: 11px;
}

.workflow-panel h3,
.system-panel h3 {
  margin-bottom: 14px;
  color: rgba(245, 240, 230, 0.82);
  font-size: 12px;
  font-weight: 680;
}

.workflow-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workflow-line i {
  display: block;
  flex: 0 0 10px;
  height: 1px;
  background: rgba(245, 240, 230, 0.4);
}

.workflow-line article {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 72px;
  padding: 16px 5px 8px;
  border-radius: 6px;
  border: 1px solid rgba(125, 242, 202, 0.16);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.workflow-line article span {
  position: absolute;
  top: -7px;
  left: 50%;
  display: inline-grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: #0c1110;
  font-size: 9px;
  font-weight: 800;
  transform: translateX(-50%);
}

.workflow-line article:nth-of-type(2) span {
  background: #72a8ff;
}

.workflow-line article:nth-of-type(3) span {
  background: var(--amber);
}

.workflow-line article:nth-of-type(4) span {
  background: #9d83ff;
}

.workflow-line strong {
  display: block;
  color: #fffaf0;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.22;
}

.workflow-line p {
  margin: 6px 0 0;
  color: rgba(245, 240, 230, 0.52);
  font-size: 11px;
}

.system-panel div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.system-panel span {
  color: rgba(245, 240, 230, 0.58);
  font-size: 11px;
  white-space: nowrap;
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-heading.wide {
  max-width: 820px;
}

h2 {
  margin-bottom: 18px;
  font-size: 34px;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.22;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.step,
.feature-grid article,
.architecture-list > div {
  border: 1px solid var(--line);
  background: var(--panel);
}

.step {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 24px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.step-title span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--green-soft);
  font-weight: 700;
}

.step h3,
.feature-grid h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 620;
}

.step p,
.feature-grid p,
.architecture-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 22px;
}

.code-row code,
.command-grid code {
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--ink);
  background: var(--green);
  color: var(--mint);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-row button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--panel);
  cursor: pointer;
  font-weight: 700;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 28px;
}

.feature-grid h3 {
  margin-bottom: 18px;
}

.dashboard-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.dashboard-visual {
  margin: 0;
  border: 1px solid var(--ink);
  background: #101820;
  box-shadow: var(--shadow);
}

.dashboard-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.architecture {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
}

.architecture-list {
  display: grid;
  gap: 12px;
}

.architecture-list > div {
  padding: 24px;
}

.architecture-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 620;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .dashboard-section,
  .architecture {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .dashboard-visual {
    max-width: 900px;
  }

  .hero-panel {
    align-self: auto;
  }

  .ops-dashboard-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .section,
  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    font-size: 16px;
  }

  .ops-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .ops-status-row {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .ops-dashboard-grid {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .event-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .event-row em {
    justify-self: start;
    grid-column: 2;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-panel div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
