/* Public entry points share touch targets without sharing header positioning. */
:root { color-scheme: dark; }
html { scroll-padding-top: 90px; overflow-x: clip; }
body { overflow-wrap: break-word; }
a, button, input, select, textarea { touch-action: manipulation; }
:is(a, button, input, select, textarea):focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
.public-language { position: relative; z-index: 1; display: flex; justify-content: center; gap: 8px; padding: 16px; flex-shrink: 0; }
.public-language button { min-width: 44px; min-height: 44px; color: #fff; background: #334155; border: 1px solid #64748b; border-radius: 8px; cursor: pointer; font: inherit; }
.public-language button[aria-pressed="true"] { background: #0369a1; border-color: #38bdf8; }
.site-nav { gap: 20px; }
.site-nav .nav-logo { flex-shrink: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-actions a, .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-login { color: #fff; text-decoration: none; font-weight: 700; padding: 10px 12px; border: 1px solid #64748b; border-radius: 8px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; min-height: 44px; border: 1px solid #64748b; border-radius: 8px; background: #1e293b; color: #fff; font-size: 24px; cursor: pointer; }
.site-nav .mobile-apply { display: none; }
.hero-content { min-width: 0; width: 100%; }
.hero-btns a { max-width: 100%; justify-content: center; }
.footer-links { flex-wrap: wrap; }
.faq-q { width: 100%; min-height: 44px; border: 0; background: transparent; text-align: left; font: inherit; gap: 12px; }
.features-grid, .plans-grid, .testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.password-field { position: relative; }
.password-field input { padding-right: 76px; }
.password-field button { position: absolute; right: 4px; top: 2px; bottom: 2px; min-width: 64px; min-height: 44px; border: 0; border-radius: 6px; background: transparent; color: #c7d2fe; font: inherit; cursor: pointer; }
.card .apply-link, .card .back-link { line-height: 1.7; }
.card .back-link, .card .apply-link a { display: inline-block; padding: 8px 0; }
.card .back-link { display: block; }
.application-shell { min-height: 100dvh; }
.application-grid > * { min-width: 0; }
.application-card input, .application-card select, .application-card textarea { font-size: 16px !important; min-width: 0; max-width: 100%; }
@media (max-width: 1399px) {
  .site-nav { padding-inline: 20px; }
  .nav-toggle { display: inline-flex; }
  .site-nav .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 20px; background: #0f172a; border-bottom: 1px solid #475569; max-height: calc(100dvh - 70px); overflow-y: auto; }
  .site-nav .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav .nav-links a { padding: 8px 12px; }
  .site-nav .mobile-apply { display: flex; }
}
@media (max-width: 639px) {
  .site-nav { gap: 8px; padding-inline: 12px; }
  .site-nav .nav-logo { gap: 6px; min-width: 0; flex-shrink: 1; }
  .site-nav .nav-logo img { height: 28px; flex-shrink: 0; }
  .site-nav .nav-logo span { font-size: .9rem; }
  .nav-actions { gap: 6px; }
  .nav-actions .nav-cta { display: none; }
  .nav-login { font-size: .9rem; padding-inline: 10px; }
  .hero h1 { font-size: clamp(2rem, 8.8vw, 2.8rem); }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 120px; }
  .card { padding: 24px 20px; }
  .application-shell { padding: 24px 16px !important; }
  .application-card { padding: 24px 20px !important; }
  .application-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
