
:root {
  --bg: #f9f9f7;
  --text: #1f2933;
  --muted: #474B54;
  --border: #e5e7eb;
  --green: #10b981;
  --red: #ef4444;
}

* {
  box-sizing: border-box;
  font-family: "Lexend", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
}

.nav a {
  margin-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

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

.site-main {
  padding: 0rem 0 4rem;
}

h1, h2 {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin: 4rem 0 1rem;
  content: ":// ";
  scroll-margin-top: 40px;
}

h2::before {
  content: ":// ";
  color: var(--green);
}

h3 {
  font-weight: 600;
  margin-bottom: 1rem
}

p {
  margin: 0 0 1.25rem;
}

p.lead {
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 300;
}

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

a:hover {
  text-decoration: underline;
}

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

code.highlighter-rouge {
  background-color: #ffffff;
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
}

pre {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
}

.hero {
  margin: 2rem 0 6rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.terminal {
  background: #0b0e14;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 5px solid #000;
  overflow: hidden;
  min-width: 100%;
}

.terminal pre {
  height: 400px;
  min-width: 100%;
}

.terminal-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: #161925;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: var(--green); }

/* Subtle semantic colors */
.terminal .ok {
  color: var(--green); /* soft green */
}

.terminal .fail {
  color: var(--red); /* soft red */
}

.terminal .dim {
  color: #9ca3af; /* muted gray */
}

.terminal pre {
  margin: 0;
  padding: 1.2rem;
  color: #000;
  font-size: 0.85rem;
  line-height: 1.45;
  overflow-x: auto;
}

.terminal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
}

.btn {
  display: inline-block;
  background: #ffcc00; /* strong yellow */
  color: #000;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  padding: 0.9rem 1.4rem;
  border: 3px solid #000;
  cursor: pointer;

  transform: skew(-8deg);
  box-shadow: 4px 4px 0 #000;

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

/* Unskew text so it stays readable */
.btn > span {
  display: inline-block;
  transform: skew(8deg);
}

/* Hover / active */
.btn:hover {
  transform: skew(-8deg) translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.btn:active {
  transform: skew(-8deg) translate(1px, 1px);
  box-shadow: 2px 2px 0 #000;
}


.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white; /* same aggressive yellow */
  border: 3px solid #000;
  z-index: 0;
}

/* Card content */
.card__inner {
  position: relative;
  background: transparent;
  padding: 1.5rem 1.6rem;
  z-index: 1;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card p {
  margin: 0;
}


.why-axotly {
  margin-top: 4rem;
}

.why-axotly h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #000;
  background: #fff;
}

th,
td {
  padding: 0.85rem 0.75rem;
  text-align: center;
  border: 2px solid #000;
}

th:first-child,
td:first-child {
  text-align: left;
  font-weight: 700;
}

/* Header */
thead th {
  background: #f5f5f5;
  font-weight: 900;
}

/* Axotly column */
.highlight {
  background: #ffcc00;
  font-weight: 900;
}

/* Subtle emphasis */
tbody tr:hover td {
  background: #fffbe6;
}


/* Code block */
.install-option pre {
  margin: 0;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 2px solid #000;
  font-size: 0.9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-x: auto;
}

.install__note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer span {
  color: #9ca3af;
}
