:root {
  --tc-green: #006747;
  --tc-green-dark: #004d35;
  --tc-green-soft: #e6f4ef;
  --tc-gold: #c4a035;
  --tc-ink: #1c2421;
  --tc-ink-mid: #3a4540;
  --tc-muted: #6b7570;
  --tc-line: #dde5e1;
  --tc-surface: #f4f7f5;
  --tc-white: #ffffff;
  --tc-header: #0f2e24;
  --tc-header-text: #b8cfc6;
  --tc-accent: #2a8f6e;
  --tc-max: 76rem;
  --tc-radius: 8px;
  --tc-radius-lg: 16px;
  --tc-font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --tc-mono: "IBM Plex Mono", ui-monospace, monospace;
  --tc-shadow: 0 4px 20px rgba(15, 46, 36, 0.08);
  --tc-shadow-lg: 0 18px 48px rgba(15, 46, 36, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }

body {
  margin: 0;
  font-family: var(--tc-font);
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--tc-ink);
  background: var(--tc-surface);
}

a {
  color: var(--tc-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--tc-green-dark); }

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

/* --- Site shell: top header layout --- */
.tc-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tc-skip {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.tc-skip:focus {
  position: fixed; left: 1rem; top: 1rem; width: auto; height: auto;
  padding: 0.5rem 1rem; background: var(--tc-ink); color: #fff; z-index: 300;
  border-radius: var(--tc-radius);
}

/* --- Header & navigation --- */
.tc-header {
  background: var(--tc-header);
  color: var(--tc-header-text);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.tc-header__inner {
  max-width: var(--tc-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tc-brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: #fff; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.tc-brand:hover { color: #fff; }
.tc-brand img { width: 36px; height: 36px; border-radius: 6px; }

.tc-navtoggle {
  display: none;
  margin-left: auto;
  background: rgba(255,255,255,0.12); color: #fff; border: 0;
  padding: 0.45rem 0.9rem; border-radius: 6px;
  font-weight: 600; font-size: 0.82rem; cursor: pointer;
}

.tc-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.tc-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.1rem;
}
.tc-nav a {
  display: block; padding: 0.45rem 0.7rem;
  color: var(--tc-header-text); text-decoration: none;
  font-size: 0.84rem; font-weight: 500;
  border-radius: var(--tc-radius);
  transition: background 120ms, color 120ms;
}
.tc-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.tc-nav a[aria-current="page"] {
  background: var(--tc-green); color: #fff; font-weight: 600;
}

.tc-header__cta {
  flex-shrink: 0;
  background: var(--tc-gold); color: var(--tc-header);
  padding: 0.5rem 1.1rem; border-radius: 6px;
  font-weight: 700; font-size: 0.85rem; text-decoration: none;
  transition: background 120ms;
}
.tc-header__cta:hover { background: #d4b44a; color: var(--tc-header); }

.tc-banner {
  background: rgba(0, 103, 71, 0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.4rem 1.5rem;
  font-size: 0.76rem;
  text-align: center;
  color: #9ec4b4;
}
.tc-banner a { color: #7ee0b8; font-weight: 600; text-decoration: none; }
.tc-banner a:hover { color: #fff; }

/* --- Main content --- */
.tc-content {
  flex: 1;
  width: 100%;
  max-width: var(--tc-max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.tc-crumb {
  padding: 1.1rem 0 0.4rem;
  font-size: 0.82rem;
  color: var(--tc-muted);
}
.tc-crumb a { color: var(--tc-muted); text-decoration: none; }
.tc-crumb a:hover { color: var(--tc-green); }
.tc-crumb span { color: var(--tc-ink); font-weight: 600; }

/* --- Buttons --- */
.tc-btn {
  display: inline-block; padding: 0.62rem 1.3rem;
  border-radius: 6px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-family: inherit;
  transition: transform 120ms, box-shadow 120ms, background 120ms;
}
.tc-btn--primary {
  background: var(--tc-green); color: #fff; border-color: var(--tc-green);
  box-shadow: 0 6px 18px rgba(0, 103, 71, 0.28);
}
.tc-btn--primary:hover { background: var(--tc-green-dark); color: #fff; transform: translateY(-1px); }
.tc-btn--outline {
  background: transparent; color: var(--tc-ink); border-color: var(--tc-line);
}
.tc-btn--outline:hover { border-color: var(--tc-green); color: var(--tc-green); }
.tc-btn--light {
  background: #fff; color: var(--tc-green); border-color: #fff;
}
.tc-btn--light:hover { background: var(--tc-green-soft); color: var(--tc-green-dark); }
.tc-btn--gold {
  background: var(--tc-gold); color: var(--tc-header); border-color: var(--tc-gold);
}
.tc-btn--gold:hover { background: #d4b44a; color: var(--tc-header); }

/* --- Homepage hero --- */
.tc-hero {
  margin: 0 -1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: linear-gradient(145deg, var(--tc-header) 0%, #1a4a38 55%, var(--tc-green) 100%);
  border-radius: 0 0 var(--tc-radius-lg) var(--tc-radius-lg);
  overflow: hidden;
  box-shadow: var(--tc-shadow-lg);
}
.tc-hero__copy {
  padding: 2.75rem 2rem 2.75rem 2.5rem;
  color: #e0ebe6;
}
.tc-hero__tag {
  display: inline-block; font-family: var(--tc-mono); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tc-gold); margin-bottom: 0.85rem;
}
.tc-hero__title {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  line-height: 1.18; margin: 0 0 1rem; color: #fff; font-weight: 800;
}
.tc-hero__text { margin: 0 0 1.5rem; color: #a8c4b8; max-width: 36rem; }
.tc-hero__acts { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.tc-hero__visual {
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.5rem 1.5rem 0 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(196,160,53,0.2), transparent 60%);
}
.tc-hero__visual img { border-radius: var(--tc-radius-lg) var(--tc-radius-lg) 0 0; }

/* --- Keyword chips --- */
.tc-chips {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-bottom: 2rem;
}
.tc-chip {
  font-family: var(--tc-mono); font-size: 0.72rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--tc-white); border: 1px solid var(--tc-line);
  color: var(--tc-ink-mid);
}

/* --- Card grid --- */
.tc-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.tc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tc-grid--4 { grid-template-columns: repeat(4, 1fr); }

.tc-card {
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-lg);
  padding: 1.35rem;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: box-shadow 140ms, border-color 140ms, transform 140ms;
}
.tc-card:hover {
  box-shadow: var(--tc-shadow);
  border-color: var(--tc-green-soft);
  transform: translateY(-2px);
  color: inherit;
}
.tc-card__icon { width: 36px; height: 36px; }
.tc-card h3 { margin: 0; font-size: 1.05rem; color: var(--tc-ink); }
.tc-card p { margin: 0; font-size: 0.9rem; color: var(--tc-muted); flex: 1; }
.tc-card__link { font-size: 0.82rem; font-weight: 700; color: var(--tc-green); }

/* --- Two-column layout --- */
.tc-columns {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.tc-rail {
  position: sticky; top: 5.5rem; align-self: start;
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-lg);
  padding: 1.25rem;
}
.tc-rail h2 { margin: 0 0 0.75rem; font-size: 0.95rem; }
.tc-rail ul { margin: 0; padding: 0; list-style: none; }
.tc-rail li { margin-bottom: 0.4rem; }
.tc-rail a { font-size: 0.88rem; text-decoration: none; color: var(--tc-ink-mid); }
.tc-rail a:hover { color: var(--tc-green); }

/* --- Section blocks --- */
.tc-block { margin-bottom: 2.5rem; }
.tc-block__head {
  font-size: 1.45rem; margin: 0 0 0.35rem; color: var(--tc-ink);
}
.tc-block__sub { margin: 0 0 1.25rem; color: var(--tc-muted); font-size: 0.95rem; }

.tc-box {
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.tc-box--accent {
  border-left: 4px solid var(--tc-green);
  background: linear-gradient(90deg, var(--tc-green-soft), var(--tc-white) 30%);
}

.tc-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.tc-steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3rem;
  border-bottom: 1px solid var(--tc-line);
  position: relative;
}
.tc-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1rem;
  width: 2rem; height: 2rem;
  background: var(--tc-green); color: #fff;
  border-radius: 50%; font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.tc-steps li:last-child { border-bottom: 0; }
.tc-steps h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.tc-steps p { margin: 0; color: var(--tc-muted); font-size: 0.92rem; }

/* --- FAQ accordion --- */
.tc-faq { max-width: 48rem; }
.tc-faq details {
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.tc-faq summary {
  padding: 1rem 1.15rem; cursor: pointer;
  font-weight: 600; font-size: 0.95rem;
  list-style: none;
}
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq details[open] summary { border-bottom: 1px solid var(--tc-line); color: var(--tc-green); }
.tc-faq__body { padding: 1rem 1.15rem; color: var(--tc-muted); font-size: 0.92rem; }
.tc-faq__body p { margin: 0; }

/* --- Table --- */
.tc-table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.tc-table {
  width: 100%; border-collapse: collapse;
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius);
  font-size: 0.9rem;
}
.tc-table caption {
  text-align: left; font-weight: 700; padding: 0.75rem 0;
  font-size: 0.95rem;
}
.tc-table th, .tc-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--tc-line);
  text-align: left;
}
.tc-table th { background: var(--tc-surface); font-weight: 700; }
.tc-table tr:last-child td { border-bottom: 0; }

/* --- Forms --- */
.tc-form {
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-lg);
  padding: 1.5rem;
  max-width: 28rem;
}
.tc-field { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--tc-ink-mid); }
.tc-input, .tc-select, .tc-textarea {
  width: 100%; padding: 0.65rem 0.85rem;
  border: 1px solid var(--tc-line); border-radius: var(--tc-radius);
  font-family: inherit; font-size: 0.95rem;
  margin-bottom: 1rem; background: var(--tc-surface);
}
.tc-input:focus, .tc-select:focus, .tc-textarea:focus {
  outline: 2px solid var(--tc-green-soft); border-color: var(--tc-green);
}
.tc-textarea { min-height: 6rem; resize: vertical; }
.tc-alert {
  font-size: 0.88rem; padding: 0.65rem 0.85rem;
  border-radius: var(--tc-radius); margin-bottom: 1rem;
  background: var(--tc-green-soft); color: var(--tc-green-dark);
}
.tc-alert--ok { background: #e6f7f0; color: #0d6b4a; }

/* --- Page header --- */
.tc-pagehead {
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid var(--tc-line);
  margin-bottom: 1.75rem;
}
.tc-pagehead h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.2;
}
.tc-pagehead p { margin: 0; color: var(--tc-muted); max-width: 40rem; }

/* --- Article prose --- */
.tc-prose h2 { font-size: 1.2rem; margin: 1.75rem 0 0.65rem; }
.tc-prose h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
.tc-prose p, .tc-prose li { color: var(--tc-ink-mid); font-size: 0.95rem; }
.tc-prose ul, .tc-prose ol { padding-left: 1.35rem; }
.tc-prose li { margin-bottom: 0.35rem; }

/* --- CTA band --- */
.tc-band {
  background: var(--tc-header);
  color: #b0c8bc;
  border-radius: var(--tc-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.tc-band h2 { margin: 0 0 0.5rem; color: #fff; font-size: 1.3rem; }
.tc-band p { margin: 0 0 1.25rem; font-size: 0.92rem; }

/* --- Footer --- */
.tc-footer {
  background: var(--tc-white);
  border-top: 1px solid var(--tc-line);
  padding: 2rem 1.5rem;
  margin-top: auto;
}
.tc-footer__grid {
  max-width: var(--tc-max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
}
.tc-footer h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.65rem; color: var(--tc-muted); }
.tc-footer ul { list-style: none; margin: 0; padding: 0; }
.tc-footer li { margin-bottom: 0.35rem; }
.tc-footer a { font-size: 0.88rem; text-decoration: none; color: var(--tc-ink-mid); }
.tc-footer a:hover { color: var(--tc-green); }
.tc-footer__brand p { margin: 0; font-size: 0.88rem; color: var(--tc-muted); line-height: 1.55; }
.tc-footer__copy {
  max-width: var(--tc-max); margin: 1.5rem auto 0;
  font-size: 0.78rem; color: var(--tc-muted);
  padding-top: 1rem; border-top: 1px solid var(--tc-line);
}

.tc-badges {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem;
}
.tc-badges img { height: 32px; width: auto; opacity: 0.75; }

/* --- Cookie notice --- */
.tc-notice {
  position: fixed; bottom: 1rem; right: 1rem; left: 1rem;
  max-width: 26rem; margin-left: auto;
  background: var(--tc-header); color: #b0c8bc;
  padding: 1rem 1.15rem; border-radius: var(--tc-radius-lg);
  box-shadow: var(--tc-shadow-lg); z-index: 200;
  font-size: 0.85rem;
}
.tc-notice p { margin: 0 0 0.75rem; }
.tc-notice a { color: #7ee0b8; }
.tc-notice__acts { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tc-notice .tc-btn--light { font-size: 0.8rem; padding: 0.45rem 0.9rem; }
.tc-notice .tc-btn--outline { color: #fff; border-color: rgba(255,255,255,0.3); font-size: 0.8rem; padding: 0.45rem 0.9rem; }

/* --- Login page --- */
.tc-signin {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: start; margin-bottom: 2rem;
}
.tc-signinbox {
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-lg);
  padding: 2rem;
  box-shadow: var(--tc-shadow);
}
.tc-signinbox h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.tc-signinbox > p { margin: 0 0 1.25rem; color: var(--tc-muted); font-size: 0.9rem; }

/* --- Feature strip --- */
.tc-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.tc-strip__item {
  background: var(--tc-white);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius);
  padding: 1.15rem;
  text-align: center;
}
.tc-strip__item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--tc-green);
  margin-bottom: 0.25rem;
}
.tc-strip__item span { font-size: 0.82rem; color: var(--tc-muted); }

/* --- Responsive --- */
@media (max-width: 960px) {
  .tc-navtoggle { display: block; }
  .tc-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--tc-header);
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: stretch;
  }
  .tc-nav.tc-nav--open { display: flex; }
  .tc-nav ul { flex-direction: column; }
  .tc-header__inner { position: relative; flex-wrap: wrap; }
  .tc-header__cta { order: 3; width: 100%; text-align: center; margin-top: 0.25rem; }
  .tc-hero { grid-template-columns: 1fr; }
  .tc-hero__visual { display: none; }
  .tc-hero__copy { padding: 2rem 1.5rem; }
  .tc-columns { grid-template-columns: 1fr; }
  .tc-rail { position: static; }
  .tc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tc-grid--3 { grid-template-columns: 1fr; }
  .tc-signin { grid-template-columns: 1fr; }
  .tc-footer__grid { grid-template-columns: 1fr 1fr; }
  .tc-strip { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .tc-grid--4, .tc-grid--2 { grid-template-columns: 1fr; }
  .tc-footer__grid { grid-template-columns: 1fr; }
  .tc-content { padding: 0 1rem 2.5rem; }
  .tc-hero { margin: 0 -1rem 1.5rem; }
}
