:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5f6f89;
  --soft: #eef5f2;
  --paper: #ffffff;
  --line: #dce6ee;
  --line-strong: #c2d0dd;
  --green: #25b47e;
  --green-strong: #07815b;
  --blue: #2f74d0;
  --amber: #ffb84c;
  --coral: #f35d42;
  --navy: #111827;
  --shadow: 0 20px 60px rgba(20, 33, 61, 0.14);
  --shadow-soft: 0 12px 30px rgba(20, 33, 61, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

p {
  margin: 0;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 230, 238, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 26px;
  height: 72px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  border-radius: 8px;
  height: 34px;
  width: 34px;
}

.brand span {
  font-size: 20px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 22px;
  justify-content: flex-end;
}

.nav-links a {
  color: #32445d;
  font-size: 15px;
  font-weight: 650;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.nav-toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  position: relative;
  width: 18px;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  box-shadow: 0 10px 24px rgba(37, 180, 126, 0.24);
  color: #ffffff;
}

.button-primary:hover {
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-quiet {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
}

.button-disabled {
  background: #eef3f7;
  border-color: var(--line);
  color: #708198;
  cursor: default;
}

.button-disabled:hover {
  transform: none;
}

.hero {
  isolation: isolate;
  min-height: 74svh;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background: linear-gradient(90deg, rgba(8, 24, 42, 0.9) 0%, rgba(8, 24, 42, 0.7) 42%, rgba(8, 24, 42, 0.26) 74%, rgba(8, 24, 42, 0.1) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 54%, #ffffff 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-backdrop {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center right;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 84px 24px 72px;
}

.hero-copy {
  color: #ffffff;
  max-width: 720px;
  padding: 20px 0;
}

.eyebrow {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  font-size: 13px;
  font-weight: 760;
  gap: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--green);
  border-radius: 999px;
  content: "";
  height: 10px;
  width: 10px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: 76px;
  font-weight: 860;
}

h2 {
  color: var(--ink);
  font-size: 44px;
  font-weight: 820;
}

h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 790;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  margin-top: 20px;
  max-width: 650px;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.hero-points li {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  min-height: 34px;
  padding: 6px 12px;
}

.section {
  padding: 86px 24px;
}

.section-soft {
  background: #f7faf8;
}

.section-blue {
  background: #f4f8fd;
}

.section-dark {
  background: var(--navy);
  color: #f6fafc;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.section-heading {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.42fr);
  margin-bottom: 40px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-heading p,
.section-dark .muted {
  color: #b9c4d2;
}

.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 20px 24px;
}

.trust-strip-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
}

.trust-strip strong {
  color: var(--ink);
}

.pill {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  min-height: 34px;
  padding: 6px 12px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.feature-card,
.pricing-card,
.doc-card,
.download-card,
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.feature-card p,
.pricing-card p,
.doc-card p,
.download-card p,
.step-card p {
  color: var(--muted);
  margin-top: 10px;
}

.feature-icon {
  align-items: center;
  background: #e9f8f2;
  border-radius: 8px;
  color: var(--green-strong);
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.feature-icon.blue {
  background: #e8f1ff;
  color: var(--blue);
}

.feature-icon.amber {
  background: #fff5df;
  color: #a76305;
}

.split {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.split-text {
  display: grid;
  gap: 18px;
}

.split-text p {
  color: var(--muted);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.check-list li {
  color: #35465d;
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  background: var(--green);
  border-radius: 999px;
  color: #ffffff;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  height: 18px;
  left: 0;
  line-height: 18px;
  position: absolute;
  text-align: center;
  top: 3px;
  width: 18px;
}

.visual-stack {
  display: grid;
  gap: 18px;
}

.screenshot {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screenshot img {
  width: 100%;
}

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

.mode-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.mode-card img {
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.mode-copy {
  padding: 22px;
}

.mode-copy p {
  color: var(--muted);
  margin-top: 8px;
}

.diagram-shell {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.diagram-shell img {
  width: 100%;
}

.mermaid-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 22px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card.featured {
  border-color: rgba(37, 180, 126, 0.5);
  box-shadow: 0 22px 54px rgba(37, 180, 126, 0.18);
}

.price {
  align-items: baseline;
  display: flex;
  gap: 6px;
  margin-top: 22px;
}

.price strong {
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 700;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
}

.pricing-card li {
  color: #35465d;
  font-size: 15px;
  padding-left: 22px;
  position: relative;
}

.pricing-card li::before {
  color: var(--green-strong);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.pricing-card .button {
  margin-top: auto;
}

.cta-band {
  align-items: center;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 34px;
}

.cta-band p {
  color: var(--muted);
  margin-top: 10px;
}

.page-hero {
  background: #f7faf8;
  border-bottom: 1px solid var(--line);
  padding: 78px 24px 58px;
}

.page-hero-inner {
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 1040px;
}

.page-hero p {
  color: var(--muted);
  font-size: 20px;
  max-width: 760px;
}

.breadcrumb {
  color: var(--green-strong);
  font-size: 14px;
  font-weight: 780;
  text-transform: uppercase;
}

.download-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.download-card .button {
  margin-top: 20px;
}

.command-row {
  align-items: stretch;
  background: #0f172a;
  border-radius: 8px;
  color: #eef7ff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 20px;
  overflow: hidden;
}

.command-row pre {
  margin: 0;
  overflow-x: auto;
  padding: 18px;
}

.command-row button {
  background: #1f2a44;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  padding: 0 18px;
}

.docs-layout {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.docs-nav {
  position: sticky;
  top: 96px;
}

.docs-nav a {
  border-left: 3px solid transparent;
  color: var(--muted);
  display: block;
  font-weight: 720;
  padding: 8px 0 8px 12px;
}

.docs-nav a:hover {
  border-left-color: var(--green);
  color: var(--green-strong);
}

.docs-content {
  display: grid;
  gap: 34px;
}

.doc-section {
  display: grid;
  gap: 18px;
}

.doc-section p,
.doc-section li {
  color: var(--muted);
}

.doc-section ul,
.doc-section ol {
  margin: 0;
  padding-left: 22px;
}

.doc-search {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
  padding: 16px;
}

.doc-search label {
  color: var(--ink);
  display: block;
  font-weight: 790;
  margin-bottom: 8px;
}

.doc-search input {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.doc-card {
  display: grid;
  gap: 8px;
}

.doc-card .tag {
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.doc-empty {
  color: var(--muted);
  padding: 20px;
}

.article {
  margin: 0 auto;
  max-width: 860px;
}

.article h2 {
  font-size: 32px;
  margin-top: 22px;
}

.article h3 {
  margin-top: 18px;
}

.article p,
.article li {
  color: var(--muted);
}

.article ul,
.article ol {
  padding-left: 22px;
}

.callout {
  background: #fffaf0;
  border: 1px solid #f2d79a;
  border-radius: var(--radius);
  color: #654100;
  padding: 18px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.timeline-item time {
  color: var(--green-strong);
  display: block;
  font-weight: 820;
  margin-bottom: 8px;
}

.site-footer {
  background: #0f172a;
  color: #dbe7f3;
  padding: 44px 24px;
}

.footer-inner {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1180px;
}

.footer-family {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.footer-family p {
  color: #aebdd0;
  font-size: 14px;
}

.gigantics-link {
  align-items: center;
  display: inline-flex;
  width: max-content;
}

.gigantics-logo {
  height: 28px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #dbe7f3;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .nav {
    gap: 14px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 4px;
    left: 0;
    padding: 14px 24px 22px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .nav-links[data-open] {
    display: grid;
  }

  .nav-actions {
    display: none;
  }

  .section-heading,
  .split,
  .docs-layout,
  .cta-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    position: static;
  }

  .grid-4,
  .grid-3,
  .mode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(8, 24, 42, 0.94) 0%, rgba(8, 24, 42, 0.74) 100%);
  }

  .hero-inner {
    padding: 58px 20px 52px;
  }

  .hero-copy .lead,
  .page-hero p,
  .split-text p,
  .section-heading p {
    font-size: 17px;
  }

  .section {
    padding: 58px 20px;
  }

  .page-hero {
    padding: 52px 20px 42px;
  }

  .grid-4,
  .grid-3,
  .mode-tabs {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .feature-card,
  .pricing-card,
  .doc-card,
  .download-card,
  .step-card {
    padding: 20px;
  }

  .button {
    width: 100%;
  }

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