
:root {
  --ink: #101b17;
  --muted: #66756f;
  --green: #1f7a4d;
  --green-dark: #0f3825;
  --gold: #f6b331;
  --gold-soft: #fff2c7;
  --bg: #f5faf3;
  --paper: #ffffff;
  --line: #dfe9dc;
  --blue: #176f9f;
  --shadow: 0 18px 45px rgba(16, 27, 23, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(246,179,49,.23), transparent 34rem),
    radial-gradient(circle at 100% 5%, rgba(23,111,159,.13), transparent 32rem),
    linear-gradient(180deg, #fffaf0 0%, var(--bg) 58%, #eef8ee 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.topline {
  background: var(--green-dark);
  color: white;
  text-align: center;
  padding: 7px 14px;
  font-size: .86rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -.035em;
  font-size: 1.18rem;
}

.mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), #ffd66b);
  box-shadow: 0 8px 20px rgba(246, 179, 49, .24);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.mark:before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #123b5a, #2e9bd1);
  transform: skewY(-10deg) rotate(-8deg);
  box-shadow:
    9px 0 0 rgba(255,255,255,.22),
    0 9px 0 rgba(255,255,255,.18);
}

.mark:after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 13px;
  height: 8px;
  background: var(--green-dark);
  border-radius: 4px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: .94rem;
  font-weight: 800;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 42px 22px 76px;
}

.hero {
  padding: 34px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr);
  gap: 34px;
  align-items: center;
}

.kicker {
  margin: 0 0 10px;
  color: #8c5b05;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 950;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.55rem, 5.7vw, 5.35rem);
  line-height: .96;
  letter-spacing: -.065em;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.17rem;
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: .94rem;
}

.button.dark { background: var(--ink); color: white; }
.button.light { background: white; color: var(--ink); border-color: var(--line); }
.button.gold { background: var(--gold); color: #201600; }

.small {
  color: var(--muted);
  font-size: .91rem;
  margin-top: 15px;
}

.hero-card {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.system {
  background: linear-gradient(135deg, #ffffff 0%, #fff2c3 55%, #eaf7ff 100%);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 24px;
  padding: 18px;
}

.system-row {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: center;
  gap: 8px;
}

.system-row + .system-row { margin-top: 12px; }

.node {
  min-height: 78px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(16, 27, 23, .06);
}

.arrow {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 950;
  text-align: center;
}

.hero-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.section {
  margin: 42px 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head p {
  max-width: 760px;
}

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

.category-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 390px;
}

.visual {
  height: 145px;
  background: linear-gradient(135deg, #eaf7ff 0%, #ffffff 48%, #fff1be 100%);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.visual svg {
  width: 78%;
  max-height: 112px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: .72rem;
  font-weight: 950;
  background: #eef8ef;
  color: var(--green);
  border: 1px solid #cfe9d4;
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

.card-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: auto;
}

.content {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.product-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.product-row {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.product-row p {
  color: var(--muted);
  margin: 6px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  padding: 28px 20px;
  font-size: .92rem;
}

footer a { color: var(--muted); }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .links { gap: 10px; }
  .brand { font-size: 1.06rem; }
  .mark { width: 42px; height: 42px; flex-basis: 42px; }
  .category-grid { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; }
  .system-row { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
}
