/* FedRAMP 20x FAQ: styles mirror travasecurity.com (class names and token values match the main site).
   Token values (rem/hex) are the resolved values of the main site's Webflow variables. */

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Albert Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #1A2332;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding-left: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; padding: 0.75rem 1rem; background: #1A2332; color: #FFFFFF; font-weight: 600; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
a:focus-visible, button:focus-visible { outline: 2px solid #199F92; outline-offset: 3px; border-radius: 4px; }

/* ---- Header -------------------------------------------------------------- */
.section_nav { position: sticky; top: 0; z-index: 100; background-color: #FFFFFF; border-bottom: 1px solid #DEE2E7; }
.nav-container { display: flex; width: 100%; max-width: 80rem; margin: 0 auto; padding: 1rem 1.5rem; justify-content: space-between; align-items: center; column-gap: 2rem; }
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo { height: 2.5rem; width: auto; }
.nav-menu { display: flex; align-items: center; column-gap: 2rem; }
.nav-link { font-size: 1rem; line-height: 1.3; font-weight: 500; color: #1A2332; text-decoration: none; }
.nav-link:hover { color: #199F92; }
.nav-cta-group { display: flex; align-items: center; column-gap: 1rem; }

/* ---- Buttons ------------------------------------------------------------- */
.button-primary {
  display: flex; width: auto; padding: 1.25rem 1.5rem; justify-content: center; align-items: center;
  border: 1px solid #199F92; border-radius: 0.3125rem; background-color: #199F92;
  font-family: "Chivo Mono", monospace; color: #FFFFFF; font-size: 1rem; line-height: 1.2; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; text-align: center;
}
.button-primary:hover { background-color: #2B7A83; border-color: #2B7A83; }
.button-secondary {
  display: inline-flex; padding: 1.25rem 1.5rem; justify-content: center; align-items: center;
  border: 1px solid #C8CDD3; border-radius: 0.3125rem; background-color: transparent;
  font-family: "Chivo Mono", monospace; color: #5B636E; font-size: 1rem; line-height: 1.2; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; text-align: center;
}
.button-secondary:hover { border-color: #199F92; color: #199F92; }
.button-small { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
.cta-button-row { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; align-items: center; column-gap: 1.5rem; row-gap: 1rem; }

/* ---- Layout -------------------------------------------------------------- */
.section_advisory_hero { display: flex; width: 100%; padding-top: 8rem; padding-bottom: 4rem; flex-direction: column; justify-content: center; align-items: center; background-color: #FFFFFF; }
.section_std { padding-top: 64px; padding-bottom: 64px; }
.section_std_alt { padding-top: 64px; padding-bottom: 64px; background-color: #F4F7FB; }
.section-divided { border-top: 1px solid #DEE2E7; }
.section_advisory_cta { display: flex; width: 100%; padding-top: 4rem; padding-bottom: 4rem; flex-direction: column; align-items: center; background-color: #FFFFFF; border-top: 1px solid #DEE2E7; }
.container-large { display: flex; width: 100%; max-width: 80rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; flex-direction: column; }
.flex-col-gap-40 { display: flex; flex-direction: column; row-gap: 2.5rem; }
.advisory-section-header { display: flex; width: 100%; margin: 0 auto; flex-direction: column; align-items: center; row-gap: 1.5rem; text-align: center; }
.grid-2 { display: grid; width: 100%; margin: 0 auto; justify-content: stretch; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }

/* ---- Typography ---------------------------------------------------------- */
.section-eyebrow { font-family: "Chivo Mono", monospace; color: #199F92; font-size: 0.75rem; line-height: 1.4; font-weight: 500; text-align: center; letter-spacing: 0.07rem; text-transform: uppercase; }
.display-style-xl { font-family: "Plus Jakarta Sans", sans-serif; font-size: 5rem; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: #1A2332; }
.display-style-l { font-family: "Plus Jakarta Sans", sans-serif; font-size: 4rem; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: #1A2332; }
.heading-style-h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.875rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.03em; color: #1A2332; }
.heading-style-h4 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.5rem; line-height: 1.4; font-weight: 500; letter-spacing: -0.03em; color: #1A2332; }
.align-center { text-align: center; }
.max-width-lg { width: 100%; max-width: 62.5rem; margin: 0 auto; }
.section-intro { max-width: 50rem; margin: 0 auto; color: #3D5475; font-size: 1.125rem; line-height: 1.6; font-weight: 500; text-align: center; }
.hero-meta { font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.8; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #5B636E; }

/* ---- Cards --------------------------------------------------------------- */
.feature-card { display: flex; padding: 32px; flex-direction: column; row-gap: 20px; border: 1px solid #DEE2E7; border-radius: 5px; background-color: #FFFFFF; }
.card-label { font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.4; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #199F92; }
.card-title-dark { font-family: "Plus Jakarta Sans", sans-serif; color: #1A2332; font-size: 1.5rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.03em; }
.text-link-brand { color: #199F92; font-size: 1.125rem; line-height: 1.4; font-weight: 600; text-decoration: none; word-break: break-word; }
.text-link-brand:hover, .ref-link:hover { text-decoration: underline; }

/* ---- FAQ accordion ------------------------------------------------------- */
.faq-wrap { display: flex; width: 100%; flex-direction: column; row-gap: 80px; }
.faq-list { display: flex; flex-direction: column; row-gap: 16px; }
.faq-item { display: flex; padding: 48px; flex-direction: row; align-items: flex-start; column-gap: 32px; border-radius: 8px; background-image: linear-gradient(180deg, #F4F7FB, #FFFFFF); scroll-margin-top: 6rem; }
.faq-icon { position: relative; width: 20px; height: 28px; flex: 0 0 auto; }
.faq-content { display: flex; max-width: 62.5rem; flex-direction: column; flex: 1 1 0%; row-gap: 24px; min-width: 0; }
.faq-num { font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.4; font-weight: 500; letter-spacing: 0.07rem; text-transform: uppercase; color: #199F92; }
.faq-question { color: #1A2332; font-size: 30px; line-height: 1.2; font-weight: 500; letter-spacing: -0.9px; font-family: "Plus Jakarta Sans", sans-serif; }
.faq-toggle { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; cursor: pointer; }
.faq-answer { color: #5B636E; font-size: 18px; line-height: 1.4; font-weight: 500; }
.faq-answer-stack { display: flex; flex-direction: column; row-gap: 16px; }
.faq-sources { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 4px; font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.4; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #5B636E; }
.ref-link { color: #199F92; font-weight: 500; text-decoration: none; }
.faq-subhead { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.03em; color: #1A2332; }
.faq-list-ol { display: flex; flex-direction: column; row-gap: 12px; padding-left: 24px; }
.faq-list-ul { display: flex; flex-direction: column; row-gap: 8px; padding-left: 24px; margin-top: 8px; }

/* Collapse only when JavaScript is available (js-flag.js); without it every answer stays visible. */
.js .faq-icon, .js .faq-num, .js .faq-toggle { cursor: pointer; }
.js .faq-answer { display: none; }
.js .faq-item.is-open .faq-answer { display: block; }
.faq-icon::before { content: ""; position: absolute; left: 3px; top: 8px; width: 10px; height: 10px; border-right: 2.5px solid #1A2332; border-bottom: 2.5px solid #1A2332; transform-origin: center; transform: rotateZ(-45deg); transition: transform 0.3s ease; }
.faq-item.is-open .faq-icon::before, html:not(.js) .faq-icon::before { transform: rotateZ(45deg); }

.callout { display: flex; padding: 20px 24px; flex-direction: column; row-gap: 8px; border-left: 4px solid #199F92; border-radius: 5px; background-color: #E6F7F5; color: #1A2332; }
.callout-warning { border-left-color: #F1963D; background-color: #FEF3DC; }
.callout-label { font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.4; font-weight: 500; letter-spacing: 0.07rem; text-transform: uppercase; color: #2B7A83; }
.callout-warning .callout-label { color: #B45309; }

.class-grid { display: grid; width: 100%; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.class-card { display: flex; padding: 20px; flex-direction: column; row-gap: 8px; border: 1px solid #DEE2E7; border-radius: 5px; background-color: #FFFFFF; }
.class-card-letter { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.5rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.03em; color: #199F92; }
.class-card-label { font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.4; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #1A2332; }
.class-card-desc { font-size: 1rem; line-height: 1.4; font-weight: 500; color: #5B636E; }
.timeline { display: grid; width: 100%; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline-item { display: flex; padding-top: 12px; flex-direction: column; row-gap: 4px; border-top: 3px solid #199F92; }
.timeline-date { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.03em; color: #1A2332; }
.timeline-desc { font-size: 1rem; line-height: 1.4; font-weight: 500; color: #5B636E; }

/* ---- References ---------------------------------------------------------- */
.ref-groups { display: flex; flex-direction: column; row-gap: 40px; width: 100%; max-width: 62.5rem; margin: 0 auto; }
.ref-group { display: flex; flex-direction: column; row-gap: 16px; }
.ref-list { display: flex; flex-direction: column; row-gap: 12px; list-style: none; }
.ref-item { display: grid; grid-template-columns: 3rem 1fr; column-gap: 12px; align-items: start; font-size: 1rem; line-height: 1.4; font-weight: 500; color: #5B636E; scroll-margin-top: 6rem; }
.ref-id { font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.8; font-weight: 500; letter-spacing: 0.04em; color: #199F92; }
.ref-body { display: block; }
.ref-url { display: block; margin-top: 2px; font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.4; color: #717882; word-break: break-all; }

/* ---- Footer -------------------------------------------------------------- */
.section_footer { padding-top: 3rem; padding-bottom: 3rem; background-color: #1A2332; }
.footer-row { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; column-gap: 2rem; row-gap: 1.5rem; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; row-gap: 0.5rem; }
.footer-tagline { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.5rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.03em; color: #FFFFFF; }
.footer-meta { font-family: "Chivo Mono", monospace; font-size: 0.75rem; line-height: 1.4; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #B3B7BF; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 1.5rem; row-gap: 0.5rem; }
.footer-link { font-size: 1rem; line-height: 1.4; font-weight: 500; color: #DEE2E7; text-decoration: none; }
.footer-link:hover { color: #FFFFFF; text-decoration: underline; }

/* ---- Responsive (breakpoints follow the main site's Tablet / Mobile modes) */
@media screen and (max-width: 991px) {
  .display-style-xl { font-size: 3.625rem; }
  .display-style-l { font-size: 3rem; }
  .heading-style-h3 { font-size: 1.625rem; }
  .section_advisory_hero { padding-top: 5rem; padding-bottom: 3rem; }
  .section_std, .section_std_alt, .section_advisory_cta { padding-top: 3rem; padding-bottom: 3rem; }
  .grid-2, .class-grid, .timeline { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
}
@media screen and (max-width: 767px) {
  .display-style-xl { font-size: 2.625rem; }
  .display-style-l { font-size: 2.25rem; }
  .heading-style-h3 { font-size: 1.5rem; }
  .container-large, .nav-container { padding-left: 1.125rem; padding-right: 1.125rem; }
  .faq-item { padding: 32px; column-gap: 20px; }
  .faq-question { font-size: 24px; }
  .grid-2, .class-grid, .timeline { grid-template-columns: 1fr; }
  .nav-cta-group .button-secondary { display: none; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media screen and (max-width: 478px) {
  .faq-item { padding: 24px 20px; column-gap: 14px; }
  .faq-question { font-size: 21px; }
  .feature-card { padding: 24px; }
  .text-link-brand { font-size: 1rem; overflow-wrap: anywhere; }
}
