/* TenantThrift — marketing site styles. Plain CSS, no build step. */

:root {
  --bg: #ffffff;
  --soft: #f4f6f9;
  --ink: #14142b;
  --muted: #5c6573;
  --line: #e2e6ec;
  --accent: #0b5394;
  --accent-h: #0a64ad;
  --navy: #0c1726;
  --navy-soft: #16263b;
  --teal: #1a7f6b;
  --amber: #b4690e;
  --radius: 12px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
}
.brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent);
  background-image: linear-gradient(135deg, var(--accent-h), var(--accent));
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }
.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost:hover { background: var(--soft); }
.btn-block { display: block; text-align: center; margin-top: 18px; }

/* ---- Eyebrow / headings ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow-light { color: #7db5e6; }

h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 800;
}
h2 {
  font-size: clamp(25px, 3.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 750;
}
h2 em { font-style: normal; color: var(--accent); }
.h2-light { color: #fff; }
h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

/* ---- Hero ---- */
.hero { padding: 72px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 30em;
}
.cta-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.micro { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---- Hero report mockup ---- */
.report {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 48px -28px rgba(12, 23, 38, 0.4);
  overflow: hidden;
}
.report-head {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 11px 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.report-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
}
.report-body { padding: 22px 20px; }
.report-label { font-size: 12px; color: var(--muted); }
.report-figure {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
  margin: 2px 0 18px;
}
.report-figure span { font-size: 16px; font-weight: 600; color: var(--muted); }
.report-rows { display: flex; flex-direction: column; gap: 1px; }
.report-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.cat { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.cat-compute { background: var(--accent); }
.cat-storage { background: var(--teal); }
.cat-network { background: var(--amber); }
.r-name { flex: 1; }
.r-amt { font-family: var(--mono); font-weight: 600; }

/* ---- Trust strip ---- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding: 18px 24px;
  justify-content: center;
}
.trust-inner span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding-left: 18px;
}
.trust-inner span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 7px; height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Sections ---- */
.section { padding: 76px 0; scroll-margin-top: 70px; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); }
.body {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
  max-width: 40em;
}
.body.wide { max-width: 46em; margin-bottom: 36px; }
.body-light { margin-top: 14px; font-size: 17px; color: #aebfd2; }
.section h2 { margin-top: 0; }

/* ---- Grids / cards ---- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.section-soft .card { background: #fff; }

/* ---- Steps (dark) ---- */
.steps { margin-top: 36px; }
.step {
  background: var(--navy-soft);
  border: 1px solid #24364c;
  border-radius: var(--radius);
  padding: 24px;
}
.step-no {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: #7db5e6;
}
.step h3 { color: #fff; margin: 10px 0 6px; }
.step p { font-size: 14.5px; color: #aebfd2; }

/* ---- Implementation steps ---- */
.steps-list { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.steps-list li {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: #fff;
}
.step-text h3 { margin-bottom: 4px; }
.step-text p { font-size: 14.5px; color: var(--muted); }
.code {
  background: var(--navy);
  color: #e8eef5;
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
}
.code code { white-space: pre; }

/* ---- Pricing ---- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card-feature { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.badge {
  position: absolute;
  top: -11px; left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 6px 0 4px;
}
.price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.ticks { list-style: none; margin-top: 8px; flex: 1; }
.ticks li {
  font-size: 14px;
  padding: 6px 0 6px 22px;
  position: relative;
}
.ticks li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* ---- FAQ ---- */
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 14px;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p {
  padding: 0 28px 18px 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---- Final CTA ---- */
.cta-final { padding: 72px 0; }
.cta-final .btn { margin-top: 24px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner span:first-child { font-weight: 700; color: var(--ink); }

/* ---- Modes (headless vs premium) ---- */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
  align-items: start;
}
.mode {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.mode-premium {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 48px -32px rgba(11, 83, 148, 0.55);
}
.mode-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.mode-tag-prem { color: var(--accent); }
.mode h3 { font-size: 21px; margin-bottom: 6px; }
.mode-lead { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.mode .ticks { flex: 1; }
.mode .btn-block { margin-top: 22px; }
.mode-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }

/* ---- Dashboard screenshot mockup ---- */
.shot {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -34px rgba(12, 23, 38, 0.5);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.shot-dot { width: 10px; height: 10px; border-radius: 50%; background: #cdd4de; }
.shot-url {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.shot-body { padding: 26px 26px 28px; }
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.dash-hero .report-label { font-size: 13px; }
.dash-figure {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.05;
  margin: 2px 0 2px;
}
.dash-figure span { font-size: 17px; font-weight: 600; color: var(--muted); }
.dash-sub { font-size: 13px; color: var(--muted); }
.dash-chips { display: flex; gap: 12px; }
.chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  background: var(--soft);
  min-width: 92px;
}
.chip-n { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.chip-l { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 92px;
  margin: 24px 0 6px;
  padding: 0 2px;
}
.dash-chart span {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--accent-h), #8fb9dd);
  opacity: 0.9;
}
.dash-rows { margin-top: 14px; border-top: 1px solid var(--line); }
.dash-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.sev { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sev-high { background: #c0392b; }
.sev-med { background: var(--amber); }
.sev-low { background: var(--teal); }
.d-name { flex: 1; font-weight: 500; }
.d-basis { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.d-amt { font-family: var(--mono); font-weight: 700; min-width: 64px; text-align: right; }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps-list li { grid-template-columns: 1fr; gap: 16px; }
  .modes { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 32px; }
  .d-basis { display: none; }
  .dash-chips { width: 100%; }
  .chip { flex: 1; min-width: 0; }
  .shot-body { padding: 20px 18px 22px; }
}

/* ---- Deploy note (one-click implementation section) ---- */
.deploy-note {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 640px;
  margin: 0 auto;
}
.code-inline {
  display: block;
  font-family: var(--mono);
  font-size: 0.82rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0;
  text-align: left;
  color: var(--ink);
  word-break: break-word;
}

/* ---- Docs / legal / thanks pages ---- */
.doc { max-width: 760px; }
.doc h1 { margin-bottom: 6px; }
.doc h2 { margin-top: 34px; }
.doc h3 { margin-top: 22px; font-size: 16px; }
.doc p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.doc ul { margin: 12px 0 0 22px; }
.doc li { margin-bottom: 7px; font-size: 16px; line-height: 1.65; }
.doc .btn { margin-top: 8px; }
.doc .code { margin-top: 14px; }
.doc p code, .doc li code {
  background: var(--soft); border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 5px; font-family: var(--mono); font-size: 0.88em; color: var(--ink);
}
.legal p, .legal li { color: var(--muted); }
.legal h2 { font-size: 19px; }
.thanks-steps {
  text-align: left; max-width: 560px; margin: 18px auto 0; padding-left: 20px;
  color: var(--muted); font-size: 16px; line-height: 1.65;
}
.thanks-steps li { margin-bottom: 9px; }
.thanks-steps code {
  background: var(--soft); border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 5px; font-family: var(--mono); font-size: 0.86em; color: var(--ink);
}
