/* Site v2 additions, loaded after styles.css: footer legal links, legal pages, the 404 page and the FX Risk Engine page.
   styles.css is cached for a year, so new rules live here; a later change takes a new file name (site.v3.css). */
.site-footer__legal { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__legal a { color: #8495aa; transition: color .2s ease; }
.site-footer__legal a:hover, .site-footer__legal a[aria-current="page"] { color: var(--cyan); }

.legal-back { color: #aebcd0; font-size: 14px; font-weight: 570; transition: color .2s ease; }
.legal-back:hover { color: #fff; }

.legal { width: min(820px, calc(100% - 48px)); margin-inline: auto; padding: 48px 0 104px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 14px; color: #fff; }
.legal h2 { font-size: 20px; line-height: 1.3; margin: 44px 0 12px; color: #fff; }
.legal p, .legal li { color: #c9d5e4; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: #eef4ff; }
.legal a { color: var(--cyan); }
.legal a:hover { text-decoration: underline; }
.legal__meta { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.legal__table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { color: #fff; background: rgba(255, 255, 255, .04); font-size: 13px; font-weight: 700; }
.legal tr:last-child td { border-bottom: 0; }
.legal td:first-child { color: #eef4ff; white-space: nowrap; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound__title { font-size: clamp(48px, 8vw, 92px); line-height: 1; margin: 24px 0; letter-spacing: -.04em; }
.notfound__text { color: var(--muted); margin: 0 0 28px; }

/* FX Risk Engine page */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 80px 0 100px; }
.product-hero h1 { margin: 26px 0 0; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.05em; }
.product-hero__lead { margin: 24px 0 0; max-width: 560px; color: #a9b8cb; font-size: 18px; }

.product-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: var(--shadow); }
.product-panel + .product-panel { margin-top: 16px; }
.product-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.product-panel__head strong { font-size: 15px; color: #fff; }
.product-panel__head span { font-size: 11px; color: #718198; text-transform: uppercase; letter-spacing: .1em; }
.product-rows { display: grid; gap: 0; font-size: 13px; }
.product-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.product-row--head { border-top: 0; padding-top: 0; color: #718198; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.product-row b { color: #fff; font-weight: 650; }
.product-row span:not(:first-child) { text-align: right; }
.product-pill { justify-self: end; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.product-pill--ok { color: var(--lime); background: rgba(158,240,140,.1); }
.product-pill--gap { color: #ffcf7a; background: rgba(255,207,122,.12); }
.product-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-figures div { display: flex; flex-direction: column; gap: 4px; }
.product-figures small { color: #718198; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.product-figures b { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }

.features { padding: 40px 0 130px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-grid .service-card { min-height: 280px; }
.feature-grid .service-card h3 { margin-top: 44px; font-size: 22px; }
.coming-soon { margin: 22px 0 0; color: #8fa0b5; font-size: 14px; }

@media (max-width: 980px) {
  .product-hero { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-footer__bottom { flex-wrap: wrap; }
  .site-footer__legal { margin-left: 0; width: 100%; }
  .legal { width: calc(100% - 28px); padding-top: 28px; }
  .legal td:first-child { white-space: normal; }
  .product-hero { padding: 48px 0 72px; }
  .product-hero__lead { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-panel { padding: 18px; }
  .product-row { gap: 6px; font-size: 12px; }
  .product-figures { grid-template-columns: 1fr 1fr; }
}
