/* Public landing page only. The signed-in app keeps Clear Sky teal in theme-clear.css. */
:root {
  --lp-navy: #00152e;
  --lp-ink: #1a2740;
  --lp-muted: #3e4c60;
  --lp-green: #017a3e;
  --lp-green-deep: #016834;
  --lp-live: #02824a;
  --lp-line: #e4ebf2;
  --lp-mist: #f5f8fa;
  --lp-card: #ffffff;
  --lp-blue: #0b6fbf;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--lp-ink);
  background: #fff;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 750; color: var(--lp-navy); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }

.lp-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: #fff;
  color: var(--lp-navy);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}
.lp-skip:focus { top: 12px; }

.lp-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.lp-top { position: sticky; top: 0; z-index: 10; background: #fff; }
.lp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 0;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.lp-brand img { width: 26px; height: 43px; object-fit: contain; flex: none; }
.lp-word {
  display: block;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--lp-navy);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .lp-word {
    background-image: linear-gradient(90deg, #00152e 0%, #0b6fbf 58%, #02824a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.lp-tag {
  display: none;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--lp-muted);
  line-height: 1.25;
}
.lp-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; order: 3; width: 100%; }
.lp-nav a { text-decoration: none; font-weight: 650; font-size: 15px; color: #243246; padding: 6px 0; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-hairline { height: 3px; background: linear-gradient(90deg, #0b4fbf, #14b8c9 52%, #3ddc6a); }

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1;
}
.lp-btn-primary { background: var(--lp-green); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-green-deep); }
.lp-btn-ghost { background: #fff; color: var(--lp-navy); border-color: #c5d0dc; }
.lp-btn-ghost:hover { border-color: var(--lp-navy); }
.lp-btn-light { background: #fff; color: var(--lp-green); }
.lp-btn-light:hover { background: #f3fbf6; }
.lp-btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.lp-btn-line:hover { background: rgba(255, 255, 255, 0.1); }
:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 3px; }
.lp-close :focus-visible { outline-color: #fff; }

.lp-hero {
  background:
    radial-gradient(520px 320px at 82% 28%, rgba(61, 220, 106, 0.16), transparent 70%),
    radial-gradient(460px 280px at 96% 78%, rgba(11, 111, 191, 0.14), transparent 68%),
    linear-gradient(180deg, #f3faf6 0%, #f7fafc 58%, #fff 100%);
  padding: 28px 0 36px;
}
.lp-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-green);
}
.lp-line { display: block; }
.lp-copy h1 { font-size: 32px; letter-spacing: -0.035em; line-height: 1.02; }
.lp-live { color: var(--lp-live); }
.lp-hero-tag { margin: 10px 0 0; font-size: 13px; font-weight: 650; color: var(--lp-muted); }
.lp-lede { margin-top: 14px; font-size: 17px; color: var(--lp-muted); max-width: 38rem; }
.lp-hero-actions { margin-top: 20px; }
.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--lp-ink);
}
.lp-trust li { display: flex; align-items: center; gap: 8px; }
.lp-trust svg { width: 20px; height: 20px; flex: none; }

.lp-stage { margin-top: 28px; display: grid; gap: 14px; }
.lp-laptop {
  background: #122033;
  border-radius: 16px;
  padding: 10px 10px 16px;
  box-shadow: 0 18px 40px rgba(2, 24, 56, 0.16);
}
.lp-laptop img { display: block; width: 100%; height: auto; border-radius: 8px; }
.lp-phone {
  width: min(250px, 72%);
  margin: 0 auto;
  background: #0e1726;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 16px 36px rgba(2, 24, 56, 0.22);
}
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 24px; }

.lp-band { background: var(--lp-mist); padding: 48px 0; }
.lp-section { padding: 48px 0; }
.lp-band h2, .lp-section h2 { font-size: 32px; }
.lp-sub { margin-top: 8px; color: var(--lp-muted); font-size: 16px; max-width: 40rem; }
.lp-cards, .lp-steps { display: grid; gap: 14px; margin-top: 22px; }
.lp-card, .lp-step {
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(2, 24, 56, 0.04);
}
.lp-card h3, .lp-step h3 { font-size: 18px; letter-spacing: -0.02em; }
.lp-card p, .lp-step p { margin-top: 8px; color: var(--lp-muted); font-size: 15px; }
.lp-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.lp-ico svg { width: 26px; height: 26px; display: block; }
.lp-ico-blue { background: #e7f2fc; color: var(--lp-blue); }
.lp-ico-green { background: #e5f6ee; color: var(--lp-green); }
.lp-ico-violet { background: #f1eafa; color: #6d4e9c; }
.lp-ico-amber { background: #fff4e6; color: #b86a12; }
.lp-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: #e5f6ee;
  color: var(--lp-green);
  font-weight: 750;
  letter-spacing: 0.02em;
}
.lp-step {
  display: flex;
  flex-direction: column;
}
.lp-step p { margin-bottom: 16px; }
.lp-step-art {
  align-self: flex-end;
  width: 96px;
  height: auto;
  margin-top: auto;
}

.lp-pricing {
  padding: 48px 0;
  text-align: center;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(14, 124, 116, 0.1), transparent 72%),
    #fff;
}
.lp-pricing h2 { font-size: 32px; }
.lp-pricing .lp-sub { margin-left: auto; margin-right: auto; }
.lp-price {
  width: min(100%, 440px);
  margin: 22px auto 0;
  text-align: left;
  background: #fff;
  border: 1px solid #d7ebe4;
  border-radius: 24px;
  padding: 26px 22px 20px;
  box-shadow: 0 16px 40px rgba(1, 31, 69, 0.08);
}
.lp-price h3 { font-size: 22px; }
.lp-price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}
.lp-price-num {
  font-size: 44px;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--lp-navy);
  line-height: 1;
}
.lp-price-per {
  font-size: 16px;
  color: var(--lp-muted);
  font-weight: 650;
}
.lp-price-trial {
  margin-top: 10px;
  color: var(--lp-muted);
  font-size: 14px;
}
.lp-price-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lp-price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  color: var(--lp-ink);
}
.lp-price-list svg { width: 20px; height: 20px; flex: none; }
.lp-price-cta {
  width: 100%;
  margin-top: 22px;
  line-height: 1.25;
  text-align: center;
}
.lp-price-note {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--lp-muted);
}
.lp-price-secondary {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: var(--lp-navy);
  font-weight: 700;
}

.lp-beta {
  margin-top: 12px;
  background: #00152e;
  color: #fff;
  border-radius: 20px;
  padding: 12px 14px 14px;
  box-shadow: 0 14px 32px rgba(0, 21, 46, 0.28);
}
.lp-beta h1, .lp-beta h2 { color: #fff; font-size: 22px; }
.lp-beta-offer {
  margin-top: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
}
.lp-beta label {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: #fff;
}
.lp-beta input[type="text"], .lp-beta input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 4px;
  min-height: 44px;
  border: 2px solid #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: #00152e;
  background: #fff;
}
.lp-beta-submit {
  width: 100%;
  margin-top: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #b6ff6a;
  color: #00152e;
  font: inherit;
  font-size: 17px;
  font-weight: 750;
  cursor: pointer;
}
.lp-beta-submit:hover { background: #d4ff9a; }
.lp-beta-side {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  font-weight: 700;
}
.lp-beta-side a, .lp-beta a { color: #fff; }
.lp-beta-note { margin-top: 8px; color: #f4f7fb; font-size: 14px; font-weight: 600; }
.lp-beta-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-beta-error {
  margin-top: 10px;
  background: #fff;
  color: #00152e;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 750;
}
.lp-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lp-beta-page { max-width: 36rem; }
#join { scroll-margin-top: 96px; }

.lp-about { display: grid; gap: 22px; align-items: center; }
.lp-lockup { width: min(100%, 280px); height: auto; }

.lp-close-wrap { padding: 8px 0 28px; }
.lp-close {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 28px 22px;
  color: #fff;
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(61, 220, 106, 0.35), transparent 70%),
    linear-gradient(105deg, #031e4a 0%, #0a4f96 48%, #0c7a62 100%);
  display: grid;
  gap: 18px;
}
.lp-close h2 { color: #fff; font-size: 28px; max-width: 16ch; }
.lp-close p { margin-top: 8px; color: #f4f7fb; max-width: 36rem; }
.lp-close-brand {
  margin: 0 0 8px;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.lp-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 8px 16px 32px;
  font-size: 14px;
}
.lp-footer a { color: var(--lp-green); text-decoration: underline; font-weight: 650; }

section[id] { scroll-margin-top: 92px; }

@media (min-width: 720px) {
  .lp-tag { display: block; }
  .lp-copy h1 { font-size: 44px; }
  .lp-cards, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-about { grid-template-columns: 280px 1fr; gap: 36px; }
  .lp-close { grid-template-columns: 1fr auto; align-items: center; padding: 36px 36px; }
  .lp-close .lp-actions { justify-content: flex-end; }
}

@media (min-width: 960px) {
  .lp-nav { order: 0; width: auto; flex: 1; justify-content: center; gap: 22px; }
  .lp-hero { padding: 20px 0 36px; }
  .lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: center;
  }
  .lp-stage {
    margin-top: 0;
    position: relative;
    min-height: 470px;
    padding: 12px 0 0 108px;
    display: block;
  }
  .lp-phone {
    position: absolute;
    left: 0;
    top: 18px;
    width: 196px;
    margin: 0;
    z-index: 2;
  }
  .lp-cards { grid-template-columns: repeat(4, 1fr); }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-step-art { width: 120px; }
  .lp-band, .lp-section, .lp-pricing { padding: 72px 0; }
}

@media (max-width: 959px) {
  .lp-hero { padding: 12px 0 28px; }
  .lp-lede { margin-top: 8px; }
  .lp-beta { margin-top: 12px; padding: 14px; }
  .lp-beta h1, .lp-beta h2 { font-size: 22px; }
  .lp-beta-offer { font-size: 17px; }
}
@media (max-width: 380px) {
  .lp-wrap { width: min(1120px, calc(100% - 24px)); }
  .lp-btn { padding: 10px 12px; }
  .lp-copy h1 { font-size: 30px; }
  .lp-beta-fields { grid-template-columns: 1fr; }
  .lp-step-art { width: 84px; }
  .lp-price { padding: 22px 16px 16px; }
  .lp-price-num { font-size: 40px; }
}

.lp-nav a[aria-current="page"] { color: var(--lp-green); }
.lp-blog { padding: 36px 0 64px; }
.lp-blog h1 { font-size: 36px; margin-bottom: 8px; }
.lp-blog-lead { color: var(--lp-muted); max-width: 40rem; margin-bottom: 22px; }
.lp-empty { margin: 0; }
.lp-post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lp-post {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: var(--lp-card);
  text-decoration: none;
  color: inherit;
}
.lp-post img, .lp-cover { width: 100%; border-radius: 12px; object-fit: cover; }
.lp-post h2 { font-size: 22px; }
.lp-post time, .lp-article time { color: var(--lp-muted); font-size: 14px; font-weight: 650; }
.lp-article { max-width: 740px; margin: 0 auto; }
.lp-article h2 { font-size: 22px; margin: 22px 0 8px; }
.lp-article h3 { font-size: 18px; margin: 16px 0 6px; }
.lp-article p { margin: 0 0 12px; }
.lp-article ul { margin: 0 0 14px 1.2em; }
.lp-article a { color: var(--lp-green); font-weight: 650; }
.lp-cover { margin: 8px 0 16px; }
.lp-cta {
  margin-top: 28px;
  padding: 20px;
  border-radius: 16px;
  background: var(--lp-mist);
  border: 1px solid var(--lp-line);
}
.lp-cta h2 { font-size: 22px; margin: 0 0 8px; }
.lp-cta p { margin: 0 0 14px; }
.lp-faq { margin-top: 28px; }
.lp-faq h2 { font-size: 22px; margin: 0 0 8px; }
.lp-faq h3 { font-size: 17px; margin: 16px 0 4px; }
.lp-faq p { margin: 0; }
@media (max-width: 719px) {
  .lp-blog h1 { font-size: 30px; }
  .lp-post, .lp-cta { padding: 14px; }
}
