/* 1OFFICE public site: /welcome/ (Business Suite) and /welcome/workforce.html.
 * One deliberate light look; every colour is set here. */
:root {
  --ink: #0e1726; --ink-2: #344054; --muted: #5f6b7d; --faint: #8a94a6;
  --line: #e3e7ee; --line-2: #d3d9e3;
  --bg: #f6f7f9; --paper: #ffffff; --tint: #f0f4fb;
  --brand: #1d5bdb; --brand-hover: #1749b5; --brand-soft: #ebf1fd; --brand-ink: #123c94;
  --ok: #11734f; --ok-soft: #e6f4ee; --warn: #8a5a00;
  --night: #0b1220; --night-2: #141d2e; --night-line: #253047; --night-ink: #e8edf5; --night-muted: #9aa6b8;
  --r: 10px; --r-lg: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: "Segoe UI Variable Text", "SF Pro Text", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
:focus-visible { outline: 3px solid #8fb0f5; outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--paper); padding: 12px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 16px; height: 16px; }
.icon.lg { width: 24px; height: 24px; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 112px; }
.section.tight { padding-block: 72px; }
.section.alt { background: var(--bg); }
.kicker { font: 600 13px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.028em; font-weight: 650; margin-top: 14px; }
.lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 640px; margin-top: 18px; }
.head { max-width: 760px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lede { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: var(--r); border: 1px solid transparent; font: 600 15px/1 var(--text); white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-hover); }
.btn.ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn.quiet { background: transparent; color: var(--ink-2); padding-inline: 12px; }
.btn.quiet:hover { color: var(--ink); background: var(--bg); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; }
.link:hover { color: var(--brand-hover); }
.link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover .icon { transform: translateX(3px); }

/* Product switch: plain text tabs above the header */
.switchbar { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 13px; }
.switchbar .wrap { display: flex; align-items: stretch; height: 36px; }
.switchbar nav { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.switchbar nav a { display: flex; align-items: center; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .15s, border-color .15s; }
.switchbar nav a:hover { color: var(--ink); }
.switchbar nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 700 16px/1 var(--display); }
.brand-mark .icon { width: 58%; height: 58%; fill: currentColor; stroke: none; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--ink); background: var(--bg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--paper); place-items: center; }
.mobile-nav { display: none; }

/* Hero */
.hero { padding-block: 88px 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 680; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { font-size: 20px; max-width: 620px; margin-top: 22px; color: var(--ink-2); }
.hero-form { margin-top: 34px; display: flex; gap: 10px; max-width: 520px; flex-wrap: wrap; }
.hero-form input { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); font: 16px var(--text); color: var(--ink); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.hero-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 16px; height: 16px; color: var(--ok); }
.hero-alt { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.shot { position: relative; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 24px 48px -12px rgba(16, 24, 40, .14); }
.shot-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ea; }
.shot-bar span { margin-left: 10px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.shot img { width: 100%; height: auto; aspect-ratio: 1440 / 860; }
.hero-shot { margin-top: 64px; }
.caption { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: center; }

/* App strip */
.apps { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 8px; margin-top: 44px; }
.app { display: grid; justify-items: center; gap: 10px; padding: 18px 6px; border-radius: 12px; color: var(--ink-2); font-size: 13px; font-weight: 600; transition: background-color .2s; }
.app:hover { background: var(--bg); }
.app .tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.app.paid .tile { background: var(--night); color: #fff; }
.apps-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.apps-note b { color: var(--ink); }

/* Tour */
.tour { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 56px; }
.tour-tabs { display: grid; gap: 4px; }
.tour-tab { position: relative; text-align: left; border: 0; background: transparent; padding: 16px 18px 16px 20px; border-radius: 12px; overflow: hidden; transition: background-color .2s; }
.tour-tab:hover { background: var(--bg); }
.tour-tab[aria-selected="true"] { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.tour-tab b { display: flex; align-items: center; gap: 10px; font: 600 16px/1.3 var(--display); }
.tour-tab b .icon { color: var(--brand); }
.tour-tab p { display: none; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.tour-tab[aria-selected="true"] p { display: block; }
.tour-tab .bar { position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--line); }
.tour-tab .bar::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 0; background: var(--brand); border-radius: 3px; }
.tour-tab[aria-selected="true"] .bar::after { animation: fill var(--tour-ms, 7000ms) linear forwards; }
.tour.paused .tour-tab[aria-selected="true"] .bar::after { animation: none; height: 100%; }
@keyframes fill { to { height: 100%; } }
.tour-stage { position: relative; }
.tour-stage .shot img { transition: opacity .35s var(--ease); }
.tour-stage .shot img.swap { opacity: 0; }

/* Workspaces */
.ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.ws { display: grid; gap: 14px; align-content: start; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: border-color .2s, transform .3s var(--ease); }
.ws:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ws-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ws-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ws-price { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ws-price b { color: var(--ink); }
.ws h3 { font-size: 24px; letter-spacing: -.015em; }
.ws p { color: var(--muted); font-size: 16px; }
.ws ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.ws li { display: flex; gap: 10px; align-items: flex-start; }
.ws li .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.ws .replaces { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Flow */
.flow { margin-top: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: var(--night-line); }
.flow::after { content: ""; position: absolute; left: 10%; top: 27px; height: 2px; width: 0; background: #6d9bff; transition: width 2.4s var(--ease); }
.flow.in::after { width: 80%; }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; padding: 0 10px; }
.step .dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1px solid var(--night-line); color: var(--night-muted); transition: background-color .4s, color .4s, border-color .4s; }
.flow.in .step .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.flow.in .step:nth-child(2) .dot { transition-delay: .5s; } .flow.in .step:nth-child(3) .dot { transition-delay: 1s; } .flow.in .step:nth-child(4) .dot { transition-delay: 1.5s; } .flow.in .step:nth-child(5) .dot { transition-delay: 2s; }
.step b { font: 600 17px/1.3 var(--display); color: var(--night-ink); }
.step span { font-size: 14px; color: var(--night-muted); line-height: 1.5; max-width: 200px; }
.dark { background: var(--night); color: var(--night-ink); }
.dark .kicker { color: #8fb3ff; }
.dark .lede { color: var(--night-muted); }

/* IRIS */
.iris { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks .icon { color: var(--brand); margin-top: 3px; }
.chat { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); padding: 22px; display: grid; gap: 14px; box-shadow: 0 24px 48px -16px rgba(16, 24, 40, .12); }
.chat-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--faint); }
.chat-head b { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; }
.chat-head b i { width: 24px; height: 24px; border-radius: 7px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--display); font-style: normal; }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.chat.in .msg { opacity: 1; transform: none; }
.chat.in .msg:nth-of-type(2) { transition-delay: .6s; } .chat.in .msg:nth-of-type(3) { transition-delay: 1.4s; } .chat.in .msg:nth-of-type(4) { transition-delay: 2.2s; }
.msg.me { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { background: var(--bg); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.card { max-width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.msg.card small { display: block; color: var(--faint); font-size: 12px; margin-bottom: 4px; }
.msg.card .row { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.chat-note { font-size: 12px; color: var(--faint); text-align: center; }

/* Film */
.film { margin-top: 48px; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--night); border: 1px solid var(--line); aspect-ratio: 16 / 9; max-width: 100%; }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film .play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, rgba(11, 18, 32, 0) 40%, rgba(11, 18, 32, .55)); color: #fff; }
.film .play span { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--ink); font-weight: 600; font-size: 15px; transition: transform .25s var(--ease); }
.film .play span i { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.film .play:hover span { transform: scale(1.04); }

/* Line callout */
.callout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px; border-radius: 20px; background: var(--tint); border: 1px solid #dfe7f6; }
.callout h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.15; margin-top: 12px; }
.callout p { color: var(--ink-2); margin-top: 14px; }
.callout .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.phone-card { justify-self: center; width: min(300px, 100%); padding: 28px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); text-align: center; display: grid; justify-items: center; gap: 8px; box-shadow: 0 24px 48px -16px rgba(16, 24, 40, .16); }
.phone-card .avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font: 700 26px/1 var(--display); }
.phone-card b { font: 600 18px/1.3 var(--display); margin-top: 6px; }
.phone-card .num { color: var(--muted); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.phone-card .avail { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ok); }
.phone-card .avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.phone-card .call { margin-top: 10px; width: 60px; height: 60px; border-radius: 50%; background: #23a046; color: #fff; display: grid; place-items: center; animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(35, 160, 70, .35); } 30% { box-shadow: 0 0 0 14px rgba(35, 160, 70, 0); } }

/* Pricing */
.free-bar { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 18px 22px; border-radius: 12px; background: var(--ok-soft); color: var(--ink-2); font-size: 15px; }
.free-bar b { color: var(--ok); display: inline-flex; align-items: center; gap: 8px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 24px 48px -20px rgba(29, 91, 219, .35); }
.plan .tag { position: absolute; top: -12px; left: 30px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .for { color: var(--muted); font-size: 14px; margin-top: -8px; }
.plan .price { font: 650 40px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan .price small { font: 500 14px var(--text); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan .parts { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.discounts { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.discounts p { padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.discounts p + p { border-left: 1px solid var(--line); }
.discounts b { display: block; font: 650 22px/1.2 var(--display); color: var(--ink); }

/* Price builder (hooks used by pricing.js) */
.builder { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.b-form { padding: 32px; display: grid; gap: 22px; align-content: start; }
.b-form h3 { font-size: 22px; }
.b-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.b-group { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg); }
.b-group button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .15s, color .15s, box-shadow .15s; }
.b-group button[aria-pressed="true"] { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px var(--line); }
.b-ws { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.b-ws legend { padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.b-ws label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; line-height: 1.45; color: var(--muted); transition: border-color .15s, background-color .15s; }
.b-ws label:hover { border-color: var(--line-2); }
.b-ws label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.b-ws b { display: block; color: var(--ink); font-size: 15px; }
.b-ws input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.b-nums { display: flex; flex-wrap: wrap; gap: 12px; }
.b-nums label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.b-nums label[hidden] { display: none; }
.b-nums input { width: 128px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 0 12px; font: 16px var(--text); color: var(--ink); font-variant-numeric: tabular-nums; }
.b-nums input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.b-switch { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.b-switch input { width: 16px; height: 16px; accent-color: var(--brand); }
.b-out { background: var(--bg); border-left: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.b-ed { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.b-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.b-lines li, .b-deal { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.b-lines span { color: var(--muted); }
.b-deal { padding-top: 12px; border-top: 1px dashed var(--line-2); color: var(--ok); font-size: 14px; }
.b-total { font: 650 48px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.b-total small { font: 500 15px var(--text); letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.b-note { color: var(--muted); font-size: 14px; }
.b-out .button { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: var(--r); background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; transition: background-color .18s; }
.b-out .button:hover { background: var(--brand-hover); }
.table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--bg); font-size: 13px; font-weight: 600; color: var(--muted); }
th[scope=row] { font-weight: 500; }
caption { caption-side: top; text-align: left; padding: 16px 18px 0; color: var(--muted); font-size: 14px; }
.price-table small { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 13px; }
.price-table tr.pk th { color: var(--brand); font-weight: 600; }
.price-note { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 900px; }

/* Compare */
.vs-tabs { margin-top: 40px; }
.vs-lede { margin-top: 24px; color: var(--muted); font-size: 17px; }
.vs-cards { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vs-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-cards article { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: grid; gap: 6px; }
.vs-cards article.us { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.vs-cards small { color: var(--muted); font-size: 13px; }
.vs-cards b { font: 650 40px/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vs-cards article.us b { color: var(--brand); }
.vs-cards span { font-size: 14px; color: var(--ink-2); }
.vs-table .us { background: #f4f7fe; }
.vs-table thead .us { color: var(--brand); }
.vs-table td.yes { color: var(--ok); font-weight: 600; }
.vs-table td.no { color: var(--faint); }
.vs-table tr.sum th, .vs-table tr.sum td { font-weight: 700; }
.vs-table tr.sum td.us { color: var(--brand); }
.vs-table { min-width: 620px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; }
.faq-list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font: 600 18px/1.4 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* Final CTA + footer */
.cta { text-align: center; }
.cta h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.035em; line-height: 1.05; font-weight: 680; }
.cta .lede { margin-inline: auto; }
.cta .hero-form { margin-inline: auto; justify-content: center; }
.site-footer { border-top: 1px solid var(--line); padding-block: 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { font-size: 13px; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Workforce page */
.wfm-hero .badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 13px; font-weight: 600; }
.wfm-hero .badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.wfm-hero h1 { margin-top: 22px; }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.status { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: grid; gap: 10px; align-content: start; }
.status .pill { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pill.live { background: var(--ok-soft); color: var(--ok); } .pill.soon { background: var(--brand-soft); color: var(--brand-ink); } .pill.tbd { background: var(--bg); color: var(--muted); }
.status h3 { font-size: 19px; }
.status p { color: var(--muted); font-size: 15px; }
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: start; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 24px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; counter-increment: s; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 15px/1 var(--display); color: var(--brand); background: var(--paper); }
.steps strong { display: block; font: 600 17px/1.4 var(--display); margin-top: 8px; }
.steps span { color: var(--muted); font-size: 15px; }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 24px 48px -20px rgba(16, 24, 40, .16); }
.form-card h3 { font-size: 22px; }
.form-card .sub { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); font: 16px var(--text); color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6b7d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c4372b; }
.form-error { grid-column: 1 / -1; margin: 0; color: #b42318; font-size: 14px; }
.form-error:empty { display: none; }
.form-grid .btn { grid-column: 1 / -1; height: 50px; margin-top: 4px; }
.form-note { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 13px; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .08s; } [data-reveal="3"] { transition-delay: .16s; } [data-reveal="4"] { transition-delay: .24s; }
.hero [data-reveal] { transition-duration: .9s; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .apps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tour { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tour-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); scroll-snap-type: x proximity; }
  .tour-tab { scroll-snap-align: start; }
  .tour-tab { padding: 10px 14px; }
  .tour-tab p, .tour-tab .bar { display: none !important; }
  .tour-caption { display: block !important; }
}
.tour-caption { display: none; margin-top: 14px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .nav, .header-actions .btn.quiet { display: none; }
  .menu-btn { display: grid; }
  .mobile-nav[data-open="true"] { display: grid; gap: 2px; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .mobile-nav a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; }
  .section { padding-block: 80px; }
  .ws-grid, .plans, .vs-cards, .vs-cards.two, .iris, .callout, .faq, .signup, .status-grid { grid-template-columns: minmax(0, 1fr); }
  .builder { grid-template-columns: minmax(0, 1fr); }
  .b-out { border-left: 0; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .flow::before, .flow::after { display: none; }
  .step { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; column-gap: 16px; row-gap: 2px; }
  .step .dot { grid-row: span 2; }
  .callout { padding: 32px 24px; }
  .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
}
@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .hero { padding-top: 56px; }
  .hero .lede { font-size: 18px; }
  .hero-form .btn { flex: 1 1 100%; }
  .apps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ws { padding: 24px; }
  .b-ws, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .b-form, .b-out, .form-card, .plan { padding: 24px; }
  .discounts { grid-template-columns: minmax(0, 1fr); }
  .discounts p + p { border-left: 0; border-top: 1px solid var(--line); }
  .shot-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .flow::after { width: 80%; }
  .msg { opacity: 1; transform: none; }
}
.b-group button[aria-selected="true"] { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px var(--line); }
.b-group button[role="tab"] { padding: 9px 16px; }
/* Review fixes */
.site-header { background: var(--paper); }
.msg { width: fit-content; }
.film .play { align-items: end; justify-items: start; padding: 28px; }
@media (max-width: 600px) { .film .play { padding: 14px; } .film .play span { padding: 10px 16px 10px 10px; font-size: 14px; } }

/* ---------------------------------------------------------------------------
 * Business Suite look. The public site wears the product's own design system
 * (public/office-sharp.css): Fluent greys, the blue app bar, 4px corners, no
 * shadows, no scroll-reveal theatre. Values mirror office-sharp's tokens with
 * the accent #4f8ff7 pre-mixed, so this file stays self-contained. */
:root {
  --ink: #242424; --ink-2: #333333; --muted: #616161; --faint: #8a8a8a;
  --line: #e0e0e0; --line-2: #c2c2c2;
  --bg: #f5f5f5; --paper: #ffffff; --tint: #faf9f8;
  --brand: #3967b2; --brand-hover: #315999; --brand-soft: #eaf2fe; --brand-ink: #315999;
  --ok: #107c41; --ok-soft: #e9f5ee; --warn: #8a5a00;
  /* The former dark sections become quiet grey panels, like the app's side rail. */
  --night: #f5f5f5; --night-2: #ebebeb; --night-line: #e0e0e0; --night-ink: #242424; --night-muted: #616161;
  --r: 4px; --r-lg: 4px;
  --display: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
}
body { font-size: 15px; line-height: 1.5; }
.section { padding-block: 72px; }
.section.tight { padding-block: 56px; }
.section.alt, .site-footer { background: var(--tint); }
.kicker { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin-top: 10px; }
.lede { font-size: 16px; margin-top: 12px; }
.hero { padding-block: 56px 0; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.hero .lede { font-size: 17px; margin-top: 16px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }

/* The product's blue app bar as the site header, white controls on it. */
.switchbar { background: var(--bg); border-bottom-color: var(--line); }
.site-header, .site-header.scrolled { background: var(--brand); border-bottom: 0; color: #fff; }
.site-header .wrap { height: 56px; gap: 16px; }
.site-header .brand { color: #fff; font-size: 18px; letter-spacing: 0; }
.site-header .brand-mark { width: 26px; height: 26px; border-radius: 4px; background: #fff; color: var(--brand); font-size: 14px; }
.site-header .nav a { color: rgba(255, 255, 255, .92); font-size: 14px; border-radius: 4px; padding: 7px 10px; }
.site-header .nav a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.site-header .header-actions .btn.quiet { color: #fff; }
.site-header .header-actions .btn.quiet:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.site-header .header-actions .btn.primary { background: #fff; color: var(--brand); border-color: #fff; }
.site-header .header-actions .btn.primary:hover { background: #f5f5f5; }
.site-header .menu-btn { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.mobile-nav[data-open="true"] { background: var(--paper); }
/* The menu sits inside the blue header, so it must not inherit its white text. */
.site-header .mobile-nav a { color: var(--ink); }
.site-header .mobile-nav a:hover, .site-header .mobile-nav a[aria-current="page"] { color: var(--brand); }

/* Controls: 4px corners, product heights, a 2px focus ring. */
.btn { height: 36px; border-radius: 4px; font-size: 14px; }
.btn.sm { height: 32px; } .btn.lg { height: 40px; font-size: 15px; }
.btn:active { transform: none; }
.btn.ghost { border-color: var(--line-2); }
.btn:hover .arrow, .link:hover .icon { transform: none; }
.hero-form input, .b-nums input, .field input, .field select { height: 40px; border-radius: 4px; border-color: var(--line-2); }
.hero-form input:focus, .b-nums input:focus, .field input:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* Surfaces: flat white cards with a 1px stroke, exactly as in the app. */
.ws, .plan, .status, .form-card, .chat, .vs-cards article, .table-wrap, .builder, .discounts, .callout, .msg.card, .shot, .film, .phone-card, .free-bar, .b-group, .b-ws label, .tour-tab, .plan .tag, .wfm-hero .badge, .status .pill, .film .play span, .skip {
  border-radius: 4px; box-shadow: none;
}
.ws:hover { transform: none; border-color: var(--line-2); }
.ws { padding: 24px; gap: 12px; }
.ws h3 { font-size: 20px; letter-spacing: 0; }
.ws p { font-size: 15px; }
.ws ul { font-size: 14px; }
.plan { padding: 24px; }
.plan.featured { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.plan .tag { top: -11px; left: 24px; font-weight: 600; }
.plan .price, .b-total, .vs-cards b, .discounts b { font-weight: 600; letter-spacing: -.01em; }
.plan .price { font-size: 32px; } .b-total { font-size: 36px; } .vs-cards b { font-size: 30px; }
.vs-cards article.us { box-shadow: inset 0 0 0 1px var(--brand); }
.app, .app .tile, .ws-icon, .chat-head b i, .step .dot, .phone-card .avatar, .shot-bar i, .tour-tab .bar, .tour-tab .bar::after { border-radius: 4px; }
.app .tile { width: 44px; height: 44px; }
.app.paid .tile { background: var(--brand); color: #fff; }
.tour-tab[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--line); }
.b-group button, .msg, .msg.me, .msg.bot { border-radius: 4px; }
.b-group button[aria-pressed="true"], .b-group button[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--line); }
.shot-bar { background: var(--bg); }
.callout { padding: 32px; background: var(--tint); }
.film .play { background: rgba(36, 36, 36, .28); }
.film .play:hover span { transform: none; }
.phone-card .call { animation: none; }
.wfm-hero .badge i { animation: none; }
.status .pill, .wfm-hero .badge { text-transform: none; letter-spacing: 0; font-weight: 600; }
.step .dot { border-color: var(--line-2); background: var(--paper); color: var(--ink); }
.dark .kicker { color: var(--muted); }
.price-table tr.pk th { color: var(--brand-ink); }

/* Tables at the app's density. */
table { font-size: 14px; }
th, td { padding: 10px 14px; }
thead th { background: var(--bg); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
caption { padding-top: 12px; font-size: 13px; }

/* Content is simply there; nothing fades or slides in. */
[data-reveal], .hero [data-reveal] { opacity: 1; transform: none; transition: none; }
.msg, .chat.in .msg { opacity: 1; transform: none; transition: none; }
.tour-stage .shot img { transition: none; }
.flow::after, .flow.in .step .dot { transition: none; }

/* Product tabs: two clear tabs, so Workforce Management is easy to find. */
.switchbar { font-size: 14px; }
.switchbar .wrap { height: 40px; }
.switchbar nav { gap: 4px; }
.switchbar nav a { padding: 0 14px; font-weight: 600; color: var(--ink-2); border-bottom-width: 3px; }
.switchbar nav a:hover { background: var(--paper); }
.switchbar nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); background: var(--paper); }
.site-header .nav a.nav-wfm { margin-left: 8px; border: 1px solid rgba(255, 255, 255, .6); font-weight: 600; color: #fff; }
.site-header .nav a.nav-wfm:hover { background: #fff; color: var(--brand); }

/* 1DOCS / 1SHEETS / 1SLIDES / 1DRIVE use their own app logos (public/brand/apps). */
.app .tile.tile-mark { background: none; padding: 0; overflow: hidden; border-radius: 12px; }
.app .tile.tile-mark img { width: 100%; height: 100%; display: block; }
