/* Automatum: editorial hierarchy with an authentic product as the visual anchor.
   Informed by Linear's redesign account, Refactoring UI, and Webflow's SaaS guide.
   Existing brand, content, native controls and reduced-motion behavior are retained. */
:root { --home-section: clamp(72px, 8vw, 112px); }
.navigation { background: rgba(251,249,244,.96); border-bottom: 1px solid var(--line); box-shadow: none; }
.navigation.is-scrolled { background: rgba(251,249,244,.98); }
section.hero { padding-top: clamp(44px, 5.5vw, 80px); }
.hero-opening { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 56px; align-items: end; text-align: left; }
.hero .hero-kicker { justify-content: flex-start; padding: 0; border: 0; background: none; font: 500 13px/1.5 var(--font-body); color: var(--ink-soft); letter-spacing: .01em; text-transform: none; }
.hero h1 { font-size: clamp(48px,5.1vw,72px); line-height: 1.12; letter-spacing: -.02em; font-weight: 500; margin: 22px 0 0; text-align: left; max-width: none; text-wrap: initial; }
.hero h1 .mute { color: var(--blue); }
.hero p.lede { margin: 0; font-size: 17px; line-height: 1.65; text-align: left; max-width: 36ch; }
.hero .ctas { justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin: 24px 0 4px; }
.hero .btn { min-height: 46px; padding: 13px 18px; font-size: 14px; }
.hero .btn-secondary { border-color: var(--line-2); background: transparent; }
.hero .product { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 20px; margin-top: 44px; border: 1px solid rgba(18,27,72,.12); border-radius: 10px; background: var(--home-navy); box-shadow: 0 20px 48px -36px rgba(18,27,72,.45); transform: none; }
.hero .product::before,.hero .product::after { display: none; }
.hero .product-intro { position: static; display: block; align-self: center; margin: 0; color: rgba(255,255,255,.8); font: 400 13px/1.5 var(--font-body); letter-spacing: 0; text-transform: none; }
.hero .product-clouds { position: static; display: flex; flex-wrap: nowrap; gap: 20px; align-items: center; }
.hero .product-clouds > span { padding: 0; border: 0; border-radius: 0; background: none; font: 400 12px/1.5 var(--font-body); color: #fff; }
.hero .product-clouds img { width: 20px; height: 18px; padding: 0; margin-right: 5px; }
.hero .browser { grid-column: 1 / -1; margin: 0; width: 100%; border: 0; border-radius: 5px; overflow: hidden; background: #fff; transform: none; box-shadow: none; }
.hero .product:hover .browser { transform: none; }
.hero .product-img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.hero .proof { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 34px 0; border-bottom: 1px solid var(--line-2); gap: 40px; background: none; }
.hero .proof-stat { border: 0; padding: 0; text-align: left; }
.hero .proof-n { color: var(--ink); font: 500 clamp(32px,3.4vw,46px)/1.1 var(--font-display); letter-spacing: -.02em; }
.hero .proof-n .alt { color: var(--ink); font-size: inherit; }
.hero .proof-context { color: var(--ink-soft); font-size: 13px; margin: 10px 0 0; }
section.logos { padding-top: 32px; }
.customer-logo-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
section.logos .label { margin: 0; font-size: 13px; text-align: left; }
.logos .hero-trust { display: flex; align-items: center; gap: 10px; margin: 0; }
.logos .hero-trust .stars { display: flex; gap: 2px; }
.logos .hero-trust .stars svg { width: 12px; height: 12px; }
.logos .hero-trust-text { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.customer-stories { padding-top: 80px; }
.customer-proof-heading h2 { font-size: clamp(28px,3vw,40px); }
.customer-quote-pair { gap: 56px; }
.customer-quote blockquote { font-size: clamp(20px,1.7vw,24px); line-height: 1.55; }
.section-pad.band.product-story { margin-top: 0; }
.product-story .product-story-head { display: block; text-align: left; }
.product-story .product-story-head h2 { margin: 0; max-width: 830px; font: 500 clamp(36px,4.5vw,60px)/1.16 var(--font-display); letter-spacing: -.02em; text-align: left; }
.product-story .feature-explorer { margin-top: 36px; }
.product-story .fe-tabs { margin: 0 0 40px; width: 100%; justify-content: flex-start; }
.product-story .fe-tab { min-height: 56px; padding-inline: 28px; }
.product-story .fe-panel-text { max-width: none; margin: 0; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px 56px; }
.product-story .fe-panel-text h3 { font-size: clamp(25px,2.5vw,34px); line-height: 1.18; }
.product-story .real-product-view { padding: 24px; border-radius: 8px; gap: 18px; }
.product-story .real-product-view figcaption { font-size: 12px; }
.ops-flow { padding-block: 0; border: 0; }
.ops-flow-copy h2 { font-size: clamp(36px,3.4vw,46px); line-height: 1.12; letter-spacing: -.02em; }
.ops-trace { border-radius: 8px; background: #fff; box-shadow: 0 16px 40px -32px rgba(18,27,72,.25); }
.path-section { margin-top: var(--home-section); padding-block: 64px; background: #f0f1f8; }
.path-section .section-intro { display: block; }
.path-section .section-intro h2 { font-size: clamp(32px,3vw,42px); }
.path-section .section-intro > p { margin-top: 16px; max-width: 48ch; }
.onboarding-steps { gap: 0; margin-top: 48px; }
.onboarding-steps > li { position: relative; border: 0; padding: 32px 28px 0 0; }
.onboarding-steps > li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(61,75,202,.25); }
.onboarding-steps > li::after { content: ''; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; background: #f0f1f8; }
.onboarding-steps > li:last-child { padding-right: 0; }
.onboarding-steps h3 { font-size: 18px; line-height: 1.35; margin: 16px 0 12px; }
.onboarding-note { margin-top: 32px; }
.comparison-section .sec-head h2,.faq-section .sec-head h2 { font-size: clamp(32px,3vw,42px); line-height: 1.12; letter-spacing: -.02em; }
section.cta { position: relative; overflow: hidden; }
section.cta .demo-close { grid-template-columns: 1.6fr 1fr; gap: 80px; }
section.cta h2 { font-size: clamp(38px,4.4vw,60px); line-height: 1.14; font-weight: 500; letter-spacing: -.02em; }
section.cta .demo-agenda { padding-top: 0; }
section.cta .demo-agenda h3 { color: var(--cyan); }
@media (max-width:1100px) {
  .hero-opening { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 32px; }
  .hero h1 { font-size: clamp(44px,5.2vw,60px); }
}
@media (max-width:800px) {
  .hero-opening { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(42px,7.2vw,60px); }
  .hero p.lede { max-width: 48ch; }
  .hero .product { margin-top: 32px; padding: 16px; gap: 16px; }
  .hero .product-clouds { gap: 14px; }
  .hero .product-intro { font-size: 12px; }
  .hero .proof { gap: 24px; }
  .customer-logo-heading { align-items: flex-start; }
  .product-story .fe-panel-text { column-gap: 32px; }
  .product-story .fe-tab { padding-inline: 22px; }
}
@media (max-width:700px) {
  section.hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(34px,7.7vw,52px); letter-spacing: -.02em; margin-top: 16px; }
  .hero p.lede { font-size: 16px; line-height: 1.6; }
  .hero .ctas { margin-top: 20px; }
  .hero .product { display: block; padding: 12px; border-radius: 7px; }
  .hero .product-intro { margin-bottom: 14px; }
  .hero .product-clouds { margin: 0 0 14px; gap: 18px; }
  .hero .product-clouds > span { font-size: 11px; }
  .hero .product-clouds img { width: 18px; height: 16px; }
  .hero .proof { gap: 16px; padding-block: 24px; }
  .hero .proof-stat { padding: 0; border: 0; }
  .hero .proof-n { font-size: clamp(25px,6.4vw,36px); }
  .hero .proof-context { font-size: 11px; line-height: 1.5; max-width: 13ch; margin-top: 8px; }
  .customer-logo-heading { flex-direction: column; gap: 12px; margin-bottom: 28px; }
  .customer-stories { padding-top: 48px; }
  .product-story .product-story-head h2 { font-size: 36px; }
  .product-story .fe-tab { flex: 1; padding-inline: 8px; font-size: 14px; }
  .product-story .fe-panel-text { grid-template-columns: 1fr; gap: 16px; }
  .product-story .fe-panel-text h3 { grid-column: 1; grid-row: auto; margin: 0; font-size: 27px; }
  .product-story .fe-panel-text > p,.product-story .feature-details { grid-column: 1; }
  .product-story .fe-panel-text > p { margin: 0; }
  .product-story .real-product-view { padding: 16px; }
  .path-section { padding-block: 48px; }
  .onboarding-steps { grid-template-columns: 1fr; margin-top: 32px; }
  .onboarding-steps > li { padding: 0 0 32px 28px; border: 0; }
  .onboarding-steps > li::before { left: 3px; top: 0; bottom: 0; width: 1px; height: auto; }
  .onboarding-steps > li::after { top: 3px; }
  .onboarding-steps > li:last-child { padding: 0 0 0 28px; }
  .onboarding-steps > li:last-child::before { display: none; }
  .onboarding-steps .path-tag,.onboarding-steps h3,.onboarding-steps p { grid-column: auto; grid-row: auto; }
  .onboarding-steps h3 { margin: 8px 0; }
  section.cta .demo-close { grid-template-columns: 1fr; gap: 40px; }
  section.cta h2 { font-size: 40px; }
}
/* The opening uses a wider canvas than the reading sections. */
.hero > .container { width: calc(100% - 80px); max-width: 1180px; padding-inline: 0; }
.hero h1 { font-size: clamp(48px,4.2vw,60px); }
@media (max-width:1100px) {
  .hero-opening { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(44px,6vw,60px); }
  .hero-intro { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
  .hero .ctas { flex-shrink: 0; margin: 0; }
}
@media (max-width:800px) {
  .hero > .container { width: calc(100% - 40px); }
  .hero-intro { display: block; }
  .hero .ctas { margin-top: 20px; }
}
@media (max-width:700px) {
  .hero > .container { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(32px,7.7vw,50px); }
}
.hero .product { width: 100%; max-width: none; margin-inline: 0; }
.hero .product-clouds > span { width: auto; height: auto; flex: 0 0 auto; white-space: nowrap; gap: 5px; }
.hero .product-clouds img { margin-right: 0; }
.product-story :is(button, summary, a):focus-visible { outline-color: var(--cyan); }
@media (max-width:700px) {
  .onboarding-steps > li { display: block; }
}
