/* Alex Talks AI — design system
   Brand: #0f81c7 (primary blue), #0b6298 (deep blue), #f97316 (orange accent)
   Type: Fraunces (display) + Inter (text) */

:root {
  --blue: #0f81c7;
  --blue-deep: #0b6298;
  --navy: #0b2437;
  --navy-2: #103049;
  --navy-soft: #14344f;
  --orange: #f97316;
  --orange-dark: #ea6a0c;
  --bg: #f6f9fb;
  --surface: #ffffff;
  --border: #dfe8f0;
  --text: #1c2b3a;
  --muted: #536880;
  --on-dark-muted: #a8c3d9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 36, 55, 0.05), 0 8px 24px -12px rgba(11, 36, 55, 0.12);
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 10px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost-dark { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-ghost-light { border-color: var(--blue); color: var(--blue-deep); }
.btn-ghost-light:hover { background: rgba(15, 129, 199, 0.06); }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  min-height: 68px; padding-top: 12px; padding-bottom: 12px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.site-nav a {
  color: #dbe8f2; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
}
.site-nav a:hover { color: #fff; }
.header-cta { flex-shrink: 0; }

/* Industries dropdown (no JS: <details>) */
.nav-dd { position: relative; }
.nav-dd summary {
  list-style: none; cursor: pointer; color: #dbe8f2; font-size: 15px; font-weight: 500;
  white-space: nowrap; display: flex; align-items: center; gap: 6px;
}
.nav-dd summary::-webkit-details-marker { display: none; }
.nav-dd summary::after { content: "▾"; font-size: 11px; opacity: 0.7; }
.nav-dd summary:hover { color: #fff; }
.nav-dd .dropdown {
  position: absolute; top: calc(100% + 14px); left: -12px; z-index: 60;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 32px -8px rgba(11,36,55,0.25); padding: 8px 0; min-width: 180px;
}
.nav-dd .dropdown a {
  display: block; padding: 9px 18px; color: var(--text); font-size: 15px;
}
.nav-dd .dropdown a:hover { background: var(--bg); color: var(--blue-deep); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); background-color: var(--navy); color: #fff; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px;
  align-items: center; padding-top: 84px; padding-bottom: 84px;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); color: #fff; margin-bottom: 20px; }
.hero .lede { font-size: 20px; color: var(--on-dark-muted); max-width: 34em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  font-size: 14px; color: var(--on-dark-muted);
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px;
}
.stars { color: #f5b642; letter-spacing: 2px; font-size: 15px; }
.hero-photo { position: relative; }
.hero-photo img {
  border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border-radius: var(--radius); border: 2px solid var(--blue);
  opacity: 0.55; z-index: 0;
}
.hero-photo img { position: relative; z-index: 1; }

/* Industry pages */
.industry-hero .hero-photo img { aspect-ratio: 4 / 3; }
.industry-hero .lede strong { color: #fff; font-weight: 600; }
.logo-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 36px 0; }
.logo-strip-label {
  text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.logo-strip .logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 52px;
}
.logo-strip img {
  height: 40px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(1); opacity: 0.65; transition: filter 0.2s ease, opacity 0.2s ease;
}
.logo-strip img:hover { filter: none; opacity: 1; }
.check-list { list-style: none; margin-top: 14px; }
.check-list li { position: relative; padding: 5px 0 5px 28px; color: var(--muted); font-size: 15.5px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 5px;
  color: var(--orange); font-weight: 700;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--bg); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }
.section-navy .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-navy .section-head p { color: var(--on-dark-muted); }

/* Challenges: numbered rows */
.challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 44px; }
.challenge {
  display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid var(--border);
}
.challenge .num {
  font-family: "Fraunces", Georgia, serif; font-size: 30px; font-weight: 600;
  color: var(--blue); line-height: 1; min-width: 52px;
}
.challenge h3 { font-size: 20px; margin-bottom: 6px; }
.challenge p { color: var(--muted); font-size: 16px; }

/* Why: icon features */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px;
}
.feature .icon {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(15,129,199,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--blue-deep);
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }

/* Journey steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: step; }
.step { position: relative; padding-top: 26px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: -36px; height: 2px;
  background: var(--border);
}
.step:last-child::before { right: 0; }
.step::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--orange);
}
.step .num {
  font-family: "Fraunces", Georgia, serif; font-size: 44px; font-weight: 600;
  color: rgba(15, 129, 199, 0.25); line-height: 1; margin-bottom: 10px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* How we work cards */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 34px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.offer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.offer h3 { font-size: 22px; margin-bottom: 12px; }
.offer p { color: var(--muted); font-size: 16px; }

/* Delivery formats on navy */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.format .icon {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.format h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.format p { color: var(--on-dark-muted); font-size: 16px; }

/* Testimonials */
.featured-quote {
  max-width: 840px; margin: 0 auto 56px; text-align: center;
}
.featured-quote blockquote p {
  font-family: "Fraunces", Georgia, serif; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4; color: var(--text); font-weight: 500;
}
.featured-quote footer { margin-top: 20px; color: var(--muted); font-size: 15px; }
.quote-grid { columns: 3; column-gap: 24px; }
.quote-card {
  break-inside: avoid; margin-bottom: 24px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.quote-card .stars { display: block; margin-bottom: 12px; }
.quote-card blockquote p { font-size: 15.5px; color: var(--text); }
.quote-card footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; color: #fff; background: var(--blue);
}
.avatar.alt { background: var(--orange); }
.avatar.deep { background: var(--navy-soft); }
.quote-card cite { font-style: normal; font-weight: 600; font-size: 15px; display: block; }
.quote-card .role { color: var(--muted); font-size: 13.5px; }

/* Newsletter */
.newsletter { background: linear-gradient(160deg, #e9f4fb, #f6f9fb); }
.newsletter-box { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter-box h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 12px; }
.newsletter-box > p { color: var(--muted); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto 14px; }
.newsletter-form input[type="email"] {
  flex: 1; padding: 14px 18px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.newsletter-form input[type="email"]:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.newsletter-alt { font-size: 14px; color: var(--muted); }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 14px; }
.final-cta p { color: var(--on-dark-muted); margin-bottom: 30px; }

/* Footer */
.site-footer { background: #081b2b; color: var(--on-dark-muted); padding: 56px 0 40px; font-size: 15px; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px;
}
.footer-top .logo img { height: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social-links { margin-left: auto; display: flex; gap: 18px; }
.social-links a { color: var(--on-dark-muted); }
.social-links a:hover { color: #fff; }
.footer-note { font-size: 13.5px; opacity: 0.8; }

/* About page */
.about-hero { background: var(--navy); color: #fff; padding: 72px 0; }
.about-hero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 54px); }
.about-body .wrap { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 64px; align-items: start; }
.about-body { padding: 72px 0 88px; }
.prose p { margin-bottom: 22px; font-size: 17.5px; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.cred-list { margin-top: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; }
.cred-list h2 { font-size: 18px; margin-bottom: 14px; }
.cred-list ul { list-style: none; }
.cred-list li { padding: 7px 0 7px 26px; position: relative; font-size: 15.5px; color: var(--muted); }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; padding-top: 60px; padding-bottom: 60px; }
  .hero-photo { max-width: 420px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 36px; }
  .quote-grid { columns: 2; }
  .about-body .wrap { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .challenge-grid, .offer-grid, .feature-grid, .format-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .quote-grid { columns: 1; }
  .newsletter-form { flex-direction: column; }
  .site-nav { gap: 8px 18px; margin-left: 0; }
  .header-cta { display: none; }
  .social-links { margin-left: 0; }
}
