/* =========================================================================
   Robin — MTA Server & Tester — 2026 site
   Self-contained: system font stack, no external requests.
   Brand: green #40b030 · orange #f28c00 · charcoal #3f3f3f
   ========================================================================= */

:root {
  --green:     #45b834;
  --green-2:   #7fe06a;
  --orange:    #f59318;
  --orange-2:  #ffb14d;
  --ink-green: #06210c;

  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
          Helvetica, Arial, "Apple Color Emoji", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --bg:       #0b0e0a;
  --bg-2:     #10140e;
  --ink:      #eef2ec;
  --ink-soft: #bcc6ba;
  --ink-dim:  #7f8a7d;
  --edge:     rgba(255, 255, 255, 0.10);
  --edge-2:   rgba(120, 220, 120, 0.22);

  --wrap: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }

.grad-green {
  background: linear-gradient(96deg, var(--green-2) 8%, var(--green) 60%, var(--orange) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------- topbar ------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2rem);
  background: rgba(11, 14, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand img { display: block; }
.topbar__nav { display: flex; align-items: center; gap: clamp(0.6rem, 2vw, 1.4rem); }
.topbar__nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.topbar__nav a:hover { color: var(--ink); text-decoration: none; }
.topbar__nav .ghost {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--edge-2);
  border-radius: 999px;
  color: var(--green-2);
}
.topbar__nav .ghost:hover { background: rgba(120, 220, 120, 0.1); }
@media (max-width: 620px) { .topbar__nav a:not(.ghost) { display: none; } }

/* --------------------------------------------------------- hero --------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(90% 70% at 50% -10%, rgba(69, 184, 52, 0.22), transparent 60%),
    radial-gradient(70% 60% at 85% 20%, rgba(245, 147, 24, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero__glow {
  position: absolute; z-index: -1;
  width: 60vmax; height: 60vmax; left: 50%; top: -30vmax;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(69, 184, 52, 0.18), transparent 60%);
  filter: blur(20px);
}
.hero__inner { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__mark {
  width: clamp(124px, 27vw, 172px); height: auto;
  filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.55));
  animation: float 6s ease-in-out infinite;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 1.4rem 0 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-2);
}
.pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(69, 184, 52, 0.7);
  animation: pulse 2s infinite;
}

.title { margin: 0; font-size: clamp(3.4rem, 13vw, 7rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.03em; }
.subtitle { margin: 0.5rem 0 0; font-size: clamp(1.1rem, 3.2vw, 1.7rem); font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.lede { max-width: 58ch; margin: 1.3rem auto 0; font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--ink-soft); }

/* --------------------------------------------------------- buttons ------ */
.cta { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--edge-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 0.98rem; font-weight: 700; line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease, background 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--green); background: rgba(120, 220, 120, 0.08); }
.btn:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }
.btn--primary {
  border-color: transparent; color: var(--ink-green);
  background: linear-gradient(96deg, var(--green), var(--green-2));
  box-shadow: 0 10px 30px rgba(69, 184, 52, 0.32);
}
.btn--primary:hover { filter: brightness(1.06); background: linear-gradient(96deg, var(--green-2), var(--green)); }

/* --------------------------------------------------------- split -------- */
.split {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  margin-top: clamp(-2rem, -4vw, -3rem);
  position: relative; z-index: 2;
}
.split__card {
  padding: 1.8rem;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.split__card h2 { margin: 0.9rem 0 0.6rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.split__card p { margin: 0; color: var(--ink-soft); }
.split__tag {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.tag--green  { color: var(--green-2);  background: rgba(69, 184, 52, 0.16);  border: 1px solid var(--edge-2); }
.tag--orange { color: var(--orange-2); background: rgba(245, 147, 24, 0.16); border: 1px solid rgba(245, 147, 24, 0.3); }
.split__card em { color: var(--orange-2); font-style: normal; font-weight: 600; }

/* --------------------------------------------------------- sections ----- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0 0; }
.section__h { margin: 0 0 2rem; font-size: clamp(1.6rem, 4.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.section__h--left { text-align: left; margin-bottom: 1rem; }
.section__lead { max-width: 60ch; color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 2rem; }
.section__lead.center { text-align: center; margin-bottom: 2.2rem; }

.grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.feat {
  padding: 1.5rem;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feat:hover { transform: translateY(-4px); border-color: var(--edge-2); }
.feat h3 { margin: 0 0 0.6rem; font-size: 1.15rem; font-weight: 700; }
.feat h3::before {
  content: ""; display: block; width: 30px; height: 3px; margin-bottom: 0.9rem;
  border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--orange));
}
.feat p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* --------------------------------------------------------- code --------- */
.code-wrap {
  display: grid; gap: 1.6rem;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid var(--edge);
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(69, 184, 52, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.02);
}
@media (min-width: 780px) { .code-wrap { grid-template-columns: 0.85fr 1.15fr; } }
.code-copy .section__h { margin-top: 0; }
.code {
  margin: 0; padding: 1.3rem 1.4rem;
  border-radius: 14px;
  background: #06080a;
  border: 1px solid var(--edge);
  font-family: var(--mono);
  font-size: clamp(0.8rem, 1.7vw, 0.95rem);
  line-height: 1.9;
  color: #dfe7dc;
  overflow-x: auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 18px 40px rgba(0, 0, 0, 0.4);
}
.c-cmt { color: #6f7d6c; }
.c-p { color: var(--green-2); user-select: none; }

/* --------------------------------------------------------- chips -------- */
.chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center;
}
.chips li {
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--edge-2);
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  color: var(--ink);
  background: rgba(69, 184, 52, 0.06);
}

/* --------------------------------------------------------- deploy ------- */
.deploy { padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.deploy__panel {
  padding: clamp(2rem, 5vw, 3.2rem);
  border: 1px solid var(--edge-2);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(100% 130% at 50% 0%, rgba(69, 184, 52, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}
.deploy__panel .section__h { text-align: center; }
.deploy__panel .section__lead { margin-inline: auto; text-align: center; }
.deploy__panel .cta { margin-top: 1.8rem; }

/* --------------------------------------------------------- footer ------- */
.foot { border-top: 1px solid var(--edge); background: #080a07; padding: 1.8rem 0 2.2rem; }
.foot__inner {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; justify-content: center;
  text-align: center;
  color: var(--ink-dim); font-size: 0.9rem;
}
.foot__brand { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink); font-weight: 700; }
.foot__brand img { display: block; }

/* --------------------------------------------------------- motion ------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(69, 184, 52, 0); } 100% { box-shadow: 0 0 0 0 rgba(69, 184, 52, 0); } }

/* --------------------------------------------------------- added ------- */
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(120, 220, 120, 0.1);
  border: 1px solid var(--edge);
  border-radius: 5px;
  padding: 0.05em 0.35em;
  color: var(--green-2);
}

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange-2);
}
.kicker.center { text-align: center; }
.section__lead.center { text-align: center; margin-inline: auto; }

/* three-tool intro cards (anchors) */
.trio {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin-top: clamp(-2rem, -4vw, -3rem);
  position: relative; z-index: 2;
}
a.split__card { color: inherit; text-decoration: none; display: block; transition: transform 0.2s ease, border-color 0.2s ease; }
a.split__card:hover { transform: translateY(-4px); border-color: var(--edge-2); text-decoration: none; }
.split__more { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--green-2); }

/* tester */
.mini-h { margin: 0 0 0.9rem; font-size: 1.15rem; font-weight: 700; }
.mini-note { margin: 1.2rem 0 0; color: var(--ink-soft); font-size: 0.98rem; }
.mini-note strong { color: var(--ink); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-2); font-weight: 800; }
.ticks li strong { color: var(--ink); }
.ticks--center { max-width: 46ch; margin: 0 auto 1.6rem; text-align: left; }

.c-k { color: #8fd3ff; }
.c-s { color: var(--green-2); }
.code--center { max-width: 760px; margin-inline: auto; }

.callout {
  margin-top: 1.4rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--edge-2); border-left-width: 4px;
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(69, 184, 52, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.02);
}
.callout p { margin: 0; color: var(--ink-soft); }
.callout strong { color: var(--ink); }

/* suite services */
.grid--svc { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.svc { padding: 1.3rem 1.4rem; border: 1px solid var(--edge); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.svc__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(120deg, var(--green), var(--orange)); box-shadow: 0 0 0 4px rgba(69, 184, 52, 0.12); }
.svc h3 { margin: 0.8rem 0 0.35rem; font-size: 1.1rem; font-weight: 700; }
.svc p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* family teaser */
.teaser { padding: clamp(2.5rem, 7vw, 4.5rem) 0 0; }
.teaser__panel {
  padding: clamp(2rem, 5vw, 3.4rem);
  border: 1px solid var(--edge-2); border-radius: 24px; text-align: center;
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(69, 184, 52, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}
.teaser__panel .section__h { text-align: center; }
.teaser__birds { display: block; width: min(100%, 640px); height: auto; margin: 1.6rem auto 0.5rem; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.4)); }
.teaser__foot { margin: 0.4rem 0 0; color: var(--ink-dim); font-weight: 600; }

/* --------------------------------------------------------- motion ------- */
@media (prefers-reduced-motion: reduce) {
  .hero__inner, .hero__mark { animation: none; }
  .feat, .btn, a.split__card { transition: none; }
  .pulse { animation: none; }
}
