/* ===== billWright public site — additions on top of landing.css =====
   landing.css defines the tokens + base components (nav, hero, .sec,
   .group, .shot, .pill, .btn, beta form, footer). This file adds the
   v1.0.14 surfaces: real-screenshot browser frames, the "in control"
   band, the CAM teaser, the roadmap, and the application captcha. */

/* ---------- shared: real-screenshot browser frame ---------- */
.frame {
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--hair);
}
.frame-bar .dots { display: flex; gap: 6px; flex: 0 0 auto; }
.frame-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--hair-strong); }
.frame-bar .url {
  margin-left: 6px; flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  background: var(--cream); border-radius: 6px; padding: 5px 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame-bar .url b { color: var(--ink-soft); font-weight: 500; }
.frame-shot { display: block; width: 100%; height: auto; }
/* a crop window when we want a tidy slice rather than the full 16:9 shot */
.frame-crop { overflow: hidden; }
.frame-crop .frame-shot { width: 100%; }

/* ---------- official brand wordmark ---------- */
.nav-logo .logo-img { height: 25px; width: auto; display: block; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav-logo:hover .logo-img { transform: translateY(-1px); }
.foot-brand .nav-logo .logo-img { height: 30px; }

/* ---------- animated hero wordmark (ported from the login screen) ---------- */
.hero-brandsvg { width: clamp(248px, 40vw, 348px); max-width: 80vw; height: auto; display: block; margin: 0 0 18px; overflow: visible; }
.hero-brandsvg .lg-bill  { fill: var(--green); }
.hero-brandsvg .lg-w, .hero-brandsvg .lg-right { fill: var(--ink); }
.hero-brandsvg .lg-truss { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
/* Phase 1 — the W + truss appear at the CENTER of the wordmark (truss draws, W fades in) */
.hero-brandsvg .g-w     { opacity: 0; transform: translateX(70px); animation: lgFadeIn .7s ease-out .4s forwards, lgHome .95s cubic-bezier(.22,1,.36,1) 1.35s forwards; }
.hero-brandsvg .g-truss { transform: translateX(70px); animation: lgHome .95s cubic-bezier(.22,1,.36,1) 1.35s forwards; }
.hero-brandsvg .g-truss .lg-truss { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: lgDraw 1.05s cubic-bezier(.6,0,.25,1) .2s forwards; }
/* Phase 2 — bill peels left and right peels right, out of the centered W */
.hero-brandsvg .g-bill  { opacity: 0; transform: translateX(274px);  animation: lgEmergeL .95s cubic-bezier(.22,1,.36,1) 1.35s forwards; }
.hero-brandsvg .g-right { opacity: 0; transform: translateX(-202px); animation: lgEmergeR .95s cubic-bezier(.22,1,.36,1) 1.35s forwards; }
@keyframes lgDraw   { to { stroke-dashoffset: 0; } }
@keyframes lgFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lgHome   { from { transform: translateX(70px); } to { transform: translateX(0); } }
@keyframes lgEmergeL { 0% { opacity: 0; transform: translateX(274px); } 28% { opacity: 1; } 100% { opacity: 1; transform: translateX(0); } }
@keyframes lgEmergeR { 0% { opacity: 0; transform: translateX(-202px); } 28% { opacity: 1; } 100% { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-brandsvg .g-truss .lg-truss { stroke-dashoffset: 0; animation: none; }
  .hero-brandsvg .g-w, .hero-brandsvg .g-truss, .hero-brandsvg .g-bill, .hero-brandsvg .g-right { opacity: 1; transform: none; animation: none; }
}

/* hero headline: keep the long "Stay in command." line from colliding
   with the subhead — looser leading + a touch smaller than landing.css */
.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.08;
  max-width: 19ch;
  margin-bottom: 26px;
}

/* hero frame sits a touch larger + floats */
.hero-frame {
  margin: 52px auto 0; max-width: 1000px; position: relative; z-index: 1;
}
.hero-frame .frame { box-shadow: 0 1px 0 rgba(20,20,20,.04), 0 40px 90px -40px rgba(20,20,20,.4); }

/* caption under a framed shot */
.shot-cap {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: .04em; margin-top: 12px; text-align: center;
}
.shot-cap b { color: var(--ink-soft); font-weight: 500; }

/* feature group: swap the schematic .shot for a real frame */
.group .frame { width: 100%; }

/* ---------- eyebrow / pill helpers reused from landing ---------- */
.kicker.amber { color: #8A6914; }
.kicker.blue { color: var(--blue); }
.kicker.violet { color: var(--violet); }

/* ---------- "in control" dark band (reuses .secure look) ---------- */
.control { background: var(--ink); color: #EAE7DE; position: relative; overflow: hidden; }
.control .blueprint {
  opacity: .1;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 38%, #000, transparent 78%);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='76.2'%20viewBox='0%200%2044%2076.2'%3E%3Cg%20fill='none'%20stroke='%239FE0B5'%20stroke-width='1'%3E%3Cpath%20d='M0%200%20H44%20M0%2038.1%20H44%20M0%2076.2%20H44'/%3E%3Cpath%20d='M0%200%20L22%2038.1%20L44%200%20M0%2076.2%20L22%2038.1%20L44%2076.2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 44px 76.2px;
}
.control .wrap { position: relative; z-index: 1; }
.control .kicker { color: #8FD3A6; }
.control h2 { color: #fff; }
.control h2 .it { color: #A6E4BB; }
.control .sec-head p { color: rgba(234,231,222,.78); }
.ctrl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.ctrl-card {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 24px 22px;
}
.ctrl-card .ic {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px;
  background: rgba(143,211,166,.16); color: #9FE0B5; display: grid; place-items: center;
}
.ctrl-card .ic svg { width: 21px; height: 21px; }
.ctrl-card h4 { font-size: 16.5px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.ctrl-card p { font-size: 13.5px; color: rgba(234,231,222,.72); line-height: 1.55; }
.ctrl-card .tag {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: #9FE0B5; border: 1px solid rgba(143,211,166,.3); border-radius: 999px; padding: 4px 10px;
}
@media (max-width: 900px) { .ctrl-grid { grid-template-columns: 1fr; } }

/* the headline pull-quote for "not an AI app" */
.control .stand {
  max-width: 880px; margin: 0 auto 46px; text-align: center;
}
.control .stand p {
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1.4; color: #F4F1E9;
  font-weight: 500; text-wrap: balance;
}
.control .stand p .it { color: #A6E4BB; }
.control .stand .lead-in {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: #8FD3A6; margin-bottom: 18px;
}

/* ---------- CAM — command-line teaser (static recreation) ---------- */
.cam-stage {
  background: var(--cream-deep); border: 1px solid var(--hair);
  border-radius: 16px; padding: 22px; box-shadow: var(--shadow-soft);
}
.cam-bar {
  background: var(--card); border: 1px solid var(--hair);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card);
}
.cam-list { padding: 8px 6px 6px; }
.cam-listhead {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--hair-strong); padding: 6px 10px 8px;
}
.cam-row {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: 9px;
}
.cam-row.sel { background: var(--green-soft); }
.cam-ic {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px;
  display: grid; place-items: center; background: var(--cream);
  border: 1px solid var(--hair); color: var(--muted);
}
.cam-row.sel .cam-ic { background: var(--card); border-color: rgba(31,122,61,.3); color: var(--green-deep); }
.cam-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cam-label { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-label b { color: var(--green-deep); font-weight: 700; }
.cam-tag {
  flex: 0 0 auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600; padding: 2px 7px; border-radius: 5px;
  background: var(--cream); border: 1px solid var(--hair); color: var(--muted);
}
.cam-tag.go { background: var(--blue-soft); color: #1F4E9E; border-color: rgba(42,111,219,.28); }
.cam-tag.create { background: var(--green-soft); color: var(--green-deep); border-color: rgba(31,122,61,.28); }
.cam-tag.action { background: #FBF3DC; color: #6E5314; border-color: rgba(182,139,30,.3); }
.cam-tag.query { background: var(--surface-2); color: var(--ink-soft); border-color: var(--hair-strong); }
.cam-alias { flex: 0 0 auto; font-family: var(--mono); font-size: 11px; color: var(--hair-strong); }
.cam-divider { height: 1px; background: var(--hair); margin: 6px 10px; }
.cam-strip {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px;
  background: var(--card); border-top: 1px solid var(--green);
  box-shadow: inset 0 2px 0 var(--green);
}
.cam-glyph { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--green); }
.cam-input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.cam-input .caret { display: inline-block; width: 1px; height: 15px; background: var(--green); margin-left: 1px; vertical-align: -2px; animation: camCaret 1.05s step-end infinite; }
@keyframes camCaret { 50% { opacity: 0; } }
.cam-keys { display: flex; gap: 12px; font-family: var(--mono); font-size: 9.5px; color: var(--muted); }
.cam-keys b { color: var(--ink-soft); }
@media (max-width: 620px) { .cam-keys { display: none; } }

/* ---------- roadmap ---------- */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.road-col {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius-lg);
  padding: 22px 20px; display: flex; flex-direction: column;
}
.road-col.now { border-color: rgba(31,122,61,.35); box-shadow: 0 0 0 3px rgba(31,122,61,.06); }
.road-h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.road-h .st {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; font-weight: 600;
}
.road-h .st.live { background: var(--green-soft); color: var(--green-deep); }
.road-h .st.next { background: #FBF3DC; color: #6E5314; }
.road-h .st.later { background: var(--surface-2); color: var(--muted); border: 1px solid var(--hair); }
.road-col > p.road-sub { font-size: 12.5px; color: var(--muted); margin: 4px 0 16px; }
.road-list { display: grid; gap: 12px; }
.road-item { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; }
.road-item .mk { flex: 0 0 auto; margin-top: 3px; color: var(--green-deep); }
.road-item.later .mk { color: var(--hair-strong); }
.road-item.next .mk { color: var(--amber); }
.road-item b { font-weight: 700; }
.road-item span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; line-height: 1.45; }
.road-flag {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 16px;
  font-size: 12px; color: var(--muted);
}
@media (max-width: 880px) { .road { grid-template-columns: 1fr; } }

/* ---------- application form additions (captcha, honeypot) ---------- */
.ffield.full { grid-column: 1 / -1; }
.ffield textarea {
  font: inherit; font-size: 14.5px; width: 100%; resize: vertical; min-height: 84px;
  background: var(--surface-2); border: 1px solid var(--hair); border-radius: 10px;
  padding: 12px 14px; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s;
}
.ffield textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31,122,61,.12); }
.ffield textarea::placeholder { color: #B4AFA4; }

/* the honeypot — visually + a11y hidden, present for bots */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* human-check captcha */
.captcha {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--hair); border-radius: 12px;
  padding: 14px 16px;
}
.captcha .cap-q {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 220px;
}
.captcha .cap-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; flex: 0 0 auto; }
.captcha .cap-ic svg { width: 18px; height: 18px; }
.captcha .cap-label { font-size: 12.5px; color: var(--ink-soft); }
.captcha .cap-label b { font-weight: 700; color: var(--ink); }
.captcha .cap-prompt { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.captcha .cap-prompt .op { color: var(--green-deep); }
.captcha .cap-answer { display: flex; align-items: center; gap: 8px; }
.captcha .cap-answer input {
  width: 92px; text-align: center;
  font: inherit; font-family: var(--mono); font-size: 16px; font-weight: 600;
  background: #fff; border: 1px solid var(--hair); border-radius: 9px; padding: 10px 10px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.captcha .cap-answer input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,122,61,.12); }
.captcha.ok { border-color: rgba(31,122,61,.4); background: var(--green-soft); }
.captcha.bad { border-color: rgba(178,58,47,.5); background: var(--red-soft, #FCEFEE); }
.captcha .cap-state { font-size: 12px; font-weight: 700; display: none; align-items: center; gap: 6px; }
.captcha.ok .cap-state.ok { display: inline-flex; color: var(--green-deep); }
.captcha.bad .cap-state.bad { display: inline-flex; color: var(--red); }
.captcha .cap-refresh { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 7px; line-height: 0; }
.captcha .cap-refresh:hover { color: var(--ink); background: var(--cream); }

/* contact-email line under the form */
.beta-contact {
  margin: 22px auto 0; max-width: 760px; text-align: center;
  font-size: 13.5px; color: var(--muted);
}
.beta-contact a { color: var(--green-deep); font-weight: 700; }

/* status / version chips in the hero */
.ver-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  border: 1px solid var(--hair); border-radius: 999px; padding: 5px 12px; background: var(--card);
}
.ver-chip b { color: var(--green-deep); font-weight: 600; }

/* small "doc link" cards row (help + cam) */
.doclinks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.doccard {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius-lg);
  padding: 22px; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.doccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--hair-strong); }
.doccard .ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 11px; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; }
.doccard .ic svg { width: 22px; height: 22px; }
.doccard h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 5px; }
.doccard p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.doccard .go { font-size: 13px; font-weight: 700; color: var(--green-deep); display: inline-flex; align-items: center; gap: 6px; }
.doccard .go svg { width: 13px; height: 13px; }
@media (max-width: 720px) { .doclinks { grid-template-columns: 1fr; } }

/* ---------- privacy & data ---------- */
.priv-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.priv-vault, .priv-door { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 24px; }
.priv-vault { border-color: rgba(31,122,61,.3); }
.priv-vault-h { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; }
.priv-vault-h svg { width: 18px; height: 18px; color: var(--green-deep); flex: 0 0 auto; }
.priv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.priv-chips span { font-size: 12.5px; font-weight: 600; color: var(--green-deep); background: var(--green-soft); border: 1px solid rgba(31,122,61,.2); border-radius: 999px; padding: 5px 11px; }
.priv-vault-note, .priv-door-note { font-size: 13px; color: var(--muted); line-height: 1.55; }
.priv-vault-note b, .priv-door-note b { color: var(--ink-soft); font-weight: 700; }
.priv-door-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6E5314; background: #FBF3DC; border: 1px solid rgba(182,139,30,.3); border-radius: 999px; padding: 5px 11px; font-weight: 600; margin-bottom: 18px; }
.priv-flow-line { display: flex; align-items: stretch; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pf-node { flex: 1; min-width: 120px; text-align: center; display: flex; flex-direction: column; justify-content: center; background: var(--surface-2); border: 1px solid var(--hair); border-radius: var(--radius); padding: 12px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.pf-node small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; margin-top: 3px; }
.pf-arrow { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--green); }
.pf-arrow svg { width: 40px; height: 16px; }
.pf-arrow em { font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .04em; color: var(--green-deep); font-weight: 600; }
@media (max-width: 760px) { .priv-flow { grid-template-columns: 1fr; } }

.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.priv-card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px; }
.priv-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 14px; }
.priv-card .ic svg { width: 21px; height: 21px; }
.priv-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.priv-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.priv-card p b { color: var(--ink-soft); font-weight: 700; }
.priv-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--green-deep); }
.priv-link svg { width: 13px; height: 13px; }
.priv-link:hover { color: var(--green); }
@media (max-width: 820px) { .priv-grid { grid-template-columns: 1fr; } }

.priv-verdict { display: flex; gap: 16px; align-items: flex-start; margin-top: 20px; background: var(--green-soft); border: 1px solid rgba(31,122,61,.25); border-radius: var(--radius-lg); padding: 22px 24px; }
.priv-verdict .pv-mark { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.priv-verdict .pv-mark svg { width: 22px; height: 22px; }
.priv-verdict .pv-q { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.priv-verdict p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.priv-verdict p b { font-weight: 700; }
