/*
 * Tokens, base layer, brand and button primitives all come from the shared
 * design language, vendored into web/vendor/crewly-ui and linked from
 * index.html. Only console-specific rules belong in this file.
 */

body.console-active { overflow: hidden; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 100; top: -4rem; left: 1rem; padding: .7rem 1rem; border-radius: 7px; background: var(--oc-text-strong); color: #111; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* A wait cursor is right here: the console disables its submit while in flight. */
.primary-button:disabled { cursor: wait; }
.text-button { min-height: 38px; padding: 0 10px; background: transparent; color: #aaaab0; font-size: 13px; }
.text-button:hover { color: var(--oc-text-strong); }
.icon-button { width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #151517; color: #9b9ba2; }
.icon-button:hover { background: #1c1c1f; color: var(--oc-text-strong); }
.icon-button svg { font-size: 17px; }
.eyebrow { margin: 0; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 750; }

.loading-view { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 20px; color: #74747b; font-size: 13px; }
.loading-view .brand-mark { animation: mark-pulse 1.4s ease-in-out infinite; }
@keyframes mark-pulse { 50% { opacity: .45; transform: rotate(210deg) scale(.92); } }

/* Marketing landing */
.landing { overflow: hidden; background: var(--bg); }
.site-header { position: relative; z-index: 20; width: min(1400px, calc(100% - 64px)); height: 76px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line-soft); }
.site-nav { display: flex; align-items: center; gap: 31px; }
.site-nav a { color: #8f8f96; font-size: 13px; font-weight: 550; text-decoration: none; transition: color .15s ease; }
.site-nav a:hover { color: var(--oc-text-strong); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 7px; }
.hero { position: relative; width: min(1400px, calc(100% - 64px)); min-height: 790px; margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(35px, 5vw, 85px); padding: 90px 0 110px; }
.hero::before { content: ""; position: absolute; inset: 0 52% 0 -50vw; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.075) 1px, transparent 1.2px); background-size: 24px 24px; mask-image: linear-gradient(to right, transparent, #000 30%, #000 72%, transparent); opacity: .36; }
.hero-glow { position: absolute; width: 540px; height: 540px; left: -260px; top: 30px; border-radius: 50%; background: rgba(240,91,62,.08); filter: blur(110px); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0px, 2vw, 32px); }
.availability { width: fit-content; margin-bottom: 27px; display: flex; align-items: center; gap: 9px; color: #a9a9af; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; }
.availability span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.hero h1 { max-width: 720px; margin: 0; font: 710 clamp(58px, 6.4vw, 101px)/.92 var(--font-display); letter-spacing: -.075em; color: #f2f2f3; }
.hero h1 em { font-style: normal; color: #67676e; }
.hero-copy > p { max-width: 570px; margin: 30px 0 0; color: #9999a0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; letter-spacing: -.01em; }
.hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 35px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 27px; color: #707078; font-size: 11px; }
.hero-proof span { display: flex; align-items: center; gap: 6px; }
.hero-proof svg { color: var(--success); font-size: 13px; stroke-width: 2.4; }

.product-stage { position: relative; z-index: 2; min-width: 0; perspective: 1800px; }
.stage-shadow { position: absolute; inset: 14% 2% -6% 10%; border-radius: 30px; background: rgba(0,0,0,.8); filter: blur(45px); }
.product-window { position: relative; height: 550px; display: grid; grid-template-columns: 168px 1fr; overflow: hidden; border: 1px solid var(--oc-line-strong); border-radius: 13px; background: #0e0e10; box-shadow: inset 0 1px rgba(255,255,255,.035), 0 35px 90px rgba(0,0,0,.42); transform: rotateY(-4deg) rotateX(1deg); transform-origin: center left; }
.preview-sidebar { padding: 18px 10px 12px; display: flex; flex-direction: column; border-right: 1px solid var(--line-soft); background: #0e0e10; }
.preview-brand { height: 24px; display: flex; align-items: center; gap: 8px; padding: 0 7px; font: 700 11px var(--font-display); }
.preview-search { height: 29px; margin: 16px 1px 12px; padding: 0 7px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--oc-line); border-radius: 6px; color: #6f6f76; background: #141416; font-size: 9px; }
.preview-search svg { font-size: 11px; }.preview-search span { flex: 1; }.preview-search kbd { font: 7px var(--font-sans); border: 1px solid #2e2e33; padding: 1px 3px; border-radius: 3px; }
.preview-nav { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.preview-nav div { height: 28px; padding: 0 7px; display: flex; align-items: center; gap: 8px; border-radius: 5px; color: #74747a; font-size: 9px; }
.preview-nav div.active { color: #ececef; background: #1a1a1d; }.preview-nav svg { font-size: 12px; }
.preview-sidebar > p { margin: 17px 7px 8px; color: #56565c; text-transform: uppercase; letter-spacing: .1em; font-size: 7px; font-weight: 700; }
.preview-workspace, .preview-account { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 6px; }
.preview-workspace { background: #161618; }.preview-workspace > span, .preview-account > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: #29292d; color: #c9c9cd; font-size: 7px; font-weight: 700; }
.preview-workspace div, .preview-account div { min-width: 0; display: grid; gap: 2px; }.preview-workspace strong, .preview-account strong { font-size: 8px; font-weight: 650; }.preview-workspace small, .preview-account small { color: #64646a; font-size: 7px; }
.preview-account { margin-top: auto; border-top: 1px solid var(--line-soft); border-radius: 0; padding-top: 12px; }.preview-account > span { border-radius: 50%; background: #513b83; }.preview-account b { margin-left: auto; color: #55555b; font-size: 7px; letter-spacing: 1px; }
.preview-main { min-width: 0; background: var(--oc-bg); }
.preview-topbar { height: 60px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); background: rgba(14,14,16,.9); }
.preview-topbar div { display: grid; gap: 3px; }.preview-topbar small { color: #5e5e64; font-size: 7px; letter-spacing: .1em; }.preview-topbar strong { font: 650 12px var(--font-display); }.preview-topbar button { height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--accent); color: white; font-size: 8px; font-weight: 650; }
.preview-content { padding: 29px 27px; }
.preview-intro { display: flex; align-items: end; justify-content: space-between; }.preview-intro h2 { margin: 0 0 5px; font: 670 21px var(--font-display); letter-spacing: -.04em; }.preview-intro p { margin: 0; color: #77777e; font-size: 8px; }.preview-intro > span { display: flex; align-items: center; gap: 6px; color: #77777e; font-size: 7px; }.preview-intro > span i, .status-ready i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.preview-stats { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 8px; background: var(--oc-panel); }
.preview-stats > div { min-width: 0; height: 94px; padding: 14px 15px; display: grid; align-content: space-between; border-right: 1px solid var(--line); }.preview-stats > div:last-child { border: 0; }.preview-stats small { color: #717177; text-transform: uppercase; letter-spacing: .09em; font-size: 6px; }.preview-stats strong { font: 650 23px var(--font-display); letter-spacing: -.04em; }.preview-stats strong em { font-style: normal; color: #727278; font-size: 11px; }.preview-stats span { color: #5f5f65; font-size: 7px; }
.preview-server { height: 68px; margin-top: 12px; padding: 0 14px; display: grid; grid-template-columns: 32px minmax(100px, 1fr) 86px auto 15px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: #121214; }
.server-icon { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #35353a; border-radius: 8px; background: #1b1b1e; position: relative; }
.server-icon::before, .server-icon::after, .server-icon i, .server-icon span { content: ""; width: 16px; height: 4px; position: absolute; border: 1px solid #73737a; border-radius: 2px; }.server-icon::before { transform: translateY(-5px); }.server-icon::after { transform: translateY(5px); }.server-icon i, .server-icon span { width: 2px; height: 2px; border: 0; border-radius: 50%; background: var(--accent); transform: translate(-5px,-5px); }
.preview-server > div:nth-child(2) { display: grid; gap: 4px; }.preview-server strong { font-size: 9px; }.preview-server small { color: #606067; font-size: 7px; }.preview-region { display: grid; gap: 4px; }.preview-region span { color: #aaaab0; font-size: 8px; }.status-ready { display: flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 12px; color: #72ce9f; background: var(--success-soft); font-size: 7px; }.preview-server > b { color: #55555c; font-size: 7px; letter-spacing: 1px; }
.preview-event { margin-top: 12px; padding: 13px 14px; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid var(--line-soft); }.preview-event > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--success-soft); color: var(--success); }.preview-event svg { font-size: 11px; stroke-width: 2.5; }.preview-event div { display: grid; gap: 3px; }.preview-event strong { font-size: 8px; }.preview-event small, .preview-event time { color: #5f5f66; font-size: 7px; }
.floating-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #303035; border-radius: 9px; background: rgba(20,20,22,.94); box-shadow: 0 18px 45px rgba(0,0,0,.38); backdrop-filter: blur(12px); animation: float 5s ease-in-out infinite; }.floating-card div { display: grid; gap: 3px; }.floating-card small { color: #63636a; font-size: 6px; letter-spacing: .1em; }.floating-card strong { font-size: 9px; }
.floating-card-status { left: -28px; bottom: 55px; }.floating-card-status > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--success-soft); }.floating-card-status > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(56,189,124,.09); }
.floating-card-region { right: -17px; top: 78px; animation-delay: -2s; }.floating-card-region > svg { width: 25px; height: 25px; padding: 6px; border-radius: 7px; background: #272329; color: var(--accent); }
@keyframes float { 50% { transform: translateY(-7px); } }

.trust-strip { min-height: 106px; padding: 25px max(32px, calc((100vw - 1400px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #0e0e10; }.trust-strip p { margin: 0; color: #bebec2; font: 630 13px var(--font-display); }.trust-strip div { display: flex; align-items: center; gap: 22px; color: #65656c; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; font-weight: 700; }.trust-strip i { width: 3px; height: 3px; border-radius: 50%; background: #39393e; }
.section { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 135px 0; }
.section-heading { max-width: 760px; }.section-heading h2, .workflow-heading h2, .pricing-copy h2, .final-cta h2 { margin: 15px 0 0; font: 680 clamp(42px, 5vw, 68px)/1.02 var(--font-display); letter-spacing: -.06em; }.section-heading > p:last-child { max-width: 610px; margin: 25px 0 0; color: #88888f; font-size: 16px; line-height: 1.65; }
.feature-grid { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.feature-card { min-height: 410px; padding: 39px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--oc-panel); }.feature-card.feature-primary { grid-column: 1 / -1; min-height: 440px; display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); align-items: center; gap: 60px; }.feature-icon { width: 40px; height: 40px; margin-bottom: auto; display: grid; place-items: center; border: 1px solid #303035; border-radius: 9px; background: var(--oc-panel-3); color: #babac0; }.feature-icon svg { font-size: 18px; }.feature-card h3 { max-width: 520px; margin: 13px 0; font: 650 clamp(25px, 2.4vw, 36px)/1.12 var(--font-display); letter-spacing: -.045em; }.feature-card > p:not(.eyebrow), .feature-card > div > p:not(.eyebrow) { max-width: 540px; margin: 0; color: #85858c; font-size: 14px; line-height: 1.65; }.feature-card > a { margin-top: auto; color: #d7d7da; font-size: 13px; font-weight: 650; text-decoration: none; }.feature-card > a span { margin-left: 5px; color: var(--accent); }.mini-server-stack { position: relative; min-height: 250px; display: grid; place-content: center; gap: 10px; }.mini-server-stack::before { content: ""; position: absolute; inset: -50px -90px; background-image: linear-gradient(#1e1e22 1px, transparent 1px), linear-gradient(90deg,#1e1e22 1px,transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(circle, #000, transparent 68%); opacity: .6; }.mini-server-stack > div { position: relative; z-index: 1; width: min(430px, 35vw); height: 83px; padding: 0 17px; display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: 13px; border: 1px solid #303035; border-radius: 10px; background: var(--oc-panel-2); box-shadow: 0 15px 30px rgba(0,0,0,.2); }.mini-server-stack > div:nth-child(2) { margin-left: 45px; opacity: .72; }.mini-server-stack p { display: grid; gap: 5px; margin: 0; }.mini-server-stack b { font-size: 12px; }.mini-server-stack small { color: #6c6c73; font-size: 10px; }.mini-server-stack em { color: #73737a; font-size: 10px; font-style: normal; }.server-icon.violet i { background: #8b7cf6; }
.provider-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }.provider-row span { padding: 8px 10px; border: 1px solid #2b2b2f; border-radius: 6px; color: #87878d; background: #151517; font-size: 10px; }

.workflow-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; border-top: 1px solid var(--line-soft); }.workflow-heading h2 { max-width: 520px; font-size: clamp(38px,4.4vw,60px); }.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }.workflow-list li { min-height: 150px; display: grid; grid-template-columns: 72px 1fr; align-items: center; border-bottom: 1px solid var(--line); }.workflow-list > li > span { align-self: start; padding-top: 37px; color: var(--accent); font: 650 11px var(--font-display); }.workflow-list h3 { margin: 0 0 9px; font: 640 21px var(--font-display); letter-spacing: -.03em; }.workflow-list p { max-width: 500px; margin: 0; color: #7f7f86; font-size: 13px; line-height: 1.6; }
.pricing-section { width: min(1400px, calc(100% - 64px)); padding-top: 20px; }.pricing-card { min-height: 560px; padding: clamp(50px, 7vw, 95px); display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: 100px; border: 1px solid #302824; border-radius: 15px; background: #12100f; position: relative; overflow: hidden; }.pricing-card::before { content: ""; position: absolute; width: 500px; height: 500px; left: -280px; bottom: -330px; border-radius: 50%; background: rgba(240,91,62,.15); filter: blur(90px); }.pricing-copy { position: relative; }.pricing-copy h2 { font-size: clamp(42px,4.4vw,65px); }.pricing-copy > p:not(.eyebrow) { max-width: 620px; margin: 24px 0 30px; color: #8f8986; font-size: 15px; line-height: 1.65; }.pricing-list { position: relative; display: grid; }.pricing-list > div { display: grid; grid-template-columns: 29px 1fr; gap: 14px; padding: 19px 0; border-bottom: 1px solid #2a2523; }.pricing-list > div:last-child { border: 0; }.pricing-list svg { width: 25px; height: 25px; padding: 6px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-light); stroke-width: 2.5; }.pricing-list span { display: grid; gap: 5px; }.pricing-list strong { font-size: 13px; }.pricing-list small { color: #726d6a; font-size: 11px; }
.final-cta { width: min(900px, calc(100% - 64px)); margin: 0 auto; padding: 160px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }.final-cta .brand-mark { margin-bottom: 32px; }.final-cta h2 { font-size: clamp(48px,6vw,79px); }.final-cta > p:not(.eyebrow) { max-width: 560px; margin: 25px 0 31px; color: #828289; font-size: 16px; line-height: 1.6; }
.site-footer { width: min(1400px, calc(100% - 64px)); min-height: 130px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 35px; border-top: 1px solid var(--line-soft); color: #68686f; font-size: 11px; }.site-footer p { margin: 0; }.site-footer nav { display: flex; gap: 24px; }.site-footer nav a { text-decoration: none; }.site-footer nav a:hover { color: var(--oc-text-strong); }.site-footer > small { color: #505057; }

/* App-style console */
.console { height: 100vh; height: 100dvh; min-height: 0; display: grid; grid-template-columns: 246px minmax(0,1fr); overflow: hidden; background: var(--bg); }
.console-sidebar { min-height: 0; padding: 18px 12px 12px; display: flex; flex-direction: column; border-right: 1px solid var(--line-soft); background: #0e0e10; }.console-brand { height: 32px; padding: 0 8px; }
.console-search { height: 34px; margin: 17px 2px 13px; padding: 0 9px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: #141416; color: var(--muted); font-size: 13px; cursor: default; opacity: 1; }.console-search span { flex: 1; text-align: left; }.console-search kbd { padding: 1px 5px; border: 1px solid var(--oc-line-strong); border-radius: 4px; color: #68686f; font: 10px var(--font-sans); }
.console-nav { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }.console-nav button, .console-nav a, .sidebar-bottom > button { height: 35px; padding: 0 9px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 7px; background: transparent; color: #a4a4aa; text-decoration: none; font-size: 13px; }.console-nav button:hover, .console-nav button.active, .console-nav a:hover, .sidebar-bottom > button:hover { background: #18181b; color: #f0f0f1; }.console-nav svg, .sidebar-bottom svg { font-size: 16px; }.console-nav b { margin-left: auto; color: var(--oc-muted-2); font-size: 11px; }
.sidebar-section { margin-top: 17px; }.sidebar-section > p { height: 25px; margin: 0; padding: 0 8px; display: flex; align-items: center; color: var(--oc-muted-2); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 700; }.organization-list { display: grid; gap: 2px; }.organization-row { width: 100%; min-height: 46px; padding: 5px 7px; display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: 9px; border: 0; border-radius: 7px; background: transparent; color: #99999f; text-align: left; }.organization-row:hover, .organization-row.active { background: #18181b; color: #f2f2f3; }.organization-row > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 7px; background: #2b2530; color: #d4a79e; font-size: 9px; font-weight: 700; }.organization-row div { min-width: 0; display: grid; gap: 3px; }.organization-row strong, .organization-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.organization-row strong { font-size: 12px; }.organization-row small { color: var(--oc-muted-2); font-size: 9px; }
.sidebar-bottom { margin-top: auto; padding-top: 10px; display: grid; gap: 6px; border-top: 1px solid var(--line-soft); }.account-card { min-width: 0; padding: 5px 7px; display: grid; grid-template-columns: 31px 1fr; align-items: center; gap: 9px; }.account-card > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #503b7c; color: #eee9fa; font-size: 11px; font-weight: 700; }.account-card div { min-width: 0; display: grid; gap: 3px; }.account-card strong, .account-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.account-card strong { font-size: 12px; }.account-card small { color: #68686f; font-size: 9px; }.sidebar-bottom > button { width: 100%; cursor: pointer; }
.console-main { min-width: 0; min-height: 0; overflow: auto; background: var(--bg); }.console-topbar { position: sticky; z-index: 10; top: 0; height: 65px; padding: 0 clamp(22px,4vw,54px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); background: rgba(11,11,12,.86); backdrop-filter: blur(16px); }.console-topbar > div { display: flex; align-items: center; gap: 10px; color: #68686f; font-size: 11px; }.console-topbar > div i { width: 3px; height: 3px; border-radius: 50%; background: #46464b; }.console-topbar > div strong { color: #b9b9be; font-weight: 600; }.console-topbar > a { color: #77777e; font-size: 11px; text-decoration: none; }.console-topbar > a:hover { color: var(--oc-text-strong); }.mobile-menu { display: none; }
.console-content { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: clamp(55px,7vw,88px) 0 80px; }.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }.dashboard-heading h1 { margin: 9px 0 0; font: 680 clamp(40px,5vw,59px)/1 var(--font-display); letter-spacing: -.06em; }.dashboard-heading > div > p:last-child { max-width: 590px; margin: 14px 0 0; color: #7d7d84; font-size: 13px; line-height: 1.55; }
.notice { min-height: 52px; margin-top: 24px; padding: 0 14px; display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 12px; border: 1px solid #353037; border-radius: 8px; background: #171419; color: #bcb7c0; font-size: 12px; }.notice > span { width: 7px; height: 7px; border-radius: 50%; background: #8b7cf6; }.notice.success > span { background: var(--success); }.notice.warning > span { background: #e5aa49; }.notice p { margin: 0; }.notice button { width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: #707077; font-size: 18px; }.notice button:hover { background: #222126; color: var(--oc-text-strong); }
.summary-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 10px; background: var(--oc-panel); }.summary-grid article { min-height: 116px; padding: 24px; display: flex; align-items: center; gap: 16px; border-right: 1px solid var(--line); }.summary-grid article:last-child { border: 0; }.summary-grid article > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #303035; border-radius: 9px; background: var(--oc-panel-3); color: #aaaab0; }.summary-grid article > span.success { color: var(--success); background: var(--success-soft); border-color: rgba(56,189,124,.15); }.summary-grid article > span.muted { color: #77777e; }.summary-grid article svg { font-size: 17px; }.summary-grid article div { display: grid; gap: 4px; }.summary-grid small { color: #77777e; font-size: 10px; }.summary-grid strong { font: 650 25px var(--font-display); letter-spacing: -.04em; }
.server-section { margin-top: 48px; }.server-section-heading { min-height: 42px; display: flex; align-items: start; justify-content: space-between; }.server-section-heading > div { display: flex; align-items: baseline; gap: 10px; }.server-section-heading h2 { margin: 0; font: 640 17px var(--font-display); letter-spacing: -.025em; }.server-section-heading span { color: #64646b; font-size: 10px; }.server-section-heading .icon-button { width: 34px; height: 34px; }.spinning svg { animation: spin .7s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.server-list { display: grid; gap: 7px; margin-top: 12px; }.server-row { position: relative; min-height: 78px; padding: 0 14px; display: grid; grid-template-columns: minmax(230px,1.35fr) minmax(115px,.6fr) minmax(115px,.55fr) auto auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--oc-panel); transition: border-color .15s ease, background .15s ease; }.server-row:hover { border-color: #343439; background: #131315; }.server-identity { min-width: 0; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; }.server-identity .server-icon { width: 38px; height: 38px; }.server-identity > div { min-width: 0; display: grid; gap: 5px; }.server-identity strong, .server-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.server-identity strong { font-size: 13px; }.server-identity small { color: #65656c; font-size: 10px; }.server-meta { min-width: 0; display: grid; gap: 5px; }.server-meta small { color: #5f5f66; text-transform: uppercase; letter-spacing: .08em; font-size: 7px; font-weight: 700; }.server-meta span { overflow: hidden; color: #a6a6ac; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.server-id { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.status-pill { padding: 6px 9px; display: flex; align-items: center; gap: 7px; border-radius: 20px; background: #202024; color: #9b9ba2; white-space: nowrap; font-size: 9px; }.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: #7b7b82; }.status-pill.ready { background: var(--success-soft); color: #72ce9f; }.status-pill.ready i { background: var(--success); }.status-pill.failed { background: rgba(240,91,62,.11); color: #f18a75; }.status-pill.failed i { background: var(--accent); }.status-pill.pending { background: rgba(139,124,246,.11); color: #aaa0ec; }.status-pill.pending i { background: #8b7cf6; animation: status-pulse 1.2s ease-in-out infinite; }@keyframes status-pulse { 50% { opacity: .3; } }
.row-actions { position: relative; display: flex; align-items: center; gap: 7px; }.open-server { height: 30px; padding: 0 9px; display: flex; align-items: center; gap: 5px; border: 1px solid #2c2c31; border-radius: 6px; color: #b7b7bc; text-decoration: none; font-size: 9px; }.open-server:hover { border-color: #45454b; color: var(--oc-text-strong); }.more-button { width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--oc-muted-2); letter-spacing: 1px; }.more-button:hover, .more-button[aria-expanded="true"] { background: #202024; color: var(--oc-text-strong); }.action-menu { position: absolute; z-index: 20; right: 0; top: 36px; width: 155px; padding: 5px; display: grid; border: 1px solid #303035; border-radius: 8px; background: var(--oc-panel-3); box-shadow: 0 14px 35px rgba(0,0,0,.38); }.action-menu button { height: 33px; padding: 0 9px; border: 0; border-radius: 5px; background: transparent; color: #b9b9be; text-align: left; font-size: 10px; }.action-menu button:hover { background: #222226; color: var(--oc-text-strong); }.action-menu button.danger { color: #e88470; }
.empty-state { min-height: 380px; margin-top: 12px; padding: 50px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px dashed #2d2d32; border-radius: 10px; background: #0e0e10; }.empty-visual { width: 120px; height: 100px; margin-bottom: 24px; position: relative; display: grid; place-items: center; }.empty-visual::before { content: ""; position: absolute; width: 100px; height: 60px; border: 1px solid #29292e; border-radius: 50%; transform: rotate(-15deg); }.empty-visual > b, .empty-visual > i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); left: 11px; top: 31px; }.empty-visual > i { width: 5px; height: 5px; left: auto; top: auto; right: 9px; bottom: 23px; background: #8b7cf6; }.server-icon.large { width: 52px; height: 52px; border-radius: 13px; background: var(--oc-panel-3); box-shadow: 0 12px 30px rgba(0,0,0,.3); }.empty-state h2 { margin: 9px 0 8px; font: 650 24px var(--font-display); letter-spacing: -.04em; }.empty-state > p:not(.eyebrow) { max-width: 430px; margin: 0 0 22px; color: #77777e; font-size: 12px; line-height: 1.6; }

/* Dialogs and forms */
dialog { color: var(--text); }.auth-dialog, .server-dialog { padding: 0; border: 1px solid #333338; border-radius: 13px; background: #121214; box-shadow: 0 35px 100px rgba(0,0,0,.7); }.auth-dialog::backdrop, .server-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }.auth-dialog { width: min(900px, calc(100% - 32px)); max-height: min(780px, calc(100vh - 32px)); grid-template-columns: .85fr 1.15fr; overflow: auto; }.auth-dialog[open] { display: grid; animation: dialog-in .18s ease-out; }.dialog-close { position: absolute; z-index: 5; top: 13px; right: 13px; width: 32px; height: 32px; border: 0; border-radius: 7px; background: transparent; color: #77777e; font-size: 21px; }.dialog-close:hover { background: #202024; color: var(--oc-text-strong); }.auth-aside { min-height: 620px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #2a2523; background: #12100f; position: relative; overflow: hidden; }.auth-aside::after { content: ""; position: absolute; width: 300px; height: 300px; left: -190px; bottom: -170px; border-radius: 50%; background: rgba(240,91,62,.18); filter: blur(65px); }.auth-aside > div { position: relative; z-index: 1; }.auth-aside h2 { margin: 12px 0 16px; font: 660 35px/1.05 var(--font-display); letter-spacing: -.055em; }.auth-aside > div > p:last-child { margin: 0; color: #857d79; font-size: 13px; line-height: 1.65; }.auth-aside ul { position: relative; z-index: 1; margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; color: #aaa4a0; font-size: 11px; }.auth-aside li { display: flex; align-items: center; gap: 9px; }.auth-aside li svg { color: var(--accent); font-size: 13px; stroke-width: 2.5; }
.auth-panel { padding: 56px clamp(35px,5vw,65px) 45px; display: flex; flex-direction: column; justify-content: center; }.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 34px; border: 1px solid #29292e; border-radius: 8px; background: #0d0d0f; }.auth-tabs button { height: 36px; border: 0; border-radius: 6px; background: transparent; color: #74747b; font-size: 11px; }.auth-tabs button[aria-selected="true"] { background: #202024; color: #efeff0; box-shadow: inset 0 1px rgba(255,255,255,.025); }
.form-stack { display: grid; gap: 16px; }.form-heading { margin-bottom: 7px; }.form-heading h2, .dialog-heading h2 { margin: 8px 0 0; font: 660 28px var(--font-display); letter-spacing: -.045em; }.form-heading > p:last-child, .dialog-heading > div > p:last-child { margin: 8px 0 0; color: #77777e; font-size: 11px; line-height: 1.5; }.form-stack label { display: grid; gap: 7px; color: #b9b9be; font-size: 11px; font-weight: 600; }.form-stack label > span { display: flex; justify-content: space-between; }.form-stack label > span small { color: #65656b; font-weight: 450; }.form-stack input, .form-stack select { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid #303035; border-radius: 7px; background: #0e0e10; color: #e9e9eb; outline: none; font-size: 12px; }.form-stack input::placeholder { color: #505056; }.form-stack input:hover, .form-stack select:hover { border-color: #3d3d43; }.form-stack input:focus, .form-stack select:focus { border-color: rgba(240,91,62,.65); box-shadow: 0 0 0 3px rgba(240,91,62,.08); }.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.slug-field { min-height: 43px; display: flex; align-items: center; overflow: hidden; border: 1px solid #303035; border-radius: 7px; background: #0e0e10; }.slug-field:focus-within { border-color: rgba(240,91,62,.65); box-shadow: 0 0 0 3px rgba(240,91,62,.08); }.slug-field > span { padding-left: 12px; color: #5f5f66; white-space: nowrap; font-size: 11px; font-weight: 450; }.slug-field input { min-width: 90px; padding-left: 2px; border: 0; box-shadow: none !important; }.form-error { min-height: 15px; margin: -4px 0; color: #f18a75; font-size: 10px; }.terms { color: #56565d; text-align: center; font-size: 8px; line-height: 1.5; }
.server-dialog { width: min(535px, calc(100% - 32px)); }.server-dialog form { padding: 29px; }.dialog-heading { margin-bottom: 9px; display: flex; align-items: start; justify-content: space-between; gap: 18px; }.dialog-heading .icon-button { margin-top: -5px; border: 0; background: transparent; font-size: 21px; }.region-note { padding: 12px; display: grid; grid-template-columns: 18px 1fr; gap: 9px; border: 1px solid #28282d; border-radius: 7px; background: #101012; color: #6f6f76; }.region-note svg { margin-top: 1px; color: #8b7cf6; }.region-note p { margin: 0; font-size: 10px; line-height: 1.55; }.dialog-actions { margin-top: 5px; padding-top: 18px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line-soft); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }

@media (max-width: 1180px) {
  .site-nav { display: none; }.site-header { grid-template-columns: 1fr auto; }.hero { grid-template-columns: 1fr; padding-top: 80px; }.hero-copy { max-width: 800px; text-align: center; justify-self: center; }.availability, .hero-actions { margin-left: auto; margin-right: auto; }.hero-copy > p { margin-left: auto; margin-right: auto; }.hero-proof { justify-content: center; }.product-stage { width: min(850px, 100%); justify-self: center; }.product-window { transform: none; }.feature-card.feature-primary { grid-template-columns: 1fr 1fr; }.workflow-section { gap: 60px; }.pricing-card { gap: 55px; }.server-row { grid-template-columns: minmax(210px,1fr) minmax(100px,.55fr) auto auto; }.server-row .server-meta:nth-of-type(2) { display: none; }
}

@media (max-width: 820px) {
  .site-header, .hero, .section, .pricing-section, .site-footer { width: min(100% - 32px, 680px); }.site-header { height: 68px; }.header-actions .text-button { display: none; }.hero { min-height: 0; padding: 68px 0 85px; }.hero h1 { font-size: clamp(51px,14vw,74px); }.hero-copy > p { font-size: 15px; }.product-stage { margin-top: 25px; }.product-window { height: 420px; grid-template-columns: 1fr; }.preview-sidebar { display: none; }.preview-content { padding: 22px 18px; }.floating-card-region { right: -8px; }.floating-card-status { left: -8px; bottom: 30px; }.trust-strip { padding: 27px 16px; justify-content: center; text-align: center; }.trust-strip > p { display: none; }.trust-strip div { flex-wrap: wrap; justify-content: center; gap: 12px; }.section { padding: 95px 0; }.section-heading h2 { font-size: 43px; }.feature-grid { grid-template-columns: 1fr; margin-top: 45px; }.feature-card, .feature-card.feature-primary { grid-column: auto; min-height: 380px; padding: 28px; display: flex; }.mini-server-stack { width: 100%; margin-top: 35px; }.mini-server-stack > div { width: calc(100% - 25px); }.feature-card > .feature-icon { margin-bottom: 70px; }.workflow-section { display: block; }.workflow-heading { margin-bottom: 45px; }.pricing-card { padding: 45px 28px; grid-template-columns: 1fr; gap: 40px; }.site-footer { padding: 38px 0; grid-template-columns: 1fr auto; gap: 18px; }.site-footer > p { display: none; }.site-footer nav { grid-column: 1 / -1; grid-row: 2; }.site-footer > small { grid-column: 2; grid-row: 1; }
  .console { grid-template-columns: 1fr; }.console-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 246px; transform: translateX(-101%); transition: transform .2s ease; box-shadow: 20px 0 50px rgba(0,0,0,.4); }.console.nav-open .console-sidebar { transform: translateX(0); }.sidebar-scrim { position: fixed; z-index: 35; inset: 0; border: 0; background: rgba(0,0,0,.55); }.mobile-menu { display: inline-flex; margin-right: 10px; }.console-topbar { justify-content: flex-start; padding: 0 18px; }.console-topbar > a { margin-left: auto; }.console-content { width: calc(100% - 36px); padding-top: 45px; }.summary-grid { grid-template-columns: 1fr; }.summary-grid article { min-height: 85px; border-right: 0; border-bottom: 1px solid var(--line); }.server-row { padding: 15px; grid-template-columns: 1fr auto; gap: 13px; }.server-row .server-meta { display: none; }.status-pill { grid-column: 1; width: fit-content; margin-left: 50px; }.row-actions { grid-column: 2; grid-row: 1 / 3; }.auth-dialog[open] { grid-template-columns: 1fr; }.auth-aside { display: none; }.auth-panel { padding: 55px 28px 35px; }
}

@media (max-width: 520px) {
  .brand small { display: none; }.header-actions .primary-button { padding: 0 11px; }.hero h1 { font-size: 49px; }.hero-copy > p { margin-top: 23px; }.hero-actions { align-items: stretch; flex-direction: column; }.hero-proof { display: grid; justify-content: center; text-align: left; }.product-window { height: 370px; }.preview-topbar { padding: 0 15px; }.preview-content { padding: 20px 13px; }.preview-stats > div { padding: 12px 9px; }.preview-server { grid-template-columns: 29px 1fr auto; }.preview-region, .preview-server > b { display: none; }.floating-card { display: none; }.section-heading h2, .workflow-heading h2, .pricing-copy h2 { font-size: 37px; }.feature-card { min-height: 390px; }.mini-server-stack > div { grid-template-columns: 39px 1fr auto; }.workflow-list li { grid-template-columns: 48px 1fr; }.pricing-card { border-radius: 11px; }.final-cta { width: calc(100% - 32px); padding: 110px 0; }.final-cta h2 { font-size: 45px; }.site-footer nav { gap: 15px; flex-wrap: wrap; }.dashboard-heading { align-items: stretch; flex-direction: column; }.dashboard-heading .primary-button { align-self: flex-start; }.console-topbar > div span, .console-topbar > div i { display: none; }.console-topbar > a { font-size: 10px; }.server-row { grid-template-columns: 1fr auto; }.server-identity { grid-template-columns: 36px minmax(0,1fr); }.open-server { display: none; }.field-pair { grid-template-columns: 1fr; }.auth-panel { padding-left: 19px; padding-right: 19px; }.slug-field > span { display: none; }.slug-field input { padding-left: 12px; }.server-dialog form { padding: 23px 18px; }.dialog-actions { align-items: stretch; flex-direction: column-reverse; }.dialog-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Provider sign-in, shown above the email form when the server offers it. */
.oauth-providers { display: grid; gap: 14px; margin-bottom: 4px; }
.oauth-buttons { display: grid; gap: 8px; }
.oauth-buttons .secondary-button { width: 100%; }
.oauth-buttons svg { font-size: 16px; }
.oauth-divider { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--oc-muted-2); font-size: var(--oc-text-xs); text-transform: uppercase; letter-spacing: .1em; }
.oauth-divider::before, .oauth-divider::after { content: ""; flex: 1; height: 1px; background: var(--oc-line); }

/* Keep the entire account flow readable at laptop sizes and browser zoom. */
.auth-dialog { width: min(920px, calc(100% - 32px)); max-height: calc(100dvh - 32px); grid-template-columns: .78fr 1.22fr; overflow: auto; }
.auth-dialog[open] { align-items: stretch; }
.auth-aside { min-height: 0; padding: var(--oc-space-6); }
.auth-panel { min-width: 0; padding: var(--oc-space-6) clamp(28px, 4vw, 48px); justify-content: flex-start; }
.auth-tabs { margin-bottom: var(--oc-space-6); }
.auth-tabs button { min-height: var(--oc-control-height); font-size: var(--oc-text-base); }
.auth-heading { margin-bottom: var(--oc-space-5); }
.auth-heading h2 { font-size: clamp(var(--oc-text-2xl), 3vw, var(--oc-text-3xl)); line-height: 1.14; }
.auth-heading > p:last-child { font-size: var(--oc-text-base); color: var(--oc-muted); }
.auth-panel .form-stack { gap: var(--oc-space-3); }
.auth-panel .form-stack label { font-size: var(--oc-text-sm); }
.auth-panel .form-stack input { min-height: var(--oc-control-height); font-size: var(--oc-text-base); }
.auth-panel .form-stack input::placeholder { color: var(--oc-muted-2); }
.auth-panel .form-error:empty { display: none; }
.auth-panel .form-error:not(:empty) { margin: 0; font-size: var(--oc-text-sm); }
.auth-panel .terms { font-size: var(--oc-text-xs); color: var(--oc-muted); }
.auth-panel .primary-button.full { min-height: var(--oc-control-height-lg); margin-top: var(--oc-space-2); font-size: var(--oc-text-base); }
.oauth-providers[hidden], .auth-panel .form-stack[hidden] { display: none; }
.oauth-providers { gap: var(--oc-space-3); margin: 0 0 var(--oc-space-5); }
.oauth-buttons { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--oc-space-2); }
.oauth-buttons .secondary-button { min-height: var(--oc-control-height-lg); font-size: var(--oc-text-base); }
.oauth-divider { font-size: var(--oc-text-xs); }

@media (max-width: 980px) {
  .auth-dialog[open] { width: min(560px, calc(100% - 24px)); grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-panel { padding: var(--oc-space-6) var(--oc-space-5); }
}

@media (max-width: 520px) {
  .auth-dialog[open] { max-height: calc(100dvh - 16px); }
  .auth-panel { padding: var(--oc-space-6) var(--oc-space-4) var(--oc-space-5); }
  .auth-tabs { margin-bottom: var(--oc-space-5); }
  .auth-panel .field-pair { grid-template-columns: 1fr; }
}

/*
 * Account dialog composition.
 *
 * The aside ran three children -- brand, pitch, value props -- under
 * justify-content: space-between, so the free space landed as two gaps in the
 * middle of the panel: the pitch floated, and the checklist sat marooned at the
 * bottom edge. Group the pitch and the list into one block and push that block
 * down together, so there is a single deliberate gap under the wordmark instead
 * of two accidental ones.
 *
 * The dialog also stood 754px tall, which overflows a 13" laptop viewport and
 * pushed "Create workspace" -- the one thing the screen exists for -- below the
 * fold behind a scroll. The sizing below is tuned so the taller of the two
 * forms (signup, with both identity providers showing) fits without scrolling
 * at 700px of viewport height.
 */
.auth-aside { justify-content: flex-start; gap: var(--oc-space-5); }
.auth-aside > div { margin-top: auto; }
.auth-aside ul { margin-bottom: auto; }
.auth-aside h2 { margin: 0 0 var(--oc-space-3); font-size: clamp(26px, 2.2vw, 31px); }
.auth-aside ul { gap: var(--oc-space-3); font-size: var(--oc-text-sm); }

.auth-panel { padding-block: var(--oc-space-5); }
.auth-tabs { margin-bottom: var(--oc-space-5); }
.auth-heading { margin-bottom: var(--oc-space-4); }
.auth-heading h2 { font-size: clamp(var(--oc-text-xl), 2.2vw, var(--oc-text-2xl)); }
.auth-heading > p:last-child { margin-top: var(--oc-space-2); font-size: var(--oc-text-sm); }

.oauth-providers { gap: var(--oc-space-3); margin: 0 0 var(--oc-space-4); }
.oauth-buttons .secondary-button { min-height: var(--oc-control-height); font-size: var(--oc-text-sm); }
.auth-panel .form-stack label { gap: 6px; }
.auth-panel .primary-button.full { margin-top: var(--oc-space-1); }

/*
 * Below this the dialog cannot fit, so let the form pane scroll on its own
 * rather than the whole dialog: the wordmark, the tabs and the pitch stay put
 * while the fields move, which reads as a panel rather than a runaway page.
 */
@media (min-width: 981px) and (max-height: 700px) {
  .auth-dialog { max-height: calc(100dvh - 24px); overflow: hidden; }
  .auth-panel { overflow-y: auto; }
  .auth-aside { overflow: hidden; }
}

/*
 * Signed-out state on app.crewly.space.
 *
 * There is no marketing page behind the sign-in panel here -- the pitch lives
 * on crewly.space -- so the dialog is the whole screen rather than a layer over
 * something. The backdrop therefore has to be the page ground, not a scrim: a
 * translucent black over an empty shell reads as a modal whose page failed to
 * load. The close control goes too, because signed out there is nowhere to
 * close back to.
 */
body.auth-only { min-height: 100dvh; background: var(--oc-bg); }
.auth-only .auth-dialog::backdrop { background: var(--oc-bg); backdrop-filter: none; }
.auth-only .dialog-close { display: none; }
