
:root {
  --bg: #0d0f0e;
  --surface: #171a18;
  --surface-2: #20241f;
  --surface-3: #272c29;
  --text: #f4f7fb;
  --muted: #a5afa8;
  --border: #343a33;
  --accent: #2ee59d;
  --accent-2: #75c7ff;
  --warning: #f2c94c;
  --danger: #ff6b6b;
  --success: #56d68a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
}

body > .container {
  flex: 1;
}

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

a:hover {
  color: var(--accent-2);
}

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

strong {
  color: var(--text);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  flex: 1;
}

.narrow {
  max-width: 820px;
}

.text-center {
  text-align: center;
}

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

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.brand {
  color: var(--accent);
}

.top-bar {
  width: 100%;
  background: rgba(13, 15, 14, 0.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.top-bar-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.top-bar-left a {
  display: inline-flex;
  align-items: center;
}

.top-bar-left img.logo {
  height: 52px;
  width: auto;
  display: block;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-menu a,
.mobile-menu a,
.top-bar-right a {
  color: var(--muted);
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.desktop-menu a:hover,
.mobile-menu a:hover,
.top-bar-right a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.top-bar-right span {
  color: var(--muted);
  font-size: 14px;
  margin-right: 6px;
}

.hamburger {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mobile-menu.show {
  display: flex;
  flex-direction: column;
}

.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  background-image: url("../assets/img/og-index.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 380px auto;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.hero .subtitle {
  max-width: 620px;
  margin-bottom: 26px;
  font-size: 19px;
  color: #c6d1dd;
  text-align: left;
}

.hero-actions,
.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}

.button,
button {
  min-height: 44px;
  padding: 11px 18px;
  background: var(--accent);
  color: #06110c;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover,
.button:hover {
  background: #4df0ae;
  color: #06110c;
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.button.secondary:hover {
  background: var(--surface-2);
  color: var(--text);
}

.page-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: 44px;
  margin: 0 0 20px;
}

h2 {
  font-size: 32px;
  margin: 0 0 18px;
}

h3 {
  font-size: 22px;
  margin: 28px 0 12px;
}

ul,
ol {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--muted);
}

li {
  margin-bottom: 8px;
}

.landing-section {
  padding: 54px 0;
  border-bottom: 1px solid var(--border);
}

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

.card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  color: var(--text);
  min-height: 160px;
}

.card:hover,
.feature-card:hover {
  border-color: #3d4b59;
}

.feature-card h3,
.card h3 {
  margin-top: 0;
}

.feature-card p,
.card p {
  margin-bottom: 0;
}

.callout-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.callout-strip div {
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.callout-strip strong {
  display: block;
  margin-bottom: 4px;
}

.intro {
  max-width: 900px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
}

label {
  color: #d9e2ec;
  font-size: 14px;
  font-weight: 800;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  background: #111411;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-2);
  background: #141a18;
}

textarea {
  min-height: 240px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

.auth-page {
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.auth-box {
  width: min(460px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: left;
}

.auth-box h3 {
  margin-top: 8px;
  font-size: 28px;
}

.auth-brand {
  color: var(--text);
  font-weight: 900;
  font-size: 20px;
}

.auth-box code,
.decoded-box,
pre,
code {
  background: #0e1318;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #9ef3c4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

code {
  padding: 2px 6px;
}

pre,
.decoded-box {
  padding: 18px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  max-width: 100%;
}

.qr-code {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}

.form-message {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.form-message.error {
  border-color: rgba(255, 107, 107, 0.45);
  color: #ffc2c2;
}

.form-message.success {
  border-color: rgba(86, 214, 138, 0.45);
  color: #c7f7d8;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.blog-list article {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 22px;
  margin-bottom: 16px;
  border-radius: 8px;
}

.blog-list article h3 {
  margin-top: 0;
}

.blog-list article p {
  color: var(--muted);
}

.blog-list article small {
  font-size: 12px;
  color: #778596;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  background: var(--surface-2);
  font-size: 13px;
}

td {
  color: var(--muted);
  font-size: 14px;
}

footer {
  color: var(--muted);
  font-size: 14px;
  padding: 0 0 24px;
  text-align: center;
  width: 100%;
}

footer > div {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 24px 0 0;
}

footer a {
  color: var(--muted);
  margin: 0 6px;
}

footer a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    background-size: 240px auto;
    background-position: right 32px;
  }

  .hero-inner {
    padding: 64px 0 70px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .feature-grid,
  .cards-container,
  .callout-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 1120px);
    padding: 34px 0;
  }

  .desktop-menu {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .top-bar-inner {
    min-height: 68px;
  }

  .top-bar-left img.logo {
    height: 44px;
  }

  .hero {
    background-image: none;
  }

  .hero-inner {
    width: min(100% - 28px, 1120px);
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .subtitle {
    font-size: 17px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .auth-box {
    padding: 24px;
  }

  .hero-actions,
  .cta-buttons {
    flex-direction: column;
  }

  .button,
  button {
    width: 100%;
  }

  footer > div {
    width: min(100% - 28px, 1120px);
  }
}
