/* Homepage 2026: flow-based visual system — matches approved Inter, violet and black navigation.
 * All selectors are scoped to the marketing homepage. The old viewport-positioned
 * band and workspace are replaced with one naturally flowing showcase section.
 * No signup, trial, Stripe, booking, SEO or navigation logic changes. */

body.home-concept {
  --home-ink: #241733;
  --home-purple: #7040e8;
  --home-deep: #211331;
  --home-lilac: #f4effc;
  --home-line: #e8e0f1;
  overflow-x: clip;
  background: #fff;
}
body.home-concept #main-content { min-height: 0 !important; }
body.home-concept .preview {
  display: flow-root;
  position: relative;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(230,213,255,.25),transparent 54%),
    #fff;
}
body.home-concept .preview .nav {
  width: min(1170px, calc(100% - 56px));
  height: 65px;
  margin: 28px auto 0;
  padding: 0 12px 0 20px;
  border-radius: 100px;
  box-shadow: 0 16px 34px rgba(38,20,59,.12);
}
body.home-concept .preview .brand { font-size: 18px; }
body.home-concept .preview .brand svg { width: 32px; height: 32px; }
body.home-concept .preview .links { gap: clamp(16px, 3vw, 34px); }
body.home-concept .preview .links a { font-size: 14px; }
body.home-concept .preview .nav-cta {
  min-height: 43px;
  height: auto;
  padding: 12px 21px;
  border-radius: 99px;
}
body.home-concept .preview .hero {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: clamp(60px, 7.4vw, 106px) 22px 62px;
  background: transparent;
}
body.home-concept .preview .hero::before { content: none; }
body.home-concept .preview .eyebrow {
  margin: 0 0 22px;
  color: #8956ed;
  font-size: 12px;
  letter-spacing: .145em;
}
body.home-concept .preview .hero h1 {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--home-ink);
  font-size: clamp(47px, 5.6vw, 77px);
  line-height: 1.055;
  font-weight: 730;
  letter-spacing: -.071em;
  text-wrap: balance;
}
body.home-concept .preview .hero h1 em {
  color: #743fe7;
}
body.home-concept .preview .hero .sub {
  max-width: 700px;
  margin: 25px auto 0;
  color: #665b70;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
  letter-spacing: -.025em;
}
body.home-concept .preview .home-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 29px auto 0;
}
body.home-concept .preview .hero-cta {
  display: inline-flex;
  margin: 0;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 13px;
  color: #fff;
  background: #251637;
  box-shadow: 0 10px 22px rgba(37,22,55,.15);
  font-size: 14px;
}
body.home-concept .preview .home-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid #ded4ec;
  border-radius: 13px;
  background: #fff;
  color: #51327a;
  font: 700 14px/1.3 Inter,Arial,sans-serif;
  text-decoration: none;
}
body.home-concept .preview .home-hero-secondary:hover { background: #f9f6ff; }
body.home-concept .preview .price {
  margin: 15px auto 0;
  color: #7b7182;
  font-size: 12px;
  line-height: 1.55;
}
body.home-concept .preview .home-showcase {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 15px;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  padding: 48px 24px 78px;
  background: linear-gradient(115deg,#6531cf 0%,#844be7 52%,#b48af7 100%);
}
body.home-concept .preview .home-showcase .band {
  z-index: -1;
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  min-height: 0;
  border: 0;
  overflow: hidden;
  background: none;
}
body.home-concept .preview .home-showcase .band::before { left: -250px; top: -750px; }
body.home-concept .preview .home-showcase .band::after { right: -140px; top: -270px; }
body.home-concept .preview .home-showcase-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 21px;
  color: #f5efff;
  font: 750 11px/1.4 Inter,Arial,sans-serif;
  letter-spacing: .13em;
  text-align: center;
}
body.home-concept .preview .home-showcase-pulse {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #d7fce5;
  box-shadow: 0 0 0 4px rgba(215,252,229,.15);
}
body.home-concept .preview .home-showcase .workspace {
  position: relative;
  z-index: 1;
  display: block;
  left: auto;
  top: auto;
  bottom: auto;
  right: auto;
  width: min(955px, 100%);
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 5px auto 0;
  transform: none;
  padding: clamp(22px, 3.2vw, 38px);
  border: 1px solid #fff;
  border-radius: 22px;
  background: #f9f7fc;
  box-shadow: 0 0 0 12px rgba(255,255,255,.12), 0 22px 70px rgba(29,13,57,.24);
}
body.home-concept .preview .workspace h2 {
  margin: 7px 0 7px;
  color: #2c1b45;
  font-size: 31px;
  font-weight: 670;
}
body.home-concept .preview .workspace-desc { font-size: 13px; }
body.home-concept .preview .tabs { gap: 11px; margin-top: 25px; }
body.home-concept .preview .tab { padding: 0 17px 13px; }
body.home-concept .preview .booking-list { gap: 10px; }
body.home-concept .preview .booking {
  min-height: 67px;
  border-radius: 13px;
  box-shadow: 0 3px 10px rgba(40,22,71,.035);
}
body.home-concept .preview .concept {
  position: relative;
  inset: auto;
  justify-self: end;
  margin: 4px max(0px, calc((100% - 950px)/2)) 0 0;
  color: rgba(255,255,255,.82);
  font-size: 10px;
  letter-spacing: .11em;
}
body.home-concept .benefits-section { z-index: 1; margin-top: 0; border-radius: 0; background: #faf8fe; }
body.home-concept .home-section { padding: 92px 0; }
body.home-concept .home-section h2 { font-size: clamp(32px, 3.5vw, 49px); }
body.home-concept .home-section .section-kicker { color: #7544dd; }
body.home-concept .benefit-list {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 15px;
  margin-top: 38px;
  border: 0;
}
body.home-concept .benefit-list article,
body.home-concept .benefit-list article + article {
  padding: 25px;
  min-height: 210px;
  border: 1px solid #e6deef;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(40,19,72,.035);
}
body.home-concept .benefit-number {
  display: inline-grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-bottom: 24px;
  border-radius: 10px;
  background: #f1e9ff;
  color: #7542d8;
  font-size: 12px;
}
body.home-concept .benefit-list p { margin-top: 13px; }
body.home-concept .flow-section { background: #fff; }
body.home-concept .flow-steps { gap: 16px; margin-top: 39px; }
body.home-concept .flow-step {
  display: flex;
  gap: 14px;
  min-width: 0;
  min-height: 175px;
  padding: 23px;
  border: 1px solid #e5ddec;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #faf8fe);
}
body.home-concept .flow-step > span {
  display: grid;
  place-items: center;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  color: #6936d1;
  background: #f0e9fe;
}
body.home-concept .flow-step h3 { font-size: 18px; }
body.home-concept .management-section { background: #f3effc; }
body.home-concept .management-visual {
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(48,21,83,.09);
}
body.home-concept .payments-section { background: linear-gradient(120deg, #211331 0%,#39205b 100%); }
body.home-concept .payment-visual { border-radius: 19px; }
body.home-concept .customer-section { background: #fff; }
body.home-concept .customer-details { gap: 16px; margin-top: 37px; }
body.home-concept .customer-details article {
  min-height: 196px;
  padding: 24px;
  border: 1px solid #e4ddef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(40,19,72,.03);
}
body.home-concept .detail-icon { margin-bottom: 19px; }
body.home-concept .conversion-section { background: linear-gradient(125deg,#ede4fc,#f8f5ff 75%); }
body.home-concept .conversion-grid { gap: 30px; }
body.home-concept .faq-section { background: #fbf9ff; }
body.home-concept .faq-list details { padding: 22px 0; }
body.home-concept .final-section { background: #241331; }
body.home-concept .final-section .section-kicker { color: #d2b8ff; }
body.home-concept .final-section h2 { color: #fff; }
body.home-concept .final-section p { color: #ded3ed; }
body.home-concept .final-button { color: #251637; background: #fff; }
body.home-concept .final-button:hover { background: #eee5ff; }
body.home-concept .preview a:focus-visible,
body.home-concept .home-section a:focus-visible,
body.home-concept .faq-list summary:focus-visible {
  outline: 3px solid #a880ff;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  body.home-concept .preview .nav { width: calc(100% - 38px); margin-top: 19px; }
  body.home-concept .preview .links { gap: 14px; padding-left: 9px; }
  body.home-concept .preview .brand { font-size: 15px; }
  body.home-concept .preview .brand svg { width: 27px; height: 27px; }
  body.home-concept .preview .hero { padding: 74px 22px 50px; }
  body.home-concept .preview .hero h1 { font-size: clamp(40px, 6.4vw, 62px); }
  body.home-concept .home-section { padding: 72px 0; }
}
@media (max-width: 680px) {
  body.home-concept .preview .nav {
    width: calc(100% - 30px);
    height: 54px;
    margin-top: 14px;
    padding: 0 8px 0 12px;
  }
  body.home-concept .preview .brand { font-size: 14px; }
  body.home-concept .preview .links,body.home-concept .preview .nav-cta { display: none; }
  body.home-concept .preview .burger { display: block; }
  body.home-concept .preview .hero { padding: 61px 16px 45px; }
  body.home-concept .preview .hero h1 { font-size: clamp(36px, 9vw, 51px); letter-spacing: -.06em; }
  body.home-concept .preview .hero h1 span { display: inline; }
  body.home-concept .preview .eyebrow { font-size: 10px; margin-bottom: 16px; }
  body.home-concept .preview .hero .sub { font-size: 14px; margin-top: 18px; }
  body.home-concept .preview .home-hero-actions { margin-top: 22px; gap: 9px; }
  body.home-concept .preview .hero-cta,
  body.home-concept .preview .home-hero-secondary { min-height: 45px; padding: 11px 14px; font-size: 12px; }
  body.home-concept .preview .price { max-width: 340px; font-size: 11px; }
  body.home-concept .preview .home-showcase { padding: 37px 20px 54px; }
  body.home-concept .preview .home-showcase-intro { font-size: 9px; }
  body.home-concept .preview .home-showcase .workspace { padding: 19px 16px 21px; border-radius: 18px; }
  body.home-concept .preview .workspace h2 { font-size: 25px; }
  body.home-concept .preview .workspace-top { gap: 8px; }
  body.home-concept .preview .today { font-size: 9px; padding: 8px 10px; }
  body.home-concept .preview .tabs { gap: 0; overflow: auto; margin-top: 18px; }
  body.home-concept .preview .tab { padding: 0 9px 11px; font-size: 11px; }
  body.home-concept .preview .booking { min-height: 58px; padding: 9px 8px; }
  body.home-concept .preview .concept { justify-self: center; margin: 4px 0 0; font-size: 9px; }
  body.home-concept .home-section { padding: 54px 0; }
  body.home-concept .home-wrap { width: calc(100% - 34px); }
  body.home-concept .benefit-list,body.home-concept .flow-steps,body.home-concept .customer-details {
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
    margin-top: 26px;
  }
  body.home-concept .benefit-list article,
  body.home-concept .benefit-list article + article { min-height: 0; padding: 20px; }
  body.home-concept .benefit-number { margin-bottom: 14px; }
  body.home-concept .flow-step { min-height: 0; padding: 19px; }
  body.home-concept .management-grid,body.home-concept .payments-grid { gap: 28px; }
  body.home-concept .customer-details article { min-height: 0; padding: 21px; }
  body.home-concept .final-section h2 { color: #fff; }
}
@media (max-width: 390px) {
  body.home-concept .preview .hero { padding-top: 45px; }
  body.home-concept .preview .hero h1 { font-size: 34px; }
  body.home-concept .preview .home-hero-actions { display: grid; grid-template-columns: minmax(0,1fr); width: min(330px,100%); }
  body.home-concept .preview .hero-cta,body.home-concept .preview .home-hero-secondary { width: 100%; }
  body.home-concept .preview .home-showcase { padding-inline: 14px; }
  body.home-concept .preview .home-showcase .workspace { padding: 15px 12px 17px; }
  body.home-concept .preview .workspace-kicker { font-size: 10px; }
  body.home-concept .preview .booking-status { padding: 5px 6px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-concept .preview .nav,
  body.home-concept .preview .hero-cta,
  body.home-concept .preview .workspace { transition: none !important; animation: none !important; }
}

/* Keep the expanded main navigation from wrapping on tablet widths.
 * At these widths, use the existing accessible mobile menu without
 * changing the homepage hero or other content breakpoints. */
@media (min-width: 681px) and (max-width: 950px) {
  body.home-concept .preview .links,
  body.home-concept .preview .nav-cta { display: none; }
  body.home-concept .preview .burger { display: block; }
  body.home-concept .preview .menu {
    position: absolute;
    display: grid;
    gap: 0;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 9px;
    border-radius: 18px;
    background: #171022;
    box-shadow: 0 15px 35px rgba(26, 9, 47, .25);
  }
  body.home-concept .preview .menu[hidden] { display: none; }
  body.home-concept .preview .menu a { padding: 12px 13px; border-radius: 10px; }
  body.home-concept .preview .menu .menu-cta {
    margin-top: 5px;
    background: #fff;
    color: #241539;
    font-weight: 700;
    text-align: center;
  }
}
