/* Ahura Aqua — shared site styles (menu, footer, phone layout) */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { height: auto !important; min-height: 100%; }
body { margin: 0; background: #ffffff; color: #0e1b2a; font-family: 'IBM Plex Sans', system-ui, sans-serif; overflow-x: clip; }
img { max-width: 100%; }
a { color: #0a5ba3; }
a:hover { color: #29abe2; }
:focus-visible { outline: 3px solid #29abe2; outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #0a5ba3; color: #fff; padding: 10px 16px; border-radius: 4px; z-index: 1000; }
.skip-link:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid #eef1f4; backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { max-width: 1680px; margin: 0 auto; padding: 22px 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand .tri { width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 24px solid #0a5ba3; display: inline-block; }
.brand .txt { display: flex; flex-direction: column; line-height: 1; }
.brand .name { font-size: 23px; font-weight: 700; letter-spacing: -0.01em; color: #0e1b2a; white-space: nowrap; }
.brand .tag { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 0.42em; color: #1f8fc0; margin-top: 5px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: 16.5px; font-weight: 500; color: #0a5ba3; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: #1f8fc0; }
.site-nav a[aria-current="page"] { color: #0e1b2a; }
.site-nav a.cta { background: #0a5ba3; color: #fff; padding: 11px 22px; border-radius: 999px; font-weight: 600; }
.site-nav a.cta:hover { background: #084a85; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid #d7e3ec; border-radius: 6px; width: 44px; height: 44px; padding: 0; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #0a5ba3; border-radius: 1px; }

/* ---------- Page content ---------- */
.page { display: block; }
.page .option-card { max-width: 1320px; margin: 0 auto; }
.page [data-r~="w"] { max-width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: #0a2233; color: #b7c6d4; margin-top: 0; }
.site-footer .wrap { max-width: 1680px; margin: 0 auto; padding: 64px 64px 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand .name { color: #fff; }
.site-footer .brand .tag { color: #5cc8f2; }
.site-footer .brand .tri { border-bottom-color: #29abe2; }
.site-footer p { font-size: 15px; line-height: 1.65; margin: 18px 0 0; max-width: 360px; }
.site-footer h2 { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #7d93a8; margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: #dfe8f0; text-decoration: none; font-size: 15px; }
.site-footer ul a:hover { color: #5cc8f2; text-decoration: underline; }
.site-footer .bottom { border-top: 1px solid #1d3851; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8da0b3; }
.site-footer .footer-cta { display: inline-block; margin-top: 22px; background: #29abe2; color: #062033; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-size: 15px; }
.site-footer .footer-cta:hover { background: #5cc8f2; color: #062033; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .site-header .wrap { padding: 18px 28px; }
  .site-nav { gap: 22px; }
  .site-footer .wrap { padding: 56px 28px 24px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .page [data-r~="pad"] { padding-left: 28px !important; padding-right: 28px !important; }
  .page [data-r~="grid3"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ---------- Phone ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #e6ebf0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; box-shadow: 0 18px 30px -20px rgba(10,34,51,.35); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid #f0f3f6; font-size: 17px; }
  .site-nav a.cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .site-header .wrap { padding: 14px 16px; position: relative; }
  .brand .name { font-size: 20px; }

  .site-footer .wrap { padding: 44px 16px 22px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }

  .page [data-r~="pad"] { padding-left: 16px !important; padding-right: 16px !important; }
  .page [data-r~="vpad"] { padding-top: 40px !important; padding-bottom: 40px !important; }
  .page [data-r~="w"] { width: auto !important; min-width: 0 !important; flex-basis: auto !important; }
  .page [data-r~="grid"], .page [data-r~="grid3"] { grid-template-columns: minmax(0, 1fr) !important; }
  .page [data-r~="grid-span"] { grid-column: auto !important; grid-row: auto !important; }
  .page [data-r~="row"] { flex-wrap: wrap !important; }
  .page [data-r~="gap"] { gap: 20px !important; }
  .page [data-r~="fill"] { flex: 1 1 140px !important; min-width: 0 !important; }
  .page [data-r~="fs1"] { font-size: 36px !important; line-height: 1.08 !important; }
  .page [data-r~="fs2"] { font-size: 28px !important; line-height: 1.15 !important; }
  .page [data-r~="fs3"] { font-size: 23px !important; line-height: 1.2 !important; }
  .page [data-r~="line"] { display: none !important; }
  .page [data-r~="nowrap"] { white-space: normal !important; }
  .page [data-r~="minh"] { min-height: 0 !important; }
  .page table { display: block; overflow-x: auto; }
  /* Home hero photo sits under the text on phones */
  .page .hero-photo { position: relative !important; width: 100% !important; inset: auto !important; height: 260px; margin-top: 8px; }
  .page .hero-photo img { width: 100% !important; margin: 0 !important; height: 100%; object-fit: cover; }
}
