/* Demo hub — SOZO LAB's own brand (not white-labelled). */
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.hub-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.hub-logo { display: flex; align-items: center; gap: 12px; }
.hub-logo img { height: 60px; width: auto; }
.hub-logo em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--c-accent); background: var(--c-accent-12); padding: 2px 8px; border-radius: 99px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--c-accent); }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; background: var(--c-bg); padding: 4px 4px 4px 4px; border-radius: 99px; }
.user-chip em { font-weight: 400; color: var(--c-text-muted); font-style: normal; }
.user-chip .icon-btn { width: 32px; height: 32px; font-size: 16px; }

.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(249, 87, 56, .35), transparent 60%), var(--c-primary); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 72px 0 84px; }
.eyebrow { display: inline-flex; gap: 6px; align-items: center; background: rgba(255, 255, 255, .1); padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--c-highlight); }
.hero-title { font-family: var(--font-display); font-size: clamp(54px, 8vw, 104px); line-height: .9; color: #fff; margin: 20px 0 18px; text-transform: uppercase; font-weight: 800; letter-spacing: .01em; }
.hero-title span { color: var(--c-accent); }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 520px; }
.hero-sub strong { color: #fff; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 36px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats div { display: grid; }
.hero-stats b { font-size: 44px; line-height: 1; color: var(--c-highlight); }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* hero illustration */
.hero-art { position: relative; height: 440px; }
.art-browser { position: absolute; inset: 20px 60px 40px 0; background: #fff; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); overflow: hidden; transform: rotate(-2deg); }
.art-bar { height: 30px; background: #EEF0F3; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.art-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #D3D6DB; }
.art-url { margin-left: 10px; background: #fff; border-radius: 6px; font-size: 11px; color: #777; padding: 2px 10px; }
.art-body { padding: 14px; display: grid; gap: 12px; }
.art-nav { display: flex; align-items: center; gap: 10px; }
.art-nav img { width: 26px; height: 26px; border-radius: 6px; }
.art-nav i { width: 46px; height: 7px; border-radius: 4px; background: #E3E5E9; }
.art-nav b { margin-left: auto; width: 60px; height: 22px; border-radius: 99px; background: var(--c-accent); }
.art-hero { height: 110px; border-radius: 12px; background: linear-gradient(120deg, var(--c-primary), #2B4C7E); position: relative; overflow: hidden; }
.art-hero::after { content: ''; position: absolute; right: -30px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--c-accent); }
.art-hero div { position: absolute; left: 16px; top: 22px; display: grid; gap: 8px; }
.art-hero i { display: block; width: 150px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .85); }
.art-hero i + i { width: 100px; background: rgba(255, 255, 255, .5); }
.art-hero b { width: 70px; height: 20px; border-radius: 99px; background: var(--c-highlight); }
.art-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.art-cards div { height: 92px; border-radius: 10px; }
.art-cards .c1 { background: linear-gradient(135deg, var(--c-accent), #D7401F); }
.art-cards .c2 { background: linear-gradient(135deg, var(--c-warm), #C9752E); }
.art-cards .c3 { background: linear-gradient(135deg, var(--c-highlight), #E0BB33); }
.art-phone { position: absolute; right: 0; bottom: 0; width: 190px; height: 380px; background: #fff; border-radius: 30px; border: 7px solid #10131A; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .6); padding: 26px 12px 12px; display: grid; gap: 10px; align-content: start; transform: rotate(4deg); overflow: hidden; }
.art-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 60px; height: 16px; border-radius: 10px; background: #10131A; }
.art-phone-top { display: flex; align-items: center; gap: 8px; }
.art-phone-top img { width: 24px; height: 24px; border-radius: 6px; }
.art-phone-top i { flex: 1; height: 8px; border-radius: 4px; background: #E3E5E9; }
.art-phone-card { height: 110px; border-radius: 14px; background: linear-gradient(135deg, var(--c-primary), #2B4C7E); }
.art-phone-card.small { height: 70px; background: linear-gradient(135deg, var(--c-accent), #D7401F); }
.art-phone-row { display: flex; justify-content: space-between; }
.art-phone-row i { width: 34px; height: 34px; border-radius: 50%; background: var(--c-soft); }
.art-tabs { position: absolute; bottom: 0; left: 0; right: 0; height: 44px; border-top: 1px solid #EEE; display: flex; justify-content: space-around; align-items: center; background: #fff; }
.art-tabs i { width: 18px; height: 18px; border-radius: 5px; background: #D9DCE1; }
.art-tabs i:first-child { background: var(--c-accent); }
.art-swatches { position: absolute; left: -6px; bottom: 6px; display: flex; gap: 8px; background: #fff; padding: 8px 10px; border-radius: 99px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.art-swatches span { width: 22px; height: 22px; border-radius: 50%; }

/* section scroll lock — each section fills the screen under the sticky nav and snaps into place.
   Taller sections (features) scroll freely inside before the next snap. */
html { scroll-snap-type: y mandatory; scroll-padding-top: 80px; scroll-behavior: smooth; }
.hero, .section { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); display: flex; align-items: center; scroll-snap-align: start; }
.ftr { scroll-snap-align: end; }

/* reveal on scroll (classes added by hub.js) */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: reveal-up .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 70ms) backwards; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; }
  .reveal.in { animation: none; }
}

.section { padding: 84px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2, .wl-grid h2 { font-size: clamp(30px, 4vw, 42px); color: var(--c-primary); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 10px; }

.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.exp-card { text-align: left; background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.exp-card h3 { font-size: 20px; color: var(--c-primary); margin: 6px 0 0; }
.exp-card p { font-size: 14px; color: var(--c-text-muted); flex: 1; margin: 0; }
.exp-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; background: var(--c-primary-08); color: var(--c-primary); }
.exp-link { font-weight: 600; color: var(--c-accent); display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.exp-card-accent { background: var(--c-primary); color: #fff; }
.exp-card-accent h3 { color: #fff; }
.exp-card-accent p { color: rgba(255, 255, 255, .75); }
.exp-card-accent .exp-icon { background: var(--c-accent); color: #fff; }
.exp-card-accent .exp-link { color: var(--c-highlight); }

/* phone-only guidance: lead with the mobile app + Brand Studio, flag desktop-first experiences */
.cta-phone, .phone-note, .exp-desk { display: none; }
.phone-note { gap: 12px; align-items: flex-start; background: var(--c-soft); border-radius: 16px; padding: 14px 16px; margin: -20px 0 22px; font-size: 14px; color: var(--c-text); }
.phone-note i { font-size: 24px; color: var(--c-primary); flex-shrink: 0; }
.phone-note b { color: var(--c-primary); }
.exp-card { position: relative; }
.exp-desk { position: absolute; top: 22px; right: 18px; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--c-text-muted); background: var(--c-bg); padding: 4px 10px; border-radius: 99px; }

.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { padding: 22px; border-radius: 16px; background: var(--c-bg); }
.feat i { font-size: 32px; color: var(--c-accent); }
.feat h4 { margin: 10px 0 4px; font-size: 16px; color: var(--c-primary); }
.feat p { font-size: 14px; color: var(--c-text-muted); margin: 0; }

.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.wl-steps { list-style: none; padding: 0; margin: 26px 0 30px; counter-reset: s; display: grid; gap: 18px; }
.wl-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; }
.wl-steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: #fff; display: grid; place-items: center; font: 700 26px var(--font-display); }
.wl-steps b { font-size: 17px; color: var(--c-primary); }
.wl-steps span { font-size: 14px; color: var(--c-text-muted); }
.wl-preview { display: grid; gap: 14px; }
.wl-card { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; border-left: 6px solid var(--p); }
.wl-card:nth-child(2) { margin-left: 28px; }
.wl-card:nth-child(3) { margin-left: 56px; }
.wl-top { display: flex; align-items: center; gap: 10px; color: var(--p); }
.wl-top img, .wl-mono { width: 34px; height: 34px; border-radius: 9px; }
.wl-mono { background: var(--p); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.wl-line { grid-column: 1; height: 8px; border-radius: 4px; background: #EEF0F3; width: 70%; }
.wl-btn { grid-row: 1 / 3; grid-column: 2; background: var(--a); color: #fff; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; }

/* footer — mirrors the sozolab.tech site footer */
.ftr { background: var(--c-primary); color: rgba(255, 255, 255, .85); padding: 72px 0 36px; }
.ftr__grid { display: grid; grid-template-columns: 110px minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, .5fr); gap: 48px; }
.ftr__logo { display: grid; place-items: center; width: 72px; height: 108px; background: #fff; border-radius: 12px; padding: 10px 8px; }
.ftr__logo img { width: 100%; height: auto; }
.ftr__title { color: #fff; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 22px; }
.ftr__about { margin: 0; font-weight: 700; line-height: 1.75; max-width: 400px; color: rgba(255, 255, 255, .88); }
.ftr__loc { margin: 0 0 18px; line-height: 1.75; }
.ftr__contact { display: grid; gap: 14px; }
.ftr__contact-item { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.ftr__contact-item i { font-size: 22px; color: var(--c-highlight); }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; padding-top: 4px; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 56px; padding-top: 24px; }
.ftr__legal { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* sign-in modal */
.signin { display: grid; gap: 12px; text-align: center; }
.signin h2 { color: var(--c-primary); margin: 4px 0 0; }
.signin p { margin: 0; }
.signin-logo { width: 54px; height: 54px; border-radius: 14px; margin: 0 auto; }
.google-btn { margin-top: 8px; }
.or { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--c-text-faint); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--c-bg); border-radius: 99px; padding: 4px; }
.seg button { padding: 8px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--c-text-muted); }
.seg button.on { background: #fff; color: var(--c-primary); box-shadow: var(--shadow-sm); }
.signin-form { text-align: left; }
.form-err { background: rgba(214, 69, 69, .1); color: var(--c-bad); padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; }
.form-err.ok { background: rgba(46, 158, 91, .1); color: var(--c-ok); }
.link-btn { font-size: 13px; color: var(--c-text-muted); margin-top: 10px; display: inline-flex; gap: 4px; align-items: center; }
.signin-form .link-btn { display: block; margin: 10px auto 0; }
.guest-link { justify-content: center; border-top: 1px solid var(--c-line); padding-top: 14px; margin-top: 4px; }
.guest-link b { color: var(--c-accent); }

@media (max-width: 1000px) {
  .exp-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .wl-grid { grid-template-columns: 1fr; }
  .hero-art { height: 380px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ftr__logo-wrap { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-user { margin-left: auto; }
  .hub-logo em { display: none; }
  .exp-grid, .feat-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 48px 0 56px; }
  .hero-art { height: 320px; }
  .art-browser { right: 30px; }
  .art-phone { width: 150px; height: 300px; }
  .ftr { padding-top: 56px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  /* phone sections are taller than the screen, so snap gently instead of locking */
  html { scroll-snap-type: y proximity; }
  .section { padding: 64px 0; }
  .hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; }
  .hero-stats b { font-size: 36px; }
  .feat-grid { gap: 10px; }
  .feat { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 16px; }
  .feat i { grid-row: span 2; font-size: 28px; }
  .feat h4 { margin: 2px 0; }
  .wl-card:nth-child(2) { margin-left: 14px; }
  .wl-card:nth-child(3) { margin-left: 28px; }
  .cta-desk { display: none; }
  .cta-phone, .exp-desk { display: inline-flex; }
  .phone-note { display: flex; }
  .exp-card-mobile { order: -2; }
  .exp-card-accent { order: -1; }
  .wl-card:nth-child(n) { margin-left: 0; }
  .foot-links { margin-left: 0; }
  .foot-meta { text-align: left; }
  .section { padding: 60px 0; }
}
