/* TecHost Brand Kit — v2 (flat colors, tighter control radius)
   Generated: 2026-01-08
*/

:root {
  /* Brand core */
  --tc-red-500: #E11935;
  --tc-red-600: #B01026;
  --tc-red-300: #FF4D68;
  --tc-red-050: #FFE9ED;

  /* Neutrals */
  --tc-ink: #121318;
  --tc-slate: #2B2F3A;
  --tc-muted: #6B7280;
  --tc-border: #E5E7EB;
  --tc-bg: #F8FAFC;
  --tc-surface: #FFFFFF;

  /* Utility accents */
  --tc-link: #2563EB;
  --tc-success: #16A34A;
  --tc-warning: #F59E0B;

  /* Effects */
  --tc-focus: rgba(225, 25, 53, 0.28);
  --tc-shadow: 0 14px 40px rgba(18, 19, 24, 0.10);
  --tc-shadow-soft: 0 10px 25px rgba(18, 19, 24, 0.08);

  /* Typography */
  --tc-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --tc-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Radius */
  --tc-r-xs: 10px;
  --tc-r-sm: 14px;
  --tc-r-md: 18px;
  --tc-r-lg: 22px;

  /* Controls: small radius (no “pill”) */
  --tc-r-ctl: 0.22em;

  /* Spacing */
  --tc-container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior:smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--tc-font);
  color: var(--tc-ink);
  background: var(--tc-bg);
  line-height: 1.55;
}

a { color: var(--tc-link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--tc-container), calc(100% - 48px));
  margin: 0 auto;
}

.header {
/*  position: sticky;
  top: 0;
  z-index: 10;*/
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name strong {
  font-size: 14px;
  letter-spacing: 0.2px;
}

.brand__name span {
  font-size: 12px;
  color: var(--tc-muted);
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--tc-slate);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--tc-r-ctl);
}
.nav a:hover {
  background: rgba(225, 25, 53, 0.08);
  color: var(--tc-ink);
  text-decoration: none;
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero {
  padding: 56px 0 22px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .brand { min-width: auto; }
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: var(--tc-r-lg);
  box-shadow: var(--tc-shadow-soft);
}

.card--solid {
  background: var(--tc-surface);
}

.card__pad {
  padding: 22px;
}

.kicker {
  color: var(--tc-red-600);
  font-weight: 650;
  letter-spacing: 0.3px;
  font-size: 12px;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 10px;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.25px;
}

h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

p {
  margin: 10px 0;
  color: rgba(18, 19, 24, 0.86);
}

.lead {
  font-size: 16px;
  color: rgba(18, 19, 24, 0.82);
}

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

hr {
  border: 0;
  height: 1px;
  background: rgba(229, 231, 235, 0.95);
  margin: 18px 0;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.badge {
  font-size: 12px;
  padding: 6px 9px;
  border-radius: var(--tc-r-ctl);
  border: 1px solid rgba(229, 231, 235, 0.95);
  background: rgba(255, 255, 255, 0.92);
}
.badge--red {
  border-color: rgba(225, 25, 53, 0.26);
  background: rgba(225, 25, 53, 0.08);
  color: var(--tc-red-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--tc-r-ctl);
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--tc-focus);
}

.btn--primary {
  background: var(--tc-red-500);
  color: white;
  box-shadow: 0 10px 20px rgba(225, 25, 53, 0.18);
}
.btn--primary:hover { background: var(--tc-red-600); }

.btn--secondary {
  background: var(--tc-surface);
  color: var(--tc-ink);
  border-color: rgba(229, 231, 235, 0.98);
}
.btn--secondary:hover {
  border-color: rgba(225, 25, 53, 0.22);
  background: rgba(225, 25, 53, 0.06);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(229, 231, 235, 0.98);
  color: var(--tc-slate);
}
.btn--ghost:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.07);
  color: var(--tc-ink);
}

.grid {
  display: grid;
  gap: 14px;
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 920px) {
  .grid--3 { grid-template-columns: 1fr; }
}

.swatch {
  border-radius: var(--tc-r-md);
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.95);
  background: var(--tc-surface);
}
.swatch__chip {
  height: 70px;
}
.swatch__meta {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--tc-slate);
  display: grid;
  gap: 2px;
}
.swatch__meta strong {
  color: var(--tc-ink);
  font-size: 13px;
}

.section {
  padding: 22px 0 6px;
  /*scroll-margin-top: 3em;*/
}
.section__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.section__title small {
  color: var(--tc-muted);
}

.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) {
  .controls { grid-template-columns: 1fr; }
}

.field label {
  font-size: 12px;
  color: var(--tc-slate);
  display: block;
  margin-bottom: 6px;
}
.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--tc-r-ctl);
  border: 1px solid rgba(229, 231, 235, 0.98);
  background: var(--tc-surface);
  font-family: var(--tc-font);
  font-size: 14px;
}
.input:focus {
  outline: 0;
  border-color: rgba(225, 25, 53, 0.38);
  box-shadow: 0 0 0 4px var(--tc-focus);
}

.help {
  font-size: 12px;
  color: var(--tc-muted);
  margin-top: 6px;
}

.alert {
  border-radius: var(--tc-r-md);
  padding: 12px 14px;
  border: 1px solid rgba(229, 231, 235, 0.98);
  background: var(--tc-surface);
  font-size: 13px;
}
.alert--danger {
  border-color: rgba(225, 25, 53, 0.25);
  background: rgba(225, 25, 53, 0.07);
}
.alert--success {
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.08);
}
.alert--warning {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.10);
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--tc-r-md);
  border: 1px solid rgba(229, 231, 235, 0.98);
  background: var(--tc-surface);
}
.table th, .table td {
  text-align: left;
  padding: 12px 12px;
  font-size: 13px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.90);
}
.table th {
  font-size: 12px;
  color: var(--tc-slate);
  background: rgba(248, 250, 252, 0.85);
}
.table tr:last-child td { border-bottom: 0; }

.code {
  font-family: var(--tc-mono);
  font-size: 12px;
  padding: 14px;
  background: var(--tc-ink);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--tc-r-md);
  overflow-x: auto;
  border: 1px solid rgba(18, 19, 24, 0.12);
}

.footer {
  padding: 28px 0 44px;
  color: var(--tc-muted);
  font-size: 12px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.logo-preview {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--tc-surface);
  border: 1px solid rgba(229, 231, 235, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-preview img {
  width: 44px;
  height: 44px;
}


img{max-width:100%;height:auto;}


/* --- Mobile tweaks (landing) --- */
@media (max-width: 860px){
  .header__inner{flex-wrap:wrap; align-items:flex-start;}
  .brand{flex:1 1 100%;}
  .nav{width:100%; justify-content:flex-start; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:2px;}
  .actions{width:100%; flex-wrap:wrap;}
  .actions .btn{flex:1 1 170px;}
}

@media (max-width: 720px){
  .container{width:min(var(--tc-container), calc(100% - 24px));}
  .hero{padding:28px 0 14px;}
  .card__pad{padding:16px;}
  .btn{padding:10px 12px;}
  .table th, .table td{padding:10px 10px;}
  .table{display:block; overflow-x:auto; -webkit-overflow-scrolling:touch;}
}
