/* Bui Marketing — v1 front-door styles.
   Mobile-first, plain CSS, no build tooling. Adapted from the assistenger
   prototype's structure but with an elegant neutral palette.

   NOTE: brand colors are PLACEHOLDER. The founder owns the final look —
   logo, palette, fonts are hers to set. These tokens are an intentionally
   restrained warm-neutral so the page reads premium without pre-deciding
   the brand. Swap the --ink/--accent/etc. tokens to rebrand in one place. */

:root {
  --ink: #18222e;          /* cool near-black */
  --ink-soft: #5b6b7a;     /* muted secondary text */
  --accent: #1d9bf6;       /* light sky blue — primary button */
  --accent-dark: #0b84d6;
  --line: #d4e8fb;
  --bg: #ffffff;
  --bg-soft: #ecf6ff;      /* soft light-blue off-white */
  --card: #ffffff;
  --danger: #b3261e;
  --ok: #2e7d52;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 18px 50px rgba(30, 70, 110, 0.12);
  --shadow-sm: 0 3px 14px rgba(30, 70, 110, 0.08);
  --maxw: 1060px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg-soft);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 60px 0; }
.hidden { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 248, 253, 0.90);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 66px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-weight: 600; font-size: 21px;
  letter-spacing: 0.01em; color: var(--ink);
}
.wordmark:hover { text-decoration: none; }
.wordmark-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.wordmark-by {
  font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.02em;
  text-transform: none; color: var(--ink-soft); margin-top: 1px;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; flex: 0 0 auto;
}
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; font-weight: 600; font-size: 16px;
  padding: 15px 22px; border-radius: var(--radius-sm);
  background: var(--grad); color: #fff;
  transition: transform .05s ease, background .15s ease, opacity .15s ease;
  min-height: 52px; text-decoration: none; line-height: 1;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-block { width: 100%; }
.btn-lg { font-size: 17px; padding: 17px 26px; min-height: 58px; }
.btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: #e4f2ff; }
.link-btn {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font: inherit; padding: 0; text-decoration: underline;
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 18px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start;
}
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: 42px; line-height: 1.12;
  margin: 0 0 16px; letter-spacing: -0.01em;
}
.hero h1 .hl { font-style: italic; }
.lede { font-size: 18px; color: var(--ink-soft); margin: 0 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 13px; }
.hero-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; }
.hero-points strong { font-weight: 600; }
.tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: 13px; margin-top: 1px;
}
.kicker {
  margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink-soft); font-style: italic;
}

/* ---------- Card / auth + intake ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-card { padding: 30px 28px; border: 1px solid var(--line); }
.panel-card h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 0 0 6px; }
.panel-sub { color: var(--ink-soft); font-size: 15px; margin: 0 0 20px; }

.field { margin-bottom: 16px; }
.field-label {
  display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px;
}
.field-hint { font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; }

.input, .file-input, textarea.input {
  width: 100%; font-size: 16px; padding: 14px 15px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-family: var(--sans);
}
.input:focus, .file-input:focus { outline: none; border-color: var(--accent); }
.phone-input {
  font-size: 21px; padding: 17px; text-align: center;
  border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(30,70,110,.10);
}

.reassure { font-size: 13.5px; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }
.fineprint { font-size: 12px; color: var(--ink-soft); margin-top: 14px; line-height: 1.5; }
.form-error { color: var(--danger); font-size: 14px; margin: 10px 0 0; }
.mt-8 { margin-top: 8px; }

/* ---------- OTP ---------- */
.otp-hint { font-size: 15px; color: var(--ink-soft); margin: 0 0 16px; }
.otp-inputs { display: flex; gap: 9px; justify-content: space-between; margin-bottom: 18px; }
.otp-inputs input {
  width: 100%; aspect-ratio: 1; text-align: center; font-size: 24px; font-weight: 600;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--ink);
}
.otp-inputs input:focus { outline: none; border-color: var(--accent); }
.dev-code-banner {
  background: #e4f2ff; border: 1px solid #aed4f7; color: #0c66b3;
  padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px;
}
.dev-code { font-weight: 700; font-size: 18px; letter-spacing: .12em; }

/* ---------- Upload page ---------- */
.upload-grid { display: grid; gap: 18px; }
.dropzone {
  border: 1.5px dashed var(--line); border-radius: var(--radius-sm);
  padding: 16px; background: #f0f8ff;
}
.dropzone .field-label { margin-bottom: 4px; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.file-list li { padding: 3px 0; }

/* ---------- Success / confirm ---------- */
.success-box { text-align: center; padding: 8px 0; }
.big-check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 14px;
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin: 0 0 6px; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 0 0 8px; }
.section-head p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); margin-top: 20px; }
.site-footer .container { padding: 30px 22px; }
.foot-legal { color: var(--ink-soft); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 34px; }
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Vibrancy pass (less dull) ---------- */
:root {
  --pop: #ff5a8c;
  --grad: linear-gradient(135deg, #1d9bf6, #3fc8ef);
  --grad-warm: linear-gradient(135deg, #ff7eb3, #ff5a8c);
}
body {
  background:
    radial-gradient(1100px 560px at 88% -10%, #cfeeff, transparent 60%),
    radial-gradient(880px 500px at -6% 2%, #ffe1ec, transparent 55%),
    var(--bg-soft);
  background-attachment: fixed;
}
.eyebrow { color: var(--pop); }
.hero h1 .hl { color: var(--pop); }
.step-num { background: var(--grad-warm); }
.logo-mark { background: var(--grad); }
.dropzone { background: linear-gradient(135deg, #eef7ff, #fff0f6); border-color: #ffd0e0; }
.phone-input { box-shadow: 0 0 0 4px rgba(29,155,246,.18); }
.btn-lg { box-shadow: 0 12px 28px rgba(29,155,246,.30); }
.panel-card { box-shadow: 0 22px 60px rgba(29,120,200,.16); }
