/* Beacon marketing site.
   The visual system is deliberately inherited from lvl1.host (sibling brand):
   same tokens, same type scale, same card/table/button treatment. Keep them in
   sync by hand; there is no shared build step between the two sites. */

:root{
  --bg:#F2F6F8; --surface:#FFFFFF; --surface-2:#FAFCFD;
  --ink:#2A3C46; --ink-2:#3E5460; --muted:#61757F; --faint:#8497A0;
  --line:#DDE6EA; --line-2:#EBF1F4;
  --slate:#39505C;
  --blue:#3AA8DC; --blue-ink:#2A8CBB; --blue-wash:#E7F4FB;
  --good:#00A862;
  --shadow:0 1px 2px rgba(0,0,0,.04), 0 8px 28px -18px rgba(0,0,0,.28);
  --shadow-lg:0 2px 6px rgba(0,0,0,.05), 0 24px 60px -28px rgba(0,0,0,.35);
  --r:18px; --r-sm:12px;
  /* System-first on purpose: no webfont request, so first paint has no
     dependency on the network. 'Inter' is named as a fallback because that is
     what lvl1.host resolves to on machines that have it. */
  --sans:-apple-system,BlinkMacSystemFont,'SF Pro Display','SF Pro Text','Inter',
         'Helvetica Neue',Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,'SF Mono','JetBrains Mono',Menlo,Consolas,monospace;
  --col:1080px;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0D1418; --surface:#1E2D36; --surface-2:#243640;
    --ink:#DCE8EE; --ink-2:#BDCDD6; --muted:#9DB1BC; --faint:#8398A3;
    --line:#445B68; --line-2:#31434E;
    --slate:#8FB0C0;
    --blue:#4FB8E8; --blue-ink:#7ACCF0; --blue-wash:#122B39;
    --good:#30D158;
    --shadow:0 1px 2px rgba(0,0,0,.5), 0 8px 28px -18px rgba(0,0,0,.9);
    --shadow-lg:0 2px 6px rgba(0,0,0,.5), 0 24px 60px -28px rgba(0,0,0,1);
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:17px; line-height:1.55; -webkit-font-smoothing:antialiased; letter-spacing:-.011em;
}
h1,h2,h3{margin:0; text-wrap:balance; letter-spacing:-.028em; line-height:1.06; font-weight:600}
p{margin:0}
a{color:inherit; text-decoration:none}
.wrap{width:100%; max-width:var(--col); margin-inline:auto; padding-inline:22px}
:focus-visible{outline:3px solid var(--blue); outline-offset:3px; border-radius:8px}
.vh{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ---------- nav ---------- */
header{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb,var(--bg) 78%,transparent);
  backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--line-2);
}
.nav{display:flex; align-items:center; justify-content:space-between; height:52px; gap:16px}
.brand{display:flex; align-items:center; gap:9px; font-weight:600; font-size:18px; letter-spacing:-.03em; color:var(--slate)}
.mark{width:21px; height:21px; display:block; flex:none}
.mark .l{fill:var(--slate)}
.mark .o{fill:var(--blue)}
.navlinks{display:flex; gap:28px; font-size:14px; color:var(--muted)}
.navlinks a:hover{color:var(--ink)}
.nav-actions{display:flex; align-items:center; gap:8px}

.btn{
  display:inline-block; font-size:14.5px; font-weight:500; padding:9px 19px;
  border-radius:980px; background:var(--blue); color:#fff; border:1px solid transparent;
  transition:transform .18s cubic-bezier(.2,.7,.3,1), filter .18s ease; white-space:nowrap;
}
.btn:hover{filter:brightness(1.07)}
.btn:active{transform:scale(.97)}
.btn-ghost{background:transparent; color:var(--blue); border-color:color-mix(in srgb,var(--blue) 35%,transparent)}
.btn-ghost:hover{background:var(--blue-wash); filter:none}
.btn-lg{font-size:16px; padding:13px 28px}
.btn-sm{font-size:14px; padding:8px 16px}

/* Hamburger. Hidden above the breakpoint, and hidden without JS too, where the
   nav links fall back to a static row instead (see the noscript block). */
.navtoggle{
  display:none; width:38px; height:34px; padding:0; border-radius:10px; cursor:pointer;
  background:transparent; border:1px solid var(--line); color:var(--ink);
}
.navtoggle svg{width:18px; height:18px; display:block; margin:auto; stroke:currentColor;
  fill:none; stroke-width:2; stroke-linecap:round}
.navtoggle .x{display:none}
.navtoggle[aria-expanded="true"] .x{display:block}
.navtoggle[aria-expanded="true"] .bars{display:none}
/* padding-block, not the padding shorthand: this element also carries .wrap,
   and the shorthand would reset its 22px inline padding to zero. */
.mobilenav{
  display:none; border-top:1px solid var(--line-2); padding-block:10px 16px;
}
.mobilenav a{
  display:block; padding:11px 2px; font-size:16px; color:var(--ink-2);
  border-bottom:1px solid var(--line-2);
}
.mobilenav a:last-child{border-bottom:0}
.mobilenav[data-open="true"]{display:block}

@media(max-width:820px){
  .navlinks{display:none}
  .navtoggle{display:block}
  .nav-actions .btn-signin{display:none}
}
@media(max-width:400px){
  .btn-sm{padding:8px 13px; font-size:13.5px}
  .brand{font-size:17px}
}

/* ---------- hero ---------- */
main section{scroll-margin-top:64px}
.hero{padding:88px 0 20px; text-align:center}
.eyebrow{
  display:inline-block; font-size:13px; font-weight:500; color:var(--blue);
  background:var(--blue-wash); padding:6px 14px; border-radius:980px; margin-bottom:26px;
}
h1{font-size:clamp(38px,6.4vw,70px); font-weight:600}
h1 .grad{
  background:linear-gradient(180deg,var(--ink) 30%,var(--muted));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lede{
  margin:24px auto 0; max-width:60ch; font-size:clamp(17px,2vw,21px);
  color:var(--muted); letter-spacing:-.014em;
}
.cta{display:flex; gap:12px; justify-content:center; margin-top:32px; flex-wrap:wrap}
.trust{margin-top:18px; font-size:13px; color:var(--faint)}

/* ---------- hero visual: portal mockup + status card ---------- */
.showcase{
  margin:56px auto 0; max-width:940px; display:grid; gap:20px;
  grid-template-columns:270px 1fr; align-items:stretch; text-align:left;
}
@media(max-width:820px){ .showcase{grid-template-columns:1fr; max-width:420px} }

/* phone frame, drawn rather than screenshotted so it stays crisp and weightless */
.phone{
  justify-self:center; width:250px; padding:10px; background:var(--slate);
  border-radius:34px; box-shadow:var(--shadow-lg);
}
.phone-screen{
  background:var(--surface); border-radius:26px; overflow:hidden; position:relative;
  padding:34px 20px 22px; text-align:center;
}
.notch{
  position:absolute; top:9px; left:50%; transform:translateX(-50%);
  width:74px; height:5px; border-radius:980px; background:var(--line);
}
/* The portal is white-label, so the venue's mark and name lead. Beacon's own
   name appears nowhere inside the frame. */
.venue-mark{
  width:44px; height:44px; margin:0 auto; border-radius:13px; background:var(--blue-wash);
  display:grid; place-items:center;
}
.venue-mark svg{width:24px; height:24px; stroke:var(--blue-ink); fill:none; stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round}
.venue-name{margin-top:12px; font-size:15.5px; font-weight:600; letter-spacing:-.02em}
.venue-sub{margin-top:3px; font-size:11.5px; color:var(--faint)}
.field{
  margin-top:18px; text-align:left; border:1px solid var(--line); border-radius:10px;
  padding:9px 11px; background:var(--surface-2); font-size:12px; color:var(--faint);
}
.field .caret{
  display:inline-block; width:1px; height:12px; background:var(--blue);
  vertical-align:-2px; margin-left:1px;
}
.consent{
  margin-top:11px; display:flex; gap:7px; align-items:flex-start; text-align:left;
  font-size:10.5px; line-height:1.45; color:var(--faint);
}
.consent .box{
  flex:none; width:12px; height:12px; margin-top:1px; border-radius:3.5px; background:var(--blue);
  display:grid; place-items:center;
}
.consent .box svg{width:8px; height:8px; stroke:#fff; fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round}
.fakebtn{
  margin-top:14px; background:var(--blue); color:#fff; border-radius:980px;
  padding:10px; font-size:13px; font-weight:500;
}
.phone-foot{margin-top:14px; font-size:10px; color:var(--faint)}

/* status card, same treatment as the lvl1 console card */
.console{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  box-shadow:var(--shadow-lg); overflow:hidden; display:flex; flex-direction:column;
}
.console-top{
  display:flex; align-items:center; gap:10px; padding:13px 18px;
  border-bottom:1px solid var(--line-2); background:var(--surface-2);
}
.dots{display:flex; gap:6px}
.dots i{width:10px; height:10px; border-radius:50%; background:var(--line); display:block}
.console-host{font-family:var(--mono); font-size:12.5px; color:var(--muted); margin-left:6px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.pill-demo{
  margin-left:auto; font-size:11px; font-weight:500; color:var(--faint);
  background:color-mix(in srgb,var(--slate) 10%,transparent);
  padding:4px 10px; border-radius:980px; white-space:nowrap;
}
.console-body{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line-2); flex:1}
/* The card stretches to match the phone beside it, so centre each cell rather
   than letting four short stats sit at the top of four tall boxes. */
.stat{background:var(--surface); padding:20px 18px; display:flex; flex-direction:column; justify-content:center}
.stat .k{font-size:12px; color:var(--faint); font-weight:500; letter-spacing:.01em}
/* All four values share a font size so the cells come out the same height and
   the labels line up across the row. */
.stat .v{margin-top:6px; font-size:21px; font-weight:600; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.stat .v.ok{color:var(--good); display:flex; align-items:center; gap:8px}
.stat .v.ok i{width:7px; height:7px; border-radius:50%; background:var(--good); display:block}

/* ---------- sections ---------- */
main > section{padding:96px 0}
.sec-head{text-align:center; max-width:64ch; margin-inline:auto}
h2{font-size:clamp(28px,4.2vw,46px)}
.sec-sub{margin-top:16px; font-size:18px; color:var(--muted)}

.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:52px}
@media(max-width:880px){.cards{grid-template-columns:1fr}}
.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r);
  padding:28px 26px; box-shadow:var(--shadow);
  transition:transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease;
}
.card:hover{transform:translateY(-3px); box-shadow:var(--shadow-lg)}
.card .ico{
  width:36px; height:36px; border-radius:11px; background:var(--blue-wash);
  display:grid; place-items:center; margin-bottom:16px;
}
.card .ico svg{width:19px; height:19px; stroke:var(--blue); fill:none; stroke-width:1.9;
  stroke-linecap:round; stroke-linejoin:round}
.card h3{font-size:18px; font-weight:600}
.card p{margin-top:9px; font-size:15px; color:var(--muted); line-height:1.6}

/* ---------- segmented control ---------- */
.seg-wrap{display:flex; justify-content:center; margin-top:44px}
.seg{
  position:relative; display:inline-flex; padding:4px; gap:2px;
  background:var(--surface-2); border:1px solid var(--line); border-radius:980px;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.03);
}
.seg button{
  position:relative; z-index:2; border:0; background:transparent; cursor:pointer;
  font-family:inherit; font-size:15px; font-weight:500; color:var(--muted);
  padding:10px 26px; border-radius:980px; transition:color .22s ease; white-space:nowrap;
}
.seg button[aria-selected="true"]{color:var(--ink)}
.seg button:hover{color:var(--ink)}
.glider{
  position:absolute; z-index:1; top:4px; bottom:4px; left:4px;
  background:var(--surface); border-radius:980px; box-shadow:var(--shadow);
  transition:transform .34s cubic-bezier(.32,.72,0,1), width .34s cubic-bezier(.32,.72,0,1);
}
@media(max-width:620px){ .seg button{padding:10px 15px; font-size:13.5px} }

.panel-note{text-align:center; margin-top:26px; font-size:14px; color:var(--faint)}
.panel-note a{color:var(--blue)}

/* ---------- plans ---------- */
.tabpanel[hidden]{display:none}
.tabpanel{animation:rise .38s cubic-bezier(.2,.7,.3,1)}
@keyframes rise{from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none}}
/* Panel headings carry the tab label for the no-JS and CSS-off cases; with the
   tablist present they would just be a duplicate of the selected tab. */
.panel-label{display:none}

.plans{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:30px}
@media(max-width:900px){.plans{grid-template-columns:1fr; max-width:420px; margin-inline:auto}}
.plan{
  position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:30px 26px 26px; display:flex; flex-direction:column;
  box-shadow:var(--shadow);
}
.plan.hot{border-color:var(--blue); box-shadow:0 0 0 1px var(--blue), var(--shadow-lg)}
.plan .badge{
  position:absolute; top:-11px; left:50%; transform:translateX(-50%);
  background:var(--blue); color:#fff; font-size:11.5px; font-weight:600;
  padding:4px 13px; border-radius:980px; letter-spacing:.01em; white-space:nowrap;
}
.plan .nm{font-size:17px; font-weight:600}
.plan .desc{margin-top:5px; font-size:13.5px; color:var(--faint); min-height:34px}
.price{margin-top:14px; display:flex; align-items:baseline; gap:3px; min-height:56px}
.price .cur{font-size:20px; font-weight:600; color:var(--ink)}
.price .amt{font-size:46px; font-weight:600; letter-spacing:-.045em; font-variant-numeric:tabular-nums}
.price .per{font-size:14px; color:var(--faint); margin-left:4px}
.price .talk{font-size:28px; font-weight:600; letter-spacing:-.03em; align-self:center}
.plan ul{list-style:none; padding:0; margin:20px 0 24px; display:flex; flex-direction:column; gap:11px}
.plan li{display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:var(--ink-2)}
.chk{flex:none; width:17px; height:17px; margin-top:2px; border-radius:50%; background:var(--blue-wash);
  display:grid; place-items:center}
.chk svg{width:10px; height:10px; stroke:var(--blue); fill:none; stroke-width:2.6;
  stroke-linecap:round; stroke-linejoin:round}
.plan .btn{margin-top:auto; text-align:center; width:100%}

/* CTA for a tier we cannot sell yet. Rendered as a span, not an anchor, so it
   is inert for mouse, keyboard and screen readers alike. Nothing uses it today;
   it is here so an unshipped tier can be marked without new CSS. */
.btn.is-soon{
  opacity:.45; cursor:not-allowed; pointer-events:none;
  background:var(--surface-2); color:var(--muted); border:1px solid var(--line);
}

/* ---------- compare ---------- */
.tblwrap{
  margin-top:44px; overflow-x:auto; border:1px solid var(--line); border-radius:var(--r);
  background:var(--surface); box-shadow:var(--shadow);
}
table{width:100%; border-collapse:collapse; font-size:15px; min-width:640px}
th,td{text-align:left; padding:15px 20px; border-bottom:1px solid var(--line-2)}
thead th{font-size:12.5px; font-weight:600; color:var(--faint); letter-spacing:.02em; text-transform:uppercase}
thead th.us{color:var(--blue)}
tbody tr:last-child th, tbody tr:last-child td{border-bottom:0}
tbody th{font-weight:500; color:var(--ink)}
td{color:var(--muted)}
td.y{color:var(--good); font-weight:600}
.tbl-note{margin-top:14px; font-size:13.5px; color:var(--faint); text-align:center}

/* ---------- closing ---------- */
.close{text-align:center}
main > section.close{padding:110px 0}
footer{border-top:1px solid var(--line-2); padding:34px 0; color:var(--faint); font-size:13.5px}
.foot{display:flex; justify-content:space-between; gap:8px 16px; flex-wrap:wrap; align-items:center}
.foot a{color:var(--faint)}
.foot a:hover{color:var(--blue)}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important; transition:none!important}
}
