:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f5f3ee;
  --ink: #0d0d0d;
  --ink-soft: #353535;
  --muted: #595959;
  --muted-light: #7a7a76;
  --line: #e5e3dc;
  --accent: #3076b8;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 3rem));
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transform: none;
}

.nav-shell {
  width: min(var(--container), calc(100% - 3rem));
  min-height: 72px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
  transition: none;
}

.site-header.is-scrolled .nav-shell {
  background: var(--bg);
  box-shadow: none;
}

.brand,
.brand-logo {
  width: 64px;
  min-width: 64px;
  height: auto;
  overflow: visible;
}

.brand img,
.brand-logo {
  width: 64px;
  max-width: 64px;
  height: auto;
  transform: none;
}

.main-nav {
  gap: 0.35rem;
  overflow: visible;
}

.main-nav a,
.product-pill {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 650;
  transition: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: transparent;
  color: var(--ink);
}

.mobile-nav-cta {
  display: none;
}

.product-pill {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.nav-actions,
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: none;
  font-size: 0.8rem;
  font-weight: 650;
}

.menu-toggle::after {
  color: var(--muted);
  content: "≡";
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
}

.menu-toggle[aria-expanded="true"]::after {
  color: var(--ink);
  content: "×";
  font-size: 1.2rem;
}

.button {
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  overflow: visible;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.84rem;
  font-weight: 700;
  transition: none;
}

.button::after {
  display: none;
  content: none;
}

.button:hover,
.button:focus-visible {
  box-shadow: none;
  transform: none;
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.button-dark:hover,
.button-dark:focus-visible {
  border-color: #292929;
  background: #292929;
  box-shadow: none;
}

.button-light {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--ink);
  background: transparent;
}

.header-cta {
  min-height: 42px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 620;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.35rem;
}

.text-link:hover,
.text-link:focus-visible,
.text-link-strong {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.accent-word {
  background: none;
  color: var(--accent);
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
}

.hero-actions {
  margin-top: 2rem;
  gap: 1.25rem;
}

.home-hero {
  min-height: 680px;
  padding: 11rem 0 8rem;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.home-hero-inner {
  max-width: 900px;
  text-align: center;
}

.home-hero h1,
.product-hero-copy h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.3vw, 6.8rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.home-hero .hero-lead,
.product-hero-copy .hero-lead {
  max-width: 650px;
  margin: 1.65rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 450;
  line-height: 1.6;
}

.home-solutions,
.home-closing,
.detail-section,
.pricing-section {
  padding: clamp(5.5rem, 9vw, 8rem) 0;
}

.home-solutions,
.detail-section,
.pricing-section {
  border-bottom: 1px solid var(--line);
}

section[id] {
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.home-closing h2,
.customer-proof-minimal h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1;
}

.section-heading > p,
.home-closing p,
.plan-demo p {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.section-heading-centered > p,
.home-closing p {
  margin-inline: auto;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-panel {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.25rem);
}

.solution-panel + .solution-panel {
  border-left: 1px solid var(--line);
}

.solution-copy h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 610;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.solution-copy > p {
  max-width: 50ch;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.inline-features {
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
}

.inline-features li {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.inline-features li + li::before {
  margin-right: 1rem;
  color: var(--accent);
  content: "·";
}

.solution-cta {
  width: fit-content;
  margin-top: 1.5rem;
  white-space: normal;
}

.solution-image {
  margin: 2.5rem 0 0;
  padding: 0.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

.solution-image img {
  width: 100%;
  border-radius: calc(var(--radius) - 5px);
}

.home-closing {
  text-align: center;
}

.home-closing-inner {
  max-width: 780px;
}

.home-closing .button {
  margin-top: 2rem;
}

.product-hero-minimal {
  padding: 10.5rem 0 5.5rem;
  border-bottom: 1px solid var(--line);
}

.product-hero-copy {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.product-hero-copy h1 {
  font-size: clamp(3.15rem, 6.5vw, 6rem);
}

.product-preview {
  max-width: 1040px;
  margin: 4.5rem auto 0;
  padding: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: none;
}

.product-preview img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 7px);
}

.product-preview figcaption {
  padding: 0.9rem 0.65rem 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.customer-proof-minimal {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}

.customer-proof-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 3rem;
}

.customer-proof-minimal h2 {
  max-width: 650px;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
}

.customer-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.customer-row-single {
  justify-content: center;
}

.customer-logo-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.customer-logo {
  width: auto;
  max-width: 130px;
  height: 78px;
  object-fit: contain;
}

.customer-logo-sono {
  height: 105px;
}

.customer-logo-la-feria {
  height: 76px;
}

.customer-logo-alma-seis {
  height: 58px;
}

.alma-seis-lockup {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capabilities-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.capabilities-preview {
  margin: 0;
  padding: 0.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.capabilities-preview img {
  width: 100%;
  border-radius: calc(var(--radius) - 5px);
}

.capability-row {
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.75fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.capability-row > span,
.steps-list article > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.capability-row h3,
.steps-list h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.capability-row p,
.steps-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-section-bordered {
  border-top: 0;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-list article {
  padding: 2rem;
}

.steps-list article + article {
  border-left: 1px solid var(--line);
}

.steps-list h3 {
  margin-top: 1rem;
}

.steps-list p {
  margin-top: 0.7rem;
  font-size: 0.92rem;
}

.pricing-section {
  border-bottom: 0;
}

.pricing-grid {
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pricing-card,
.pricing-card.recommended {
  min-height: 0;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  transition: none;
}

.recommendation {
  align-self: flex-start;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 750;
}

.pricing-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 650;
}

.price {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.price small,
.pricing-card.recommended .price small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.pricing-card .trial-note,
.pricing-card.recommended .trial-note {
  margin: 0.7rem 0 0;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.pricing-card > p:not(.price):not(.trial-note),
.pricing-card.recommended > p:not(.price):not(.trial-note) {
  margin: 1rem 0 0;
  color: var(--muted);
}

.feature-list,
.pricing-card.recommended .feature-list {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 0 0;
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
}

.feature-list li,
.pricing-card.recommended .feature-list li {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 550;
}

.feature-list li::before,
body[data-page="sales"] .feature-list li::before {
  color: var(--accent);
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-card.recommended .button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.plan-demo {
  max-width: 960px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.plan-demo h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
}

.booking-page {
  min-height: calc(100vh - 180px);
  padding-top: 72px;
}

.booking-hero {
  padding: 6rem 0;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 4rem;
}

.booking-copy {
  padding-top: 2rem;
}

.booking-copy h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 630;
  letter-spacing: -0.055em;
  line-height: 1;
}

.booking-copy > p {
  margin: 1.25rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.booking-facts {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.booking-facts div {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.booking-facts dt {
  color: var(--muted);
}

.booking-facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.booking-calendar {
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

.booking-calendar iframe {
  border-radius: calc(var(--radius) - 6px);
}

.booking-fallback {
  padding: 0 0.75rem 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.booking-fallback a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.site-footer {
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}

.footer-grid {
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-brand img {
  width: 64px;
}

.footer-brand p {
  max-width: 250px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-column strong {
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-shell {
  padding-block: 0 1rem;
}

.analytics-consent {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

.analytics-consent-actions .button {
  min-height: 42px;
}

@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  .container,
  .nav-shell {
    width: min(100% - 2rem, var(--container));
  }

  .site-header {
    top: 0;
    width: 100%;
  }

  .nav-shell {
    min-height: 64px;
    padding: 0;
  }

  .brand,
  .brand-logo {
    width: 58px;
    min-width: 58px;
  }

  .brand img,
  .brand-logo {
    width: 58px;
  }

  .main-nav {
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    max-height: calc(100vh - 65px);
    padding: 0.45rem 1rem 1rem;
    overflow-y: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: var(--bg);
    box-shadow: none;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: stretch;
  }

  .main-nav a,
  .product-pill {
    width: 100%;
    min-height: 50px;
    padding: 0.85rem 0.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-size: 0.92rem;
    text-align: left;
  }

  .product-pill {
    display: none;
  }

  .main-nav > a:not(.mobile-nav-cta)::after {
    margin-left: auto;
    color: var(--accent);
    content: "→";
    font-size: 1rem;
  }

  .main-nav .mobile-nav-cta {
    min-height: 48px;
    margin-top: 0.85rem;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #ffffff;
    font-size: 0.86rem;
    text-align: center;
  }

  .main-nav .mobile-nav-cta:hover,
  .main-nav .mobile-nav-cta:focus-visible {
    border-color: #292929;
    background: #292929;
    color: #ffffff;
  }

  .solution-grid,
  .customer-proof-inner,
  .capabilities-layout,
  .pricing-grid,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .solution-panel + .solution-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .customer-proof-inner {
    gap: 2rem;
  }

  .customer-row,
  .customer-row-single {
    justify-content: flex-start;
  }

  .capability-row {
    grid-template-columns: 54px minmax(150px, 0.65fr) minmax(0, 1.35fr);
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .steps-list article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .booking-copy {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-shell {
    width: min(100% - 1.25rem, var(--container));
  }

  .home-hero {
    min-height: 640px;
    padding: 9rem 0 5rem;
  }

  .home-hero h1,
  .product-hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .home-hero .hero-lead,
  .product-hero-copy .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .home-solutions,
  .home-closing,
  .detail-section,
  .pricing-section {
    padding: 4.5rem 0;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .section-heading h2,
  .home-closing h2 {
    font-size: clamp(2.4rem, 11vw, 3.3rem);
  }

  .solution-panel {
    padding: 2rem 0;
  }

  .solution-copy h3 {
    font-size: 2.2rem;
  }

  .solution-image {
    margin-top: 2rem;
  }

  .solution-cta {
    width: 100%;
  }

  .product-hero-minimal {
    padding: 8.5rem 0 4.5rem;
  }

  .product-preview {
    margin-top: 3rem;
    padding: 0.3rem;
    border-radius: 12px;
  }

  .product-preview img {
    border-radius: 8px;
  }

  .customer-proof-inner {
    gap: 1.75rem;
  }

  .customer-row {
    gap: 1rem;
  }

  .customer-logo {
    max-width: 88px;
    height: 58px;
  }

  .customer-logo-sono {
    height: 86px;
  }

  .customer-logo-alma-seis {
    height: 46px;
  }

  .capability-row {
    padding: 1.5rem 0;
    grid-template-columns: 42px 1fr;
    gap: 0.5rem 1rem;
  }

  .capability-row p {
    grid-column: 2;
  }

  .steps-list article {
    padding: 1.75rem 0;
  }

  .pricing-card,
  .pricing-card.recommended {
    padding: 1.5rem;
  }

  .plan-demo {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-demo .button {
    width: 100%;
  }

  .booking-hero {
    padding: 4rem 0;
  }

  .booking-layout {
    gap: 2rem;
  }

  .booking-calendar iframe {
    height: 640px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }

  .analytics-consent {
    width: calc(100% - 1.25rem);
    bottom: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
