/* aifirstmove.com shared stylesheet
   Brand colors are defined once here. Change a value and the whole site follows. */
:root {
  --navy: #0B2243;        /* logo navy: text, header, buttons */
  --navy-soft: #24406B;   /* secondary text on white */
  --gold: #C49151;        /* logo gold: accents and highlights */
  --gold-deep: #8A5F24;   /* gold dark enough for small text on white */
  --gold-tint: #FBF5EC;   /* pale gold wash for alternating bands */
  --line: #E4E8EF;        /* hairlines and card borders */
  --white: #FFFFFF;
  --max: 1080px;
  --radius: 14px;
  --font-head: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 20; }

/* Header: same on every page */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand span { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.nav { display: flex; gap: 6px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: .98rem; text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: var(--gold-tint); color: var(--navy); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--navy); transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #14335F; color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--gold-tint); color: var(--navy); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D3A468; color: var(--navy); transform: translateY(-1px); }

.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--navy-soft); max-width: 56ch; }

section { padding: 72px 0; }
.band { background: var(--gold-tint); }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--navy-soft); }

/* Hero panel: example problems rising toward a first move */
.panel { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--white); box-shadow: 0 24px 60px -32px rgba(11,34,67,.35); }
.panel-title { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-soft); margin-bottom: 14px; }
.problem { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; font-size: .98rem; line-height: 1.4; }
.problem::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--gold); }
.panel-arrow { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: var(--gold-deep); font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.panel-arrow svg { flex: 0 0 auto; }
.first-move { background: var(--navy); color: var(--white); border-radius: 12px; padding: 16px; font-size: .98rem; line-height: 1.45; }
.first-move strong { display: block; font-family: var(--font-head); color: var(--gold); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }

/* Questions row */
.questions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.questions p { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.35; margin: 0; padding-left: 18px; border-left: 3px solid var(--gold); }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card .tag { font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.card p { margin: 0; color: var(--navy-soft); font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.steps li::after { content: ""; position: absolute; top: 21px; left: 54px; right: -14px; height: 2px; background: var(--gold); opacity: .6; }
.steps li:last-child::after { display: none; }
.steps p { color: var(--navy-soft); margin: 0; }

/* Two-column: promises */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.promises { list-style: none; padding: 0; margin: 0; }
.promises li { padding: 18px 0; border-top: 1px solid var(--line); }
.promises li:last-child { border-bottom: 1px solid var(--line); }
.promises strong { font-family: var(--font-head); display: block; margin-bottom: 2px; }
.promises span { color: var(--navy-soft); }

/* FAQ */
.faq { max-width: 760px; margin-top: 28px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--navy-soft); }

/* Closing call to action */
.closing { background: var(--navy); color: var(--white); text-align: center; }
.closing h2 { color: var(--white); }
.closing p { color: #C9D3E3; max-width: 52ch; margin: 0 auto 26px; }

/* Plain content pages (About, Privacy, Terms, Contact, Blog) */
.page-head { padding-top: 56px; padding-bottom: 24px; }
.prose { padding-bottom: 72px; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.updated { color: var(--navy-soft); font-size: .95rem; }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; padding-bottom: 72px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; display: block; }
.post-card:hover { border-color: var(--gold); }
.post-card time { font-size: .85rem; color: var(--navy-soft); }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; color: var(--navy-soft); max-width: 760px; }
.form-shell { max-width: 720px; min-height: 120px; border: 1px solid var(--line); border-radius: 22px; padding: 12px; margin-bottom: 72px; }

/* Footer: same on every page */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: .95rem; color: var(--navy-soft); }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.site-footer strong { font-family: var(--font-head); color: var(--navy); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.site-footer address { font-style: normal; margin-top: 8px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: .88rem; }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  section, .hero { padding: 52px 0; }
  .questions, .steps, .cards, .site-footer .wrap { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .brand span { font-size: .9rem; }
  .nav a { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
