/* ============================================================
   TI Solutions
   Aesthetic: Bold editorial, stark contrasts, large type
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --text: #f0f0f0;
  --muted: #888;
  --line: #222;
  --accent: #60be91;
  --accent-dark: #4aa578;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1120px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: #000;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-mark.small {
  width: 30px;
  height: 30px;
  font-size: 11px;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: var(--bg3);
}

.header-cta { flex-shrink: 0; }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  user-select: none;
  text-decoration: none !important;
}

.btn:active { transform: translateY(1px); }

.btn.primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 600;
}

.btn.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn.ghost:hover {
  background: var(--bg3);
  border-color: #333;
}

.btn.large {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 14px;
}

.btn.small {
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 8px;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  padding: 96px 0 0;
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-headline-accent { color: var(--accent); }

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-pills span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

.hero-stats {
  border-top: 1px solid var(--line);
  background: var(--bg2);
  padding: 28px 0;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════ */
.section { padding: 96px 0; }

.section-dark {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header { margin-bottom: 56px; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.section-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
}

/* ══════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.service-card {
  background: var(--bg2);
  padding: 36px 32px 40px;
  position: relative;
  transition: background 0.2s;
}

.service-card:hover { background: var(--bg3); }

.service-card.featured { background: var(--bg3); }

.service-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════ */
.process-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
}

.process-step:hover {
  border-color: #333;
  background: var(--bg3);
}

.process-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.process-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
}

.process-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.process-arrow {
  font-size: 20px;
  color: var(--line);
  padding: 0 8px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   WIZARD
══════════════════════════════════════════════ */
.wizard {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg2);
}

.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg3);
}

.wizard-progress {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.wizard-actions { display: flex; gap: 8px; }

.wizard-card { padding: 36px 32px; }

.wizard-question {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.wizard-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wizard-options .btn.ghost {
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 12px;
}

.wizard-options .btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(96, 190, 145, 0.07);
}

.wizard-summary {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.wizard-summary code, .tagline code {
  background: var(--bg3);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--accent);
  font-size: 12px;
}

/* ══════════════════════════════════════════════
   FORM
══════════════════════════════════════════════ */
.form-card {
  padding: 36px 32px;
  border-top: 1px solid var(--line);
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
}

.hint {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.opt { color: var(--muted); font-weight: 400; }

.field { display: flex; flex-direction: column; }

.field label,
.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-card input,
.form-card textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s;
}

.form-card input::placeholder,
.form-card textarea::placeholder { color: #444; }

.form-card input:focus,
.form-card textarea:focus { border-color: var(--accent); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field + .field,
.form-card > .field { margin-bottom: 16px; }

.tagline {
  margin: 16px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.status { font-size: 14px; color: var(--muted); }

.fineprint {
  margin-top: 16px;
  font-size: 12px;
  color: #555;
}

.fineprint a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg2);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-copy { font-size: 12px; color: var(--muted); }

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-legal a:hover { color: var(--text); }

.footer-links { display: flex; gap: 20px; }

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ══════════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════════ */
.legal-container { max-width: 720px; }

.legal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg2);
  padding: 28px 32px;
  margin-bottom: 2px;
}

.legal-panel:first-of-type {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
}

.legal-panel:last-of-type {
  border-radius: var(--radius) var(--radius) var(--radius-lg) var(--radius-lg);
  margin-bottom: 0;
}

.legal-panel h2 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
}

.legal-panel p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-panel p:last-child { margin-bottom: 0; }

.legal-panel a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-panel strong {
  color: var(--text);
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════ */
.hidden { display: none !important; }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow  { animation: fadeUp 0.5s ease both; animation-delay: 0.05s; }
.hero-headline { animation: fadeUp 0.55s ease both; animation-delay: 0.12s; }
.hero-sub      { animation: fadeUp 0.55s ease both; animation-delay: 0.2s; }
.cta-row       { animation: fadeUp 0.55s ease both; animation-delay: 0.27s; }
.hero-pills    { animation: fadeUp 0.55s ease both; animation-delay: 0.34s; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); padding: 4px 0; }
  .hero-stats-row { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .stat-divider { display: none; }
  .stat { flex: unset; min-width: 140px; }
  .nav { display: none; }
  .header-cta { display: none; }
  .footer-row { justify-content: center; text-align: center; }
  .footer-brand { justify-content: center; }
}

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .wizard-card, .form-card { padding: 24px 20px; }
  .service-card { padding: 28px 24px; }
  .process-step { padding: 24px 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 0; }
  .section-header { margin-bottom: 36px; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .legal-panel { padding: 20px 18px; }
  .footer-legal { flex-direction: column; gap: 10px; align-items: center; }
}
