/* ClearVis, a product of Radial Logic LLC — clearvis.app
   One stylesheet, no build step. Navy #1a2a4e, amber #f3b634. */

:root {
  color-scheme: light dark;

  --navy: #1a2a4e;
  --navy-deep: #121d38;
  --amber: #f3b634;
  --amber-hover: #e3a320;

  --bg: #ffffff;
  --surface: #f4f6fa;
  --text: #26324b;
  --heading: #1a2a4e;
  --muted: #566178;
  --border: #dce1eb;
  --link: #1a2a4e;
  --link-hover: #0b1530;
  --shadow: 0 1px 2px rgba(18, 29, 56, 0.08), 0 8px 20px rgba(18, 29, 56, 0.16);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1526;
    --surface: #152039;
    --text: #dde3ef;
    --heading: #ffffff;
    --muted: #a4afc5;
    --border: #2a3758;
    --link: #f3b634;
    --link-hover: #ffd77a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.45);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }
}

/* Skip link */

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10;
  background: var(--amber);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  left: 16px;
}

/* Header */

.site-header {
  background: var(--navy);
  color: #ffffff;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
}

.brand:hover {
  color: #ffffff;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-by {
  color: #c7d0e2;
  font-size: 0.8125rem;
  font-weight: 500;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.site-nav a {
  display: inline-block;
  padding: 6px 0;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Title band */

.band {
  background: var(--navy);
  color: #e6ebf5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 4px solid var(--amber);
  padding: 48px 0 56px;
}

.band h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.band .lead {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: clamp(1.125rem, 3.4vw, 1.375rem);
  font-weight: 600;
  line-height: 1.35;
}

.band p {
  max-width: 40rem;
}

.band p:last-child {
  margin-bottom: 0;
}

.band--small {
  padding: 36px 0 40px;
}

.band--small h1 {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
}

/* Sections */

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 16px;
  color: var(--heading);
  font-size: clamp(1.5rem, 4.5vw, 1.875rem);
  line-height: 1.2;
}

h3 {
  margin: 0 0 4px;
  color: var(--heading);
  font-size: 1.0625rem;
  line-height: 1.3;
}

.label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 40px;
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
}

.hero-mark {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (min-width: 720px) {
  .hero-mark {
    width: 128px;
    height: 128px;
    border-radius: 28px;
  }
}

.band .actions {
  margin-top: 24px;
}

.intro {
  max-width: 40rem;
  margin-bottom: 24px;
}

.features {
  list-style: none;
  margin: 24px 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 560px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 16px 18px;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

.button-primary:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
  color: var(--navy);
}

.button-on-dark {
  border-color: #ffffff;
  color: #ffffff;
}

.button-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Company facts */

.facts {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 0 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.facts dt,
.facts dd {
  margin: 0;
  padding: 0 18px;
}

.facts dt {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}

.facts dt:first-child {
  border-top: 0;
}

.facts dd {
  padding-bottom: 14px;
  color: var(--heading);
  font-weight: 500;
  overflow-wrap: anywhere;
}

@media (min-width: 600px) {
  .facts {
    grid-template-columns: 15rem 1fr;
  }

  .facts dt,
  .facts dd {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .facts dd {
    padding-left: 0;
    border-top: 1px solid var(--border);
  }

  .facts dt:first-child + dd {
    border-top: 0;
  }
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.card p:last-child,
.card address:last-child {
  margin-bottom: 0;
}

.card .value {
  font-size: 1.125rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

address {
  font-style: normal;
}

/* Policy pages */

.prose {
  max-width: 40rem;
}

.updated {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Footer */

.site-footer {
  flex-shrink: 0;
  background: var(--navy-deep);
  color: #c7d0e2;
  padding: 28px 0;
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer p {
  margin: 0;
}

.site-footer .fine {
  margin-top: 4px;
  color: #a9b4ca;
  font-size: 0.875rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  color: var(--amber);
}
