/* ============================================
   2Smart House — Hi-Fi Variant A
   Brass accent + charcoal + cream
   ============================================ */

:root {
  --bg: #f5f1ea;
  --bg-2: #ede7d8;
  --bg-3: #e4dcc7;
  --ink: #1a1a17;
  --ink-2: #2d2c28;
  --ink-soft: #5a5751;
  --ink-faint: #8a857c;
  --line: #1a1a17;
  --line-soft: rgba(26, 26, 23, 0.18);
  --accent-h: 75;
  --accent: #D40634;
  --accent-soft: oklch(88% 0.06 var(--accent-h));
  --accent-deep: #a30329;
  --paper: #ffffff;
  --radius: 10px;
  --radius-sm: 6px;
}

[data-theme="dark"] {
  --bg: #16140f;
  --bg-2: #1f1d17;
  --bg-3: #28251e;
  --ink: #f3ede0;
  --ink-2: #e8e0d0;
  --ink-soft: #b8b1a3;
  --ink-faint: #807a6e;
  --line: #f3ede0;
  --line-soft: rgba(243, 237, 224, 0.16);
  --paper: #16140f;
}

* { box-sizing: border-box; }

.tsh {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: -0.005em;
  position: relative;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.tsh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 0;
}
.tsh > * { position: relative; z-index: 1; }

.tsh h1, .tsh h2, .tsh h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}

.tsh h1 { font-size: clamp(2rem, 8vw, 3.25rem); }
.tsh h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
.tsh h3 { font-size: 1.25rem; letter-spacing: -0.025em; line-height: 1.2; }
.tsh p { margin: 0; }

/* ── Header ─────────────────────────────────── */
.tsh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.tsh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}
.tsh-logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.tsh-logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.tsh-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-feature-settings: "tnum";
}
.tsh-tel:hover { color: var(--accent-deep); }

/* ── Section base ──────────────────────────── */
.tsh-section {
  padding: 56px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.tsh-section.alt { background: var(--bg-2); }
.tsh-section.dark {
  background: #1a1a17;
  color: #f5f1ea;
  border-bottom-color: rgba(245, 241, 234, 0.1);
}
.tsh-section.dark h2 { color: #f5f1ea; }
.tsh-section.dark .eyebrow { color: rgba(245, 241, 234, 0.6); }
.tsh-section.dark .eyebrow::before { background: var(--accent); }

.tsh-eyebrow, .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tsh-eyebrow::before, .eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

/* ── Hero ──────────────────────────────────── */
.tsh-hero { padding: 32px 20px 48px; }
.tsh-hero h1 {
  margin-top: 16px;
  margin-bottom: 12px;
}
.tsh-hero h1 em {
  font-style: normal;
  color: var(--accent-deep);
  position: relative;
  white-space: nowrap;
}
.tsh-hero .sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 3.4vw, 1.2rem);
  color: var(--ink-2);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.3;
}
.tsh-hero .lede {
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 56ch;
}
.tsh-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 32px;
}

/* ── Buttons ───────────────────────────────── */
.tsh-btn {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 16px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.tsh-btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.tsh-btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
}
.tsh-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-soft);
}
.tsh-btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.tsh-btn-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  align-self: center;
}
.tsh-btn-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ── Visual / hero illustration ─────────────── */
.tsh-hero-visual {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-3);
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
}
.tsh-hero-visual svg { display: block; width: 100%; height: auto; }
.tsh-hero-visual .badge-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--bg-3);
}
.tsh-hero-visual .badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* ── Trust strip ──────────────────────────── */
.tsh-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.tsh-trust-item {
  background: var(--bg);
  padding: 16px;
}
.tsh-trust-item .num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.tsh-trust-item .label {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ── Phase cards ─────────────────────────── */
.tsh-phase-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.tsh-phase-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.tsh-phase-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.tsh-phase-card .num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 16px;
  font-feature-settings: "tnum";
}
.tsh-phase-card h3 { margin-bottom: 8px; }
.tsh-phase-card p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 16px;
}
.tsh-phase-card .mini {
  font-size: 13px;
  color: var(--accent-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Deliverables list ───────────────────── */
.tsh-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.tsh-list-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.tsh-list-row .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tsh-list-row .text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.tsh-list-row .meta {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* ── Pricing band ─────────────────────────── */
.tsh-pricing {
  text-align: left;
}
.tsh-pricing h2 {
  font-size: clamp(2rem, 8vw, 3rem);
  margin-bottom: 12px;
}
.tsh-pricing h2 .from {
  display: block;
  font-size: 0.5em;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.tsh-pricing h2 .accent { color: var(--accent); }
.tsh-pricing p { color: var(--ink-soft); margin-bottom: 24px; max-width: 50ch; }

/* ── Process timeline ────────────────────── */
.tsh-process {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  position: relative;
}
.tsh-process-step {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}
.tsh-process-step:last-child { padding-bottom: 0; }
.tsh-process-step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--line-soft);
}
.tsh-process-step:last-child::before { display: none; }
.tsh-process-step .dot {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.tsh-process-step .body { flex: 1; padding-top: 6px; }
.tsh-process-step h3 { font-size: 17px; margin-bottom: 4px; }
.tsh-process-step .duration {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ── Project cards ───────────────────────── */
.tsh-projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}
.tsh-project {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tsh-project:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.tsh-project-img {
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.tsh-project-img svg { width: 100%; height: 100%; display: block; }
.tsh-project-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: var(--bg-3);
}
.tsh-project-body { padding: 18px; }
.tsh-project h3 { font-size: 16px; margin-bottom: 4px; }
.tsh-project .loc {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.tsh-project .feats {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  line-height: 1.5;
}
.tsh-project .quote {
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  font-style: italic;
}
.tsh-project .quote .who {
  font-style: normal;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--ink-faint);
  display: block;
  margin-top: 4px;
}

/* ── Tech compare ────────────────────────── */
.tsh-compare {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.tsh-compare-col {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}
.tsh-compare-col.us {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
}
.tsh-compare-col h3 {
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tsh-compare-col h3 .pill {
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  letter-spacing: 0.08em;
}
.tsh-compare-col.us h3 .pill { background: var(--accent); }
.tsh-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tsh-compare-col li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-2);
}
.tsh-compare-col li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
}
.tsh-compare-col.us li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23a30329' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3,8 7,12 13,4'/></svg>");
}
.tsh-compare-col.them li {
  color: var(--ink-soft);
}
.tsh-compare-col.them li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%238a857c' stroke-width='2' stroke-linecap='round'><line x1='4' y1='4' x2='12' y2='12'/><line x1='4' y1='12' x2='12' y2='4'/></svg>");
}

/* ── FAQ accordion ───────────────────────── */
.tsh-faq {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.tsh-faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 0;
}
.tsh-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.tsh-faq summary::-webkit-details-marker { display: none; }
.tsh-faq summary .icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  color: var(--ink-soft);
}
.tsh-faq details[open] summary .icon {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.tsh-faq .answer {
  padding: 0 36px 22px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  max-width: 60ch;
}

/* ── Form ────────────────────────────────── */
.tsh-form {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 22px;
  margin-top: 28px;
}
.tsh-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.tsh-field label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tsh-field label .req { color: var(--accent); margin-left: 2px; }
.tsh-field input[type="text"],
.tsh-field input[type="tel"],
.tsh-field input[type="email"],
.tsh-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}
.tsh-field input:focus,
.tsh-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.tsh-field textarea { resize: vertical; min-height: 80px; font-family: inherit; }

.tsh-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tsh-radio {
  position: relative;
}
.tsh-radio input { position: absolute; opacity: 0; }
.tsh-radio span {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
  background: var(--bg);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.tsh-radio:hover span { border-color: var(--ink); }
.tsh-radio input:checked + span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.tsh-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 18px 0 18px;
  line-height: 1.5;
}
.tsh-check input { margin-top: 3px; flex: none; accent-color: var(--accent); }
.tsh-check a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }

.tsh-form-meta {
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tsh-form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.45;
  border: 1px solid var(--line-soft);
}
.tsh-form-status[data-kind="ok"] {
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-2));
  border-color: color-mix(in oklab, var(--accent) 35%, var(--line-soft));
  color: var(--ink);
}
.tsh-form-status[data-kind="error"] {
  background: color-mix(in oklab, #c0392b 10%, var(--bg-2));
  border-color: color-mix(in oklab, #c0392b 35%, var(--line-soft));
  color: var(--ink);
}

/* ── Footer ──────────────────────────────── */
.tsh-footer {
  background: var(--ink);
  color: var(--bg-2);
  padding: 48px 20px 28px;
}
.tsh-footer .brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--bg);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.tsh-footer .tagline {
  font-size: 13px;
  color: rgba(245, 241, 234, 0.65);
  margin-bottom: 32px;
}
.tsh-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
  margin-bottom: 32px;
}
.tsh-footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.5);
  margin: 0 0 10px;
}
.tsh-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--bg-2);
}
.tsh-footer-col a {
  color: var(--bg-2);
  text-decoration: none;
}
.tsh-footer-col a:hover { color: var(--bg); }
.tsh-footer-bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.1);
  padding-top: 18px;
  font-size: 11px;
  color: rgba(245, 241, 234, 0.5);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* ── Brand bar ───────────────────────────── */
.tsh-brandbar {
  padding: 28px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
}
.tsh-brandbar .label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin-bottom: 22px;
}
.tsh-brandbar .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.tsh-brandbar img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(1) contrast(0.95);
  transition: opacity 0.18s ease, filter 0.18s ease;
}
.tsh-brandbar a:hover img,
.tsh-brandbar img:hover {
  opacity: 1;
  filter: grayscale(0) contrast(1);
}
[data-theme="dark"] .tsh-brandbar img {
  filter: grayscale(1) brightness(0) invert(1) contrast(0.9);
  opacity: 0.7;
}
[data-theme="dark"] .tsh-brandbar a:hover img,
[data-theme="dark"] .tsh-brandbar img:hover {
  opacity: 0.95;
}
@media (min-width: 768px) {
  .tsh-brandbar { padding: 40px 56px; }
  .tsh-brandbar .row { gap: 32px 56px; }
  .tsh-brandbar img { height: 40px; max-width: 200px; }
}
/* ── Density modifiers ───────────────────── */
.tsh.density-1 .tsh-section { padding: 80px 20px; }
.tsh.density-2 .tsh-section { padding: 64px 20px; }
.tsh.density-3 .tsh-section { padding: 56px 20px; }
.tsh.density-4 .tsh-section { padding: 44px 20px; }
.tsh.density-5 .tsh-section { padding: 32px 20px; }

/* ── Desktop ─────────────────────────────── */
@media (min-width: 768px) {
  .tsh-section { padding: 96px 56px; }
  .tsh.density-5 .tsh-section { padding: 56px 56px; }
  .tsh-header-inner { padding: 18px 32px; }

  .tsh-hero {
    padding: 56px 56px 96px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .tsh-hero-content { order: 1; }
  .tsh-hero-aside { order: 2; }
  .tsh-cta-stack { flex-direction: row; align-items: center; }
  .tsh-trust { grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
  .tsh-hero-visual { margin-bottom: 0; }

  .tsh-phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .tsh-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .tsh-list-row:nth-last-child(2) { border-bottom: 1px solid var(--line-soft); }
  .tsh-projects { grid-template-columns: repeat(3, 1fr); }
  .tsh-compare { grid-template-columns: 1fr 1fr; }
  .tsh-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .tsh-process-step { padding-bottom: 0; flex-direction: column; }
  .tsh-process-step::before {
    left: 36px;
    top: 18px;
    bottom: auto;
    width: calc(100% - 36px);
    height: 1px;
  }
  .tsh-pricing { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }

  .tsh-form { padding: 48px 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
  .tsh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .tsh-form-grid .tsh-field { margin-bottom: 16px; }
  .tsh-form-grid .tsh-field.full { grid-column: 1 / -1; }

  .tsh-footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ── Legal page ──────────────────────────── */
.tsh-legal { max-width: 760px; margin-left: auto; margin-right: auto; }
.tsh-legal h1 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
  color: var(--ink);
}
.tsh-legal-meta {
  font-size: 13px;
  color: var(--ink-faint);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.tsh-legal-body { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.tsh-legal-body h2 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 40px 0 14px;
  color: var(--ink);
  scroll-margin-top: 24px;
}
.tsh-legal-body h3 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 24px 0 10px;
  color: var(--ink);
}
.tsh-legal-body p { margin: 0 0 14px; }
.tsh-legal-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.tsh-legal-body ul li { margin-bottom: 6px; }
.tsh-legal-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.tsh-legal-body a:hover { color: var(--accent-deep); }
.tsh-legal-body strong { color: var(--ink); font-weight: 600; }
.tsh-legal-body code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: 1px 6px;
  border-radius: 4px;
}

.tsh-legal-tablewrap {
  margin: 12px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.tsh-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tsh-legal-table th,
.tsh-legal-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.tsh-legal-table th {
  background: var(--bg-2);
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tsh-legal-table tbody tr:last-child td { border-bottom: 0; }

.tsh-legal-rule {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 40px 0 24px;
}
.tsh-legal-foot {
  font-size: 13px;
  color: var(--ink-soft);
}
.tsh-legal-back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
