/* Team code guide: one connection route, a copyable letter, and quiet help. */
.team-code-page {
  --tc-ink: #193347;
  --tc-muted: #516674;
  --tc-line: #dce4e9;
  --tc-green: #1e5c46;
  --tc-mint: #e8f1eb;
  --color-bg: #fff;
  --color-text: var(--tc-ink);
  --color-text-2: var(--tc-muted);
  background: #fff;
}
.team-code-page::before { display: none; }
.team-code-page .site-header {
  --vh-hdr-ink: #193347;
  --vh-hdr-bg: #fff;
  --vh-hdr-edge: #dce4e9;
  --vh-hdr-ctrl-bed: #f4f7f9;
  --vh-hdr-ctrl-edge: #dce4e9;
  --vh-hdr-ctrl-ink: #193347;
  --vh-hdr-ctrl-ink-hover: #193347;
  --vh-hdr-ctrl-on-bed: #193347;
  --vh-hdr-ctrl-on-ink: #fff;
  color: var(--tc-ink);
  background: #fff;
  border-bottom-color: var(--tc-line);
}
.team-code-page .brand { color: var(--tc-ink); text-shadow: none; }
.tc-main { max-width: 1240px; padding: 48px 48px 88px; }
.tc-main a { text-decoration: none; }
.tc-main button { font-family: inherit; cursor: pointer; }
.tc-main :is(a, button, summary) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tc-main :is(a, button, summary):focus-visible { outline: 3px solid #285bd4; outline-offset: 5px; }
.tc-main [id] { scroll-margin-top: 88px; }
.tc-main svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.tc-context { font-size: 14px; color: var(--tc-green); font-weight: 750; margin-bottom: 22px; }
.tc-intro-row { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 50px; }
.tc-intro h1 { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.045em; font-weight: 780; line-height: 1.22; }
.tc-intro h1 span { display: block; }
.tc-lead { color: var(--tc-muted); font-size: 16px; line-height: 1.9; max-width: 385px; padding-bottom: 5px; }
#from-line { margin-top: 24px; padding: 14px 18px; font-size: 14px; color: #286282; background: #edf4f8; border-radius: 8px; }
.tc-options { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; margin-top: 38px; }
.tc-connect { padding: 32px 36px; border-radius: 20px; background: var(--tc-mint); }
.tc-connect-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tc-connect h2, .tc-request h2 { font-size: 27px; line-height: 1.4; letter-spacing: -.03em; font-weight: 760; }
.tc-connect-heading .tc-book { width: 46px; height: 46px; color: var(--tc-green); stroke-width: 1.8; }
.tc-connect-note { margin-top: 10px; font-size: 14px; line-height: 1.8; color: #425f53; max-width: 420px; }
.tc-steps { list-style: none; margin: 26px 0 30px; }
.tc-steps li { position: relative; display: flex; gap: 15px; padding-bottom: 23px; }
.tc-steps li:last-child { padding-bottom: 0; }
.tc-steps li:not(:last-child)::before { content: ''; position: absolute; width: 1px; background: #b8cebf; top: 32px; bottom: 0; left: 15px; }
.tc-step-number { flex-shrink: 0; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #b8cebf; border-radius: 50%; background: #f7faf8; color: var(--tc-green); font-size: 13px; font-weight: 750; }
.tc-steps h3 { font-size: 17px; font-weight: 750; line-height: 1.6; }
.tc-steps p { color: #425f53; font-size: 13px; margin-top: 3px; line-height: 1.65; }
.tc-button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; gap: 28px; font-size: 14px; font-weight: 750; line-height: 1.5; transition: background .18s; }
.tc-primary { background: var(--tc-green); color: #fff; }
.tc-primary:hover { background: #174734; }
.tc-ink { background: var(--tc-ink); color: #fff; }
.tc-ink:hover { background: #28526c; }
.tc-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 700; line-height: 1.6; border: 0; background: transparent; color: inherit; padding: 8px 0; }
.tc-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.tc-request { padding: 37px 24px 24px 10px; display: flex; flex-direction: column; justify-content: space-between; }
.tc-request > div > p { margin-top: 16px; font-size: 15px; line-height: 1.9; color: var(--tc-muted); }
.tc-request .tc-text-link { margin-top: 17px; color: var(--tc-green); }
.tc-request-footer { margin-top: 34px; padding-top: 21px; border-top: 1px solid var(--tc-line); }
.tc-request .tc-request-footer p { font-size: 13px; margin: 0; }
.tc-request-footer .tc-text-link { color: var(--tc-ink); margin-top: 3px; }
.tc-trouble-link { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin: 18px 0 54px; min-height: 44px; font-size: 13px; color: var(--tc-muted); }
.tc-trouble-link svg { width: 19px; height: 19px; }
.tc-trouble-label { color: var(--tc-ink); text-decoration: underline; text-underline-offset: 4px; font-weight: 650; margin-left: 6px; }
.tc-contact { display: grid; grid-template-columns: 1fr 1.12fr; gap: 40px; padding: 40px; border-radius: 20px; background: var(--tc-ink); color: #fff; }
.tc-contact-intro { padding: 10px 0; }
.tc-contact h2, .tc-help h2 { font-size: 30px; font-weight: 760; line-height: 1.4; letter-spacing: -.03em; }
.tc-contact-intro > p { color: #d9e5ec; font-size: 15px; line-height: 1.9; margin-top: 16px; max-width: 325px; }
.tc-email { display: block; font-size: clamp(23px, 2.6vw, 31px); font-weight: 650; letter-spacing: -.025em; margin-top: 35px; overflow-wrap: anywhere; }
.tc-contact-intro .tc-text-link { color: #d9e5ec; font-size: 13px; }
.tc-letter { min-width: 0; padding: 25px 28px; border-radius: 10px; background: #fff; color: var(--tc-ink); }
.tc-letter-heading { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--tc-line); }
.tc-letter-heading h3 { font-size: 16px; font-weight: 750; }
.tc-letter-heading > span { font-size: 12px; color: var(--tc-muted); }
#inquiry-preview { margin: 18px 0; font: 14px/2.25 var(--font-base); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--tc-muted); }
.tc-contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; }
.tc-contact-actions .tc-text-link { font-size: 13px; }
.tc-letter-note { font-size: 12px; color: var(--tc-muted); line-height: 1.8; margin-top: 13px; }
.tc-help { display: grid; grid-template-columns: 1fr 1.75fr; gap: 56px; padding-top: 72px; }
.tc-help-intro > p { font-size: 15px; line-height: 1.9; color: var(--tc-muted); margin: 14px 0 12px; max-width: 265px; }
.tc-help-intro .tc-text-link { font-size: 13px; color: var(--tc-green); }
.tc-faq { border-top: 1px solid var(--tc-line); }
.tc-faq details { border-bottom: 1px solid var(--tc-line); }
.tc-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; padding: 21px 4px; list-style: none; font-size: 15px; font-weight: 650; line-height: 1.7; }
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq summary::after { content: ''; flex: 0 0 8px; height: 8px; border-right: 1.5px solid var(--tc-muted); border-bottom: 1.5px solid var(--tc-muted); transform: rotate(45deg); margin: 0 8px 4px; transition: transform .18s; }
.tc-faq details[open] > summary::after { transform: rotate(225deg); margin-bottom: -4px; }
.tc-faq summary:hover { color: var(--tc-green); }
.tc-faq details > p { padding: 0 30px 22px 4px; font-size: 14px; line-height: 1.9; color: var(--tc-muted); }
.team-code-page .site-footer { border-color: var(--tc-line); background: #f7f9fa; }
.team-code-page .footer-legal { color: var(--tc-muted); }
.team-code-page .copy-dialog { color: var(--tc-ink); }
.team-code-page .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 960px) {
  .tc-main { padding-inline: 30px; }
  .tc-intro-row { gap: 30px; grid-template-columns: 1.2fr 1fr; }
  .tc-connect { padding: 28px; }
  .tc-options { gap: 20px; grid-template-columns: 1.5fr 1fr; }
  .tc-request { padding-right: 0; }
  .tc-connect h2, .tc-request h2 { font-size: 23px; }
  .tc-contact { padding: 30px; gap: 28px; }
  .tc-contact h2, .tc-help h2 { font-size: 26px; }
  .tc-letter { padding: 23px; }
  .tc-help { gap: 30px; }
}
@media (max-width: 700px) {
  .tc-main { padding: 32px 22px 56px; }
  .tc-context { margin-bottom: 17px; font-size: 13px; }
  .tc-intro-row { grid-template-columns: 1fr; gap: 20px; }
  .tc-intro h1 { font-size: clamp(31px, 6.7vw, 44px); }
  .tc-lead { max-width: 500px; font-size: 15px; }
  .tc-options { grid-template-columns: 1fr; gap: 0; margin-top: 27px; }
  .tc-connect { padding: 26px; border-radius: 16px; }
  .tc-connect-heading .tc-book { width: 38px; height: 38px; }
  .tc-connect h2, .tc-request h2 { font-size: 23px; }
  .tc-connect-note { font-size: 13px; }
  .tc-steps { margin-top: 24px; }
  .tc-steps h3 { font-size: 16px; }
  .tc-primary { width: 100%; }
  .tc-request { padding: 30px 4px 20px; }
  .tc-request > div > p { margin-top: 10px; }
  .tc-request .tc-text-link { margin-top: 10px; }
  .tc-request-footer { margin-top: 24px; padding-top: 16px; }
  .tc-request-footer .tc-text-link { margin-top: 0; }
  .tc-trouble-link { flex-wrap: wrap; gap: 7px; margin: 0 0 32px; padding: 15px 4px; border-top: 1px solid var(--tc-line); }
  .tc-trouble-label { flex-basis: 100%; margin-left: 26px; }
  .tc-contact { grid-template-columns: 1fr; padding: 26px; gap: 22px; border-radius: 16px; }
  .tc-contact-intro { padding: 0; }
  .tc-contact-intro > p { max-width: none; }
  .tc-email { margin-top: 21px; font-size: 26px; }
  .tc-letter { padding: 22px; }
  .tc-letter-heading { align-items: flex-start; }
  .tc-help { grid-template-columns: 1fr; gap: 24px; padding-top: 44px; }
  .tc-help-intro > p { max-width: 100%; margin: 10px 0 0; }
  .tc-help-intro .tc-text-link { margin-top: 7px; }
  .tc-faq summary { font-size: 14px; padding-block: 19px; }
  .tc-faq details > p { font-size: 13px; }
}
@media (max-width: 420px) {
  .team-code-page .site-header { --vh-hdr-gap: 8px; }
  .team-code-page .site-header .header-inner { padding-inline: 16px; flex-wrap: nowrap; }
  .team-code-page .brand { gap: 7px; }
  .team-code-page .brand-mark, .team-code-page .brand-logo { width: 26px; height: 26px; }
  .team-code-page .brand-wordmark { font-size: 15px; }
  .team-code-page .vh-login { padding-inline: 9px; font-size: 11px; }
  .tc-main { padding-inline: 18px; }
  .tc-connect { padding: 24px 20px; }
  .tc-connect h2, .tc-request h2 { font-size: 22px; }
  .tc-contact { padding: 24px 20px; }
  .tc-letter { padding: 20px 17px; }
}
@media (max-width: 374px) {
  .team-code-page .site-header .header-inner { padding-inline: 12px; }
  .team-code-page .brand-wordmark { font-size: 14px; }
  .team-code-page .brand-mark, .team-code-page .brand-logo { width: 24px; height: 24px; }
  .tc-connect-heading .tc-book { display: none; }
  .tc-letter-heading > span { display: none; }
  .tc-contact-actions .tc-button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tc-main *, .tc-main *::after { transition: none; }
}
