/* Mosaic website: shared styles for every page. Palette follows docs/BRAND_FOUNDATION.md. */
:root {
  --navy: #0b2343;
  --navy-deep: #061528;
  --blue: #376da4;
  --sky: #669bd0;
  --tile-1: #3f86d0;
  --tile-2: #7aa8dc;
  --tile-3: #a9c8ec;
  --text: #e8eef6;
  --muted: #9fb0c6;
  --line: rgba(198,206,216,.12);
  --card: linear-gradient(180deg, rgba(11,35,67,.85), rgba(6,21,40,.75));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--navy-deep);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--tile-3); }
.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Soft glow and faint tile grid behind the top of each page */
.bg {
  position: absolute; inset: 0 0 auto 0; height: 900px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60rem 36rem at 50% 0%, rgba(55,109,164,.35), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(198,206,216,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,206,216,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 10%, #000 15%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 10%, #000 15%, transparent 60%);
}

/* Header */
.site-header { position: relative; z-index: 5; background: transparent; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand img { width: 40px; height: auto; }
.brand span { font-family: "Montserrat", sans-serif; font-weight: 500; letter-spacing: .32em; font-size: 1rem; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--tile-3); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; }
.menu-toggle {
  display: none; background: none; border: 1px solid rgba(169,200,236,.35); border-radius: 8px;
  color: #fff; font: inherit; font-size: .9rem; padding: 6px 12px; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block; text-align: center; padding: 11px 22px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: #fff;
  border: 1px solid rgba(169,200,236,.35); transition: background .15s, border-color .15s;
}
.btn:hover { border-color: var(--tile-3); }
.btn-primary { background: var(--tile-1); border-color: var(--tile-1); color: #fff !important; }
.btn-primary:hover { background: #4d93dc; border-color: #4d93dc; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
.eyebrow {
  font-family: "Montserrat", sans-serif; font-size: .75rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--tile-3);
}
h1, h2, h3 { font-family: "Montserrat", sans-serif; font-weight: 600; color: #fff; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); line-height: 1.2; }
h3 { font-size: 1.05rem; line-height: 1.35; }
.accent { background: linear-gradient(90deg, var(--tile-2), var(--tile-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); max-width: 42rem; }
.muted { color: var(--muted); }

/* Page intro */
.intro { padding: 44px 0 12px; text-align: center; }
.intro h1 { margin-top: 14px; }
.intro .lede { margin: 16px auto 0; }
.intro .actions { justify-content: center; margin-top: 26px; }

/* Sections */
.section { margin-top: 88px; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto; }
.section-head h2 { margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* Cards and grids */
.grid { display: grid; gap: 16px; margin-top: 32px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 24px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .93rem; }
.card a.more { display: inline-block; margin-top: 12px; font-size: .9rem; text-decoration: none; }
.card a.more::after { content: " →"; }
.swatch { display: flex; gap: 4px; margin-bottom: 14px; }
.swatch i { width: 16px; height: 6px; border-radius: 1px; background: rgba(169,200,236,.18); }
.swatch i.on:nth-child(1) { background: var(--tile-1); }
.swatch i.on:nth-child(2) { background: var(--tile-2); }
.swatch i.on:nth-child(3) { background: var(--tile-3); }

/* Lists with ticks */
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--tile-2); font-weight: 600; }
.ticks li strong { color: #fff; font-weight: 600; }

/* Two-column feature rows */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; padding-top: 48px; margin-top: 48px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.feature-row:first-of-type { border-top: 0; margin-top: 24px; }
.feature-row .copy p { color: var(--muted); margin-top: 12px; }
.feature-row .copy .eyebrow { display: block; }
.feature-row .copy h2 { margin-top: 10px; }
.feature-row .ticks { font-size: .95rem; }

/* Jump links */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.jump a {
  font-size: .85rem; text-decoration: none; color: var(--tile-3);
  padding: 6px 14px; border: 1px solid rgba(169,200,236,.22); border-radius: 999px; background: rgba(11,35,67,.6);
}
.jump a:hover { color: #fff; border-color: var(--tile-2); }

/* Questions */
.faq { margin: 32px auto 0; max-width: 760px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tile-2); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* Call to action band */
.closing { margin-top: 88px; text-align: center; padding: 44px 24px; border: 1px solid rgba(122,168,220,.35); border-radius: 18px; background: var(--card); }
.closing p { color: var(--muted); margin-top: 8px; }
.closing .actions { justify-content: center; margin-top: 20px; }

/* Footer */
.site-footer { position: relative; z-index: 1; margin-top: 88px; background: var(--navy-deep); border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { margin-top: 12px; line-height: 1.7; }
.footer-brand a { color: var(--muted); text-decoration: none; }
.site-footer h4 { font-family: "Montserrat", sans-serif; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--tile-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer ul a { color: var(--muted); text-decoration: none; }
.site-footer ul a:hover, .footer-brand a:hover { color: #fff; }
.legal-line { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; color: rgba(159,176,198,.75); }

/* Phones and tablets */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--navy);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; font-size: .95rem; }
  .site-nav .btn { margin-top: 6px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section, .closing, .site-footer { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

