/* AlphaDesk landing page.
 *
 * Standalone rather than an extension of styles.css: the dashboard sheet is
 * built for a fixed three-column application shell at 12px, and a marketing
 * page needs neither of those. The palette is shared so the two do not look
 * like different products.
 */

:root {
  --bg:        #0d0f14;
  --bg-1:      #12151c;
  --bg-2:      #171b24;
  --bg-3:      #1e2430;
  --line:      #262d3a;
  --line-soft: #1d2330;

  --txt:       #e7eaf0;
  --txt-dim:   #9aa4b6;
  --txt-faint: #66708a;

  --up:        #26a69a;
  --down:      #ef5350;
  --accent:    #5b9dff;
  --amber:     #f0b429;
  --violet:    #a78bfa;

  --buy:  #16a34a;
  --acc:  #4d9e4d;
  --hold: #8a93a6;
  --red:  #e08a3c;
  --sell: #dc4c4c;

  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ nav */
.lnav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 22px;
  padding: 12px 24px;
  background: rgba(13,15,20,.88);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.lbrand { display: flex; align-items: center; gap: 9px; color: var(--txt); }
.lbrand:hover { text-decoration: none; }
.lbrand-mark { font-size: 22px; color: var(--accent); }
.lbrand-name { font-weight: 650; letter-spacing: .2px; }
.lnav-links { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.lnav-links a { color: var(--txt-dim); }
.lnav-links a:hover { color: var(--txt); text-decoration: none; }

.btn {
  display: inline-block; border-radius: 8px; padding: 9px 16px;
  font-size: 14px; font-weight: 550; cursor: pointer; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #08101f; }
.btn-primary:hover { filter: brightness(1.09); }
.btn-ghost { border-color: var(--line); color: var(--txt); background: var(--bg-2); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-lg { padding: 12px 24px; font-size: 15px; }

/* ----------------------------------------------------------------- hero */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: 78px 24px 56px; text-align: center;
}
.eyebrow {
  font-size: 12px; letter-spacing: 1.1px; text-transform: uppercase;
  color: var(--txt-faint); margin: 0 0 18px; font-weight: 600;
}
.hero h1 {
  margin: 0 0 22px; font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.12; letter-spacing: -.7px; font-weight: 680;
}
.lede {
  max-width: 660px; margin: 0 auto 30px;
  font-size: 16.5px; color: var(--txt-dim);
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note {
  margin: 26px auto 0; max-width: 560px;
  font-size: 12.5px; color: var(--txt-faint);
}

/* --------------------------------------------------------- status band */
.statusband { border-block: 1px solid var(--line); background: var(--bg-1); }
.statusband-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 24px;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--txt-dim);
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 11px; font-size: 12px; font-family: var(--mono);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--txt-faint); }
.pill.ok { border-color: #12452f; background: #08251a; color: var(--up); }
.pill.ok::before { background: var(--up); }
.pill.warn { border-color: #6b4a12; background: #2a1e08; color: var(--amber); }
.pill.warn::before { background: var(--amber); }

/* -------------------------------------------------------------- section */
.section { max-width: var(--wrap); margin: 0 auto; padding: 66px 24px; }
.section.alt { max-width: none; background: var(--bg-1); border-block: 1px solid var(--line); }
.section.alt > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.section h2 {
  margin: 0 0 10px; font-size: clamp(23px, 3.2vw, 31px);
  letter-spacing: -.4px; font-weight: 660;
}
.section-lede { margin: 0 0 34px; color: var(--txt-dim); max-width: 680px; }

/* ---------------------------------------------------------------- steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.steps li {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 20px;
}
.section.alt .steps li { background: var(--bg-2); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; border-radius: 8px;
  background: var(--bg-3); color: var(--accent);
  font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.steps h3 { margin: 13px 0 7px; font-size: 16px; font-weight: 600; }
.steps p { margin: 0; font-size: 13.5px; color: var(--txt-dim); }

/* ---------------------------------------------------------------- cards */
.cards {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}
.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 11px; padding: 17px 17px 15px;
}
.card h3 {
  margin: 0 0 6px; font-size: 14.5px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.card-ico { color: var(--accent); font-size: 15px; }
.card p { margin: 0; font-size: 13px; color: var(--txt-dim); }

/* -------------------------------------------------------------- preview */
.preview { margin: 0 0 24px; }
.preview-cap {
  font-size: 12.5px; color: var(--txt-faint);
  margin-bottom: 12px; padding: 10px 13px;
  background: #2a1e08; border: 1px solid #6b4a12; border-radius: 8px;
  color: var(--amber);
}
.preview-cap a { color: var(--amber); text-decoration: underline; }
.preview-frame {
  border: 1px solid var(--line); border-radius: 11px; overflow: hidden;
  background: var(--bg-1);
}
.preview-topbar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 13px; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.pv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-3); }
.pv-title { margin-left: 10px; font-size: 11.5px; color: var(--txt-faint); font-family: var(--mono); }
.preview-body { display: flex; min-height: 268px; }
.pv-side, .pv-right {
  width: 132px; flex-shrink: 0; padding: 12px 11px;
  border-right: 1px solid var(--line-soft); background: var(--bg-1);
}
.pv-right { border-right: 0; border-left: 1px solid var(--line-soft); width: 148px; }
.pv-side-h {
  font-size: 9px; text-transform: uppercase; letter-spacing: .7px;
  color: var(--txt-faint); margin: 11px 0 6px; font-weight: 600;
}
.pv-side-h:first-child { margin-top: 0; }
.pv-bar { height: 8px; border-radius: 3px; background: var(--bg-3); margin-bottom: 6px; }
.pv-bar.short { width: 62%; }
.pv-card { height: 46px; border-radius: 7px; background: var(--bg-3); margin-bottom: 8px; }
.pv-main { flex: 1; overflow-x: auto; }
.pv-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.pv-table th {
  text-align: left; font-weight: 550; font-size: 9.5px; text-transform: uppercase;
  letter-spacing: .4px; color: var(--txt-faint);
  padding: 9px 10px; border-bottom: 1px solid var(--line); background: var(--bg-2);
  white-space: nowrap;
}
.pv-table td {
  padding: 8px 10px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); color: var(--txt-dim); white-space: nowrap;
}
.pv-table td:first-child { font-family: var(--sans); color: var(--txt); }
.pv-up { color: var(--up); }
.pv-down { color: var(--down); }
.pv-sig {
  display: inline-block; padding: 1px 7px; border-radius: 4px;
  font-size: 10px; font-family: var(--sans); font-weight: 600;
}

/* ---------------------------------------------------------------- bands */
.bands { display: flex; flex-wrap: wrap; gap: 7px; }
.band {
  font-size: 11.5px; font-family: var(--mono);
  padding: 4px 10px; border-radius: 5px; color: #08101f; font-weight: 600;
}
.b-sbuy  { background: var(--buy); }
.b-buy   { background: var(--acc); }
.b-acc   { background: #6aa86a; }
.b-hold  { background: var(--hold); }
.b-red   { background: var(--red); }
.b-sell  { background: var(--sell); }
.b-ssell { background: #b03434; color: #fff; }

/* --------------------------------------------------------------- tiers */
.billing-warn {
  border: 1px solid #6b4a12; background: #2a1e08; color: var(--amber);
  border-radius: 9px; padding: 13px 15px; font-size: 13.5px; margin-bottom: 22px;
}
.tiers {
  display: grid; gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  align-items: start;
}
.tier {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 19px; display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tier-flag {
  font-size: 10px; text-transform: uppercase; letter-spacing: .8px;
  color: var(--accent); font-weight: 700; margin-bottom: 8px;
}
.tier h3 { margin: 0 0 4px; font-size: 17px; font-weight: 640; }
.tier-sum { font-size: 12.5px; color: var(--txt-faint); margin: 0 0 16px; min-height: 34px; }
.tier-price { font-family: var(--mono); margin-bottom: 4px; }
.tier-price b { font-size: 27px; font-weight: 650; letter-spacing: -.5px; }
.tier-price span { color: var(--txt-faint); font-size: 13px; }
.tier-annual { font-size: 11.5px; color: var(--txt-faint); font-family: var(--mono); margin-bottom: 17px; }
.tier ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.tier li {
  font-size: 13px; color: var(--txt-dim); padding: 4px 0 4px 19px;
  position: relative;
}
.tier li::before {
  content: "+"; position: absolute; left: 2px; top: 4px;
  color: var(--up); font-family: var(--mono); font-weight: 700;
}
.tier li.inherit { color: var(--txt-faint); font-style: italic; }
.tier li.inherit::before { content: "↑"; color: var(--txt-faint); }
.tier-limits {
  font-size: 11.5px; color: var(--txt-faint); font-family: var(--mono);
  border-top: 1px solid var(--line-soft); padding-top: 11px; margin-bottom: 15px;
}

/* ------------------------------------------------------------ cta band */
.cta-band { text-align: center; }
.cta-band .section-lede { margin-left: auto; margin-right: auto; }

/* -------------------------------------------------------------- footer */
.lfooter { border-top: 1px solid var(--line); background: var(--bg-1); }
.lfooter-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 44px 24px 30px;
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.lfooter h4 {
  margin: 0 0 11px; font-size: 11px; text-transform: uppercase;
  letter-spacing: .8px; color: var(--txt-faint); font-weight: 650;
}
.lfooter a { display: block; font-size: 13.5px; margin-bottom: 6px; color: var(--txt-dim); }
.lfooter a:hover { color: var(--txt); }
.muted { color: var(--txt-faint); font-size: 13px; margin: 8px 0 0; }

.disclaimer-block {
  max-width: var(--wrap); margin: 0 auto; padding: 20px 24px 40px;
  font-size: 12px; line-height: 1.65; color: var(--txt-faint);
  border-top: 1px solid var(--line-soft);
}
.disclaimer-block strong { color: var(--txt-dim); }

.loading { color: var(--txt-faint); font-size: 13.5px; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 820px) {
  .lnav { gap: 12px; padding: 11px 16px; flex-wrap: wrap; }
  .lnav-links { display: none; }
  .hero { padding: 52px 18px 40px; }
  .section { padding: 48px 18px; }
  /* The preview is a scaled-down desktop layout; its two rails are noise on a
     phone, and the table it frames is the point. */
  .pv-side, .pv-right { display: none; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 28px; }
  .lede { font-size: 15px; }
  .btn-lg { width: 100%; text-align: center; }
}
