/* Shared navigation and software-company pages. */
.site-nav { gap: clamp(18px, 2.3vw, 34px); }
.site-nav [aria-current="page"] { color: var(--accent); }
.menu-toggle { display: none; }
.company-section { padding-block: 90px; }
.section-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 64px; margin-bottom: 48px; }
.company-section .eyebrow, .engagement-section .eyebrow, .faq-section .eyebrow { color: var(--accent); margin-bottom: 20px; }
.section-intro h2, .brand-teaser h2, .faq-section h2 { font-size: clamp(35px, 4vw, 57px); line-height: 1.08; letter-spacing: -.052em; }
.section-intro h2 > span, .brand-teaser h2 > span { color: #737e8d; }
.section-intro > p { max-width: 45ch; font-size: 14px; line-height: 1.85; color: var(--secondary); }
.services { padding-top: 22px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; }
.service-card { position: relative; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card:nth-child(4n) { border-right: 0; }
.service-card:nth-child(n+5) { border-bottom: 0; }
.service-number { display: block; min-height: 32px; color: #717a89; font-size: 8px; letter-spacing: .07em; line-height: 1.6; }
.service-glyph { display: flex; align-items: center; height: 66px; color: var(--accent); font: 500 38px/1 'Archivo', sans-serif; letter-spacing: -.08em; margin-bottom: 16px; }
.glyph-window { width: 45px; height: 34px; border: 2px solid var(--accent); border-radius: 6px; margin-block: 16px 32px; padding: 6px; gap: 3px; align-items: start; position: relative; }
.glyph-window::after { content: ''; position: absolute; top: 13px; left: 0; right: 0; height: 2px; background: var(--accent); }
.glyph-window i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.glyph-mobile { width: 27px; height: 43px; margin-block: 12px 27px; border: 2px solid var(--accent); border-radius: 7px; justify-content: center; align-items: end; padding-bottom: 4px; }
.glyph-mobile i { width: 9px; height: 2px; background: var(--accent); }
.service-card h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 16px; }
.service-card > p { font-size: 12px; line-height: 1.85; color: var(--secondary); }
.service-card ul { padding: 0; margin: 24px 0 0; list-style: none; font-size: 10px; color: #556270; }
.service-card li { margin-top: 7px; padding-left: 12px; position: relative; }
.service-card li::before { content: ''; position: absolute; left: 0; top: .7em; width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.service-card-accent { background: var(--accent); color: white; }
.service-card-accent .service-number, .service-card-accent > p, .service-card-accent ul { color: #dce0ff; }
.service-card-accent .service-glyph { color: white; }
.section-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; }
.section-bottom > p { font-size: 12px; color: var(--secondary); }
.text-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; text-decoration: none; color: var(--accent); font-size: 12px; font-weight: 500; }
.text-link span { font-size: 21px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.engineering-panel { width: calc(100% - 32px); margin-inline: auto; padding-block: 90px 54px; background: #13242f; color: #f8fbff; border-radius: 24px; overflow: hidden; }
.engineering-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.engineering-copy .eyebrow { color: #a0b4c7; margin-bottom: 25px; }
.engineering-copy h2 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.06; letter-spacing: -.055em; }
.engineering-copy h2 > span { color: #cbf572; }
.engineering-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.9; color: #b6c4d1; margin-block: 25px 28px; max-width: 43ch; }
.engineering-copy .text-link { color: #cbf572; }
.engineering-panel a:focus-visible { outline-color: #cbf572; }
.architecture { position: relative; padding: 22px; border: 1px solid #ffffff20; border-radius: 20px; background: linear-gradient(145deg, #273747, #182a38); box-shadow: 0 30px 90px #00000025; }
.architecture-top { display: flex; align-items: center; gap: 12px; color: #d8e1eb; font-size: 10px; margin-bottom: 26px; }
.architecture-top .status-dot { background: #cbf572; }
.architecture-top > span:last-child { margin-left: auto; font-size: 18px; }
.architecture-layer { display: flex; align-items: center; gap: 16px; padding: 20px 16px; margin-block: 8px; border: 1px solid #ffffff14; border-radius: 9px; background: #ffffff05; }
.layer-index { color: #7893aa; font: 10px monospace; }
.architecture-layer strong { display: block; font-weight: 500; font-size: 14px; }
.architecture-layer div > span { display: block; font-size: 9px; color: #9db3c7; margin-top: 4px; }
.layer-sign { margin-left: auto; color: #cbf572; font-size: 23px; }
.architecture-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 23px; color: #9db3c7; font-size: 8px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; margin-top: 74px; border-top: 1px solid #ffffff24; padding-top: 34px; }
.principles-grid article > span { font-size: 10px; color: #cbf572; }
.principles-grid h3 { font-size: 18px; letter-spacing: -.025em; margin-block: 10px 12px; }
.principles-grid p { font-size: 12px; color: #a8bacb; line-height: 1.85; }
.delivery-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 60px 0 0; }
.delivery-steps li { position: relative; padding: 0 28px 0 0; }
.delivery-steps li::before { content: ''; position: absolute; top: 24px; width: 100%; height: 1px; background: #ced5df; z-index: -1; }
.delivery-steps li:last-child { padding-right: 0; }
.delivery-steps li:last-child::before { display: none; }
.step-count { display: grid; place-items: center; width: 49px; height: 49px; background: var(--bg); border: 1px solid #b8c3d5; border-radius: 50%; color: var(--accent); font-size: 12px; margin-bottom: 30px; }
.delivery-steps h3 { font-size: 22px; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 16px; }
.delivery-steps p { font-size: 12px; line-height: 1.85; color: var(--secondary); }
.step-output { display: block; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 22px; font-size: 9px; color: var(--accent); }
.engagement-section { background: #eaedf3; padding-block: 80px; }
.engagement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.engagement-grid article { display: flex; flex-direction: column; padding: 35px; border: 1px solid #d8dfea; border-radius: 16px; }
.engagement-grid article:nth-child(2) { background: #fff; border-color: #fff; }
.model-label { font-size: 9px; color: var(--accent); letter-spacing: .12em; }
.engagement-grid h3 { font-size: 31px; line-height: 1.14; letter-spacing: -.045em; margin-block: 27px 20px; }
.engagement-grid p { font-size: 12px; line-height: 1.85; color: var(--secondary); margin-bottom: 25px; }
.engagement-grid .text-link { margin-top: auto; padding-top: 20px; border-top: 1px solid #14213017; font-size: 10px; gap: 8px; }
.brand-teaser { display: grid; grid-template-columns: 1.4fr 1fr; gap: 90px; align-items: center; }
.brand-teaser h2 { font-size: clamp(33px, 3.5vw, 49px); }
.brand-teaser > div > p:not(.eyebrow) { font-size: 13px; color: var(--secondary); line-height: 1.9; max-width: 47ch; margin-block: 25px; }
.brand-teaser-links { display: grid; gap: 16px; }
.brand-teaser-links > a { display: block; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; transition: border-color .2s; }
.brand-teaser-links > a:hover { border-color: var(--accent); }
.brand-teaser-links img { height: 31px; width: auto; }
.brand-teaser-links span { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; font-size: 11px; color: var(--secondary); }
.brand-teaser-links b { font-size: 22px; color: var(--accent); font-weight: 400; }
.faq-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; border-top: 1px solid var(--line); padding-block: 72px 100px; }
.faq-section > div > p:not(.eyebrow) { font-size: 12px; color: var(--secondary); margin-top: 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 23px; font-size: 14px; line-height: 1.6; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: 0 0 24px; font-size: 24px; color: var(--accent); text-align: center; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { color: var(--accent); }
.faq-list summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq-list details > p { max-width: 65ch; padding-bottom: 24px; font-size: 12px; color: var(--secondary); line-height: 1.9; }
.contact h2 { line-height: 1.12; letter-spacing: -.035em; }
.service-inquiry { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--accent); font-size: 10px; text-decoration: none; }
.service-inquiry > span[aria-hidden] { font-size: 20px; }
.service-inquiry:hover { text-decoration: underline; }
.service-card-accent .service-inquiry { color: white; border-color: #ffffff35; }
.service-card-accent .service-inquiry:focus-visible { outline-color: white; }
.contact-copy-action { margin-top: 12px; }
.email-copy { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: none; color: #d2dfff; font-size: 11px; text-align: left; }
.email-copy:hover { color: white; }
.email-copy:focus-visible { outline-color: #b8c6ff; }
.email-copy > span { font-size: 17px; }
.copy-status { display: block; color: #d2dfff; font-size: 11px; line-height: 1.7; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; padding-block: 30px 48px; }
.footer-about > p { color: var(--secondary); font-size: 12px; line-height: 1.8; margin-block: 22px 16px; }
.footer-about > a:last-child { font-size: 12px; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-nav > span { color: var(--secondary); font-size: 10px; letter-spacing: .1em; margin-bottom: 9px; text-transform: uppercase; }
.footer-nav a { display: block; font-size: 12px; }
.footer-nav small { display: block; font-size: 10px; color: var(--secondary); margin-top: 3px; }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:nth-child(n+5) { border-bottom: 1px solid var(--line); }
  .service-card:nth-child(n+7) { border-bottom: 0; }
  .service-number { min-height: auto; }
  .service-card > p { max-width: 46ch; }
  .engineering-grid { gap: 40px; }
  .section-intro { gap: 36px; }
  .engagement-grid article { padding: 26px; }
  .engagement-grid h3 { font-size: 27px; }
  .brand-teaser, .faq-section { gap: 45px; }
}
@media (max-width: 760px) {
  .header-inner { position: relative; flex-wrap: wrap; gap: 10px; }
  .site-nav { width: 100%; justify-content: space-between; padding-bottom: 12px; gap: 10px; }
  .js .menu-toggle { display: flex; align-items: center; gap: 13px; background: none; border: 1px solid #c9d0da; border-radius: 25px; padding: 8px 14px; font-size: 11px; color: var(--ink); }
  .menu-toggle span { font-size: 17px; line-height: 1; }
  .js .site-nav { display: none; position: absolute; top: calc(100% - 2px); right: 0; left: 0; width: 100%; padding: 15px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 35px #14213015; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav a { font-size: 14px; padding: 12px; }
  .js .site-nav .contact-link { border-radius: 8px; margin-top: 8px; display: flex; justify-content: space-between; }
  .company-section { padding-block: 58px; }
  .services { padding-top: 5px; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .section-intro h2, .brand-teaser h2, .faq-section h2 { font-size: clamp(33px, 7vw, 44px); }
  .section-intro > p { font-size: 13px; max-width: 55ch; }
  .section-bottom { align-items: start; flex-direction: column; gap: 16px; }
  .engineering-panel { width: calc(100% - 20px); padding-block: 48px; border-radius: 18px; }
  .engineering-panel .container { width: calc(100% - 36px); }
  .engineering-grid { grid-template-columns: 1fr; gap: 38px; }
  .engineering-copy h2 { font-size: clamp(37px, 8vw, 53px); }
  .engineering-copy > p:not(.eyebrow) { max-width: 55ch; }
  .architecture { max-width: 500px; width: 100%; margin-inline: auto; }
  .principles-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 40px; padding-top: 30px; }
  .principles-grid article { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; align-items: baseline; }
  .principles-grid p { grid-column: 2; }
  .principles-grid h3 { margin-top: 0; }
  .delivery-steps { grid-template-columns: 1fr 1fr; gap: 38px 25px; margin-top: 35px; }
  .delivery-steps li { padding: 0; }
  .delivery-steps li::before { display: none; }
  .step-count { margin-bottom: 20px; }
  .delivery-steps h3 { font-size: 23px; }
  .engagement-section { padding-block: 54px; }
  .engagement-grid { grid-template-columns: 1fr; gap: 14px; }
  .engagement-grid article { padding: 28px; }
  .engagement-grid h3 { font-size: 31px; margin-block: 20px 16px; }
  .engagement-grid p { max-width: 52ch; }
  .engagement-grid .text-link { font-size: 12px; }
  .brand-teaser { grid-template-columns: 1fr; gap: 30px; }
  .brand-teaser-links { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-teaser-links > a { padding: 22px; }
  .brand-teaser-links img { max-width: 100%; height: auto; max-height: 29px; width: auto; }
  .faq-section { grid-template-columns: 1fr; gap: 30px; padding-block: 50px 65px; }
  .faq-list summary { font-size: 13px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 10px 35px; }
  .footer-about { grid-column: 1 / -1; }
  .site-footer .footer-inner { flex-wrap: nowrap; align-items: baseline; }
  .site-footer .footer-inner > span { order: 0; width: auto; font-size: 9px; }
  .site-footer .back-top { flex-shrink: 0; gap: 10px; }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(n+7) { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px; }
  .service-card:last-child { border-bottom: 0; }
  .service-card { display: grid; grid-template-columns: 1fr 45px; column-gap: 12px; }
  .service-number { grid-column: 1; align-self: center; }
  .service-glyph { grid-column: 2; grid-row: 1 / 3; align-self: start; margin-block: 4px 0; height: 38px; font-size: 30px; }
  .glyph-window { height: 34px; }
  .glyph-mobile { height: 40px; margin-left: 8px; }
  .service-card h3 { grid-column: 1; margin-block: 12px 16px; font-size: 24px; }
  .service-card > p, .service-card > ul { grid-column: 1 / -1; }
  .service-card ul { margin-top: 18px; }
  .service-inquiry { grid-column: 1 / -1; }
  .architecture { padding: 16px; }
  .architecture-layer { padding: 16px 10px; gap: 11px; }
  .architecture-layer strong { font-size: 13px; }
  .architecture-layer div > span { font-size: 8px; }
  .layer-sign { font-size: 18px; }
  .architecture-top { font-size: 9px; gap: 8px; }
  .architecture-foot { font-size: 7px; }
  .delivery-steps { grid-template-columns: 1fr; gap: 30px; }
  .delivery-steps li { padding-left: 56px; }
  .step-count { position: absolute; left: 0; top: 0; width: 36px; height: 36px; font-size: 10px; }
  .delivery-steps h3 { font-size: 24px; padding-top: 5px; }
  .brand-teaser-links { grid-template-columns: 1fr; }
  .brand-teaser-links > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 25px 20px; }
  .brand-teaser-links img { width: 110px; height: auto; }
  .brand-teaser-links span { margin-top: 0; gap: 12px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .text-link:hover span { transform: none; }
}
