:root {
  color-scheme: light;
  --brand-navy: #0E2748;
  --brand-paper: #FFFFFF;
  --brand-font: "Manrope", system-ui, sans-serif;
  --brand-weight: 800;
  --brand-tracking: -0.045em;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eff6ff;
  --text: #102033;
  --muted: #5f6f83;
  --border: #dbe5ef;
  --brand: var(--brand-navy);
  --brand-dark: #1d4ed8;
  --success: #10b981;
  --success-dark: #059669;
  --ink: var(--brand-navy);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: min(1120px, calc(100% - 40px));
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #07111f;
    --surface: #0f172a;
    --surface-soft: #111f34;
    --text: #f8fafc;
    --muted: #a9b6c8;
    --border: #26364d;
    --brand: #60a5fa;
    --brand-dark: #3b82f6;
    --success: #34d399;
    --success-dark: #10b981;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: var(--brand-font);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(219, 229, 239, 0.72);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 12px 14px;
  color: var(--brand-navy);
  font-weight: var(--brand-weight);
  letter-spacing: var(--brand-tracking);
  text-decoration: none;
}

.brand-logo {
  position: relative;
  flex: 0 0 auto;
  margin-right: 24px;
}

.logo-image {
  display: block;
  width: auto;
  height: 44px;
}

.site-footer .logo {
  color: #ffffff;
}

.site-footer .logo-image {
  height: 56px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav ul {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.dropdown-trigger::after {
  content: "⌄";
  color: var(--muted);
  font-size: 0.85rem;
}

.dropdown:hover .dropdown-trigger,
.dropdown:focus-within .dropdown-trigger {
  background: var(--surface-soft);
  color: var(--brand);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  min-width: 330px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 180ms ease;
}

.dropdown:hover .sub-menu,
.dropdown:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.sub-menu a:hover {
  background: var(--surface-soft);
  color: var(--brand);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--text);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 120px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 90px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: var(--brand-weight);
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.subtitle {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.26);
}

.btn-success {
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: #042015;
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.24);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.proof-strip span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-card,
.visual-card,
.phone-stack {
  min-height: 440px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 90%, transparent), var(--surface-soft));
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.hero-card::before {
  position: absolute;
  inset: -25% -30% auto auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  content: "";
  filter: blur(3px);
}

.dashboard-top {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.dashboard-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}

.metric-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 1;
}

.metric-grid article,
.pipeline-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
}

.metric-grid article {
  padding: 20px;
}

.metric-grid strong {
  display: block;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-grid span,
.pipeline-card span,
.audit-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.pipeline-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 18px;
  align-items: end;
  margin-top: 14px;
  padding: 24px;
}

.pipeline-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.pipeline-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 168px;
}

.pipeline-bars span {
  flex: 1;
  height: var(--height);
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, var(--success), var(--brand));
}

.conversion-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: var(--container);
  margin: 0 auto 24px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.conversion-band h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.services-intro {
  max-width: 820px;
  text-align: center;
}

.services-intro p:last-child {
  color: var(--muted);
  font-size: 1.12rem;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: center;
  border-top: 1px solid var(--border);
}

.service-section.reverse .service-copy {
  order: 2;
}

.service-copy {
  max-width: 560px;
}

.service-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 15px;
  background: var(--surface-soft);
  color: var(--brand);
  font-weight: 900;
}

.service-copy p,
.service-copy li {
  color: var(--muted);
  font-size: 1.02rem;
}

.service-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding-left: 30px;
}

.service-copy li::before {
  position: absolute;
  top: 0.2em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 20%, transparent);
  color: var(--success-dark);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.visual-card {
  display: grid;
  align-content: center;
  padding: 34px;
  overflow: hidden;
}

.browser-bar {
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.wireframe-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.wireframe-layout span {
  min-height: 94px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.wireframe-layout span:first-child {
  grid-row: span 2;
}

.visual-blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(16, 185, 129, 0.72));
}

.phone-stack {
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.18), var(--surface));
}

.phone {
  position: absolute;
  width: 190px;
  height: 350px;
  border: 10px solid var(--ink);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
}

.phone-back {
  transform: rotate(-10deg) translateX(-56px);
  opacity: 0.72;
}

.phone-front {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 24px;
  transform: rotate(7deg) translateX(46px);
}

.phone-front span {
  height: 58px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.product-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
}

.product-sidebar,
.product-main span {
  border-radius: 22px;
  background: color-mix(in srgb, var(--brand) 16%, var(--surface));
}

.product-main {
  display: grid;
  gap: 18px;
}

.product-main span {
  min-height: 88px;
}

.audit-card {
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
}

.score-ring {
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border: 16px solid color-mix(in srgb, var(--success) 70%, var(--border));
  border-left-color: var(--border);
  border-radius: 50%;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.audit-card strong,
.growth-card strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.seo-card {
  gap: 14px;
  align-content: center;
}

.search-pill {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 900;
}

.search-pill::before {
  margin-right: 10px;
  content: "⌕";
  color: var(--brand);
}

.growth-card {
  gap: 24px;
}

.growth-line {
  position: relative;
  height: 170px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, transparent 48%, var(--brand) 49%, var(--success) 54%, transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 41px, var(--border) 42px 43px),
    repeating-linear-gradient(90deg, transparent 0 71px, var(--border) 72px 73px);
}

.growth-line::after {
  position: absolute;
  right: 22%;
  top: 14%;
  width: 18px;
  height: 18px;
  border: 5px solid var(--success);
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.ux-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.ux-card::before {
  position: absolute;
  left: 18%;
  right: 18%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--success));
  content: "";
}

.flow-node {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.faq-section {
  border-top: 1px solid var(--border);
}

.faq-section > h2 {
  max-width: 760px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.faq-grid article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.faq-grid h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: -0.035em;
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta {
  display: grid;
  justify-items: center;
  max-width: 880px;
  text-align: center;
}

.site-footer {
  padding: 64px max(20px, calc((100vw - 1120px) / 2)) 30px;
  border-top: 1px solid var(--brand-navy);
  background: var(--brand-navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.9fr;
  gap: 44px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1rem;
}

.copyright {
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 22px;
}

.modal:target {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.66);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--muted);
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}

.form-intro {
  color: var(--muted);
}

form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

input[type="file"] {
  border-style: dashed;
}

textarea {
  resize: vertical;
}

.calendar-placeholder {
  display: grid;
  gap: 6px;
  min-height: 150px;
  place-items: center;
  border: 1px dashed var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--muted);
  text-align: center;
}

.calendar-placeholder strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav ul {
    display: grid;
  }

  .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 6px 0 10px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown.is-open .sub-menu,
  .dropdown:hover .sub-menu,
  .dropdown:focus-within .sub-menu {
    display: grid;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .service-section,
  .conversion-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .service-section.reverse .service-copy {
    order: 0;
  }

  .conversion-band {
    display: grid;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .section {
    padding: 72px 0;
  }

  .hero-card,
  .visual-card,
  .phone-stack {
    min-height: 330px;
  }

  .metric-grid,
  .pipeline-card,
  .product-card,
  .audit-card,
  .faq-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-bars {
    height: 120px;
  }

  .phone {
    width: 150px;
    height: 275px;
  }

  .modal-content {
    padding: 26px 20px;
  }
}
