/* Cardiff Group | Sharper AI landing page. Straight-coded static build.
   Matches the live site language and the Sharper AI mockup:
   bg #FAF7F0 · primary #0E2A3A · secondary #2E6E9E · accent #D9A441
   Poppins. No gradients. */

:root {
  --bg: #EDF2F7;
  --primary: #102F3F;
  --button: #173E65;
  --muted: #526578;
  --secondary: #2E6E9E;
  --accent: #D9A441;
  --rule: #102F3F;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--primary);
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; }

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

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--button);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- Eyebrow (gold dash + small caps, per mockup) ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 500;
  margin: 0 0 28px;
}

.eyebrow-dash {
  display: inline-block;
  width: 34px;
  height: 3px;
  background: var(--accent);
  flex: none;
}

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

/* ---------- Header (identical on all three pages) ---------- */

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}

.brand-mark {
  width: 44px;
  height: auto;
  display: block;
}

.brand-word {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
}

.site-nav a {
  display: inline-block;
  padding: 10px 0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.site-nav a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .site-header { padding: 18px 20px; }
  .brand-mark { width: 34px; }
  .brand-word { font-size: 20px; }
  .site-nav { gap: 0 20px; }
  .site-nav a { font-size: 15px; }
}








/* ---------- Hero (01) ---------- */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: start;
}

.hero-intro { min-width: 0; }

.hero-intro h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.hero-sub {
  font-size: clamp(18px, 2.2vw, 24px);
  margin: 0;
  max-width: 34ch;
}

/* ---------- Form column ---------- */

.form-col { min-width: 0; }


.form-title {
  font-size: 22px;
  margin: 0 0 8px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 13px 14px;
}

.field input[aria-invalid="true"] { border-width: 2px; }

.field input::placeholder { color: var(--muted); opacity: 0.8; }

.honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error {
  color: #9c2b2b;
  font-size: 15px;
  font-weight: 600;
  margin: 8px 0 0;
}

.error-summary {
  border: 2px solid #9c2b2b;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 16px;
  background: #fff;
}

.error-summary p { margin: 0 0 8px; font-weight: 600; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--secondary); }

.btn-primary {
  display: inline-block;
  width: 100%;
  background: var(--button);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

a.btn-primary { color: #fff; }
a.btn-primary:hover { text-decoration: none; }

.btn-primary:hover { background: #102C49; }
.btn-primary:disabled { opacity: 0.65; cursor: wait; }

.btn-link { margin-top: 4px; }

.form-status { margin-top: 16px; font-size: 16px; }

/* ---------- Leadership note under the form ---------- */

.leaders-note {
  margin-top: 32px;
}

.leaders-note-label {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 4px;
}

.leader-links { margin: 0; font-size: 16px; }

.link-sep { color: var(--muted); margin: 0 6px; }

/* ---------- Confirmation (04, replaces the form) ---------- */

.confirmation { min-width: 0; }

.conf-heading {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.conf-sub {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px;
}

.conf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.conf-card {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px;
  background: transparent;
}

.conf-card p { font-size: 16px; }

.conf-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 12px;
}

.conf-card-title {
  font-size: 20px;
  margin: 0 0 8px;
}

/* ---------- Visible placeholders (never mistaken for final copy) ---------- */

.placeholder {
  border: 1px dashed var(--accent);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--primary);
  background: transparent;
  margin: 12px 0;
}

.ph-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  border: 1px dashed var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
  margin-right: 8px;
  vertical-align: middle;
}

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

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 32px;
  border-top: 1px solid var(--rule);
}

.section h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -0.01em;
  margin: 0 0 48px;
  max-width: 16em;
}

/* ---------- Leadership (02) ---------- */

.leaders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.leader-card { min-width: 0; }


.leader-name {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 4px;
}

.leader-role {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 16px;
}

.leader-rule {
  border: 0;
  border-top: 3px solid var(--accent);
  width: 56px;
  margin: 0 0 16px;
}

/* ---------- Engagement (03) ---------- */

.engage-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 64px;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 20px 0;
}

.step-num {
  font-size: 30px;
  font-weight: 600;
  color: var(--accent);
  flex: none;
  min-width: 56px;
}

.step-body { min-width: 0; }

.step-title {
  font-size: 22px;
  margin: 0 0 6px;
}

.step-body p { margin: 0; font-size: 16px; color: var(--muted); }

.report-card { min-width: 0; }

.report-kicker {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 500;
  margin: 0 0 16px;
}

.report-title {
  font-size: 28px;
  margin: 0 0 12px;
}

.report-card p { font-size: 16px; }

.report-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Sourced Sharper Academy verbiage (from sharperbrain.ai) ---------- */

/* Engagement: steps read full-width; the report is a line of text, not a sidebar. */
#engagement .steps { max-width: 760px; }
.aside-line { margin: 28px 0 0; max-width: 62ch; font-size: 16px; color: var(--muted); }
.aside-line strong { color: var(--primary); font-weight: 600; }

/* The program: one section, Sharper's own words first, then the live program + pricing, then tools. */
.program-intro { max-width: 820px; }
.program-intro .sourced-title { font-size: clamp(30px, 3.4vw, 44px); }
.program-pair {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
  margin-top: 80px;
}
.program-tools { margin-top: 72px; }
.program-tools .sourced-subtitle { margin-top: 0; }

.sourced-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}

.sourced-title {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 8px;
}

.sourced-lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}

.sourced-subtitle {
  font-size: 22px;
  margin: 44px 0 12px;
}

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

.track-list li {
  font-size: 16px;
  padding: 12px 0;
}

.cadence-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.cadence-list li {
  font-size: 15px;
  margin: 0 0 14px;
}

.leader-bio {
  font-size: 16px;
  margin: 0;
}

/* ---------- Principles (sourced) ---------- */

.principles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.principle {
  min-width: 0;
  border-top: 3px solid var(--accent);
  padding-top: 20px;
}

.principle-title {
  font-size: 22px;
  margin: 0 0 8px;
}

.principle p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Sourced framing lines ---------- */

.framing-kicker { margin: 0 0 8px; }

.framing-sub {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 40em;
}

.framing-note { margin: 40px 0 0; max-width: 62ch; }

.intro-copy {
  font-size: 18px;
  font-weight: 600;
  margin: 16px 0 8px;
}

/* ---------- Tools (sourced) ---------- */

.tools-lede {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 36px;
}

.tool-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.tool-group {
  min-width: 0;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.tool-group-title {
  font-size: 18px;
  margin: 0 0 8px;
}

.tool-group p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ---------- FAQ (sourced) ---------- */

.faq-lede {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px;
}

.faq-list { margin: 0; }

.faq-item {
  padding: 20px 0;
}

.faq-q {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.faq-a {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Closing CTA (sourced) ---------- */

.cta { border-top: 3px solid var(--accent); }

.cta-lede {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
}

.cta-copy {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 40em;
}

.btn-cta { width: auto; padding: 16px 48px; }

/* ---------- Footer (identical on all three pages) ---------- */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 32px 48px;
  text-align: center;
  border-top: 1px solid var(--rule);
}

.footer-brand { justify-content: center; margin-bottom: 12px; }
.site-footer .locale { margin: 0 0 8px; padding: 0; font-size: 15px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 28px;
}

.footer-nav a {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
}

.footer-nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.footer-fine { margin: 8px 0 0; font-size: 14px; }

@media (max-width: 600px) {
  .site-footer { padding: 48px 20px 40px; }
  .footer-nav { gap: 0 20px; }
}

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



.locale {
  font-size: 15px;
  margin: 0 0 8px;
}


/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  body { font-size: 17px; }

  .hero { padding: 36px 20px 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-intro h1 { margin-bottom: 18px; }

  .conf-cards { grid-template-columns: 1fr; }

  .section { padding: 56px 20px; }

  .leaders-grid { grid-template-columns: 1fr; gap: 40px; }

  .engage-grid { grid-template-columns: 1fr; gap: 44px; }
  .program-pair { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .program-tools { margin-top: 56px; }
  .track-list { grid-template-columns: 1fr; }
  .principles-list { grid-template-columns: 1fr; gap: 32px; }
  .tool-groups { grid-template-columns: 1fr; gap: 28px; }
  .btn-cta { width: 100%; }

  .step { gap: 20px; }
  .step-num { min-width: 44px; font-size: 26px; }
}

/* ---------- Note for visiting AI agents (collapsed line at the very top) ---------- */
.agent-note { max-width: var(--max-width); margin: 0 auto; padding: 8px 32px 0; font-size: 14px; color: var(--muted); }
.agent-note summary { cursor: pointer; display: inline-block; padding: 6px 0; color: var(--muted); }
.agent-note summary:hover { color: var(--primary); text-decoration: underline; }
.agent-note[open] summary { color: var(--primary); font-weight: 500; }
.agent-note-body { max-width: 62ch; padding: 8px 0 28px; font-size: 15px; line-height: 1.6; color: var(--primary); }
.agent-note-body h3 { font-size: 17px; margin: 24px 0 8px; }
.agent-note-body blockquote { margin: 12px 0; padding: 0 0 0 16px; border-left: 3px solid var(--accent); }
.agent-note-rule { border: 0; border-top: 1px solid var(--rule); margin: 24px 0; opacity: 0.4; }
@media (max-width: 600px) { .agent-note { padding: 6px 20px 0; } }
/* ---------- end agent note ---------- */

.form-reason { margin: 0 0 20px; font-size: 15px; color: var(--muted); max-width: 48ch; }

/* ---------- Mobile hamburger nav ---------- */
/* Hidden on desktop. Below 768px the desktop .site-nav hides and the
   hamburger button + dropdown panel take over. */

.nav-toggle {
  display: none;
}

.mobile-nav[hidden] { display: none; }

@media (max-width: 768px) {
  .site-header { position: relative; }
  .site-nav { display: none; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 6px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    z-index: 60;
    background: var(--bg);
    border: 1px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(16, 47, 63, 0.18);
    padding: 8px;
  }

  .mobile-nav a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    color: var(--primary);
    border-radius: 6px;
  }

  .mobile-nav a:hover {
    background: rgba(46, 110, 158, 0.12);
    text-decoration: none;
  }
}
/* ---------- end mobile hamburger nav ---------- */
