@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --text: #2a2a2a;
  --muted: #7a746c;
  --line: #e6e1da;
  --bg: #ececec;
  --paper: #fff;
  --ink: #2a2a2a;
  --signal: #f08a3c;
  --signal-soft: rgba(240, 138, 60, 0.42);
  font-family: Outfit, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* Inner pages — same language as landing, quieter */
body.page { background: #dedede; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--signal);
  position: relative;
}
.mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
}
.nav-links { display: flex; gap: 8px 16px; align-items: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
.btn.primary {
  background: var(--ink);
  color: #fff;
  border: 1.5px solid var(--signal);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(10px);
}
.prose {
  max-width: 720px;
  margin: 28px auto 24px;
  padding: 36px 40px 40px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.prose p, .prose li { color: #4a453f; }
.prose h1 {
  font-size: 32px;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 12px;
}
.prose h2 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 600;
  margin: 28px 0 10px;
}
.code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  background: #1a1d24;
  color: #ececec;
  padding: 18px 20px;
  display: block;
  overflow: auto;
  white-space: pre;
  border-radius: 16px;
  border: 1px solid var(--signal-soft);
}
.note {
  border: 1px solid var(--signal-soft);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
  background: rgba(240, 138, 60, 0.07);
  color: #3d3a36;
}
input[type="text"], input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  background: #fff;
}
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; font-weight: 400; }
.page-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 8px 40px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.page-footer a:hover { color: var(--ink); }

/* Home: rounded card, colleague isometric (SQL hub) */
body.home {
  min-height: 100vh;
  background: #ececec;
  padding: 0;
}
.shell {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  background: #ececec;
  position: relative;
  border: 0;
}
.hero {
  position: relative;
  min-height: 82vh;
  color: var(--text);
  background: #ececec;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.hero-dim {
  display: none;
}
.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}
.hero-top .nav-links { color: var(--muted); }
.hero-top .nav-links a:hover { color: var(--text); }
.hero-top .btn {
  border-radius: 14px;
}
.hero-top .btn.ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 1px solid var(--signal-soft);
}
.hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4vh 24px 0;
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}
.hero-sub {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 34em;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}
.widgets {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  margin: 4vh auto 0;
  max-width: 1280px;
  width: 100%;
  align-items: stretch;
  box-sizing: border-box;
}
.widgets > article {
  display: flex;
  flex-direction: column;
}
.card-action { margin: auto 0 0; padding-top: 16px; }
.cta-card, .spec-card {
  border-radius: 20px;
  padding: 20px 22px 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(40, 30, 20, 0.06);
}
.cta-card {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid var(--line);
  outline-offset: 0;
}
.widgets .cta-card,
.widgets .spec-card {
  background: rgba(252, 250, 247, 0.38);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 12px 32px rgba(40, 30, 20, 0.08);
  color: #1a1a1a;
}
.widgets .cta-card {
  border: 1px solid rgba(255, 255, 255, 0.55);
  outline: 1px solid rgba(230, 225, 218, 0.45);
}
.widgets h2,
.widgets .sku-title {
  color: #161616;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.widgets .hint {
  color: #4a453f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.widgets .mini-dl dt,
.widgets .spec-card dt {
  color: #5a544c;
  opacity: 1;
  font-weight: 600;
}
.widgets .mini-dl dd,
.widgets .spec-card dd {
  color: #161616;
  font-weight: 700;
}
.cta-card h2, .spec-card .sku-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.mini-dl {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.mini-dl dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0; }
.mini-dl dd { margin: 2px 0 0; font-weight: 600; }
.spec-card {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1.5px solid var(--signal);
}
.spec-card .sku {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--signal);
  font-weight: 500;
}
.spec-card dl { margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.spec-card dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.75; margin: 0; font-weight: 500; }
.spec-card dd { margin: 2px 0 0; font-weight: 600; }
.below {
  background: #f4f3f1;
  color: var(--text);
  padding: 48px 28px 28px;
  border-top: 1px solid var(--line);
}
.below h2 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 auto 20px;
  max-width: 1280px;
}
.steps, .plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto 40px;
  max-width: 1280px;
}
.step, .plan {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}
.plan:nth-child(2) {
  border-color: var(--signal);
}
.step .num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--signal);
  display: block;
  margin-bottom: 8px;
}
.plan .price { font-size: 13px; color: var(--muted); margin: 6px 0 10px; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.home-footer {
  background: #f4f3f1;
  padding: 8px 28px 28px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.home-footer a:hover { text-decoration: underline; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto 48px;
  max-width: 1280px;
}
.feat {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
}
.feat:nth-child(2),
.feat:nth-child(4) {
  border-color: var(--signal);
}
.feat .num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--signal);
  display: block;
  margin-bottom: 8px;
}

body.desk {
  background: #e4e4e4;
  min-height: 100vh;
}
.desk-app {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  background: #f4f3f1;
}
.desk-side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.desk-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.desk-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
}
.desk-nav a:hover,
.desk-nav a.on {
  color: var(--ink);
  border-color: var(--signal);
  background: rgba(240, 138, 60, 0.06);
}
.desk-who {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.desk-who a { text-decoration: underline; }
.desk-main { padding: 28px 32px 48px; max-width: 960px; }
.desk-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}
.desk-top h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.desk-status { font-size: 13px; color: var(--muted); }
.desk-block { margin-bottom: 36px; }
.desk-block h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.kpi span { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kpi strong { display: block; margin-top: 6px; font-size: 22px; letter-spacing: -0.03em; }
.bars { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 32px;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 13px;
}
.bar-row i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--signal);
}
.bar-row b { font-weight: 600; text-align: right; }
.desk-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 13px;
}
.desk-table th, .desk-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.desk-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}
.desk-table tr:last-child td { border-bottom: 0; }
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 860px) {
  body.home { padding: 0; }
  .shell { border-radius: 0; min-height: 100vh; }
  .widgets, .steps, .plans, .features, .kpis, .channel-grid { grid-template-columns: 1fr; }
  .hero-title { padding-top: 6vh; }
  .widgets { margin-top: 6vh; }
  .desk-app { grid-template-columns: 1fr; }
  .desk-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .desk-nav { flex-direction: row; flex-wrap: wrap; }
}
