/* WeBeam app: minimal, premium, mobile-first. Navy + mint, lots of white space. */
:root {
  --navy: #070d1d; --navy-2: #0e1830; --ink: #0c1424; --text: #2c3550; --muted: #66718c;
  --mint: #7df3db; --mint-ink: #04251e; --mint-soft: #e6fbf5; --line: #e5e9f1; --bg: #fff; --bg-2: #f6f8fb;
  --ok: #0a7a62; --warn: #a15c00; --bad: #b42318; --r: 18px;
  --shadow: 0 1px 2px rgba(7, 13, 29, .04), 0 12px 32px rgba(7, 13, 29, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.opt { font-weight: 400; color: var(--muted); }
code { font: 600 14px/1.4 ui-monospace, Menlo, monospace; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.1; white-space: nowrap; text-decoration: none; background: var(--ink); color: #fff; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-mint { background: var(--mint); color: var(--mint-ink); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions.center { justify-content: center; }

/* header / footer */
header.site { background: var(--navy); position: sticky; top: 0; z-index: 30; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand img { display: block; height: 26px; width: auto; }
header.site nav { display: flex; align-items: center; gap: 18px; font-size: 15px; color: #c9d5ee; }
header.site nav a { text-decoration: none; }
header.site nav a:hover { color: #fff; }
header.site .btn { background: var(--mint); color: var(--mint-ink); }
.demo-link { color: var(--mint) !important; font-weight: 700; white-space: nowrap; }
footer.site { background: var(--navy); color: #8c9abb; font-size: 14px; padding: 28px 0; margin-top: 40px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer.site a { color: #dbe5fa; text-decoration: none; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(125, 243, 219, .12), transparent 60%), var(--navy); color: #c9d5ee; padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.eyebrow.dark { color: var(--ok); margin-bottom: 6px; }
.hero h1 { color: #fff; font-size: clamp(36px, 6vw, 60px); }
.hero h1 span { color: var(--mint); }
.lede { font-size: 19px; margin-top: 20px; max-width: 580px; color: #b8c6e3; }
.fine.on-dark { color: #8c9abb; }
.demo-card { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; padding: 26px; }
.demo-card .label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8c9abb; font-weight: 700; }
.demo-num { display: block; font-size: clamp(28px, 3.5vw, 36px); font-weight: 800; color: #fff; text-decoration: none; margin: 8px 0 14px; letter-spacing: -.01em; }
.demo-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.demo-card li { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 10px 14px; color: #dbe5fa; font-size: 15px; }

/* sections */
.band { padding: 72px 0; }
.band.alt { background: var(--bg-2); }
.band.cta { background: var(--navy); color: #c9d5ee; }
.band.cta h2 { color: #fff; }
.band h2 { font-size: clamp(26px, 3.6vw, 38px); }
.sub { color: var(--muted); font-size: 17px; margin-top: 10px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.three h3 { font-size: 20px; margin-bottom: 10px; }
.three p { color: var(--muted); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--mint-soft); color: var(--ok); font-weight: 800; display: grid; place-items: center; }
.steps b { color: var(--ink); font-size: 18px; }
.steps span { color: var(--muted); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--ink); color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: .04em; border-radius: 999px; padding: 4px 10px; }
.plan h3 { font-size: 18px; }
.price { font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.calls { color: var(--muted); margin-bottom: 18px; }
.plan .btn { margin-top: auto; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); }

/* forms */
.form-wrap { max-width: 720px; }
.form-wrap.small { max-width: 440px; }
.page-title { font-size: clamp(28px, 4vw, 40px); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.stack { display: grid; gap: 16px; }
form.card { margin-top: 26px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfd6e4; border-radius: 12px; padding: 12px 14px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--mint); border-color: #4fd8bd; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); }
.check input { width: auto; margin-top: 4px; }
.plan-pick { grid-template-columns: repeat(3, 1fr); }
.pick { display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: grid; gap: 2px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 500; }
.pick small { color: var(--muted); }
.pick input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 3px var(--mint-soft); }
.pick input:focus-visible + span { outline: 2px solid var(--mint); }
.form-msg { font-size: 15px; min-height: 1px; }
.form-msg.err { color: var(--bad); }
.form-msg.ok { color: var(--ok); }
.notice { background: #fff7e8; color: #6b4300; border-radius: 12px; padding: 12px 14px; }

/* panel */
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.head-actions { display: flex; gap: 8px; }
.tabs { display: flex; gap: 6px; margin: 22px 0 26px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs a { white-space: nowrap; text-decoration: none; padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--ink); border-color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.panel .card + .card, .panel .card + form, .panel form + h2, .panel .card + h2, .panel .list + h2 { margin-top: 18px; }
.h3, .band .h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.01em; }
.grid2 > .card + .card { margin-top: 0; }
.label { font-size: 13px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.big { font-size: 26px; font-weight: 800; color: var(--ink); margin: 6px 0; }
.big a { text-decoration: none; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: capitalize; }
.pill.ok { background: var(--mint-soft); color: var(--ok); }
.pill.warn { background: #fff4df; color: var(--warn); }
.pill.bad { background: #fde8e8; color: var(--bad); }
.hint { background: var(--mint-soft); border-color: #bdeee0; }
.codes { list-style: none; padding: 0; display: grid; gap: 8px; }
.codes li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.fwd select { max-width: 320px; margin-bottom: 12px; }
.hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ai-box textarea { margin-bottom: 10px; }
.diff { display: grid; gap: 10px; margin: 12px 0; }
.diff .chg { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 14px; }
.diff .chg b { display: block; color: var(--ink); margin-bottom: 4px; text-transform: capitalize; }
.diff .before { color: var(--bad); text-decoration: line-through; white-space: pre-wrap; }
.diff .after { color: var(--ok); white-space: pre-wrap; }
.list { display: grid; gap: 10px; }
.row-link { display: flex; gap: 12px; align-items: center; text-decoration: none; flex-wrap: wrap; }
.call summary { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.call .sum { flex-basis: 100%; color: var(--text); font-weight: 400; }
.transcript p, .thread .pre { white-space: pre-wrap; }
.transcript { display: grid; gap: 6px; margin-top: 12px; font-size: 15px; }
.chat-log { display: grid; gap: 10px; margin: 6px 0 12px; }
.chat-log .msg, .ask-log .msg { padding: 10px 14px; border-radius: 14px; max-width: 88%; white-space: pre-wrap; }
.msg.ai { background: var(--bg-2); justify-self: start; }
.msg.me { background: var(--ink); color: #fff; justify-self: end; }
.brief, .brief-dl { margin: 10px 0; }
.brief-dl dt { font-weight: 700; color: var(--ink); margin-top: 8px; }
.brief-dl dd { margin: 2px 0 0; }
.thread { display: grid; gap: 12px; margin: 16px 0; }
.tmsg { border-left: 3px solid var(--line); padding-left: 12px; }
.tmsg.team { border-color: var(--mint); }
.log { list-style: none; padding: 0; margin: 0; font-size: 14px; display: grid; gap: 6px; }
.log .bad { color: var(--bad); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 700; }
.inline { display: flex; gap: 8px; margin-bottom: 12px; max-width: 360px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin 1s linear infinite; margin: 24px auto; }
.spinner.sm { display: inline-block; width: 16px; height: 16px; margin: 0 0 -3px 4px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.prose h3 { margin: 22px 0 8px; }
.prose p { margin: 8px 0; }

/* Ask Beam */
.ask { position: fixed; right: 16px; bottom: 16px; z-index: 40; }
.ask-open { display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px 10px 10px; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; box-shadow: 0 10px 30px rgba(7, 13, 29, .25); }
.ask-box { position: fixed; right: 16px; bottom: 76px; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 60px rgba(7, 13, 29, .2); overflow: hidden; }
.ask-box[hidden] { display: none; }
.ask-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--navy); color: #fff; }
.ask-close { background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.ask-log { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; font-size: 15px; }
.ask-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.ask-form input { padding: 10px 12px; }

@media (max-width: 860px) {
  .hero-grid, .three, .steps, .plans, .grid2 { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 56px; }
  .band { padding: 56px 0; }
  .hide-sm { display: none; }
  .plan-pick { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .row2 { grid-template-columns: 1fr; }
  header.site nav { gap: 10px; font-size: 13px; }
  .brand img { height: 22px; }
  header.site .btn-sm { padding: 9px 12px; font-size: 13px; }
  .ask-open span { display: none; }
  .ask-open { padding: 10px; }
}
