/* Sevendyne Training admissions — lean public UI */
:root {
  --tr-ink: #0f172a;
  --tr-muted: #475569;
  --tr-line: #e2e8f0;
  --tr-bg: #f1f5f9;
  --tr-card: #ffffff;
  --tr-accent: #0d9488;
  --tr-accent-ink: #134e4a;
  --tr-warn: #b45309;
  --tr-danger: #b91c1c;
  --tr-radius: 14px;
  --tr-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body.tr-body {
  margin: 0;
  font-family: var(--tr-font);
  color: var(--tr-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(13, 148, 136, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(30, 64, 175, 0.12), transparent 50%),
    linear-gradient(180deg, #eef2ff 0%, var(--tr-bg) 40%, #f8fafc 100%);
  min-height: 100vh;
}
.tr-wrap { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.tr-link-inline { color: var(--tr-accent-ink); font-weight: 600; text-decoration: none; }
.tr-link-inline:hover { text-decoration: underline; }
.tr-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem;
}
.tr-brand {
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  text-decoration: none; color: var(--tr-ink);
}
.tr-brand span { color: var(--tr-accent); }
.tr-nav a.tr-link { color: var(--tr-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.tr-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 0.75rem;
}
.tr-hero p { color: var(--tr-muted); max-width: 40rem; line-height: 1.65; margin: 0 0 1.75rem; }
.tr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
.tr-card {
  background: var(--tr-card);
  border: 1px solid var(--tr-line);
  border-radius: var(--tr-radius);
  padding: 1.25rem 1.3rem 1.35rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.tr-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08); }
.tr-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--tr-accent-ink); background: rgba(13, 148, 136, 0.12);
  padding: 0.2rem 0.5rem; border-radius: 999px; width: fit-content;
}
.tr-card h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.tr-card .tagline { color: var(--tr-muted); font-size: 0.92rem; line-height: 1.5; margin: 0; flex: 1; }
.tr-meta { font-size: 0.88rem; color: var(--tr-muted); line-height: 1.5; }
.tr-meta strong { color: var(--tr-ink); }
.tr-seats { font-weight: 700; color: var(--tr-accent-ink); }
.tr-seats.is-full { color: var(--tr-danger); }
.tr-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tr-ink); color: #fff; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  padding: 0.7rem 1.1rem; border-radius: 10px; font-size: 0.95rem;
}
.tr-cta:hover { background: #1e293b; }
.tr-cta--ghost {
  background: transparent; color: var(--tr-ink);
  border: 1.5px solid var(--tr-line);
}
.tr-cta--teal { background: var(--tr-accent); }
.tr-cta--teal:hover { background: #0f766e; }
.tr-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.tr-note {
  font-size: 0.85rem; color: var(--tr-muted);
  border-left: 3px solid var(--tr-accent); padding-left: 0.75rem; margin: 1.5rem 0 0;
}
.tr-panel {
  background: var(--tr-card); border: 1px solid var(--tr-line);
  border-radius: var(--tr-radius); padding: 1.35rem 1.4rem;
}
.tr-syllabus { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.tr-syllabus th, .tr-syllabus td {
  text-align: left; vertical-align: top; padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--tr-line); font-size: 0.92rem;
}
.tr-syllabus th { width: 5.5rem; color: var(--tr-muted); font-weight: 700; }
.tr-syllabus td { white-space: pre-line; line-height: 1.5; }
.tr-fee-box { margin-top: 1rem; }
.tr-toggle { display: flex; gap: 0.5rem; margin: 0.75rem 0 1rem; }
.tr-toggle button {
  flex: 1; padding: 0.65rem; border-radius: 10px; border: 1.5px solid var(--tr-line);
  background: #fff; font-weight: 700; cursor: pointer; font-family: inherit;
}
.tr-toggle button.is-active {
  border-color: var(--tr-accent); background: rgba(13, 148, 136, 0.08); color: var(--tr-accent-ink);
}
.tr-form label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; }
.tr-form .field { margin-bottom: 1rem; }
.tr-form input, .tr-form select {
  width: 100%; padding: 0.7rem 0.8rem; border-radius: 10px;
  border: 1.5px solid var(--tr-line); font: inherit;
}
.tr-form input:focus, .tr-form select:focus {
  outline: 2px solid rgba(13, 148, 136, 0.35); border-color: var(--tr-accent);
}
.tr-error { color: var(--tr-danger); font-weight: 600; font-size: 0.9rem; margin-top: 0.75rem; }
.tr-ok { color: var(--tr-accent-ink); font-weight: 600; }
.tr-layout { display: grid; gap: 1.25rem; }
@media (min-width: 860px) {
  .tr-layout--2 { grid-template-columns: 1.4fr 0.9fr; align-items: start; }
}
.tr-muted { color: var(--tr-muted); }
.tr-price { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.25rem 0; }
