/* Shawforge - corporate site. Shawforge Light theme: the same tokens, type and components as BMS AR and Studio. */
@font-face { font-family: "Inter"; src: url(fonts/Inter-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-SemiBold.ttf); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-Bold.ttf); font-weight: 700; font-display: swap; }
:root {
  --blue: #0B1D9C; --blue-dark: #081571; --mint: #A9C1FF; --on-primary: #FFFFFF; --link: #0B1D9C;
  --bg: #F7F8FB; --surface: #FFFFFF; --surface-alt: #F4F7FC; --grey-band: #EEF0F5; --line: #E1E5EC;
  --ink: #10141C; --muted: #5E6878; --pale: color-mix(in srgb, var(--blue) 10%, #fff);
  --ok: #00B050; --warn: #ED7D31; --alarm: #E03A3A;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Calibri, Arial, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; color: var(--blue); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; }

/* ---- buttons (outline by default, filled for the main action - as in the apps) */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--font); padding: 11px 22px; border-radius: 6px;
  border: 1px solid var(--blue); background: var(--surface); color: var(--link); cursor: pointer; }
.btn:hover { background: var(--pale); text-decoration: none; }
.btn.primary { background: var(--blue); color: var(--on-primary); }
.btn.primary:hover { background: var(--blue-dark); }
.btn.light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn.light:hover { background: rgba(255,255,255,.1); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- header */
header.site { position: sticky; top: 0; z-index: 50; background: var(--blue); color: #fff; }
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
header.site .logo img { height: 30px; width: auto; }
header.site nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
header.site nav a { color: #dfe5ff; }
header.site nav a:hover, header.site nav a.on { color: #fff; text-decoration: none; }
header.site nav a.on { box-shadow: inset 0 -2px 0 var(--mint); padding-bottom: 4px; }
header.site .menu { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 6px; padding: 6px 10px; font: inherit; }
@media (max-width: 760px) {
  header.site .menu { display: block; }
  header.site nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--blue); flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  header.site nav.open { display: flex; }
  header.site nav a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
}

/* ---- hero: the blue panel with the data tree whose light runs down into the hub (as the apps' sign-in) */
.hero { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; min-height: 620px; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { color: #c9d4ff; }
.hero .art { position: relative; height: 560px; }
.hero .flow, .hero .hub { position: absolute; pointer-events: none; }
.hero .flow { inset: 0 0 92px 0; }
.hero .flow i { position: absolute; inset: 0; background: url(brand/signin-flow.png) center bottom / contain no-repeat; }
.hero .flow .base { opacity: .45; }
.hero .flow .glow { filter: drop-shadow(0 0 6px rgba(169,193,255,.9));
  -webkit-mask-image: linear-gradient(to top, transparent 38%, #000 47%, #000 53%, transparent 62%);
          mask-image: linear-gradient(to top, transparent 38%, #000 47%, #000 53%, transparent 62%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: dataflow 6s linear infinite; }
@keyframes dataflow { from { -webkit-mask-position: 0 100%; mask-position: 0 100%; } to { -webkit-mask-position: 0 0%; mask-position: 0 0%; } }
.hero .hub { left: 50%; bottom: 0; width: 124px; height: 140px; transform: translateX(-50%); }
.hero .hub i { position: absolute; inset: 0; background: url(brand/signin-hub.png) center / contain no-repeat; }
.hero .hub .rest { opacity: .65; }
.hero .hub .lit { opacity: 0; filter: drop-shadow(0 0 6px rgba(225,234,255,.95)) drop-shadow(0 0 18px rgba(169,193,255,.8)); animation: hubflare 6s linear infinite; }
.hero .hub::after { content: ''; position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(169,193,255,.38), transparent 65%); opacity: 0; animation: hubflare 6s linear infinite; }
@keyframes hubflare { 0%, 68% { opacity: 0; } 78% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero .flow .glow, .hero .hub .lit, .hero .hub::after { animation: none; opacity: 0; } .hero .flow .base { opacity: .65; } }
.hero.small .wrap { min-height: 0; grid-template-columns: 1fr 360px; padding-top: 64px; padding-bottom: 64px; }
.hero.small .art { height: 340px; }
@media (max-width: 900px) {
  .hero .wrap, .hero.small .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero .art { height: 360px; order: -1; } .hero.small .art { height: 240px; }
}

/* ---- sections */
section.band { padding: 88px 0; }
section.band.white { background: var(--surface); }
section.band.alt { background: var(--surface-alt); }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } section.band { padding: 60px 0; } }

/* cards: white, thin border, the apps' blue header band where it's a "panel" */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--pale); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.panel > h3 { margin: 0; background: var(--blue); color: #fff; font-size: 16px; padding: 12px 20px; }
.panel > .body { padding: 18px 20px; }

/* product cards on the home page */
.product { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.product + .product { margin-top: 28px; }
.product .txt { padding: 38px; display: flex; flex-direction: column; }
.product .txt .btns { margin-top: auto; padding-top: 10px; }
.product .pic { background: var(--grey-band); padding: 34px 0 0 34px; display: flex; min-height: 380px; position: relative; overflow: hidden; }
.product .pic img { position: absolute; left: 34px; top: 34px; width: 150%; max-width: none; height: auto; border-radius: 10px 0 0 0;
  box-shadow: 0 10px 30px rgba(16,20,28,.14); }
.product .mark { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.product .mark img { width: 44px; }
.product .mark span { font-weight: 600; color: var(--blue); }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product .pic { min-height: 280px; } .product .pic img { left: 22px; top: 22px; width: 170%; } }

/* screenshots: framed like a browser window */
.shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(16,20,28,.12); background: #fff; cursor: zoom-in; }
.shot .chrome { height: 28px; background: var(--grey-band); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5e1; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: 1.35fr 1fr; }
.feature.flip .txt { order: 2; }
.feature + .feature { margin-top: 96px; }
.feature ul, .ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.feature li, .ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.feature li::before, .ticks li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.phone-shot { max-width: 300px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(16,20,28,.18)); cursor: zoom-in; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; } .feature.flip .txt { order: 0; } .feature + .feature { margin-top: 64px; } }

/* how it works: numbered steps joined by a line */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--mint), var(--blue)); }
.steps .step { position: relative; text-align: center; padding: 0 6px; }
.steps .step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px var(--surface); position: relative; }
.steps.white .step::before { box-shadow: 0 0 0 6px var(--surface); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }

/* figures strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stats div { border-left: 3px solid var(--mint); padding-left: 16px; }
.stats b { display: block; font-size: 34px; color: var(--blue); line-height: 1.1; }
.stats span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* call to action band */
.cta { background: var(--blue); color: #fff; border-radius: 16px; padding: 52px; display: flex; align-items: center; gap: 32px; position: relative; overflow: hidden; }
.cta h2 { color: #fff; margin-bottom: 8px; } .cta p { color: #c9d4ff; margin: 0; }
.cta .btns { margin-left: auto; flex: none; }
.cta::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169,193,255,.35), transparent 65%); }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: flex-start; padding: 34px; } .cta .btns { margin-left: 0; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact form label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.contact input, .contact textarea, .contact select { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #CBD2DC; border-radius: 6px; margin-top: 4px; background: #fff; color: var(--ink); }
.contact input:focus, .contact textarea:focus, .contact select:focus { outline: 2px solid color-mix(in srgb, var(--blue) 70%, #fff); border-color: var(--blue); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* footer */
footer.site { background: #070f5c; color: #b8c3f5; padding: 56px 0 28px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer.site img { height: 28px; width: auto; margin-bottom: 14px; }
footer.site h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
footer.site a { color: #dfe5ff; display: block; margin-bottom: 6px; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #8d9ad6; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* lightbox for screenshots */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7,15,92,.88); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1500px, 96vw); max-height: 92vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
