:root {
  --bg: #f6f7fb; --surface: #fff; --text: #1b1f2a; --muted: #5d6475;
  --line: #e2e5ee; --brand: #2747d6; --brand-ink: #fff; --accent: #0e9f6e;
  --danger: #c0352b; --warn-bg: #fff6dc; --warn-line: #f0d48a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11141b; --surface: #1a1e28; --text: #e8eaf0; --muted: #9aa1b2;
    --line: #2b3140; --brand: #6d86ff; --brand-ink: #0b0d12; --accent: #3ccf97;
    --danger: #ff7a6e; --warn-bg: #2d2714; --warn-line: #5c4c1d;
  }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--brand); }
main { max-width: 1040px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 1.8rem; margin: 0 0 12px; }
h2 { margin-top: 32px; }
.topbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--text); }
.brand span { color: var(--brand); }
.topbar nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.topbar nav a { text-decoration: none; color: var(--text); }
footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 24px 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; }
.card.disabled { opacity: .55; }
.narrow { max-width: 440px; margin: 24px auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.grid .card { margin: 0; }
.link-card { text-decoration: none; color: inherit; }
.link-card:hover { border-color: var(--brand); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.big { font-size: 1.9rem; font-weight: 700; margin: 4px 0; }
.error { color: var(--danger); display: block; }
.flash, .notice { background: var(--warn-bg); border: 1px solid var(--warn-line); padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; overflow-wrap: anywhere; }
label { display: block; margin-bottom: 14px; }
label span { display: block; font-weight: 600; margin-bottom: 4px; }
input, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--bg); color: var(--text); }
.button, button.button { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; padding: 10px 18px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.button.secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.button.danger { background: var(--danger); }
.button.small { padding: 6px 12px; font-size: .9rem; }
.button:disabled { opacity: .6; cursor: wait; }
button.link { background: none; border: 0; color: var(--text); font: inherit; cursor: pointer; padding: 0; }
form.inline { display: inline; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .85rem; color: var(--muted); }
.pill { display: inline-block; font-size: .75rem; padding: 2px 8px; border-radius: 99px; background: var(--line); color: var(--text); }
.pill.active { background: var(--accent); color: #fff; }
.pill.error { background: var(--danger); color: #fff; }
.pill.demo { background: var(--warn-line); color: var(--text); }
.chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.msg { padding: 12px 14px; border-radius: 12px; white-space: pre-wrap; max-width: 85%; }
.msg.user { align-self: flex-end; background: var(--brand); color: var(--brand-ink); }
.msg.assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.chat-form { display: flex; gap: 10px; align-items: flex-end; position: sticky; bottom: 0; background: var(--bg); padding: 8px 0; }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline; }
.trip-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0 16px; align-items: end; }
.trip-form button { margin-bottom: 14px; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.option { margin: 0; }
.option.short { opacity: .8; }
.math { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }

/* ---------- Landing page ---------- */
.landing { --ink: #0b1430; --ink-2: #13204a; --sky: #8fb4ff; --gold: #ffc65c; --mint: #42e2a4; }
.landing .topbar { background: var(--ink); border-color: rgba(255,255,255,.08); }
.landing .topbar .brand, .landing .topbar nav a:not(.button) { color: #fff; }
.landing .topbar .brand span { color: var(--gold); }
.landing .topbar .button { background: var(--gold); color: var(--ink); }
.landing footer { background: var(--ink); color: rgba(255,255,255,.6); }
main.lp { max-width: none; padding: 0; overflow-x: clip; }
main.lp > .flash { max-width: 1120px; margin: 16px auto; }
.lp h1, .lp h2, .lp h3 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.02em; }
.lp h3 { letter-spacing: 0; word-spacing: .05em; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.lp-btn { display: inline-flex; gap: 8px; align-items: center; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn.primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px rgba(255,198,92,.35); }
.lp-btn.ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.lp-btn.ghost:hover { background: rgba(255,255,255,.08); }

/* Hero */
.lp-hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, #2c4fd6 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, #0f6b62 0%, transparent 60%), var(--ink); color: #fff; padding: 72px 0 96px; overflow: hidden; }
.lp-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.lp-glow { position: absolute; width: 420px; height: 420px; right: 8%; top: 18%; background: radial-gradient(circle, rgba(255,198,92,.25), transparent 70%); filter: blur(20px); }
.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(66,226,164,.2); }
.lp-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.04; margin: 20px 0; font-weight: 800; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold), #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lede { font-size: 1.15rem; color: rgba(255,255,255,.75); max-width: 540px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.lp-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgba(255,255,255,.7); font-size: .9rem; }
.lp-ticks li::before { content: "✓ "; color: var(--mint); font-weight: 700; }

/* Mock app card */
.lp-mock { position: relative; background: #fff; color: #1b1f2a; border-radius: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1); transform: rotate(1.5deg); }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #eceef4; font-size: .8rem; color: #8a90a2; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e6ee; }
.lp-mock-bar span { margin-left: 8px; }
.lp-mock-body { padding: 22px 20px 22px; }
.lp-balance { display: flex; justify-content: space-between; align-items: flex-start; }
.lp-label { font-size: .8rem; color: #6b7285; }
.lp-amount { font-family: "Plus Jakarta Sans", sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.lp-chip { font-size: .72rem; background: #e7f9f1; color: #0b7a52; padding: 4px 10px; border-radius: 999px; }
.lp-route { width: 100%; height: auto; color: #2747d6; margin: 6px 0 2px; }
.lp-route text { font: 700 10px system-ui; fill: #6b7285; }
.lp-pin { fill: #2747d6; }
.lp-plane { fill: #2747d6; }
.lp-bars { display: grid; gap: 12px; margin-top: 14px; }
.lp-bar-head { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; }
.lp-bar-head b { color: #0b7a52; }
.lp-bar.plain .lp-bar-head b { color: #8a90a2; }
.lp-track { height: 10px; background: #f0f2f7; border-radius: 99px; margin: 5px 0 3px; overflow: hidden; }
.lp-track span { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #2747d6, #6d86ff); animation: lp-grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.lp-bar.best .lp-track span { background: linear-gradient(90deg, #0e9f6e, #42e2a4); }
.lp-bar.plain .lp-track span { background: #c9cede; }
.lp-bar-foot { font-size: .75rem; color: #8a90a2; }
.lp-float { position: absolute; right: -14px; top: -18px; background: var(--gold); color: var(--ink); font-weight: 800; padding: 10px 16px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.3); transform: rotate(-4deg); animation: lp-bob 4s ease-in-out infinite; }
@keyframes lp-grow { from { width: 0; } }
@keyframes lp-bob { 50% { transform: rotate(-4deg) translateY(-6px); } }

/* Stat band */
.lp-stat { background: linear-gradient(180deg, var(--ink) 0, var(--ink-2) 100%); color: #fff; padding: 8px 0 64px; }
.lp-stat-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 56px; }
.lp-stat h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 12px; }
.lp-stat-copy p { color: rgba(255,255,255,.72); font-size: 1.05rem; }
.lp-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.lp-vs-card { border-radius: 18px; padding: 24px; font-size: .9rem; }
.lp-vs-card.dim { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.lp-vs-card.glow { background: linear-gradient(135deg, rgba(66,226,164,.22), rgba(39,71,214,.25)); border: 1px solid rgba(66,226,164,.5); box-shadow: 0 0 60px rgba(66,226,164,.18); }
.lp-big { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.lp-vs-card.dim .lp-big { color: rgba(255,255,255,.55); }
.lp-vs-arrow { font-size: 1.8rem; color: var(--gold); }
.lp-fine { color: rgba(255,255,255,.45); font-size: .8rem; margin-top: 24px; }

/* Generic sections */
.lp-section { padding: 88px 0; }
.lp-section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.lp-kicker { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin: 0 0 8px; }
.lp-h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 40px; max-width: 640px; line-height: 1.15; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.lp-steps::before { content: ""; position: absolute; top: 24px; left: 48px; right: 48px; border-top: 2px dashed var(--line); }
.lp-steps li { position: relative; }
.lp-steps p { color: var(--muted); }
.lp-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: var(--brand-ink); font: 800 1.2rem "Plus Jakarta Sans", sans-serif; box-shadow: 0 0 0 8px var(--bg); }

/* Bento */
.lp-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-tile { min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; transition: transform .2s, border-color .2s; }
.lp-tile:hover { transform: translateY(-3px); border-color: var(--brand); }
.lp-tile.wide { grid-column: span 2; }
.lp-tile h3 { margin: 0 0 6px; font-size: 1.2rem; }
.lp-tile p { color: var(--muted); margin: 0; }
.lp-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); margin-bottom: 14px; }
.lp-tile.advisor { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 12%, var(--bg)), var(--bg)); }
.lp-chat { margin-top: 18px; display: grid; gap: 10px; font-size: .9rem; }
.lp-q { justify-self: end; background: var(--brand); color: var(--brand-ink); padding: 10px 14px; border-radius: 14px 14px 4px 14px; max-width: 85%; }
.lp-a { background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; border-radius: 14px 14px 14px 4px; max-width: 92%; }
.lp-marquee { margin: 20px -24px -4px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-marquee-track { display: flex; gap: 10px; width: max-content; animation: lp-scroll 50s linear infinite; }
.lp-marquee-track span { white-space: nowrap; font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
@keyframes lp-scroll { to { transform: translateX(-50%); } }

/* Trust */
.lp-trust { background: var(--ink); color: #fff; padding: 88px 0; }
.lp-trust-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.lp-trust h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 16px 0 12px; }
.lp-trust p { color: rgba(255,255,255,.7); }
.lp-shield svg { width: 56px; height: 56px; fill: var(--mint); }
.lp-trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-trust li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px; color: rgba(255,255,255,.72); font-size: .95rem; }
.lp-trust li b { display: block; color: #fff; margin-bottom: 4px; }

/* FAQ */
.lp-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.lp-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.lp-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq p { color: var(--muted); margin: 10px 0 0; }

/* Final CTA */
.lp-final { text-align: center; padding: 96px 0; color: #fff; background: radial-gradient(700px 300px at 50% 0%, #3a5cf0, transparent 70%), linear-gradient(160deg, #1c2f8a, var(--ink)); }
.lp-final h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 12px; }
.lp-final p { color: rgba(255,255,255,.75); margin: 0 0 28px; font-size: 1.1rem; }

@media (max-width: 900px) {
  .lp-hero-grid, .lp-stat-grid, .lp-trust-grid, .lp-faq-grid { grid-template-columns: 1fr; }
  .lp-hero { padding: 48px 0 72px; }
  .lp-mock { transform: none; }
  .lp-float { right: 8px; top: -18px; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-steps { grid-template-columns: 1fr; gap: 24px; }
  .lp-steps::before { display: none; }
}
@media (max-width: 560px) {
  .lp-bento { grid-template-columns: 1fr; }
  .lp-tile.wide { grid-column: auto; }
  .lp-trust ul { grid-template-columns: 1fr; }
  .lp-vs { grid-template-columns: 1fr; }
  .lp-vs-arrow { transform: rotate(90deg); justify-self: center; }
  .lp-section, .lp-trust { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-track span, .lp-float, .lp-marquee-track { animation: none; }
  .lp-plane { display: none; }
}

/* Site footer */
footer.site-footer { text-align: left; padding: 40px 16px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; align-items: start; }
.footer-tag { margin: 4px 0 0; color: var(--muted); font-style: italic; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-links a, .footer-contact a { color: inherit; }
.footer-contact { font-size: .9rem; overflow-wrap: anywhere; }
.footer-fine { max-width: 1120px; margin: 28px auto 0; font-size: .8rem; color: var(--muted); }
.landing footer.site-footer { background: var(--ink); border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.landing footer.site-footer .brand { color: #fff; }
.landing footer.site-footer .brand span { color: var(--gold); }
.landing .footer-tag, .landing .footer-fine { color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Content from getpointfolio.com */
.lp-what-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.lp-what .lp-h2 { margin-bottom: 0; }
.lp-what-copy p { font-size: 1.1rem; color: var(--muted); margin: 0 0 14px; }
.lp-section[id], .lp-section > [id] { scroll-margin-top: 16px; }
.lp-soon { display: inline-block; vertical-align: middle; font: 700 .68rem system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: color-mix(in srgb, var(--gold, #ffc65c) 35%, transparent); color: var(--text); margin-left: 4px; }
.lp-btn.outline { color: var(--brand); border: 1.5px solid var(--brand); }
.lp-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.lp-plan { border-radius: 22px; padding: 28px; background: var(--surface); border: 2px solid var(--brand); box-shadow: 0 20px 50px color-mix(in srgb, var(--brand) 18%, transparent); }
.lp-plan-head { display: flex; justify-content: space-between; align-items: center; }
.lp-plan-name { font: 800 1.2rem "Plus Jakarta Sans", sans-serif; }
.lp-price { font: 800 3rem "Plus Jakarta Sans", sans-serif; letter-spacing: -.03em; margin: 8px 0 12px; }
.lp-price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.lp-plan li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.lp-plan-note { border-radius: 22px; padding: 28px; border: 1px dashed var(--line); }
.lp-plan-note h3 { margin-top: 0; }
.lp-plan-note p { color: var(--muted); overflow-wrap: anywhere; }
.lp-story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lp-story-grid img, .lp-history-photo img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 24px 60px rgba(10, 20, 60, .18); }
.lp-story p { color: var(--muted); }
.lp-story .lp-h2 { margin-bottom: 16px; }
.lp-faq-grid .muted a { overflow-wrap: anywhere; }

/* About page */
.lp-hero-short { padding: 64px 0 72px; }
.lp-about-hero { position: relative; z-index: 1; max-width: 820px; }
.lp-founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-founder { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.lp-founder img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; display: block; }
.lp-founder img.focus-left { object-position: 15% 40%; }
.lp-founder-body { padding: 20px 22px 24px; }
.lp-founder h3 { margin: 0; font-size: 1.35rem; }
.lp-role { margin: 2px 0 12px; color: var(--brand); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.lp-founder p:not(.lp-role) { color: var(--muted); font-size: .95rem; }
.lp-history { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.lp-history > div:first-child { grid-column: 1 / -1; }
.lp-history-photo { margin: 0; }
.lp-history-text p { color: var(--muted); font-size: 1.05rem; margin-top: 0; }
.lp-mail { color: var(--gold); overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .lp-what-grid, .lp-pricing, .lp-story-grid, .lp-history { grid-template-columns: 1fr; gap: 24px; }
  .lp-founders { grid-template-columns: 1fr; max-width: 520px; }
}
