/* BookMi company homepage. Product-page styles remain in styles.css. */
.company-home{--bm-text:#242424;--bm-muted:#60605a;background:#fff;color:var(--bm-text)}
.company-home .container{width:min(1240px,calc(100% - 80px))}
.company-home .site-header{background:rgba(255,255,255,.94);border-bottom:1px solid #eeeae2}
.company-home .brand-bookmi span{font-size:15px;letter-spacing:-.025em}
.company-home .nav-links{font-weight:600;gap:26px}
.company-home .bm-icon{display:block;width:1em;height:1em;flex:none;fill:currentColor}
.company-home .btn .bm-icon{font-size:18px}
.bm-unifydesk-mark{
  display:block;
  width:24px;
  height:24px;
  flex:none;
  border-radius:7px;
  background:url("assets/unifydesk-logo-white-transparent.png") no-repeat 2px center / 94px auto
}
.company-home .btn.primary .bm-unifydesk-mark{background-color:#28221a}
.company-home .menu-btn .bm-icon{font-size:24px}
.company-home .menu-btn[aria-expanded="false"] .bm-menu-close,
.company-home .menu-btn[aria-expanded="true"] .bm-menu-open{display:none}
.company-home :is(a,button):focus-visible{outline:3px solid #8b6200;outline-offset:5px}
.company-home :is(section,main,[id]){scroll-margin-top:100px}
.company-home .btn{min-height:52px;padding:15px 23px;font-size:14px;gap:18px;border-radius:12px}
.company-home .btn.quiet{background:transparent}
.company-home .btn.primary{box-shadow:none}
.company-home .btn.primary:hover{background:#ffc326;box-shadow:0 8px 20px rgba(244,175,3,.15)}
.bm-hero{padding:170px 0 96px;position:relative;background:radial-gradient(ellipse at 90% 6%,#fff2cd 0,transparent 46%),#fffdfa;border-bottom:1px solid var(--line)}
.bm-eyebrow{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:750;letter-spacing:.14em;text-transform:uppercase;color:#65583e;margin:0 0 28px}
.bm-eyebrow>span{width:8px;height:8px;border-radius:50%;background:var(--yellow)}
.bm-hero h1{font-size:clamp(56px,6.8vw,96px);font-weight:750;line-height:1.02;letter-spacing:-.055em;max-width:1080px;margin:0 0 52px;text-wrap:balance}
.bm-hero h1>span{color:#9b6a00}
.bm-introduction{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(16px,2.5vw,32px);align-items:stretch}
.bm-introduction .bm-actions{margin-top:auto;padding-top:24px}
.bm-introduction .bm-actions .btn{min-width:200px}
.bm-company-copy,.bm-product-connection p{font-size:17px;font-weight:500;line-height:1.65;color:#49443a;margin:0}
.bm-company-copy{max-width:58ch}
.bm-actions{margin-top:32px;gap:12px}
.bm-company-intro,.bm-product-connection{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  padding:clamp(20px,3vw,32px);
  border:1px solid #ead9aa;
  border-radius:22px;
  box-shadow:0 12px 30px rgba(112,78,0,.09)
}
.bm-company-intro{border-top:3px solid #d6b66d;background:linear-gradient(145deg,#fff,#fffaf0)}
.bm-product-connection{border-top:3px solid var(--yellow);background:linear-gradient(145deg,#fff,#fff5d9)}
.bm-product-connection img{display:block;width:155px;height:auto;aspect-ratio:auto;margin-bottom:18px}
.bm-section{padding:96px 0}
.company-home h2{font-size:clamp(36px,4vw,52px);font-weight:700;line-height:1.08;letter-spacing:-.045em;margin:0;text-wrap:balance}
.bm-section-heading{margin-bottom:44px}
.bm-section-heading .bm-eyebrow{margin-bottom:18px}
.bm-build,.bm-industries{background:linear-gradient(180deg,#fffefd 0%,#fffcf5 100%)}
.bm-build .bm-eyebrow{color:#886000}
.bm-build-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bm-build-card{position:relative;padding:32px;border:1px solid #ead9aa;border-top:3px solid var(--yellow);border-radius:18px;background:linear-gradient(145deg,#fff 0%,#fffbef 100%);box-shadow:0 8px 24px rgba(112,78,0,.04)}
.bm-card-number{position:absolute;right:28px;top:30px;font-size:11px;color:#886000;font-weight:600}
.bm-build-card>.bm-icon{box-sizing:content-box;font-size:32px;padding:12px;border:1px solid #f0d27e;border-radius:14px;background:#ffe8a3;color:#795300;margin:0 0 28px}
.bm-build-card h3{font-size:23px;letter-spacing:-.035em;line-height:1.2;margin:0 0 14px}
.bm-build-card p{font-size:15px;line-height:1.75;color:var(--bm-muted);margin:0;max-width:310px}
.bm-flagship{background:radial-gradient(ellipse at 86% 12%,#5c431b 0%,transparent 62%),linear-gradient(125deg,#191817,#2c261e);color:#fff;position:relative}
.bm-flagship-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr);gap:56px;align-items:center}
.bm-flagship .bm-eyebrow{color:#f9ce60;font-size:14px;margin-bottom:20px}
.bm-flagship h2 img{display:block;width:min(100%,320px);height:auto}
.bm-product-tagline{font-size:clamp(26px,2.5vw,36px);line-height:1.18;font-weight:650;letter-spacing:-.035em;color:#f6f2e9;margin:24px 0 20px}
.bm-flagship-copy>p:not(.bm-eyebrow):not(.bm-product-tagline){font-size:16px;color:#cbc8bf;line-height:1.75;margin:0 0 32px}
.bm-flagship-video{
  position:relative;
  min-width:0;
  padding:6px;
  border:1px solid #c39848;
  border-radius:22px;
  background:linear-gradient(145deg,#634a28,#25211b);
  box-shadow:0 24px 60px #120e0a66
}
.bm-flagship-video video{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  border-radius:15px;
  background:#181613
}
.bm-flagship-video video:focus-visible{outline:2px solid #ffda77;outline-offset:2px}
.bm-video-play{
  position:absolute;
  inset:50% auto auto 50%;
  translate:-50% -50%;
  width:clamp(60px,8vw,98px);
  aspect-ratio:1;
  padding:0;
  border:1px solid #ffe2a0;
  border-radius:50%;
  background:#211b13eb;
  color:#ffd466;
  box-shadow:0 10px 30px #0d09074d;
  cursor:pointer;
  transition:background-color .18s,color .18s,scale .18s
}
.bm-video-play:not([hidden]){display:grid;place-items:center}
.bm-video-play .bm-icon{width:52%;height:52%}
.bm-video-play[aria-busy="true"]{cursor:progress}
.bm-video-play[aria-busy="true"] .bm-icon{display:none}
.bm-video-play[aria-busy="true"]::after{
  content:"";
  width:36%;
  aspect-ratio:1;
  border:3px solid #fff5;
  border-top-color:currentColor;
  border-radius:50%;
  animation:bm-video-loading .8s linear infinite
}
@keyframes bm-video-loading{to{rotate:360deg}}
@media(hover:hover){
  .bm-video-play:hover{scale:1.06;background:#ffd466;color:#211b13}
}
.bm-flagship-video .bm-video-play:focus-visible{outline:3px solid #211b13;outline-offset:4px}
.bm-video-fallback{
  position:absolute;
  inset:50% auto auto 50%;
  translate:-50% -50%;
  width:min(300px,calc(100% - 28px));
  margin:0;
  padding:12px 16px;
  border-radius:12px;
  background:#211b13;
  color:#fff;
  text-align:center
}
.bm-video-fallback a{color:#ffd466;text-decoration:underline}
.bm-industries-heading{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:end;margin-bottom:48px}
.bm-industries-heading .bm-eyebrow{margin-bottom:18px}
.bm-industries-heading>p{font-size:16px;line-height:1.75;color:var(--bm-muted);margin:0;max-width:490px}
.bm-industry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:linear-gradient(145deg,#fff 0%,#fffbef 100%)}
.bm-industry{padding:30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.bm-industry:nth-child(3n){border-right:0}
.bm-industry:nth-child(n+4){border-bottom:0}
.bm-industry .example-visual{position:static;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;margin-bottom:24px;background:#fff9e9;border:1px solid #f0d898;color:#886000}
.bm-industry .example-visual .bm-icon{font-size:24px;stroke:none}
.bm-industry h3{font-size:19px;line-height:1.25;letter-spacing:-.025em;margin:0 0 12px}
.bm-industry p{font-size:14px;line-height:1.75;color:var(--bm-muted);margin:0;max-width:310px}
.bm-invitation{padding:0 0 96px}
.bm-invitation-inner{background:var(--yellow);border-radius:22px;padding:56px;display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}
.company-home .bm-invitation h2{font-size:clamp(32px,3.5vw,46px);max-width:730px}
.bm-invitation p{font-size:16px;line-height:1.75;margin:20px 0 0;color:#45380d;max-width:620px}
.company-home .footer-top{padding-top:52px}
.company-home .footer-brand img{object-fit:contain}
.company-home .footer-brand span{color:#aaa79e}
.company-home .footer-bottom a{display:inline-flex;align-items:center;gap:6px;color:#d2cec3}
@media(max-width:1100px){
  .bm-flagship-grid{grid-template-columns:1fr;gap:40px}
  .bm-flagship-copy{display:grid;grid-template-columns:1fr 1fr;column-gap:48px;align-items:start}
  .bm-flagship-copy .bm-eyebrow,.bm-flagship-copy h2,.bm-flagship-copy .bm-product-tagline{grid-column:1}
  .bm-flagship-copy>p:not(.bm-eyebrow):not(.bm-product-tagline){grid-column:2;grid-row:2/4;margin:0 0 24px}
  .bm-flagship-copy>.btn{grid-column:2;justify-self:start}
  .bm-flagship-video{max-width:850px;width:100%;justify-self:center}
  .bm-build-card{padding:26px}
  .bm-industries-heading{gap:40px}
}
@media(max-width:760px){
  .company-home .container{width:calc(100% - 40px)}
  .company-home .brand-bookmi span{display:block;font-size:13px}
  .company-home .brand-bookmi img{width:38px;height:38px}
  .company-home .nav-links{gap:8px}
  .company-home .nav-links>a{padding:12px}
  .bm-hero{padding:132px 0 64px}
  .bm-hero h1{font-size:clamp(42px,9vw,64px);margin-bottom:32px;max-width:620px}
  .bm-eyebrow{font-size:10px;letter-spacing:.11em;margin-bottom:22px}
  .bm-introduction{grid-template-columns:1fr}
  .bm-section{padding:64px 0}
  .company-home h2{font-size:36px}
  .bm-build-grid{grid-template-columns:1fr;gap:14px}
  .bm-build-card{padding:28px}
  .bm-build-card>.bm-icon{margin-bottom:24px}
  .bm-build-card p{max-width:520px}
  .bm-flagship-copy{display:block}
  .bm-product-tagline{font-size:25px;margin-top:20px}
  .bm-flagship-copy>p:not(.bm-eyebrow):not(.bm-product-tagline){margin:0 0 28px}
  .bm-flagship-video{padding:4px;border-radius:16px}
  .bm-flagship-video video{border-radius:11px}
  .bm-industries-heading{grid-template-columns:1fr;gap:24px;margin-bottom:32px}
  .bm-industry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bm-industry{padding:24px}
  .bm-industry:nth-child(3n){border-right:1px solid var(--line)}
  .bm-industry:nth-child(2n){border-right:0}
  .bm-industry:nth-child(n+4){border-bottom:1px solid var(--line)}
  .bm-industry:nth-child(n+5){border-bottom:0}
  .bm-invitation{padding-bottom:64px}
  .bm-invitation-inner{grid-template-columns:1fr;padding:32px;gap:28px}
  .bm-invitation .btn{justify-self:start}
  .company-home .footer-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;width:100%}
}
@media(max-width:480px){
  .bm-actions{display:grid;grid-template-columns:1fr;width:100%}
  .bm-industry-grid{grid-template-columns:1fr}
  .bm-industry:nth-child(n){border-right:0;border-bottom:1px solid var(--line)}
  .bm-industry:last-child{border-bottom:0}
  .bm-invitation-inner{padding:28px 24px}
  .bm-invitation .btn{justify-self:stretch}
}
@media(prefers-reduced-motion:reduce){
  .company-home{scroll-behavior:auto}
  html:has(.company-home){scroll-behavior:auto}
  .company-home *, .company-home *::before, .company-home *::after{animation:none!important;transition:none!important}
}
