/* ── Landing / access gate / launcher ── */
:root {
  --lp-bg-0: #F7F4EE;
  --lp-bg-1: #EBE2D2;
  --lp-card: #FFFFFF;
  --lp-ink: #1F2D2A;
  --lp-ink-soft: #4A5550;
  --lp-muted: #8A9E99;
  --lp-line: #E3DDD0;
  --lp-line-strong: #D6CCB6;
  --lp-brand: #4A7C6F;
  --lp-brand-deep: #2E5347;
  --lp-error: #B5403C;
  --lp-info-bg: #EAF1EE;
}

* { box-sizing: border-box; }

.lp-body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--lp-ink);
  background: linear-gradient(180deg, var(--lp-bg-0) 0%, var(--lp-bg-1) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.lp-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.lp-shell--launcher { display: block; padding: 0; }

/* ── Card ── */
.lp-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 32px rgba(46, 83, 71, 0.08);
}
.lp-card--center { text-align: center; }

/* ── Brand ── */
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.lp-brand--inline { margin-bottom: 0; }
.lp-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--lp-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
}
.lp-brandText {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.2px;
  color: var(--lp-ink);
}

.lp-tagline {
  margin: 0 0 22px;
  color: var(--lp-ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.lp-h1 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--lp-ink);
}

/* Launcher welcome (bare text, no card) */
.lp-welcome {
  margin: 0 4px 28px;
  padding: 0;
}
.lp-welcome__h1 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--lp-ink);
}
.lp-welcome__sub {
  margin: 0;
  font-size: 15px;
  color: var(--lp-ink-soft);
}

/* ── Form ── */
.lp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lp-ink-soft);
}
.lp-input {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid var(--lp-line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--lp-ink);
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.lp-input:focus {
  border-color: var(--lp-brand);
  box-shadow: 0 0 0 3px rgba(74, 124, 111, 0.18);
}

.lp-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms, transform 80ms, box-shadow 120ms;
}
.lp-btn--primary {
  background: var(--lp-brand);
  color: #fff;
  margin-top: 4px;
}
.lp-btn--primary:hover { background: var(--lp-brand-deep); }
.lp-btn--primary:active { transform: translateY(1px); }
.lp-btn:disabled { opacity: 0.55; cursor: default; }

.lp-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--lp-brand);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lp-link:hover { color: var(--lp-brand-deep); }

.lp-switch {
  margin: 18px 0 0;
  text-align: center;
}
.lp-foot {
  margin: 18px 0 0;
  color: var(--lp-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.lp-error {
  margin: 0;
  padding: 9px 12px;
  background: #FBE7E5;
  border-radius: 6px;
  color: var(--lp-error);
  font-size: 13px;
}
.lp-info {
  margin: 0;
  padding: 9px 12px;
  background: var(--lp-info-bg);
  border-radius: 6px;
  color: var(--lp-brand-deep);
  font-size: 13px;
}

/* ── Launcher ── */
.lp-launcher {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}
.lp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.lp-userBar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--lp-ink-soft);
}
.lp-userName { font-weight: 500; }

.lp-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.lp-tiles--solo {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}
@media (max-width: 720px) {
  .lp-tiles { grid-template-columns: 1fr; }
}

.lp-tile {
  display: block;
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px rgba(46, 83, 71, 0.06);
  transition: transform 140ms, box-shadow 140ms, border-color 140ms;
}
.lp-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(46, 83, 71, 0.12);
  border-color: var(--lp-line-strong);
}
.lp-tile__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: var(--lp-brand);
  background: rgba(74, 124, 111, 0.10);
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lp-tile__title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--lp-ink);
}
.lp-tile__body {
  margin: 0 0 18px;
  color: var(--lp-ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.lp-tile__cta {
  font-weight: 600;
  color: var(--lp-brand);
  font-size: 14px;
}

/* ── Overview card (walkthrough sections under the tiles) ── */
.lp-overview {
  margin-top: 36px;
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: 0 4px 14px rgba(46, 83, 71, 0.04);
}
.lp-overview__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--lp-muted);
  margin: 0 0 14px;
}
.lp-overview__sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.lp-overview__sections--solo {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 720px) {
  .lp-overview__sections { grid-template-columns: 1fr; }
}
.lp-overview__section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-overview__title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
  color: var(--lp-ink);
}
.lp-overview__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lp-ink-soft);
  white-space: pre-wrap;
}

/* Expandable App tile */
.lp-tile--expandable {
  padding: 0;
  overflow: hidden;
}
.lp-tile--expandable:hover { transform: none; }
.lp-tile__head {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  color: inherit;
  padding: 28px 26px;
  cursor: pointer;
  display: block;
}
.lp-tile__head:focus-visible {
  outline: 2px solid var(--lp-brand);
  outline-offset: -2px;
}
.lp-tile--open { box-shadow: 0 14px 32px rgba(46, 83, 71, 0.12); }
.lp-tile--open .lp-tile__head { padding-bottom: 18px; }

.lp-sublaunch {
  list-style: none;
  margin: 0;
  padding: 6px 12px 16px;
  border-top: 1px solid var(--lp-line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lp-sublaunch__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 100ms;
}
.lp-sublaunch__row:hover { background: rgba(74, 124, 111, 0.08); }
.lp-sublaunch__title {
  grid-column: 1;
  grid-row: 1;
  font-weight: 600;
  font-size: 14px;
  color: var(--lp-ink);
}
.lp-sublaunch__body {
  grid-column: 1;
  grid-row: 2;
  font-size: 13px;
  color: var(--lp-ink-soft);
  line-height: 1.45;
}
.lp-sublaunch__cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--lp-brand);
  white-space: nowrap;
}
