@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,500&family=Syne:wght@600;700;800&display=swap');

:root {
  --tc-bg: #eef2f6;
  --tc-ink: #0c1b2a;
  --tc-muted: #5a7188;
  --tc-line: #d2dde8;
  --tc-panel: #ffffff;
  --tc-brand: #0a7c8c;
  --tc-brand-dark: #065f6b;
  --tc-accent: #12b5a0;
  --tc-warn: #c47a12;
  --tc-danger: #c0394a;
  --tc-ok: #0f8f72;
  --tc-soft: #e4f5f3;
  --tc-steel: #1a2a3a;
  --tc-shadow: 0 18px 40px rgba(12, 27, 42, .10);
  --tc-radius: 16px;
  --tc-font: 'DM Sans', system-ui, sans-serif;
  --tc-display: 'Syne', 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body.tc-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--tc-font);
  color: var(--tc-ink);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(10, 124, 140, .14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 100%, rgba(18, 181, 160, .12), transparent 50%),
    linear-gradient(180deg, #f5f8fb 0%, var(--tc-bg) 100%);
}

.tc-container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.tc-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
}

.tc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tc-ink);
  font-family: var(--tc-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.tc-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0a7c8c 0%, #12b5a0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px rgba(10,124,140,.28);
  position: relative;
}

.tc-logo-mark::after {
  content: '';
  position: absolute;
  inset: 9px 8px 9px 8px;
  border: 2px solid #fff;
  border-radius: 5px;
  border-bottom-width: 6px;
}

.tc-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tc-nav a {
  text-decoration: none;
  color: var(--tc-muted);
  font-weight: 600;
  font-size: .9rem;
  padding: 8px 12px;
  border-radius: 10px;
}

.tc-nav a:hover { color: var(--tc-ink); background: rgba(255,255,255,.7); }

.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: inherit;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tc-btn:active { transform: translateY(1px); }
.tc-btn:disabled { opacity: .55; cursor: not-allowed; }

.tc-btn-primary {
  background: linear-gradient(135deg, var(--tc-brand) 0%, #0e9a8a 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(10, 124, 140, .28);
}

.tc-btn-primary:hover { box-shadow: 0 14px 28px rgba(10, 124, 140, .36); }

.tc-btn-secondary {
  background: #fff;
  color: var(--tc-ink);
  border: 1px solid var(--tc-line);
}

.tc-btn-ghost {
  background: transparent;
  color: var(--tc-muted);
  border: 1px solid transparent;
}

.tc-btn-danger {
  background: #fff;
  color: var(--tc-danger);
  border: 1px solid #f0c4cb;
}

.tc-panel {
  background: var(--tc-panel);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow);
}

.tc-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tc-brand);
}

.tc-display {
  font-family: var(--tc-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.tc-muted { color: var(--tc-muted); }

.tc-field { display: grid; gap: 6px; }
.tc-field label {
  font-size: .8rem;
  font-weight: 700;
  color: #3d556c;
}

.tc-field input,
.tc-field select,
.tc-field textarea {
  width: 100%;
  border: 1px solid var(--tc-line);
  border-radius: 11px;
  padding: 11px 12px;
  font: inherit;
  color: var(--tc-ink);
  background: #f8fbfd;
}

.tc-field input:focus,
.tc-field select:focus,
.tc-field textarea:focus {
  outline: none;
  border-color: var(--tc-brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 124, 140, .14);
}

.tc-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-chip {
  border: 1px solid var(--tc-line);
  background: #fff;
  color: var(--tc-muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.tc-chip.active {
  border-color: var(--tc-brand);
  color: var(--tc-brand-dark);
  background: var(--tc-soft);
}

.tc-footer {
  padding: 28px 0 40px;
  text-align: center;
  color: var(--tc-muted);
  font-size: .82rem;
}

.tc-alert {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .86rem;
  font-weight: 600;
}
.tc-alert-error { background: #fdf0f2; color: var(--tc-danger); border: 1px solid #f3c9d0; }
.tc-alert-ok { background: #eaf8f3; color: var(--tc-ok); border: 1px solid #bfe8d9; }
.tc-alert-warn { background: #fff7e8; color: var(--tc-warn); border: 1px solid #f0d7a4; }

@keyframes tc-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.tc-anim { animation: tc-fade-up .55s ease both; }
.tc-anim-delay-1 { animation-delay: .08s; }
.tc-anim-delay-2 { animation-delay: .16s; }

@media (max-width: 720px) {
  .tc-site-header { flex-wrap: wrap; }
  .tc-nav { width: 100%; }
}
