:root {
  --ink: #121826;
  --navy: #17233a;
  --navy-deep: #0c1424;
  --muted: #5e6b7d;
  --line: #dfe5ec;
  --soft: #f5f7fa;
  --white: #ffffff;
  --blue: #2563eb;
  --teal: #10a37f;
  --amber: #d97706;
  --shadow: 0 24px 70px rgba(18, 24, 38, 0.16);
  --shadow-soft: 0 16px 48px rgba(18, 24, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wrap {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(22px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: rgba(12, 20, 36, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--white);
}

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.header-cta {
  padding: 0 16px;
  background: var(--white);
  color: var(--navy-deep);
}

.primary-action {
  padding: 0 20px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
}

.secondary-action {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.secondary-action.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.header-cta:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  /* Newcastle night bridge photo by Saleh on Unsplash. */
  background:
    linear-gradient(90deg, rgba(12, 20, 36, 0.9) 0%, rgba(23, 35, 58, 0.74) 52%, rgba(23, 35, 58, 0.22) 100%),
    url("./assets/newcastle-night-bridge-saleh-unsplash.jpg");
  background-size: cover;
  background-position: center 46%;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88) 74%, var(--white));
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 128px 0 118px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 680px;
  color: #dbeafe;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.34;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  color: #e6f6ff;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -64px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.trust-grid div {
  padding: 24px;
}

.trust-grid div + div {
  border-left: 1px solid var(--line);
}

.trust-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}

.trust-grid span,
.section-copy p,
.workflow-grid p,
.lead-type-grid p,
.comparison-list p,
.cta-inner p {
  color: var(--muted);
  line-height: 1.62;
}

.section {
  padding: 82px 0;
}

.problem-section {
  background: var(--white);
}

.split-section,
.preview-layout,
.comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.comparison-grid h2,
.cta-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy p {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: 17px;
}

.lead-card,
.email-mock,
.phone-mock,
.workflow-grid article,
.lead-type-grid article,
.comparison-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lead-card {
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.lead-card-header {
  padding: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #21456d);
}

.lead-card-header span {
  display: block;
  margin-bottom: 6px;
  color: #bfdbfe;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 900;
}

.lead-card-header strong {
  font-size: 28px;
}

.lead-card dl {
  margin: 0;
}

.lead-card dl div,
.email-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

.lead-card dt,
.email-row span {
  color: var(--muted);
  font-weight: 800;
}

.lead-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.product-section {
  background: var(--soft);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 720px;
}

.workflow-grid,
.lead-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-grid article,
.lead-type-grid article {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 900;
}

.workflow-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.workflow-grid p,
.lead-type-grid p {
  margin: 0;
}

.preview-section {
  background: linear-gradient(180deg, var(--white), #eef4f8);
}

.preview-layout {
  grid-template-columns: 0.82fr 1fr;
}

.phone-mock {
  max-width: 390px;
  padding: 14px;
  background: var(--navy-deep);
  box-shadow: var(--shadow-soft);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 18px;
  color: var(--white);
}

.phone-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.chat-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 460px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
}

.chat-preview p {
  margin: 0;
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
}

.chat-preview .bot {
  align-self: flex-start;
  color: var(--ink);
  background: #edf2f7;
  border-bottom-left-radius: 4px;
}

.chat-preview .user {
  align-self: flex-end;
  color: var(--white);
  background: var(--blue);
  border-bottom-right-radius: 4px;
}

.email-mock {
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.email-top {
  padding-bottom: 18px;
}

.email-top span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.email-top strong {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.05;
}

.email-row {
  grid-template-columns: 120px 1fr;
  padding-inline: 0;
}

.email-row strong {
  font-size: 18px;
}

.email-mock p {
  margin: 18px 0 0;
  color: var(--muted);
}

.lead-types-section {
  background: var(--white);
}

.lead-type-grid {
  grid-template-columns: repeat(4, 1fr);
}

.lead-type-grid article {
  min-height: 178px;
}

.lead-type-grid span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--amber);
  font-size: 20px;
  font-weight: 900;
}

.demo-guide-section {
  background:
    linear-gradient(180deg, #f8fbff, #eef4f8);
}

.demo-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.demo-guide-cta {
  margin-top: 28px;
}

.demo-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.demo-prompt-grid article {
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.demo-prompt-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-prompt-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.42;
}

.comparison-section {
  color: var(--white);
  background: var(--navy);
}

.comparison-grid h2 {
  color: var(--white);
}

.comparison-list {
  display: grid;
  gap: 14px;
}

.comparison-list div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.comparison-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.comparison-list p {
  margin: 0;
  color: #cbd5e1;
}

.cta-section {
  padding: 92px 0;
  color: var(--white);
  /* Newcastle architecture photo by Darren Richardson on Unsplash. */
  background:
    linear-gradient(90deg, rgba(12, 20, 36, 0.9), rgba(15, 51, 74, 0.74)),
    url("./assets/newcastle-architecture-darren-richardson-unsplash.jpg");
  background-size: cover;
  background-position: center 42%;
}

.cta-inner {
  max-width: 760px;
}

.cta-inner h2,
.cta-inner p {
  color: var(--white);
}

.cta-inner p {
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 18px;
}

.site-footer {
  padding: 28px 0;
  background: var(--navy-deep);
  color: #cbd5e1;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-layout span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 860px) {
  .site-header {
    height: 66px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 108px 0 96px;
  }

  .hero h1 {
    font-size: clamp(52px, 18vw, 82px);
  }

  .trust-grid,
  .split-section,
  .preview-layout,
  .comparison-grid,
  .workflow-grid,
  .lead-type-grid,
  .demo-guide-layout,
  .demo-prompt-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 58px 0;
  }

  .phone-mock {
    max-width: none;
  }

  .chat-preview {
    min-height: 380px;
  }

  .lead-type-grid article {
    min-height: auto;
  }

  .footer-layout {
    display: grid;
  }
}

@media (max-width: 520px) {
  .page-wrap {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 0 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 14px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    gap: 10px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-proof span {
    padding: 8px 11px;
    font-size: 13px;
  }

  .lead-card dl div,
  .email-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
