/* AI Readiness Group — shared styles */

:root {
  --ink: #04323c;
  --ink-deep: #02191e;
  --teal-dark: #005d69;
  --teal: #077a86;
  --teal-bright: #0096a3;
  --orange: #ef5a16;
  --orange-dark: #d24c0f;
  --bg: #ffffff;
  --bg-alt: #eaf6f7;
  --text: #17242b;
  --text-muted: #5c6b72;
  --border: #dbe7e9;
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(4, 50, 60, 0.08);
  --shadow-md: 0 0 5px 5px rgba(4, 50, 60, 0.06);
  --shadow-lg: 0 20px 50px -18px rgba(4, 50, 60, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: var(--teal-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Header / nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand:hover { text-decoration: none; }

.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--teal-bright), var(--orange) 130%);
  flex-shrink: 0;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.brand .mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
}

nav.links {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav.links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
nav.links a:hover { color: var(--teal-bright); text-decoration: none; }

nav.links a.active { color: var(--teal-bright); }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(239, 90, 22, 0.55);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--teal-dark);
  color: var(--teal-dark);
}
.btn-outline:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: translateY(-2px); }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(1000px 480px at 100% -10%, rgba(239, 90, 22, 0.18), transparent 55%),
              radial-gradient(900px 520px at 0% 110%, rgba(0, 150, 163, 0.28), transparent 55%),
              linear-gradient(135deg, var(--teal-dark) 0%, var(--ink) 70%, var(--ink-deep) 100%);
  color: #fff;
  padding: 76px 0 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd9c2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 20px;
}
.hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(239, 90, 22, 0.28);
}

.hero h1 {
  font-size: 2.85rem;
  line-height: 1.15;
  margin: 0 0 22px;
  font-weight: 800;
  color: #fff;
}

.hero p.lead {
  font-size: 1.15rem;
  color: #cfe8ea;
  max-width: 560px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero lead form card */
.hero-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.hero-form-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: var(--ink);
}
.hero-form-card .sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 20px;
}
.hero-form-card form {
  display: grid;
  gap: 14px;
}
.hero-form-card .btn { width: 100%; text-align: center; }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); }

.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 16px;
}
.section-head .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.section-head h2 { font-size: 2rem; margin: 0 0 16px; color: var(--ink); line-height: 1.3; }
.section-head p { color: var(--text-muted); font-size: 1.06rem; margin: 0; }

.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 150, 163, 0.16), rgba(239, 90, 22, 0.12));
  color: var(--teal-dark);
  font-weight: 800;
  margin-bottom: 18px;
}

.card h3 { margin: 0 0 12px; font-size: 1.18rem; color: var(--ink); }
.card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  text-align: left;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 4px solid var(--teal-bright);
}
.step .idx {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.step h4 { margin: 0 0 10px; color: var(--ink); font-size: 1.08rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* Stat band */
.stat-band {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--ink) 100%);
  color: #fff;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat .value {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffd9c2;
}
.stat .label { color: #cfe8ea; font-size: 0.95rem; margin-top: 8px; }

/* Quote band */
.quote-band {
  background: var(--bg-alt);
  text-align: center;
}
.quote-band blockquote {
  margin: 0 auto 22px;
  max-width: 780px;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
  font-style: italic;
}
.quote-band .attribution {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* FAQ accordion */
.faq { max-width: 780px; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 14px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.03rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 800;
  margin-left: 16px;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2212"; }
.faq p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--ink) 100%);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.cta-band h2 { margin: 0 0 18px; font-size: 2rem; color: #fff; }
.cta-band p { color: #cfe8ea; max-width: 560px; margin: 0 auto 34px; }

/* Forms */
form.contact-form {
  display: grid;
  gap: 20px;
  max-width: 560px;
}
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(0, 150, 163, 0.18);
}

/* Footer */
footer.site-footer {
  background: var(--ink-deep);
  color: #a7bcc0;
  padding: 56px 0 32px;
  font-size: 0.92rem;
}
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
footer.site-footer h5 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 16px;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 9px; }
footer.site-footer a { color: #a7bcc0; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #6d8288;
  font-size: 0.85rem;
}

/* Page hero (non-home pages) */
.page-hero {
  position: relative;
  background: radial-gradient(900px 420px at 90% -20%, rgba(239, 90, 22, 0.2), transparent 55%),
              linear-gradient(135deg, var(--teal-dark) 0%, var(--ink) 100%);
  color: #fff;
  padding: 64px 0;
}
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd9c2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}
.page-hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.page-hero h1 { margin: 0 0 14px; font-size: 2.2rem; color: #fff; }
.page-hero p { color: #cfe8ea; max-width: 620px; margin: 0; font-size: 1.06rem; }

/* Mobile nav toggle */
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps, .steps.steps-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  footer.site-footer .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .hero p.lead { font-size: 1.05rem; }
  section { padding: 60px 0; }

  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 28px 26px;
    gap: 18px;
    display: none;
  }
  nav.links.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
  }
}

@media (max-width: 600px) {
  .steps, .steps.steps-4 { grid-template-columns: 1fr; }
}
