:root {
  --color-primary: #063d7d;
  --color-primary-dark: #042452;
  --color-accent: #11a7b4;
  --color-accent-strong: #7bd84d;
  --color-bg: #f7fbff;
  --color-surface: #ffffff;
  --color-text: #122033;
  --color-muted: #5f6f83;
  --color-border: #dbe7f3;
  --shadow-soft: 0 20px 60px rgba(6, 61, 125, 0.12);
  --shadow-card: 0 16px 40px rgba(18, 32, 51, 0.09);
  --radius: 8px;
  --container: 1160px;
  --header-height: 76px;
  --font-system: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-system);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(17, 167, 180, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  padding: 10px 14px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(58px, 7vw, 96px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(247, 251, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 231, 243, 0.74);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(6, 61, 125, 0.09);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  width: 104px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto;
  display: grid;
  gap: 10px;
  padding: 24px 16px 32px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--color-muted);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown {
  min-width: 0;
}

.nav-dropdown-toggle {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--color-muted);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--color-primary);
  background: rgba(17, 167, 180, 0.08);
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown-menu {
  display: grid;
  gap: 6px;
  padding: 6px 0 0;
}

.nav-dropdown-menu a {
  padding-left: 22px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-primary);
  background: rgba(17, 167, 180, 0.08);
}

.site-nav .nav-cta {
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 10px 24px rgba(6, 61, 125, 0.18);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--color-muted);
  font-weight: 800;
}

.legal-nav a:hover {
  color: var(--color-primary);
  background: rgba(17, 167, 180, 0.08);
}

.legal-nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 10px 24px rgba(6, 61, 125, 0.18);
}

.legal-nav .nav-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  grid-area: 1 / 1;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(46px, 6vw, 76px);
  padding-bottom: clamp(34px, 5vw, 56px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17, 167, 180, 0.16), transparent 38%),
    linear-gradient(315deg, rgba(123, 216, 77, 0.14), transparent 42%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(44px, 7vw, 76px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-primary-dark);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 100%;
  font-size: clamp(2.05rem, 4vw, 3.1rem);
  line-height: 1.14;
  overflow-wrap: normal;
  word-break: normal;
}

h1 span {
  display: block;
}

h1 .hero-long-word {
  font-size: 0.9em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.hero-copy,
.section-heading p,
.benefits-grid > div > p,
.contact-grid > div > p,
.cta-panel p {
  max-width: 690px;
  color: var(--color-muted);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.hero-copy {
  margin: 16px 0 0;
}

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

.contact-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin: 22px 0 0;
  padding: 0;
  max-width: 680px;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.35;
  list-style: none;
}

.contact-trustline li {
  display: inline-flex;
  align-items: center;
}

.contact-trustline li:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: var(--color-accent);
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 14px 32px rgba(6, 61, 125, 0.25);
}

.button-secondary {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--color-border);
}

.automation-cockpit {
  display: grid;
  gap: 18px;
  min-height: clamp(330px, 42vw, 450px);
  border: 1px solid rgba(219, 231, 243, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.82)),
    linear-gradient(90deg, rgba(6, 61, 125, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 61, 125, 0.07) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 4vw, 30px);
}

.cockpit-header,
.cockpit-body,
.automation-flow {
  border: 1px solid rgba(219, 231, 243, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(6, 61, 125, 0.08);
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.cockpit-header span,
.visual-kicker {
  display: block;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cockpit-header strong {
  display: block;
  margin-top: 4px;
  color: var(--color-primary-dark);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(123, 216, 77, 0.16);
  padding: 7px 12px;
  color: #2d7b22;
}

.cockpit-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px;
}

.insight-panel {
  display: grid;
  grid-column: 1 / -1;
  align-content: center;
  gap: 12px;
  width: 100%;
}

.insight-panel article {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  border-radius: var(--radius);
  background: rgba(246, 251, 253, 0.92);
  border: 1px solid rgba(219, 231, 243, 0.9);
  padding: 12px 14px;
}

.insight-panel .insight-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(123, 216, 77, 0.18);
  color: #2d7b22;
  font-weight: 900;
  line-height: 1;
}

.insight-panel strong {
  display: block;
  color: var(--color-primary-dark);
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.15;
}

.insight-panel article > div > span {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
}

.insight-panel article > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

@media (min-width: 620px) {
  .cockpit-body {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .insight-panel {
    min-width: 0;
  }
}

.automation-flow {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1.25fr;
  align-items: center;
  gap: 10px;
  padding: 16px;
}

.automation-flow span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  font-weight: 900;
  text-align: center;
}

.automation-flow i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-strong));
}

.trust-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 36px);
}

.trust-strip span,
.benefit-list span {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 14px;
  color: var(--color-primary);
  font-weight: 800;
}

.split,
.benefits-grid,
.contact-grid {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
}

.problem {
  background: #fff;
}

.problem-grid,
.card-grid,
.metric-grid,
.usecase-grid,
.audience-grid,
.before-after-grid {
  display: grid;
  gap: 14px;
}

.problem-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-grid article,
.usecase-grid article,
.audience-grid article {
  min-height: 82px;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 18px;
  color: var(--color-primary-dark);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(18, 32, 51, 0.05);
}

.problem-transition {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  font-weight: 750;
}

.section-heading {
  margin-bottom: clamp(22px, 4vw, 36px);
}

.section-heading p {
  margin: 12px 0 0;
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 8px 22px rgba(18, 32, 51, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 167, 180, 0.42);
  box-shadow: var(--shadow-card);
}

.service-card-link {
  display: block;
  color: inherit;
}

.service-card-link:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(17, 167, 180, 0.5);
  box-shadow: var(--shadow-card);
  outline-offset: 4px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  font-weight: 900;
}

.service-card p,
.timeline p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.benefits {
  background: linear-gradient(180deg, #fff, #edf7fb);
}

.metric-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(219, 231, 243, 0.8);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 20px;
  box-shadow: 0 10px 26px rgba(18, 32, 51, 0.05);
}

.metric-grid strong {
  display: block;
  color: var(--color-primary);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.2;
}

.metric-grid span {
  display: block;
  color: var(--color-muted);
  line-height: 1.45;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline article {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(18, 32, 51, 0.05);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
  font-weight: 900;
}

.use-cases {
  background: #fff;
}

.audience {
  background: linear-gradient(180deg, #fff, var(--color-bg));
}

.audience-note {
  margin-top: 18px;
}

.audience-note p,
.outcome-box p,
.personal-panel p {
  margin: 0;
  color: var(--color-muted);
}

.audience-note p,
.outcome-box {
  border: 1px solid rgba(17, 167, 180, 0.26);
  border-radius: var(--radius);
  background: rgba(242, 251, 253, 0.86);
  padding: 18px 20px;
  font-weight: 750;
}

.example-process {
  background: #fff;
}

.before-after-grid article {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 12px 30px rgba(18, 32, 51, 0.06);
}

.before-after-grid h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.before-after-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.before-after-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--color-primary-dark);
  font-weight: 750;
}

.before-after-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent-strong);
}

.outcome-box {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.outcome-box strong {
  color: var(--color-primary-dark);
  font-size: 1.05rem;
}

.trust-section {
  background: linear-gradient(180deg, #fff, var(--color-bg));
}

.trust-grid {
  display: grid;
  gap: 14px;
}

.trust-grid article {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: clamp(20px, 4vw, 28px);
  box-shadow: 0 12px 30px rgba(18, 32, 51, 0.06);
}

.trust-grid h3 {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

.trust-grid p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.personal-panel {
  display: grid;
  gap: clamp(24px, 5vw, 46px);
  align-items: center;
  margin-top: clamp(28px, 5vw, 52px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(22px, 5vw, 36px);
  box-shadow: var(--shadow-card);
}

.personal-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.personal-panel p:not(.eyebrow) {
  margin-top: 14px;
}

.portrait-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px dashed rgba(6, 61, 125, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 61, 125, 0.08), rgba(17, 167, 180, 0.12)),
    #fff;
  color: var(--color-primary);
  font-weight: 900;
}

.personal-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.personal-points span {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 10px 14px;
  color: var(--color-primary);
  font-weight: 800;
}

.pricing {
  background: linear-gradient(180deg, #fff, var(--color-bg));
}

.pricing-heading p {
  max-width: none;
}

.pricing-grid {
  display: grid;
  gap: 18px;
}

.price-card {
  position: relative;
  display: grid;
  gap: 16px;
  grid-template-rows: auto auto auto auto 1fr auto;
  align-content: stretch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: clamp(22px, 4vw, 30px);
  box-shadow: 0 12px 30px rgba(18, 32, 51, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 167, 180, 0.38);
  box-shadow: var(--shadow-card);
}

.price-card-featured {
  border-color: rgba(17, 167, 180, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 251, 253, 0.92)),
    #fff;
  box-shadow: 0 24px 60px rgba(6, 61, 125, 0.14);
}

.price-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  border-radius: 999px;
  background: rgba(123, 216, 77, 0.18);
  padding: 7px 11px;
  color: #2d7b22;
  font-size: 0.78rem;
  font-weight: 900;
}

.price-kicker {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  max-width: 92%;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.12;
}

.price {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.price-copy {
  margin: 0;
  color: var(--color-muted);
}

.price-highlights {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-highlights li {
  position: relative;
  padding-left: 22px;
  color: var(--color-primary-dark);
  font-weight: 650;
  line-height: 1.35;
}

.price-highlights strong {
  font-weight: 900;
}

.price-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent-strong);
}

.price-card .button {
  align-self: end;
  margin-top: 8px;
}

.pricing-explainer {
  display: grid;
  gap: 24px;
  margin-top: clamp(30px, 6vw, 58px);
}

.pricing-explainer-copy,
.pricing-table-wrap,
.pricing-note {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(18, 32, 51, 0.06);
}

.pricing-explainer-copy {
  padding: clamp(22px, 4vw, 32px);
}

.pricing-explainer-copy h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.pricing-explainer-copy p,
.pricing-note {
  color: var(--color-muted);
}

.pricing-explainer-copy p {
  margin: 14px 0 0;
}

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--color-accent) transparent;
  scrollbar-width: thin;
}

.pricing-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 15px 16px;
  text-align: center;
  vertical-align: top;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
}

.pricing-table thead th {
  position: sticky;
  top: 0;
  background: #f4fbff;
  color: var(--color-primary-dark);
  font-weight: 900;
}

.pricing-table tbody th {
  color: var(--color-primary-dark);
  font-weight: 850;
}

.pricing-table td {
  color: var(--color-muted);
  font-weight: 700;
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-note {
  margin: 0;
  padding: 18px 20px;
  border-color: rgba(17, 167, 180, 0.28);
  background: rgba(242, 251, 253, 0.88);
  font-weight: 750;
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item,
.content-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(20px, 4vw, 28px);
  box-shadow: 0 12px 30px rgba(18, 32, 51, 0.06);
}

.faq-item h3,
.content-card h3 {
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.faq-item p,
.content-card p {
  margin: 10px 0 0;
  color: var(--color-muted);
}

.service-hero {
  background: linear-gradient(180deg, var(--color-bg), #fff);
}

.service-hero .hero-content {
  max-width: 820px;
}

.service-page-intro {
  margin-top: 18px;
}

.service-page .hero-actions {
  margin-top: 26px;
}

.service-detail-grid {
  display: grid;
  gap: 18px;
}

.service-visual-section {
  background: #fff;
}

.service-visual-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(10px, 2vw, 16px);
  box-shadow: var(--shadow-card);
}

.service-visual-frame {
  overflow-x: auto;
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--color-accent) transparent;
  scrollbar-width: thin;
}

.service-visual-frame img {
  width: 100%;
  min-width: 760px;
  border-radius: calc(var(--radius) - 2px);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--color-primary-dark);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent-strong);
}

.text-link {
  color: var(--color-primary);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-section {
  padding-block: clamp(52px, 8vw, 88px);
  background: var(--color-primary-dark);
}

.cta-panel {
  display: grid;
  justify-items: start;
  gap: 18px;
  color: #fff;
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel .eyebrow {
  margin-bottom: 0;
  color: var(--color-accent-strong);
}

.cta-panel p {
  margin: 0;
  opacity: 0.86;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(20px, 4vw, 28px);
  box-shadow: var(--shadow-card);
}

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

.form-field {
  display: grid;
  gap: 8px;
  align-content: start;
}

label {
  color: var(--color-primary-dark);
  font-size: 0.96rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f9fcff);
  padding: 11px 13px;
  color: var(--color-text);
  caret-color: var(--color-primary);
  cursor: default;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input {
  min-height: 46px;
}

select {
  min-height: 46px;
  appearance: auto;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(17, 167, 180, 0.12);
  cursor: text;
  outline: 0;
}

select {
  cursor: pointer;
}

.error-message {
  min-height: 18px;
  color: #b42318;
  font-size: 0.86rem;
  line-height: 1.35;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.privacy-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.privacy-note a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 620px) {
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form .form-field:not(.form-field-half),
  .contact-form .button,
  .contact-form .privacy-note,
  .contact-form .form-note {
    grid-column: 1 / -1;
  }
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #fff;
  padding-block: 34px;
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brand img {
  flex: 0 0 auto;
  width: 118px;
  height: auto;
}

.site-footer p {
  max-width: 360px;
  color: var(--color-muted);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav-title {
  color: var(--color-primary-dark);
  font-weight: 850;
}

.site-footer a {
  color: var(--color-muted);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--color-primary);
}

.legal-page {
  background: linear-gradient(180deg, var(--color-bg), #fff);
}

.legal-content {
  max-width: 820px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(24px, 5vw, 46px);
  box-shadow: var(--shadow-card);
}

.legal-content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
}

.legal-content p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

@media (min-width: 680px) {
  .card-grid,
  .usecase-grid,
  .audience-grid,
  .before-after-grid,
  .faq-grid,
  .service-detail-grid,
  .trust-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(280px, 1.55fr) minmax(110px, 0.75fr) minmax(150px, 0.9fr) minmax(120px, 0.75fr);
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 42px;
    padding-inline: 9px;
    font-size: 0.94rem;
  }

  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
  }

  .nav-dropdown-toggle {
    min-height: 42px;
    padding-inline: 9px;
    font-size: 0.94rem;
  }

  .nav-dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    z-index: 60;
    min-width: 230px;
    display: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    padding: 8px;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    min-height: 40px;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .site-nav .nav-cta {
    margin-left: 6px;
    padding-inline: 13px;
  }

  .hero-grid,
  .split,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  }

  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .service-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .personal-panel {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  }

  .timeline::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 43px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-strong));
  }

  .timeline article {
    z-index: 1;
  }
}

@media (max-width: 520px) {
  .legal-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .legal-nav a {
    justify-content: center;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 18px;
  }

  .hero-grid {
    gap: 28px;
  }

  h1 {
    font-size: 1.9rem;
  }

  .hero-copy {
    font-size: 1rem;
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .contact-trustline {
    margin-top: 18px;
    font-size: 0.9rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 46px;
  }

  .automation-cockpit {
    min-height: auto;
    gap: 12px;
    padding: 14px;
  }

  .cockpit-header,
  .cockpit-body,
  .automation-flow {
    padding: 14px;
  }

  .cockpit-body {
    gap: 12px;
  }

  .insight-panel article > div > span {
    font-size: 0.88rem;
  }

  .automation-flow {
    grid-template-columns: 1fr;
  }

  .automation-flow i {
    width: 2px;
    height: 18px;
    justify-self: center;
  }

  .trust-strip span,
  .benefit-list span {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .trust-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .trust-strip span {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
