/* Tacbaze product website (generated pages in /home/, /features/, ... use this file). Dark like the app, light on request. */
:root {
  --bg: #0e1626;
  --panel: #16213a;
  --panel-2: #1b2846;
  --border: #27344f;
  --text: #e8eef9;
  --muted: #9db0c9;
  --brand: #22c55e;
  --brand-fg: #34d399;
  --on-brand: #052e16;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --panel: #f6f8fb;
    --panel-2: #eef2f8;
    --border: #dbe3ef;
    --text: #0f172a;
    --muted: #475569;
    --brand: #16a34a;
    --brand-fg: #15803d;
    --on-brand: #ffffff;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    color-scheme: light;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--brand-fg);
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 0.9rem;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.muted {
  color: var(--muted);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--panel);
  padding: 8px 12px;
  border-radius: 8px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.menu {
  display: flex;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
}
.menu a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}
.menu a:hover,
.menu a[aria-current='page'] {
  color: var(--text);
  background: var(--panel);
}
.top-actions {
  display: flex;
  gap: 8px;
}

/* buttons */
.btn {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
}
.btn:hover {
  background: var(--panel);
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.btn.primary:hover {
  filter: brightness(1.08);
}
.btn.ghost {
  border-style: dashed;
  margin-top: 8px;
}
.btn.big {
  padding: 13px 24px;
  font-size: 1.05rem;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* hero */
.hero {
  background:
    radial-gradient(1000px 420px at 70% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-in {
  padding-top: 88px;
  padding-bottom: 88px;
}
.eyebrow {
  color: var(--brand-fg);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}
.accent {
  color: var(--brand-fg);
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 18px 0 26px;
}
.lead.small {
  font-size: 1.05rem;
  margin: 4px 0 24px;
}
.note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* sections */
.section {
  padding-top: 64px;
  padding-bottom: 16px;
}
.pagehead {
  padding-top: 64px;
  padding-bottom: 8px;
}
.narrow {
  max-width: 820px;
}
.more {
  margin-top: 18px;
  font-weight: 600;
}
.grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
a.card.link {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.card.link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}
.tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: var(--brand-fg);
  white-space: nowrap;
}
.code {
  color: var(--brand-fg);
  font-weight: 700;
  font-size: 0.85rem;
}
.mods {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 8px 0 0;
}
.pain {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent);
}
.fix {
  font-weight: 600;
  margin: 0;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.ticks li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
  font-size: 0.95rem;
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-fg);
  font-weight: 700;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.jump a {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text);
}
.jump a:hover {
  border-color: var(--brand);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.chips span {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 0.9rem;
}

/* how it works / usps */
.steps {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.steps li {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  margin-bottom: 8px;
}
.usp .big-n {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand-fg);
  margin: 0;
  line-height: 1;
}
.usp h3 {
  margin-top: 8px;
}
.usp p:last-child {
  color: var(--muted);
  font-size: 0.93rem;
}

/* pricing */
.plan {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.plan.hot {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}
.price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 8px 0 0;
  line-height: 1.1;
}
.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.sub {
  color: var(--muted);
  font-size: 0.92rem;
}
.limits {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 14px 0;
}
.plan .btn {
  margin-top: auto;
}
.plan .ticks {
  margin-bottom: 8px;
}
.fine {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 10px 0 0;
}
.plain {
  padding-left: 20px;
}
.plain li {
  margin: 8px 0;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* faq */
.qa {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 10px;
}
.qa summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
}
.qa p {
  color: var(--muted);
}
.prose p {
  font-size: 1.05rem;
}

/* call to action */
.band {
  margin-top: 64px;
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 40px;
  padding-bottom: 40px;
}
.band h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}
.band p {
  margin: 0;
  color: var(--muted);
}

/* footer */
.foot {
  margin-top: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.foot-in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
.foot h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.foot a:not(.brand) {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin: 6px 0;
  font-size: 0.95rem;
}
.foot a:not(.brand):hover {
  color: var(--brand-fg);
}
.copy {
  padding-top: 24px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .grid.three,
  .grid.four,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .foot-in {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .grid.two,
  .grid.three,
  .grid.four,
  .steps,
  .foot-in {
    grid-template-columns: 1fr;
  }
  .hero-in {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .top-in {
    gap: 8px;
  }
  .menu {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .top-actions {
    margin-left: auto;
  }
  .band-in {
    flex-direction: column;
    align-items: flex-start;
  }
}
