/* ==========================================================================
   Allybi Homepage v2.0 — Premium Redesign
   ========================================================================== */

/* ── 1 · HERO ── */
.s-hero {
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  position: relative;
}

.s-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.s-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--allybi-accent);
  margin-bottom: 24px;
  padding: 6px 14px 6px 10px;
  background: var(--allybi-accent-subtle);
  border-radius: var(--allybi-radius-full);
  border: 1px solid var(--allybi-accent-muted);
}

.s-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--allybi-accent);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.s-hero__h1 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--allybi-text-strongest);
  margin-bottom: 24px;
  text-wrap: balance;
}

.s-hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--allybi-text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.s-hero__ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.s-hero__proof {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.s-hero__chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--allybi-text-muted);
}

/* Hero animated scene */
.s-hero__visual {
  position: relative;
}

.hero-scene {
  position: relative;
  max-width: 560px;
  margin-left: auto;
}

.hero-scene__workspace {
  background: var(--allybi-bg-surface);
  border: 1px solid var(--allybi-border-default);
  border-radius: var(--allybi-radius-xl);
  box-shadow: var(--allybi-shadow-2xl);
  overflow: hidden;
  position: relative;
}

/* Source strip at top of workspace */
.hero-scene__source-strip {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  background: var(--allybi-bg-alt-1);
  border-bottom: 1px solid var(--allybi-border-default);
  flex-wrap: wrap;
}

.hero-scene__source-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--allybi-text-secondary);
  background: var(--allybi-bg-surface);
  border: 1px solid var(--allybi-border-default);
  border-radius: var(--allybi-radius-full);
}

.hero-scene__source-pill svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.hero-scene__source-pill--outlook svg { color: #0078D4; }
.hero-scene__source-pill--onedrive svg { color: #0364B8; }
.hero-scene__source-pill--sharepoint svg { color: #038387; }

.hero-scene__body {
  padding: 24px;
}

.hero-scene__query {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--allybi-text-muted);
  padding: 12px 14px;
  background: var(--allybi-bg-alt-1);
  border-radius: var(--allybi-radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--allybi-border-subtle);
}

.hero-scene__result {
  font-size: 14px;
  line-height: 1.6;
  color: var(--allybi-text-primary);
  margin-bottom: 16px;
}

.hero-scene__result-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--allybi-trust);
  margin-bottom: 8px;
}

.hero-scene__result-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--allybi-trust);
}

.hero-scene__result p {
  margin: 0 0 12px;
}

.hero-scene__result strong {
  color: var(--allybi-text-strongest);
}

.hero-scene__source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--allybi-text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--allybi-border-subtle);
  margin-bottom: 16px;
}

/* Confirmation card */
.hero-scene__confirm {
  background: var(--allybi-bg-alt-1);
  border: 1px solid var(--allybi-border-default);
  border-radius: var(--allybi-radius-md);
  padding: 14px 16px;
  animation: slideUpFade 0.6s 2.5s both var(--allybi-ease-out);
}

.hero-scene__confirm-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--allybi-trust);
  margin-bottom: 8px;
}

.hero-scene__confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-scene__confirm-detail {
  font-size: 12px;
  color: var(--allybi-text-secondary);
  line-height: 1.5;
}

.hero-scene__confirm-btn {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--allybi-trust);
  color: #fff;
  border-radius: var(--allybi-radius-xs);
  border: none;
  cursor: default;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* (floating cards removed — replaced by source strip) */

@media (prefers-reduced-motion: reduce) {
  .hero-scene__confirm {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .s-hero__eyebrow::before { animation: none; }
}

/* ── 2 · TRUST RAIL ── */
.s-trust {
  padding: 24px 0;
  background: var(--allybi-bg-alt-1);
  border-top: 1px solid var(--allybi-border-subtle);
  border-bottom: 1px solid var(--allybi-border-subtle);
}

.s-trust__inner {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.s-trust__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--allybi-text-muted);
  white-space: nowrap;
}

/* ── 3 · INVISIBLE RISK / PAIN ── */
.s-pain {
  padding: var(--allybi-section-py) 0;
}

.s-pain__header {
  text-align: center;
  margin-bottom: 56px;
}

.s-pain__header h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--allybi-text-strongest);
  margin-bottom: 14px;
  text-wrap: balance;
}

.s-pain__header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--allybi-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.s-pain .allybi-card {
  padding: 0;
  border-radius: var(--allybi-radius-card);
  overflow: hidden;
}

.s-pain__illustration {
  width: 100%;
  height: 180px;
  background: var(--allybi-bg-alt-1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.s-pain__illustration svg {
  width: 100%;
  height: 100%;
  padding: 12px;
}

.s-pain__text {
  padding: 28px;
}

.s-pain__text h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--allybi-text-strongest);
  margin-bottom: 8px;
}

.s-pain__text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--allybi-text-secondary);
}

/* ── 4 · ONE WORKSPACE WORKFLOW ── */
.s-workflow {
  padding: var(--allybi-section-py) 0;
  background: var(--allybi-bg-dark);
  color: var(--allybi-text-inverse);
  overflow: hidden;
}

.s-workflow__header {
  text-align: center;
  margin-bottom: 72px;
}

.s-workflow__header h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.s-workflow__header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  margin: 0 auto;
}

.s-workflow__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.s-workflow__step {
  padding: 32px 24px;
  background: var(--allybi-bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: border-color 300ms var(--allybi-ease), background 300ms var(--allybi-ease);
  position: relative;
}

.s-workflow__step:first-child {
  border-radius: var(--allybi-radius-lg) 0 0 var(--allybi-radius-lg);
}

.s-workflow__step:last-child {
  border-radius: 0 var(--allybi-radius-lg) var(--allybi-radius-lg) 0;
}

.s-workflow__step:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--allybi-bg-dark-elevated);
}

.s-workflow__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.s-workflow__step h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.s-workflow__step p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

/* Connector arrows between steps */
.s-workflow__step::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.s-workflow__step:last-child::after {
  display: none;
}

/* ── 5 · INTEGRATIONS CLARITY ── */
.s-integrations {
  padding: var(--allybi-section-py) 0;
}

.s-integrations__header {
  text-align: center;
  margin-bottom: 16px;
}

.s-integrations__header h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--allybi-text-strongest);
  margin-bottom: 12px;
}

.s-integrations__header p {
  font-size: 16px;
  color: var(--allybi-text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

.s-integrations__sub-header {
  text-align: center;
  margin-bottom: 40px;
}

.s-integrations__sub-header p {
  font-size: 14px;
  color: var(--allybi-text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

/* Integration groups */
.s-integrations__group {
  margin-bottom: 40px;
}

.s-integrations__group-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-left: 4px;
}

.s-integrations__group-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--allybi-text-muted);
}

.s-integrations__group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--allybi-border-default);
}

.s-integrations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.s-integrations__card {
  padding: 24px;
  background: var(--allybi-bg-surface);
  border: 1px solid var(--allybi-border-default);
  border-radius: var(--allybi-radius-card);
  transition:
    transform var(--allybi-duration-ui) var(--allybi-ease),
    box-shadow var(--allybi-duration-ui) var(--allybi-ease),
    border-color var(--allybi-duration-ui) var(--allybi-ease);
}

.s-integrations__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--allybi-shadow-card-hover);
  border-color: var(--allybi-border-strong);
}

.s-integrations__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.s-integrations__card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-integrations__card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--allybi-text-strongest);
  margin-bottom: 6px;
}

.s-integrations__card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--allybi-text-muted);
}

.s-integrations__cta {
  text-align: center;
  margin-top: 40px;
}

/* ── 6 · LEGAL-FIRST USE CASE ── */
.s-cases {
  padding: var(--allybi-section-py) 0;
  background: var(--allybi-bg-alt-1);
}

.s-cases__header {
  text-align: center;
  margin-bottom: 48px;
}

.s-cases__header h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--allybi-text-strongest);
  margin-bottom: 12px;
}

.s-cases__subtitle {
  font-size: 16px;
  color: var(--allybi-text-secondary);
}

/* Tabs */
.s-cases__tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--allybi-bg-surface);
  border-radius: var(--allybi-radius-md);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--allybi-border-default);
}

.s-cases__tab {
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--allybi-text-muted);
  background: transparent;
  border: none;
  border-radius: calc(var(--allybi-radius-md) - 4px);
  cursor: pointer;
  transition: all 200ms var(--allybi-ease);
  font-family: var(--allybi-font);
}

.s-cases__tab.is-active {
  background: var(--allybi-text-strongest);
  color: #fff;
  font-weight: 600;
}

.s-cases__tab:hover:not(.is-active) {
  color: var(--allybi-text-primary);
}

/* Panels */
.s-cases__panels {
  position: relative;
  min-height: 280px;
}

.s-cases__panel {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  transition: opacity 300ms var(--allybi-ease);
}

.s-cases__panel.is-active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.s-cases__split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.s-cases__copy h3 {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--allybi-text-strongest);
  margin-bottom: 20px;
}

.s-cases__copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.s-cases__copy li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: var(--allybi-text-secondary);
}

.s-cases__copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--allybi-trust);
}

/* Mock scene */
.s-cases__mock {
  background: #fff;
  border: 1px solid var(--allybi-border-default);
  border-radius: var(--allybi-radius-card);
  box-shadow: var(--allybi-shadow-lg);
  overflow: hidden;
}

.s-cases__mock-bar {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  background: var(--allybi-bg-alt-1);
  border-bottom: 1px solid var(--allybi-border-default);
}

.s-cases__mock-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--allybi-border-strong);
}

.s-cases__mock-body {
  padding: 20px;
}

.s-cases__mock-q {
  font-size: 13px;
  color: var(--allybi-text-muted);
  padding: 8px 12px;
  background: var(--allybi-bg-alt-1);
  border-radius: var(--allybi-radius-sm);
  margin-bottom: 14px;
}

.s-cases__mock-a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--allybi-text-primary);
}

.s-cases__mock-a strong {
  color: var(--allybi-text-strongest);
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.s-cases__mock-a p {
  margin: 0 0 8px;
}

.s-cases__mock-src {
  display: block;
  font-size: 11px;
  color: var(--allybi-text-muted);
  margin-top: 8px;
}

/* Secondary use case cards */
.s-cases__secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.s-cases__secondary-card {
  padding: 28px;
  background: var(--allybi-bg-surface);
  border: 1px solid var(--allybi-border-default);
  border-radius: var(--allybi-radius-card);
}

.s-cases__secondary-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--allybi-text-strongest);
  margin-bottom: 6px;
}

.s-cases__secondary-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--allybi-text-muted);
}

/* ── 7 · TRUST / SECURITY ── */
.s-security {
  padding: var(--allybi-section-py) 0;
  background: var(--allybi-bg-dark);
  color: var(--allybi-text-inverse);
}

.s-security__inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.s-security__inner h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.s-security__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 56px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.s-security__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 48px;
}

.s-security__point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--allybi-bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--allybi-radius-md);
  transition: border-color 200ms var(--allybi-ease);
}

.s-security__point:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.s-security__point svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

.s-security__point strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.s-security__point span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.s-security__cta {
  margin-top: 8px;
}

/* ── 8 · REPRESENTATIVE WORKFLOWS ── */
.s-proof {
  padding: var(--allybi-section-py) 0;
  background: var(--allybi-bg-alt-1);
}

.s-proof__header {
  text-align: center;
  margin-bottom: 48px;
}

.s-proof__header h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--allybi-text-strongest);
  margin-bottom: 8px;
}

.s-proof__header p {
  font-size: 15px;
  color: var(--allybi-text-muted);
}

.s-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.s-proof__card {
  padding: 36px;
  background: var(--allybi-bg-surface);
  border: 1px solid var(--allybi-border-default);
  border-radius: var(--allybi-radius-card);
  display: flex;
  flex-direction: column;
}

.s-proof__card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--allybi-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--allybi-accent);
}

.s-proof__meta {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--allybi-text-subtle);
  margin-bottom: 12px;
}

.s-proof__card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--allybi-text-strongest);
  margin-bottom: 10px;
}

.s-proof__card-context {
  font-size: 13px;
  font-weight: 500;
  color: var(--allybi-accent);
  margin-bottom: 12px;
  padding: 6px 10px;
  background: var(--allybi-accent-subtle);
  border-radius: var(--allybi-radius-xs);
  display: inline-block;
  align-self: flex-start;
}

.s-proof__card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--allybi-text-secondary);
}

/* ── 9 · FAQ ── */
.s-faq {
  padding: var(--allybi-section-py) 0;
}

.s-faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.s-faq__header h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--allybi-text-strongest);
}

.s-faq .allybi-accordion {
  max-width: 680px;
  margin: 0 auto;
}

.allybi-accordion__item {
  border-bottom: 1px solid var(--allybi-border-default);
}

.s-faq__more {
  text-align: center;
  margin-top: 40px;
}

/* ── 10 · FINAL CTA — styles in allybi-components.css ── */

/* Large button */
.allybi-btn--lg {
  height: 52px;
  padding: 0 32px;
  font-size: 15px;
  border-radius: 14px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .s-hero__grid { gap: 48px; }
}

@media (max-width: 1024px) {
  .s-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .s-hero__visual { order: 2; }
  .s-hero { min-height: auto; padding: 120px 0 64px; }
  .hero-scene { max-width: 520px; margin: 0 auto; }
  .s-cases__split { grid-template-columns: 1fr; gap: 32px; }
  .s-cases__mock { max-width: 520px; margin: 0 auto; }
  .s-security__grid { gap: 16px; }
  .s-workflow__steps { grid-template-columns: repeat(3, 1fr); }
  .s-workflow__step:nth-child(4) { border-radius: 0; }
  .s-workflow__step:last-child { border-radius: 0; }
  .s-workflow__step:nth-child(3)::after { display: none; }
  .s-integrations__grid { grid-template-columns: repeat(2, 1fr); }
  .s-cases__secondary { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .s-pain .allybi-grid-3 { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .s-workflow__steps { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .s-workflow__step { border-radius: var(--allybi-radius-md) !important; }
  .s-workflow__step::after { display: none; }
  .s-proof__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .s-security__grid { grid-template-columns: 1fr; }
  .s-integrations__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .s-hero { padding: 96px 0 40px; }
  .s-hero__h1 { font-size: clamp(28px, 8vw, 36px); line-height: 1.05; margin-bottom: 20px; }
  .s-hero__sub { font-size: 15px; margin-bottom: 28px; }
  .s-hero__eyebrow { font-size: 11px; margin-bottom: 16px; padding: 5px 12px 5px 8px; }
  .s-hero__ctas { flex-direction: column; gap: 10px; }
  .s-hero__ctas .allybi-btn { width: 100%; justify-content: center; }
  .s-hero__proof { gap: 8px; }
  .s-hero__chip { font-size: 11px; padding: 4px 8px; background: var(--allybi-bg-alt-1); border-radius: var(--allybi-radius-full); }

  .s-trust { padding: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .s-trust__inner { gap: 10px; justify-content: flex-start; flex-wrap: nowrap; padding: 0 20px; min-width: max-content; }
  .s-trust__item { font-size: 11px; padding: 5px 10px; background: var(--allybi-bg-surface); border-radius: var(--allybi-radius-full); flex-shrink: 0; }

  .s-cases__tabs { width: 100%; border-radius: var(--allybi-radius-md); }
  .s-cases__tab { flex: 1; text-align: center; padding: 10px 8px; font-size: 13px; min-height: 44px; }

  .s-workflow__header { margin-bottom: 40px; }

  .allybi-btn--lg { height: 48px; padding: 0 28px; font-size: 15px; }
  .s-cta__ctas { flex-direction: column; align-items: center; }
  .s-cta__ctas .allybi-btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 390px) {
  .s-hero { padding: 88px 0 36px; }
  .s-hero__h1 { font-size: 26px; }
  .s-hero__sub { font-size: 14px; }
  .s-pain__text { padding: 20px; }
  .s-pain__illustration { height: 140px; }
  .s-proof__card { padding: 24px; }
  .s-cases__tab { font-size: 12px; padding: 10px 6px; }
}
