/* Contact section: shared site typeface, 14px labels and 16px controls. */
.about-page .trial-section { position: relative; isolation: isolate; min-height: 0; padding: 70px 0; background: #06264b; scroll-margin-top: 80px; }
.about-page .trial-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../assets/about-contact-background-frame55269zz.png') center / cover no-repeat; pointer-events: none; }
.about-page .trial-panel { width: min(var(--site-safe-width), calc(100% - 192px)); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 88px; height: auto; min-height: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; transition: none; }
.about-page .trial-panel:hover { transform: none; border-color: transparent; box-shadow: none; }
.about-page .trial-intro { height: auto; padding: 0 0 30px; border-radius: 0; background: transparent; }
.about-page .trial-intro .trial-eyebrow { margin: 0 0 14px; color: #909aA3; font-size: 14px; line-height: 1.5; letter-spacing: .08em; }
.about-page .trial-intro h2 { margin: 0 0 32px; color: #fff; font-size: 44px; font-weight: 600; line-height: 1.3; }
.about-page .trial-intro p { width: 100%; margin: 0; color: rgba(255,255,255,.85); font-size: 16px; font-weight: 400; line-height: 1.9; }
.about-page .trial-form { display: flex; flex-direction: column; gap: 24px; width: 100%; height: auto; padding: 40px; border-radius: 12px; background: #fff; }
.about-page .trial-form-heading h3 { margin: 0 0 10px; color: var(--ink); font-size: 20px; font-weight: 500; line-height: 1.5; }
.about-page .trial-form-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; text-indent: 0; }
.about-page .trial-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.about-page .trial-form label, .about-page .trial-form label.full { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; }
.about-page .trial-form label > span { color: var(--text); font-size: 14px; font-weight: 400; line-height: 1.5; text-align: left; }
.about-page .trial-form label > span::before { font-size: 14px; margin-right: 4px; }
.about-page .trial-form input, .about-page .trial-form textarea { width: 100%; min-width: 0; border: 1px solid #d8dde2; border-radius: 6px; background: #fff; color: var(--text); font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; }
.about-page .trial-form input { box-sizing: border-box; height: 40px; padding: 7px 14px; }
.about-page .trial-form textarea { box-sizing: border-box; height: 90px; min-height: 90px; padding: 12px 14px; resize: vertical; }
.about-page .trial-form input::placeholder, .about-page .trial-form textarea::placeholder { color: #8a939d; font-size: 14px; opacity: 1; }
.about-page .trial-form input:focus, .about-page .trial-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,93,191,.1); }
.about-page .trial-form button { align-self: center; width: auto; min-width: 152px; height: 48px; min-height: 48px; margin: 0; padding: 12px 28px; border-radius: 6px; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.5; background: var(--blue); }
.about-page .trial-form [data-form-message] { margin: -8px 0 0; min-height: 0; text-align: left; font-size: 14px; line-height: 1.6; }
.about-page .trial-form [data-form-message]:empty { display: none; }
@media (max-width: 1100px) {
  .about-page .trial-panel { width: calc(100% - 64px); gap: 40px; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .about-page .trial-form { padding: 30px; }
}
@media (max-width: 800px) {
  .about-page .trial-section { padding: 70px 0; }
  .about-page .trial-panel { grid-template-columns: 1fr; gap: 32px; }
  .about-page .trial-intro { padding: 0; }
  .about-page .trial-intro h2 { font-size: 34px; margin-bottom: 20px; }
}
@media (max-width: 540px) {
  .about-page .trial-panel { width: calc(100% - 40px); }
  .about-page .trial-form { padding: 24px 20px; }
  .about-page .trial-form-row { grid-template-columns: 1fr; gap: 20px; }
  .about-page .trial-form button { width: 100%; }
}

.about-page .trial-intro { display: flex; flex-direction: column; }
.about-page .contact-model { width: 100%; height: 300px; margin-top: auto; padding-top: 24px; }
.about-page .contact-model canvas { display: block; width: 100%; height: 100%; }
@media(max-width:800px) { .about-page .contact-model { height: 280px; margin-top: 24px; padding-top: 0; } }

/* Subtle terrain contours sit behind the contact model. */
.about-page .contact-model { position: relative; isolation: isolate; }
.about-page .contact-model::before { content: ''; position: absolute; inset: -24px -20px; z-index: -1; pointer-events: none; background: url('../assets/contact-model-contours.svg') center / 100% 100% no-repeat; }

.about-page .trial-intro h2, .about-page .trial-intro p { text-align: left; text-indent: 0; }

.about-site #trial-application .trial-intro > h2,
.about-site #trial-application .trial-intro > p { width: 100%; text-align: left; text-indent: 0; margin-left: 0; margin-right: 0; }

/* Continue the contact section's deep blue through the full footer. */
.about-site .proto-footer { border-top: 1px solid rgba(255,255,255,.15); background: #002757; color: rgba(255,255,255,.85); }
.about-site .proto-footer .proto-footer-main { background: transparent; }
.about-site .proto-footer :is(p, strong, span, a) { color: inherit; }
.about-site .proto-footer .proto-footer-qr-item { color: inherit; }
.about-site .proto-footer .proto-footer-brand > img { filter: brightness(0) invert(1); }
.about-site .proto-footer .proto-copyright { background: #002757; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.15); }

/* Successful trial applications receive an accessible green confirmation. */
.about-page .trial-form [data-form-message][data-state="success"] { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; border: 1px solid #b7ebc6; border-radius: 8px; background: #f0fdf4; color: #15803d; font-size: 14px; line-height: 1.6; text-indent: 0; }
.about-page .trial-form [data-form-message][data-state="success"]::before { content: "\2713"; flex-shrink: 0; font-family: Arial, sans-serif; font-size: 16px; font-weight: 400; }
