/* TheAIGuy — marketing site */

:root {
  --navy-950: #081526;
  --navy-900: #0b1c33;
  --navy-800: #0e2240;
  --navy-700: #16325a;
  --blue-600: #2457a3;
  --blue-500: #2d6bc4;
  --blue-100: #e8eef8;
  --blue-50: #f3f6fb;
  --copper-700: #9a5a1c;
  --copper-600: #c9782a;
  --copper-500: #d48a3c;
  --copper-200: #efd3b0;
  --copper-100: #f6e6cf;
  --gold-200: #e8c48c;
  --cream: #f7f3ec;
  --cream-2: #efe8db;
  --white: #ffffff;
  --ink: #1a1f2b;
  --ink-soft: #3d4553;
  --muted: #5b6472;
  --line: #d8deea;
  --line-strong: #c3ccdb;
  --shadow: 0 16px 40px rgba(8, 21, 38, 0.12);
  --shadow-soft: 0 8px 24px rgba(8, 21, 38, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --content: 1120px;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--white);
  color: var(--navy-900);
  padding: 8px 14px;
  z-index: 200;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 34, 64, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy-900);
  line-height: 1;
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.logo-mark span { color: var(--copper-600); }
.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav a:hover { color: var(--navy-900); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border-radius: 999px;
  padding: 14px 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--copper-600);
  color: var(--white);
  border-color: var(--copper-600);
}
.btn-primary:hover { background: var(--copper-700); border-color: var(--copper-700); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-navy {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn-navy:hover { background: var(--navy-700); color: var(--white); }
.btn-header { padding: 11px 18px; font-size: 0.95rem; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 1px;
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(36, 87, 163, 0.28), transparent 60%),
    radial-gradient(700px 420px at 10% 80%, rgba(201, 120, 42, 0.14), transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 55%, #12315a 100%);
  color: var(--white);
  padding: 64px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-200);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--copper-500);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  font-weight: 600;
  margin-bottom: 18px;
  max-width: 12ch;
}

.hero .lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  max-width: 36em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-meta {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-meta span { margin: 0 8px; color: rgba(255,255,255,0.35); }

.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 20px;
  background: rgba(8, 21, 38, 0.72);
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.service-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-2);
  padding: 16px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.service-bar strong { color: var(--navy-800); font-weight: 700; }
.towns { color: var(--muted); }

/* Sections */
section { padding: 88px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-700);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.85rem, 3vw, 2.45rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }

.bg-cream { background: var(--cream); }
.bg-blue { background: var(--blue-50); }
.bg-navy { background: var(--navy-900); color: rgba(255,255,255,0.86); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .section-kicker { color: var(--gold-200); }

/* Use cases */
.cards-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(14, 34, 64, 0.08);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-soft);
}
.card h3 {
  font-size: 1.25rem;
  margin: 14px 0 8px;
}
.card p { color: var(--ink-soft); font-size: 1rem; }

.icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--navy-800);
  display: grid;
  place-items: center;
}
.icon-bubble svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  padding: 8px 8px 8px 0;
}
.step-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  color: var(--copper-600);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); }

/* Packages */
.packages {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}
.pkg {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 30px 36px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.pkg-featured {
  border: 2px solid var(--copper-600);
  box-shadow: var(--shadow);
  position: relative;
  background:
    linear-gradient(180deg, #fffaf3 0%, var(--white) 32%);
}
.pkg-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--copper-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pkg h3 { font-size: 1.6rem; margin-bottom: 8px; }
.pkg-desc { color: var(--ink-soft); margin-bottom: 22px; }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.price-amount {
  font-family: var(--font-serif);
  font-weight: 650;
  font-size: 2.15rem;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.price-note, .price-plus { color: var(--muted); font-weight: 600; }
.price-plus { margin: 0 4px; font-size: 1.25rem; }

.pkg ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}
.pkg li {
  position: relative;
  padding: 0 0 12px 28px;
  color: var(--ink-soft);
}
.pkg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--copper-600);
  border-bottom: 2px solid var(--copper-600);
  transform: rotate(-45deg);
}
.pkg .btn { width: 100%; }
.pkg-footnote { margin-top: 14px; font-size: 0.88rem; color: var(--muted); text-align: center; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  width: min(100%, 420px);
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--navy-700);
  box-shadow: 0 0 0 4px var(--copper-600), var(--shadow);
  background: #000;
  aspect-ratio: 1;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.about-copy p { font-size: 1.12rem; }
.about-copy .lede { font-size: 1.22rem; color: #f3f6fb; }
.about-signoff {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--gold-200);
  font-size: 1.15rem;
}

/* FAQ */
.faq-list { max-width: 760px; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy-900);
  padding: 18px 36px 18px 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy-800);
  border-bottom: 2px solid var(--navy-800);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.faq-list details p {
  color: var(--ink-soft);
  padding: 0 8px 20px 0;
  max-width: 62ch;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-copy p { color: var(--ink-soft); font-size: 1.12rem; }

form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 16px; }
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(201, 120, 42, 0.35);
  border-color: var(--copper-600);
  background: var(--white);
}
textarea { min-height: 120px; resize: vertical; }
.form-note, .form-success {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
}
.form-success {
  display: none;
  background: var(--blue-100);
  color: var(--navy-800);
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 16px;
}
.form-success.is-visible { display: block; }

footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 36px 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-brand { color: var(--white); font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; }
.footer-brand span { color: var(--gold-200); }


footer a { color: var(--gold-200); }
footer a:hover { color: var(--white); }

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

.thanks-page {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(36, 87, 163, 0.18), transparent 60%),
    var(--cream);
  padding: 72px 0;
}
.thanks-card {
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 40px;
  box-shadow: var(--shadow-soft);
}
.thanks-card h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}
.thanks-card .lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 1em;
}
.thanks-card .btn { margin-top: 12px; }

@media (max-width: 720px) {
  .thanks-card { padding: 32px 24px; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .packages { grid-template-columns: 1fr; }
  .cards-6 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { max-width: none; }
  .hero-photo { margin: 8px 0 0; }
  .hero-photo img { border-radius: 18px; }
  .pkg-featured { order: -1; }
  section { padding: 64px 0; }
  .about-photo { width: 260px; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    gap: 4px;
    box-shadow: var(--shadow-soft);
  }
  .nav.is-open { display: flex; }
  .nav a, .nav .btn { width: 100%; text-align: left; padding: 12px 4px; }
  .nav .btn { text-align: center; margin-top: 8px; }
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .cards-6 { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .wrap { width: min(var(--content), calc(100% - 32px)); }
  .hero .lede { font-size: 1.08rem; }
  .service-bar { font-size: 0.88rem; }
  section { padding: 52px 0; }
  form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
