/* ADTA public site — loaded alongside style.css, active only while signed out.
   style.css locks the document to a non-scrolling app shell, so the landing
   body has to explicitly hand scrolling back. */
body.lp-body { overflow: auto; height: auto; min-height: 100%; background: var(--bg); }
html:has(body.lp-body) { height: auto; }

.lp {
  --lp-max: 1080px;
  color: var(--text); font-family: var(--font); line-height: 1.6;
}
.lp a { color: inherit; text-decoration: none; }

/* ---------- nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 22px;
  padding: 14px max(22px, calc((100vw - var(--lp-max)) / 2));
  background: rgba(10, 14, 20, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.lp-brand { display: flex; align-items: center; gap: 10px; }
.lp-logo { font-size: 21px; }
.lp-brand b { display: block; font-size: 15px; letter-spacing: .6px; }
.lp-brand i { display: block; font-style: normal; font-size: 9.5px; letter-spacing: .35px; color: var(--text-mute); white-space: nowrap; }
.lp-links { display: flex; gap: 20px; margin-left: auto; font-size: 13px; color: var(--text-dim); }
.lp-links a { padding: 4px 0; border-bottom: 1px solid transparent; }
.lp-links a:hover { color: var(--text); }
.lp-links a.on { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn.sm { padding: 8px 15px; font-size: 13px; }
.lp-btn.primary { background: var(--green); color: #04110a; }
.lp-btn.primary:hover { background: #2fe68d; }
.lp-btn.ghost { background: transparent; border-color: var(--border-2); color: var(--text); }
.lp-btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.lp-btn.google { width: 100%; background: #fff; color: #1f2328; font-weight: 600; }
.lp-btn.google:hover { background: #f1f3f5; }

/* ---------- hero ---------- */
.lp-hero, .lp-head {
  max-width: var(--lp-max); margin: 0 auto; padding: 74px 22px 54px; text-align: center;
}
.lp-head { padding-bottom: 6px; }
.lp-head h1 { font-size: clamp(30px, 4.4vw, 44px); }
.lp-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); color: var(--accent);
  font-size: 11.5px; letter-spacing: .7px; text-transform: uppercase; margin-bottom: 26px;
}
.lp h1 {
  font-size: clamp(34px, 6vw, 58px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 700;
  background: linear-gradient(180deg, #fff 0%, #9fb4c9 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-sub { max-width: 720px; margin: 22px auto 0; color: var(--text-dim); font-size: 15.5px; }
.lp-sub.center { text-align: center; }
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.lp-cta.center { margin-top: 36px; }
.lp-numbers {
  display: flex; gap: 42px; justify-content: center; flex-wrap: wrap; margin-top: 52px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.lp-numbers b { display: block; font-family: var(--mono); font-size: 27px; color: var(--accent); }
.lp-numbers span { font-size: 11.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--text-mute); }

/* ---------- sections ---------- */
.lp-sec { padding: 58px 22px; }
.lp-sec > h2, .lp-sec > .lp-sub, .lp-sec > .lp-grid, .lp-sec > .lp-steps,
.lp-sec > .lp-ev, .lp-sec > .lp-faq, .lp-sec > .lp-cta {
  max-width: var(--lp-max); margin-left: auto; margin-right: auto;
}
.lp-sec h2 { font-size: 27px; letter-spacing: -.5px; margin-bottom: 26px; text-align: center; }
.lp-alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.lp-grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.lp-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: border-color .15s ease;
}
.lp-card:hover { border-color: var(--border-2); }
.lp-card h3 { font-size: 15px; margin-bottom: 8px; color: var(--text); }
.lp-card p { font-size: 13.5px; color: var(--text-dim); }
.lp-card p b { color: var(--accent); }
.lp-ic { font-size: 21px; margin-bottom: 10px; }
.lp-card.ev { display: flex; gap: 16px; align-items: flex-start; }
.lp-card.ev .lp-ic { margin: 0; }
.lp-ev { display: grid; gap: 14px; }

.lp-steps { counter-reset: s; list-style: none; display: grid; gap: 14px; }
.lp-steps li {
  counter-increment: s; position: relative; padding: 18px 22px 18px 62px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 13.5px; color: var(--text-dim);
}
.lp-steps li b { color: var(--text); }
.lp-steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 17px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(75, 208, 200, .12); color: var(--accent);
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
}

.lp-faq { display: grid; gap: 10px; }
.lp-faq details {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px;
}
.lp-faq summary { cursor: pointer; font-size: 14.5px; font-weight: 600; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "＋"; float: right; color: var(--text-mute); }
.lp-faq details[open] summary::after { content: "－"; }
.lp-faq p { margin-top: 11px; font-size: 13.5px; color: var(--text-dim); }

/* ---------- auth card ---------- */
.lp-sec > .lp-auth {
  max-width: 430px; margin: 0 auto; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.lp-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-mute); font-size: 11.5px; }
.lp-or::before, .lp-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.lp-label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.lp-row { display: flex; gap: 8px; }
.lp-row input {
  flex: 1; min-width: 0; padding: 11px 13px; border-radius: 9px;
  border: 1px solid var(--border-2); background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 14px;
}
.lp-row input:focus { outline: none; border-color: var(--accent); }
.lp-code-step { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.lp-code-step .lp-row input { font-family: var(--mono); letter-spacing: 3px; }
.lp-msg { min-height: 19px; margin-top: 11px; font-size: 12.5px; color: var(--text-dim); }
.lp-msg.ok { color: var(--green); }
.lp-msg.warn { color: var(--yellow); }
.lp-fine { font-size: 11.5px; color: var(--text-mute); line-height: 1.6; }
.lp-auth .lp-fine { margin-top: 16px; }

/* ---------- footer ---------- */
.lp-foot {
  max-width: var(--lp-max); margin: 0 auto; padding: 34px 22px 54px;
  border-top: 1px solid var(--border); display: grid; gap: 18px;
}
.lp-foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; flex-wrap: wrap; }
.lp-foot b { font-size: 13.5px; }
.lp-links.foot { margin-left: 0; }

@media (max-width: 720px) {
  .lp-links { display: none; }
  /* the nav links carry the margin-left:auto spacer — without them the sign-in
     button collapses against the wordmark */
  .lp-nav > .lp-btn { margin-left: auto; }
  .lp-links.foot { display: flex; flex-wrap: wrap; gap: 14px; }
  .lp-brand i { display: none; }
  .lp-numbers { gap: 26px; }
  .lp-hero, .lp-head { padding-top: 48px; }
  .lp-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .lp-btn:hover { transform: none; } }
