/*
 * theme.css — WRITTEN BY THE PLATFORM. Do not edit.
 *
 * Palette: Your colours (custom)
 * Source colours: #0f061e #231b33 #faf7ff #6d28d9 #6f6f64 #ffffff
 *
 * Every value below is either one of those five or derived from them, and each
 * one is contrast-corrected against this palette's own background. Consume
 * them with var(--token); never write a colour value in app code.
 */

:root {
  --canvas: #faf7ff;
  --surface: #fdfbff;
  --surface-2: #eeebf4;
  --border: #d9d5e0;
  --border-strong: #b4afbc;
  --ink: #231b33;
  --muted: #6f6a7a;
  --accent: #6d28d9;
  --accent-hover: #5d22b8;
  --accent-ink: #ffffff;
  --accent-text: #6f6f64;
  --accent-strong: #6d28d9;
  --accent-soft: #e6dafa;
  --accent-border: #bb9aee;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dfe9e8;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f2e3e1;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f2dde4;
  --danger-strong: #b91c1c;}

/* ====================================================================
 * app.css — Buildio's landing page.
 *
 * Character: playful and energetic. Rounder than the system default,
 * numerals set in the mono face for a techy wink, a little bounce on
 * hover, and exactly one accent carried by CTAs, the active nav state
 * and a couple of gradient panels — everything else stays ink/muted.
 * ==================================================================== */

:root {
  /* Rounder corners than the floor default — big soft cards, pill chips. */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  /* A touch more spring in the standard transitions. */
  --dur-2: 220ms;
  --ease-out: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Topbar polish ---------------------------------------------------- */
.lp-topbar { padding-inline: var(--s-7); gap: var(--s-6); }
.lp-topbar .brand-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: var(--radius-sm);
}
.lp-navlinks { display: flex; align-items: center; gap: var(--s-5); margin-right: var(--s-2); }
.lp-navlinks a {
  font-size: var(--t-sm);
  font-weight: var(--fw-medium);
  color: var(--muted);
  padding: var(--s-2) 0;
  transition: color var(--dur-1) var(--ease);
}
.lp-navlinks a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .lp-navlinks { display: none; }
  .lp-topbar { padding-inline: var(--s-4); }
}

/* ---- Page rhythm -------------------------------------------------------
   Landing sections breathe more than an app dashboard's .page does, so
   this app writes its own vertical rhythm instead of reusing .page. */
.lp { max-width: var(--content-max); margin-inline: auto; }
.lp > * + * { margin-top: var(--s-12); }
@media (max-width: 640px) {
  .lp > * + * { margin-top: var(--s-9); }
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}

.lp-head { max-width: var(--measure); }
.lp-head.center { max-width: 640px; margin-inline: auto; text-align: center; }

.lp-hero-title { font-size: var(--t-5xl); line-height: var(--lh-tight); letter-spacing: var(--track-tight); font-weight: 700; }
.lp-hero-sub { max-width: 46ch; }
@media (max-width: 640px) {
  .lp-hero-title { font-size: var(--t-4xl); }
}
.lp-section-title { letter-spacing: var(--track-tight); }
.lp-footer-brand { padding-left: 0; }

/* ---- Hero -------------------------------------------------------------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: var(--s-11) var(--s-8);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
}
.lp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.lp-blob-a { width: 420px; height: 420px; top: -180px; right: -120px; background: var(--accent); opacity: 0.28; }
.lp-blob-b { width: 320px; height: 320px; bottom: -140px; left: -100px; background: var(--accent-hover); opacity: 0.2; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-10); align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-trust { display: flex; align-items: center; gap: var(--s-3); }

.hero-mock { position: relative; min-height: 430px; }
@media (max-width: 900px) { .hero-mock { min-height: 380px; margin-top: var(--s-4); } }
@media (max-width: 480px) { .hero-mock { min-height: 340px; } }

.hero-card {
  position: absolute;
  width: min(250px, 68vw);
  padding: var(--s-4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
}
.hero-card-a { top: 0; left: 4%; z-index: 3; animation: lp-float-a 6s ease-in-out infinite; }
.hero-card-b { top: 120px; left: 32%; z-index: 2; animation: lp-float-b 7s ease-in-out infinite 0.3s; }
.hero-card-c { top: 240px; left: 0%; z-index: 1; animation: lp-float-c 8s ease-in-out infinite 0.6s; }
@media (max-width: 480px) {
  .hero-card-a { left: 0; }
  .hero-card-b { top: 100px; left: 26%; }
  .hero-card-c { top: 200px; left: 0; }
}

@keyframes lp-float-a { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-10px); } }
@keyframes lp-float-b { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-12px); } }
@keyframes lp-float-c { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-card-a, .hero-card-b, .hero-card-c { animation: none; }
}

.hero-card-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-3);
}
.hero-bar { height: 8px; border-radius: var(--radius-pill); background: var(--surface-2); margin-top: var(--s-2); }
.hero-bar.short { width: 55%; }
.hero-bar.accent { background: var(--accent-soft); }

/* ---- Stats strip --------------------------------------------------------- */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
@media (max-width: 700px) { .lp-stats { grid-template-columns: repeat(2, 1fr); } }
.lp-stat { text-align: center; padding: var(--s-5) var(--s-3); }
.lp-stat-num { font-family: var(--font-mono); font-size: var(--t-3xl); font-weight: 700; letter-spacing: var(--track-tight); color: var(--ink); }
.lp-stat-label { color: var(--muted); font-size: var(--t-sm); margin-top: var(--s-1); }

/* ---- Feature cards --------------------------------------------------- */
.feature-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
}

/* ---- How it works ------------------------------------------------------ */
.howto-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
@media (max-width: 760px) { .howto-grid { grid-template-columns: 1fr; } }
.howto-grid::before {
  content: "";
  position: absolute;
  top: 26px; left: 12%; right: 12%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
@media (max-width: 760px) { .howto-grid::before { display: none; } }
.howto-item { position: relative; z-index: 1; }
.howto-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--t-lg);
  box-shadow: var(--shadow-raised);
  margin-bottom: var(--s-4);
}

/* ---- Comparison table --------------------------------------------------- */
.cmp-yes { color: var(--success-strong); }
.cmp-no { color: var(--muted); opacity: 0.7; }
.cmp-col-buildio { background: color-mix(in srgb, var(--accent) 6%, transparent); font-weight: var(--fw-semi); }

/* ---- Pricing ------------------------------------------------------------ */
.price-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.price-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 20px 44px color-mix(in srgb, var(--accent) 22%, transparent);
  transform: translateY(-6px);
}
@media (max-width: 760px) { .price-card.is-featured { transform: none; } }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.price-amount { font-family: var(--font-mono); font-size: var(--t-4xl); font-weight: 700; letter-spacing: var(--track-tight); }
.price-period { color: var(--muted); font-size: var(--t-sm); }
.price-list { display: flex; flex-direction: column; margin-top: var(--s-6); flex: 1 1 auto; }
.price-list li { display: flex; align-items: flex-start; gap: var(--s-2); font-size: var(--t-sm); }
.price-list li + li { margin-top: var(--s-3); }
.price-list .icon { color: var(--success-strong); flex: 0 0 auto; margin-top: 2px; }

/* ---- Reviews ------------------------------------------------------------- */
.review-quote-mark {
  font-family: var(--font-mono);
  font-size: var(--t-4xl);
  line-height: 1;
  color: var(--accent-border);
  margin-bottom: var(--s-2);
}

/* ---- CTA band ------------------------------------------------------------ */
.lp-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: var(--s-10) var(--s-8);
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--accent-ink);
  box-shadow: var(--shadow-raised);
}
.btn-on-accent {
  background: var(--surface);
  border-color: transparent;
  color: var(--accent-strong);
  font-weight: var(--fw-semi);
}
.btn-on-accent:hover { background: var(--accent-soft); }

/* ---- Footer --------------------------------------------------------------- */
.lp-footer { padding-top: var(--s-9); border-top: 1px solid var(--border); }
.lp-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-8); }
@media (max-width: 760px) { .lp-footer-grid { grid-template-columns: repeat(2, 1fr); } }
.lp-footer-col-title { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: var(--track-caps); color: var(--muted); font-weight: var(--fw-semi); margin-bottom: var(--s-3); }
.lp-footer-links { display: flex; flex-direction: column; }
.lp-footer-links a { color: var(--muted); font-size: var(--t-sm); transition: color var(--dur-1) var(--ease); }
.lp-footer-links a + a { margin-top: var(--s-2); }
.lp-footer-links a:hover { color: var(--ink); }
.lp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--t-sm);
}

/* ---- Small lift on anything clickable in a card grid ---------------------- */
.lp-hover { transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.lp-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
@media (prefers-reduced-motion: reduce) {
  .lp-hover, .lp-hover:hover { transform: none; }
}
