/* ==========================================================================
   COASO Group Holdings LLC — site styles
   Palette: navy and slate tones with a single teal accent.
   All text/background pairs below meet WCAG AA contrast.
   ========================================================================== */

:root {
  --navy-900: #0a1a30;
  --navy-800: #0f2744;
  --navy-700: #16355c;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --teal-700: #0f766e; /* accent on light backgrounds (5.5:1 on white) */
  --teal-800: #115e59; /* hover state */
  --teal-300: #5eead4; /* accent on navy backgrounds */

  --text: var(--navy-900);
  --text-muted: var(--slate-600);
  --border: var(--slate-200);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10, 26, 48, 0.06), 0 4px 16px rgba(10, 26, 48, 0.06);
  --max: 1120px;
}

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

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

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

main {
  flex: 1 0 auto;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--navy-800);
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--teal-700);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-800);
}

:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip link ---------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--white);
  color: var(--navy-900);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

/* Header ------------------------------------------------------------------- */

.site-header {
  background: var(--navy-900);
  border-bottom: 3px solid var(--teal-700);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.logo:hover {
  color: var(--white);
}

.logo-mark {
  color: var(--teal-300);
  letter-spacing: 0.08em;
}

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

.site-nav a {
  display: block;
  color: var(--slate-200);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.site-nav a:hover {
  color: var(--white);
  background: var(--navy-700);
}

.site-nav a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--teal-300);
  border-radius: 0;
}

.site-header :focus-visible {
  outline-color: var(--teal-300);
}

/* Hero --------------------------------------------------------------------- */

.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--slate-200);
  padding: 4.5rem 0 4rem;
}

.hero h1 {
  color: var(--white);
  max-width: 22ch;
}

.hero .lead {
  font-size: 1.1875rem;
  max-width: 60ch;
  color: var(--slate-200);
}

.hero .eyebrow {
  color: var(--teal-300);
}

.hero :focus-visible {
  outline-color: var(--teal-300);
}

.page-hero {
  padding: 3.25rem 0 2.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 0.75rem;
}

/* Sections ----------------------------------------------------------------- */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro {
  max-width: 65ch;
  color: var(--slate-700);
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Buttons ------------------------------------------------------------------ */

.button {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  border: 2px solid var(--teal-700);
  background: var(--teal-700);
  color: var(--white);
  line-height: 1.3;
}

.button:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: var(--white);
}

.button-outline {
  background: transparent;
  color: var(--teal-700);
}

.button-outline:hover {
  background: var(--teal-700);
  color: var(--white);
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-900);
}

.button-light:hover {
  background: var(--slate-200);
  border-color: var(--slate-200);
  color: var(--navy-900);
}

.actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Cards -------------------------------------------------------------------- */

.card-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal-700);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-600);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--slate-700);
  flex: 1 0 auto;
}

.card .button {
  align-self: flex-start;
}

.value-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.value-grid .card {
  box-shadow: none;
}

.note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--slate-300);
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 70ch;
}

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

.review-note {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 2px dashed #b45309;
  background: #fffbeb;
  color: #78350f;
  border-radius: var(--radius);
  max-width: 70ch;
}

.review-note strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.review-note p {
  margin: 0;
}

.contact-email {
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  font-weight: 700;
  word-break: break-word;
}

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

/* Footer ------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: var(--slate-300);
  font-size: 0.9375rem;
  padding: 2.5rem 0 2rem;
  margin-top: auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--navy-700);
}

.footer-name {
  color: var(--white);
  font-weight: 700;
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-footer a {
  color: var(--slate-200);
}

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

.site-footer :focus-visible {
  outline-color: var(--teal-300);
}

.disclaimer {
  margin: 1.25rem 0 0.5rem;
  max-width: 80ch;
}

.copyright {
  margin: 0;
}

/* Small screens ------------------------------------------------------------ */

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav a {
    padding: 0.5rem 0.6rem;
  }

  .site-nav ul {
    margin-left: -0.6rem;
  }

  .hero {
    padding: 3rem 0 2.75rem;
  }

  .section {
    padding: 2.75rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  .site-header nav,
  .skip-link {
    display: none;
  }
}
