.tn-home {
  --tn-blue: #2446d8;
  --tn-blue-dark: #1936ad;
  --tn-ink: #111827;
  --tn-muted: #526174;
  --tn-line: #dce3ec;
  --tn-soft: #f6f8fb;
  background: #fff;
  color: var(--tn-ink);
  font-size: 17px;
  line-height: 1.6;
}

.tn-home *, .tn-home *::before, .tn-home *::after { box-sizing: border-box; }
.tn-home a { color: var(--tn-blue-dark); text-underline-offset: .18em; }
.tn-home a:hover { color: #102779; }
.tn-home :focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }
.tn-shell { width: min(100% - 40px, 1200px); margin-inline: auto; }

.tn-hero {
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
  border-bottom: 1px solid var(--tn-line);
  padding: clamp(48px, 7vw, 88px) 0;
}

.tn-hero__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); gap: clamp(40px, 7vw, 88px); align-items: center; }
.tn-eyebrow, .tn-kicker { color: var(--tn-blue-dark); font-size: .82rem; font-weight: 750; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.tn-hero h1 { font-size: clamp(2.65rem, 4.3vw, 3.5rem); letter-spacing: -.045em; line-height: 1.04; max-width: 760px; margin: 16px 0 24px; font-weight: 780; }
.tn-hero__lead { color: #39485c; font-size: clamp(1.06rem, 1.45vw, 1.24rem); line-height: 1.55; max-width: 660px; }
.tn-hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #4b5a6d; font-size: .82rem; margin-top: 18px; }
.tn-hero__note strong { color: #26354a; }

.tn-report-chooser { background: #fff; border: 1px solid #cfd8e6; border-radius: 18px; box-shadow: 0 18px 50px rgba(29, 55, 110, .09); padding: clamp(24px, 3vw, 34px); }
.tn-report-chooser__heading h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; margin: 6px 0 7px; font-weight: 750; }
.tn-report-chooser__heading > p:last-child { color: var(--tn-muted); font-size: .94rem; }
.tn-report-form { display: grid; gap: 17px; margin-top: 24px; }
.tn-field { display: grid; gap: 7px; }
.tn-field label { color: #28374b; font-size: .9rem; font-weight: 700; }
.tn-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='%23475569'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid #aebacc; border-radius: 10px; color: #172033; font: inherit; font-size: .96rem; min-height: 48px; padding: 10px 42px 10px 13px; width: 100%; }
.tn-field select:hover { border-color: #6f7f95; }
.tn-field select:focus { border-color: var(--tn-blue); box-shadow: 0 0 0 3px rgba(36, 70, 216, .18); outline: none; }
.tn-primary-action { align-items: center; background: var(--tn-blue); border: 1px solid var(--tn-blue); border-radius: 10px; color: #fff; cursor: pointer; display: inline-flex; font: inherit; font-weight: 750; gap: 9px; justify-content: center; min-height: 50px; padding: 12px 18px; transition: background-color .15s ease, border-color .15s ease; }
.tn-primary-action:hover { background: var(--tn-blue-dark); border-color: var(--tn-blue-dark); }
.tn-form-error { background: #fff2f2; border-left: 4px solid #b42318; color: #7a271a; font-size: .9rem; padding: 10px 12px; }
.tn-report-fallback { border-top: 1px solid var(--tn-line); margin-top: 22px; padding-top: 16px; }
.tn-report-fallback summary { color: #334155; cursor: pointer; font-size: .9rem; font-weight: 700; min-height: 44px; padding: 9px 0; }
.tn-report-fallback__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 12px 0 3px; }
.tn-report-fallback__grid h3 { font-size: .85rem; margin-bottom: 7px; }
.tn-report-fallback__grid a { display: block; font-size: .88rem; padding: 5px 0; }

.tn-section { padding: clamp(56px, 7vw, 84px) 0; }
.tn-section--tools { background: #fff; }
.tn-section--context { background: var(--tn-soft); border-block: 1px solid var(--tn-line); }
.tn-section-heading { max-width: 690px; }
.tn-section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); letter-spacing: -.035em; line-height: 1.15; margin: 8px 0 12px; font-weight: 760; }
.tn-section-heading > p:last-child { color: var(--tn-muted); }
.tn-section-heading--split { align-items: end; display: flex; justify-content: space-between; max-width: none; gap: 32px; }
.tn-section-heading--split > p { max-width: 430px; }

.tn-tool-list { border-top: 1px solid var(--tn-line); margin-top: 34px; }
.tn-tool-row { align-items: center; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; padding: 26px 0; border-bottom: 1px solid var(--tn-line); }
.tn-tool-row h3 { font-size: 1.22rem; line-height: 1.25; margin-bottom: 5px; font-weight: 750; }
.tn-tool-row p { color: var(--tn-muted); max-width: 760px; }
.tn-tool-row > a { font-weight: 720; padding: 11px 0 11px 16px; white-space: nowrap; }

.tn-context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.tn-context-panel { background: #fff; border: 1px solid #d4dde9; border-radius: 14px; padding: clamp(22px, 3vw, 30px); }
.tn-context-panel__header { align-items: center; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--tn-line); padding-bottom: 16px; }
.tn-context-panel__header h3 { font-size: 1.24rem; font-weight: 750; }
.tn-context-panel__header a { font-size: .91rem; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.tn-context-list { list-style: none; margin: 0; padding: 0; }
.tn-context-list li { border-bottom: 1px solid #e6ebf1; padding: 18px 0; }
.tn-context-list li:last-child { border-bottom: 0; }
.tn-context-list time { color: #485b73; font-size: .82rem; font-weight: 700; }
.tn-context-list h4 { font-size: 1rem; line-height: 1.4; margin: 4px 0 2px; font-weight: 720; }
.tn-context-list p { color: #607086; font-size: .86rem; }
.tn-context-list--news a { color: #19263a; display: inline-block; font-weight: 720; line-height: 1.42; text-decoration: none; }
.tn-context-list--news a:hover { color: var(--tn-blue-dark); text-decoration: underline; }
.tn-context-list--news p { margin-top: 6px; }
.tn-context-state { border-left: 4px solid #64748b; margin-top: 20px; padding: 12px 15px; background: #f8fafc; }
.tn-context-state--stale { border-color: #b54708; background: #fff7ed; }
.tn-context-state strong { display: block; font-size: .94rem; }
.tn-context-state p, .tn-freshness-note { color: #536277; font-size: .84rem; margin-top: 4px; }
.tn-freshness-note { border-top: 1px solid #e6ebf1; padding-top: 12px; }

.tn-method__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 8vw, 100px); align-items: start; }
.tn-steps { list-style: none; margin: 0; padding: 0; }
.tn-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 0 0 25px; position: relative; }
.tn-steps li:not(:last-child)::after { background: #ccd6e4; content: ""; height: calc(100% - 36px); left: 18px; position: absolute; top: 38px; width: 1px; }
.tn-steps > li > span { align-items: center; background: #edf1ff; border: 1px solid #bdc9f7; border-radius: 50%; color: var(--tn-blue-dark); display: flex; font-size: .85rem; font-weight: 800; height: 38px; justify-content: center; width: 38px; }
.tn-steps h3 { font-size: 1.05rem; margin: 3px 0 4px; font-weight: 750; }
.tn-steps p { color: var(--tn-muted); font-size: .94rem; }
.tn-method-links { display: flex; flex-wrap: wrap; gap: 12px 22px; grid-column: 1 / -1; border-top: 1px solid var(--tn-line); padding-top: 22px; }
.tn-method-links a { font-size: .92rem; font-weight: 700; }

@media (max-width: 900px) {
  .tn-hero__layout, .tn-method__layout { grid-template-columns: 1fr; }
  .tn-hero__layout { gap: 36px; }
  .tn-hero__copy { max-width: 720px; }
  .tn-context-grid { grid-template-columns: 1fr; }
  .tn-section-heading--split { align-items: start; flex-direction: column; gap: 4px; }
}

@media (max-width: 600px) {
  .tn-home { font-size: 16px; }
  .tn-shell { width: min(100% - 32px, 1200px); }
  .tn-hero { padding: 30px 0 44px; }
  .tn-hero__layout { gap: 28px; }
  .tn-hero h1 { font-size: clamp(2rem, 10vw, 2.38rem); letter-spacing: -.035em; }
  .tn-hero__lead { font-size: 1rem; }
  .tn-hero__note { gap: 5px 8px; }
  .tn-report-chooser { border-radius: 14px; padding: 22px 18px; }
  .tn-report-fallback__grid { grid-template-columns: 1fr; gap: 16px; }
  .tn-tool-row { align-items: start; grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .tn-tool-row > a { padding: 10px 0; white-space: normal; }
  .tn-context-panel { padding: 20px 18px; }
}

@media (max-width: 340px) {
  .tn-shell { width: min(100% - 24px, 1200px); }
  .tn-hero h1 { font-size: 1.95rem; }
  .tn-context-panel__header { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .tn-home *, .tn-home *::before, .tn-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
