/* ============================================================
   Appomate — AI Freedom Assessment landing page
   Palette & tokens mirror the original theme.css
   Breakpoints: sm 640px · md 768px · lg 1024px
   ============================================================ */

:root {
  --teal: #2ab5b5;
  --teal-light: #eef9f9;   /* secondary / light-teal surfaces */
  --navy: #0f1c25;         /* foreground / dark sections */
  --navy-deep: #0a1318;    /* footer */
  --bg: #ffffff;
  --card: #f7fafa;         /* subtle card surface */
  --muted: #f0f6f6;        /* muted surface */
  --muted-fg: #5e7a7a;     /* muted text */
  --input-bg: #f4f8f8;
  --border: rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 1px 2px rgba(15, 28, 37, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 28, 37, 0.10), 0 2px 4px -2px rgba(15, 28, 37, 0.08);
  --shadow-lg: 0 12px 20px -6px rgba(15, 28, 37, 0.14), 0 4px 8px -4px rgba(15, 28, 37, 0.08);
  --shadow-xl: 0 22px 30px -8px rgba(15, 28, 37, 0.18), 0 8px 12px -6px rgba(15, 28, 37, 0.10);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }
.container--md { max-width: 1024px; }
.container--sm { max-width: 896px; }

/* ---------- Shared type ---------- */
.display { font-family: var(--font-display); font-weight: 600; }
.text-teal { color: var(--teal); }

.eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--teal); margin-bottom: 1rem;
}
.micro { font-size: 0.75rem; color: var(--muted-fg); margin-top: 0.75rem; }
.micro--center { text-align: center; }

.section-head { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: 2.25rem; line-height: 1.15; }
.section-head__sub { color: var(--muted-fg); max-width: 32rem; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; font-weight: 600; color: #fff; background: var(--teal);
  transition: opacity .2s ease, box-shadow .2s ease, transform .1s ease;
  text-align: center;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.97); }
.btn .icon { flex: none; }
.btn--sm { font-size: 0.875rem; font-weight: 500; padding: 0.625rem 1.25rem; }
.btn--lg { font-size: 1rem; padding: 1rem 1.75rem; }
.btn--lg:hover { box-shadow: var(--shadow-lg); }
.btn--block { display: flex; width: 100%; font-size: 1rem; padding: 1rem 1.5rem; }
.btn--block:hover { box-shadow: var(--shadow-lg); }

/* ---------- Pills / tags / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500;
}
.pill--outline { border: 1px solid var(--teal); color: var(--teal); background: var(--teal-light); }

.tag {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.03em; min-width: 54px; flex: none;
}
.tag--teal { color: var(--teal); }
.tag--dark { color: var(--navy); }

.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 1.5rem;
}
.chip--teal { background: var(--teal-light); color: var(--teal); }
.chip--muted { background: var(--muted); color: var(--muted-fg); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { height: 36px; width: auto; }
/* .nav__cta { display: none; } */

.nav__toggle {
  display: none; flex-direction: column; justify-content: center;
  padding: 0.5rem; border-radius: 0.5rem; transition: background .2s ease;
}
.nav__toggle:hover { background: var(--muted); }
.nav__bar { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__bar + .nav__bar { margin-top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__mobile { display: block; border-top: 1px solid var(--border); background: #fff; }
.nav__mobile-inner { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.nav__mobile-link { font-size: 0.875rem; color: var(--muted-fg); transition: color .15s ease; }
.nav__mobile-link:hover { color: var(--navy); }
.nav__mobile-cta { width: fit-content; }

@media (max-width: 768px) {
  .nav__cta { font-size: 0.675rem; }
}
@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero__accent {
  position: absolute; top: 0; right: 0; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(135deg, transparent 40%, #eef9f9 100%);
}
.hero__blur {
  position: absolute; top: 4rem; right: 2rem; width: 18rem; height: 18rem;
  border-radius: 9999px; opacity: 0.10; background: var(--teal); filter: blur(80px); pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
  padding-top: 5rem; padding-bottom: 4rem;
}
.hero__copy .pill { margin-bottom: 1.5rem; }
.hero__title { font-size: 2.25rem; line-height: 1.1; color: var(--navy); margin-bottom: 1.5rem; }
.hero__sub { font-size: 1.125rem; line-height: 1.6; color: var(--muted-fg); margin-bottom: 2rem; max-width: 32rem; }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }

.hero__proof { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; }
.avatars { display: flex; }
.avatar { width: 36px; height: 36px; border-radius: 9999px; object-fit: cover; border: 2px solid #fff; }
.avatar + .avatar { margin-left: -8px; }
.hero__proof-text { font-size: 0.875rem; color: var(--muted-fg); }
.hero__proof-text strong { color: var(--navy); font-weight: 600; }

/* Right visual — desktop only */
.hero__visual { display: none; }
.hero__photo { position: absolute; border-radius: 1rem; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.2), transparent); }
.hero__photo--1 { right: 0; top: 0; width: 256px; height: 320px; transform: rotate(2deg); box-shadow: var(--shadow-xl); }
.hero__photo--2 { left: 0; top: 48px; width: 208px; height: 288px; transform: rotate(-3deg); box-shadow: var(--shadow-lg); }
.hero__photo--3 { bottom: 0; left: 35%; width: 192px; height: 256px; transform: translateX(-30%) rotate(1deg); box-shadow: var(--shadow-lg); }

.stat-card {
  position: absolute; z-index: 10; background: #fff; border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 0.75rem 1rem; box-shadow: var(--shadow-lg);
}
.stat-card--tl { top: 2rem; left: 2rem; }
.stat-card--br { bottom: 3rem; right: 1rem; }
.stat-card__label { font-size: 0.75rem; color: var(--muted-fg); margin-bottom: 0.125rem; }
.stat-card__value { font-size: 1.5rem; font-weight: 700; color: var(--teal); }

@media (min-width: 640px) {
  .hero__title { font-size: 3rem; }
  .hero__actions { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 7rem; padding-bottom: 6rem; }
  .hero__title { font-size: 56px; }
  .hero__visual { display: block; position: relative; height: 520px; }
}

/* ============================================================
   PROBLEM / AGITATION
   ============================================================ */
.problem { padding: 5rem 0; background: var(--muted); }
.problem__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.problem__copy .section-title { margin-bottom: 1.5rem; }
.problem__quote {
  font-size: 1.125rem; line-height: 1.6; color: var(--navy);
  border-left: 4px solid var(--teal); padding-left: 1.25rem; margin-bottom: 2rem;
}
.prose { color: var(--muted-fg); line-height: 1.6; }
.prose + .prose { margin-top: 1.5rem; }

.painpoints { display: flex; flex-direction: column; gap: 1rem; }
.painpoint {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff; border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 1.25rem; transition: box-shadow .2s ease;
}
.painpoint:hover { box-shadow: var(--shadow-sm); }
.painpoint__icon {
  flex: none; width: 2rem; height: 2rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light); color: var(--teal);
}
.painpoint p { font-size: 0.875rem; line-height: 1.55; color: var(--navy); }

.bridge { margin-top: 4rem; border-radius: 1rem; padding: 2rem; text-align: center; background: var(--navy); }
.bridge__title { font-size: 1.5rem; line-height: 1.2; color: #fff; max-width: 42rem; margin: 0 auto 1rem; }
.bridge__body { color: rgba(255,255,255,0.7); max-width: 36rem; margin: 0 auto; line-height: 1.6; }

@media (min-width: 1024px) {
  .problem { padding: 7rem 0; }
  .problem__grid { grid-template-columns: 1fr 1fr; }
  .bridge { padding: 3rem; }
}
@media (min-width: 640px) {
  .bridge__title { font-size: 1.875rem; }
}

/* ============================================================
   SOLUTION
   ============================================================ */
.solution { padding: 5rem 0; background: #fff; }
.solution .section-head { margin-bottom: 3.5rem; }
.solution__figure { border-radius: 1rem; overflow: hidden; margin-bottom: 3rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.solution__figure img { width: 100%; height: 14rem; object-fit: cover; }
.solution__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

.scard {
  border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem;
  background: #fff; transition: box-shadow .2s ease;
}
.scard--alt { background: var(--card); }
.scard:hover { box-shadow: var(--shadow-md); }
.scard__icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light); color: var(--teal); margin-bottom: 1rem;
}
.scard__title { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.scard__body { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.55; margin-bottom: 1rem; }
.scard__meta { padding-top: 1rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.5rem; }
.scard__row { display: flex; align-items: flex-start; gap: 0.5rem; }
.scard__row p { font-size: 0.75rem; color: var(--muted-fg); line-height: 1.4; }

@media (min-width: 640px) {
  .solution__figure img { height: 18rem; }
}
@media (min-width: 768px) {
  .solution__grid { grid-template-columns: 1fr 1fr; }
  .scard--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .solution { padding: 7rem 0; }
  .solution__grid { grid-template-columns: repeat(3, 1fr); }
  .scard--wide { grid-column: auto; }
}

/* ============================================================
   OUTCOMES
   ============================================================ */
.outcomes { padding: 5rem 0; background: var(--teal-light); }
.outcomes .section-head { margin-bottom: 3rem; }
.outcomes__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.outcome {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: #fff; border: 1px solid var(--border); border-radius: 0.75rem; padding: 1rem 1.25rem;
}
.outcome p { font-size: 0.875rem; color: var(--navy); line-height: 1.55; }
.check-dot {
  flex: none; width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff; margin-top: 0.125rem;
}

@media (min-width: 640px) { .outcomes__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .outcomes { padding: 7rem 0; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 5rem 0; background: var(--navy); }
.about__inner { text-align: center; }
.about__title { font-size: 1.875rem; line-height: 1.15; color: #fff; margin-bottom: 1.25rem; }
.about__sub { color: rgba(255,255,255,0.6); max-width: 36rem; margin: 0 auto 3.5rem; line-height: 1.6; }
.stats { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.stat { border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; padding: 2.5rem 2rem; background: rgba(255,255,255,0.05); }
.stat__value { font-size: 2.25rem; color: var(--teal); margin-bottom: 0.75rem; line-height: 1.1; }
.stat__label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); }

@media (min-width: 640px) {
  .about__title { font-size: 2.25rem; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat__value { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .about { padding: 7rem 0; }
  .about__title { font-size: 3rem; }
}

/* ============================================================
   IS THIS FOR YOU
   ============================================================ */
.foryou { padding: 5rem 0; background: #fff; }
.foryou .section-head { margin-bottom: 3rem; }
.foryou__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.forcard { border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; }
.forcard--yes { background: var(--card); }
.forcard__list { display: flex; flex-direction: column; gap: 1rem; }
.forcard__list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; line-height: 1.55; color: var(--navy); }
.forcard__list--muted li { color: var(--muted-fg); }
.li-check { flex: none; margin-top: 2px; color: var(--teal); }
.li-x { flex: none; margin-top: 2px; color: var(--muted-fg); }

.honesty { margin-top: 2rem; border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; background: var(--muted); text-align: center; }
.honesty p { font-size: 0.875rem; color: var(--muted-fg); max-width: 42rem; margin: 0 auto; line-height: 1.6; }
.honesty strong { color: var(--navy); font-weight: 600; }

@media (min-width: 768px) { .foryou__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .foryou { padding: 6rem 0; } }

/* ============================================================
   FINAL CTA + FORM
   ============================================================ */
.cta { padding: 5rem 0; background: var(--navy); }
.cta__head { text-align: center; margin-bottom: 3rem; }
.cta__title { font-size: 1.875rem; line-height: 1.15; color: #fff; margin-bottom: 1rem; }
.cta__sub { color: rgba(255,255,255,0.6); max-width: 36rem; margin: 0 auto; line-height: 1.6; }

.form { background: #fff; border-radius: 1rem; padding: 2rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-fg); }
.field input,
.select-wrap select {
  width: 100%; border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 0.75rem 1rem; font-size: 0.875rem; font-family: inherit;
  background: var(--input-bg); color: var(--navy);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #9db3b3; }
.field input:focus,
.select-wrap select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 2px rgba(42,181,181,0.4); }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select-wrap select:required:invalid { color: #9db3b3; }
.select-wrap option { color: var(--navy); }
.select-chev { position: absolute; right: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--muted-fg); pointer-events: none; }

.form__submit .micro { margin-top: 0.75rem; }

.thanks {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem; padding: 2.5rem; text-align: center; max-width: 32rem; margin: 0 auto;
}
.thanks__badge { width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.thanks__title { font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem; }
.thanks__body { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 1.5rem; }
.thanks__note { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

@media (min-width: 640px) {
  .cta__title { font-size: 2.25rem; }
  .form { grid-template-columns: 1fr 1fr; padding: 2.5rem; }
}
@media (min-width: 1024px) { .cta { padding: 7rem 0; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid rgba(255,255,255,0.1); padding: 2rem 0; background: var(--navy-deep); }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.site-footer__logo { height: 24px; width: auto; }
.site-footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

@media (min-width: 640px) {
  .site-footer__inner { flex-direction: row; justify-content: space-between; }
}

/* ===== Contact Form 7 — Appomate assessment form ===== */

/* Form card (added via html_class="cf7-form" in the shortcode) */
.cf7-form { background: #fff; border-radius: 1rem; padding: 2rem; }
@media (min-width: 640px) { .cf7-form { padding: 2.5rem; } }

/* Field grid — mirrors the original two-column layout */
.cf7-fields { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .cf7-fields { grid-template-columns: 1fr 1fr; } }

/* CF7 wraps every control in a <span> — make it fill the field */
.field .wpcf7-form-control-wrap,
.select-wrap .wpcf7-form-control-wrap { display: block; width: 100%; }

/* Inline validation + response messages */
.wpcf7-not-valid-tip { color: #d64545; font-size: 0.75rem; margin-top: 0.35rem; display: block; }
.field .wpcf7-form-control.wpcf7-not-valid,
.select-wrap select.wpcf7-not-valid { border-color: #e07070; box-shadow: 0 0 0 2px rgba(224,112,112,0.25); }

.wpcf7-response-output {
  margin: 1.25rem 0 0 !important; padding: 0.75rem 1rem;
  border: 1px solid; border-radius: 0.75rem; font-size: 0.875rem; line-height: 1.5;
}
.wpcf7-response-output.wpcf7-validation-errors { border-color: #e6c200; background: #fff9e0; color: #8a6d00; }
.wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7-response-output.wpcf7-spam-blocked { border-color: #e07070; background: #fdecec; color: #a5281b; }
.wpcf7-response-output.wpcf7-mail-sent-ok { border-color: var(--teal); background: var(--teal-light); color: #1a7a7a; }

/* Success card: solid navy so it reads on any page background */
.cf7-form .thanks { background: var(--navy); }
.cf7-form.is-sent { background: transparent; padding: 0; }

[hidden] { display: none !important; }

.hbspt-form{
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
}