/* DeskFlyAI public homepage. Same palette as the workshop (app.css) and as DevForge ICT:
   Air Capital sky blue, navy-slate neutrals, runway-light amber used sparingly, blueprint grids, mono labels. */
:root {
  --bg: #F3F6FA; --surface: #FFFFFF; --surface-2: #F6F8FB; --ink: #18212F; --muted: #4D5E75;
  --line: #D3DBE6; --line-strong: #B0BDCD; --accent: #1F66E0; --accent-deep: #1A52B8;
  --signal: #FBBF24; --sky: #8EC3FF; --blue: #1F66E0; --ok: #1AAE7A;
  --grid: rgba(24, 33, 47, 0.04);
  --shadow: 0 4px 22px -6px rgba(11, 18, 32, .10);
  --glow: 0 12px 32px -14px rgba(31, 102, 224, .55);
  --radius: 16px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220; --surface: #131C2C; --surface-2: #18212F; --ink: #E9EDF3; --muted: #9AA9BD;
    --line: #2A3546; --line-strong: #3D4B5F; --blue: #3482F6; --grid: rgba(142, 195, 255, 0.05);
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -22px rgba(0, 0, 0, .8);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
       background-color: var(--bg); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; }
a { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-align: center; font-weight: 700; }
h3 { font-size: 1.1rem; }

/* ---- header ---- */
.h-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 12px 24px;
         background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.h-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.15rem; letter-spacing: -0.02em; }
.h-brand img { display: block; width: 36px; height: 36px; }
.h-brand b { padding: 2px 7px; border-radius: 6px; background: #0B1220; color: var(--sky); font: 700 .7rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
@media (prefers-color-scheme: dark) { .h-brand b { background: var(--accent); color: #fff; } }
.h-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.h-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.h-nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---- buttons ---- */
.h-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 12px 26px; border-radius: 8px; background: var(--accent); color: #fff !important;
         font-weight: 650; font-size: .95rem; text-decoration: none !important; box-shadow: var(--glow); transition: background .15s, transform .1s; }
.h-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.h-btn:active { transform: translateY(0); }
.h-btn-small { min-height: 0; padding: 9px 18px; font-size: .9rem; }
.h-btn-ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.h-btn-ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); box-shadow: inset 0 0 0 1.5px var(--accent); }

/* ---- mono labels ---- */
.h-eyebrow, .h-kicker { font: 700 .72rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.h-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 12px; border: 1px solid #1B4694; border-radius: 6px; background: rgba(19, 38, 74, .7); color: var(--sky); }
.h-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px 1px rgba(251, 191, 36, .7); animation: h-pulse 2s ease-in-out infinite; }
@keyframes h-pulse { 50% { opacity: .35; } }
.h-kicker { margin: 0 0 10px; text-align: center; color: var(--accent); }
.h-navy .h-kicker { color: var(--sky); }

/* ---- hero: night-sky navy, blueprint grid, soft runway glow ---- */
.h-hero-band { background-color: #0B1220; color: #E9EDF3;
  background-image: radial-gradient(ellipse 60% 70% at 85% 30%, rgba(52, 130, 246, .28), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(31, 102, 224, .18), transparent 70%),
    linear-gradient(rgba(142, 195, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 195, 255, .07) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px; }
.h-hero { max-width: 1180px; margin: 0 auto; padding: 72px 24px 64px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.h-hero h1 { color: #fff; }
.h-lede { font-size: 1.2rem; color: #D3DBE6; max-width: 36em; }
.h-lede em { color: #fff; font-style: normal; font-weight: 700; }
.h-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 12px; }
.h-hero .h-btn-ghost { color: #fff !important; box-shadow: inset 0 0 0 1.5px #4D5E75; }
.h-hero .h-btn-ghost:hover { background: rgba(142, 195, 255, .1); box-shadow: inset 0 0 0 1.5px var(--sky); }
.h-fine { color: var(--muted); font-size: .9rem; }
.h-hero .h-fine, .h-navy .h-fine { color: #B0BDCD; }

/* ---- example conversation: an instrument panel ---- */
.h-chat { background: rgba(11, 18, 32, .72); border: 1px solid #1C3C75; border-radius: 16px; box-shadow: var(--glow); padding: 16px; color: #E9EDF3; }
.h-chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #2A3546; margin-bottom: 12px; }
.h-chat-head small { display: block; color: #9AA9BD; font-size: .8rem; }
.h-chat-head::after { content: "Example"; margin-left: auto; align-self: flex-start; font: 700 .65rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.h-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(26, 174, 122, .25); }
.h-msg { margin: 8px 0; padding: 10px 14px; border-radius: 14px; max-width: 85%; font-size: .95rem; }
.h-you { margin-left: auto; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.h-bot { background: #18212F; border: 1px solid #2A3546; border-bottom-left-radius: 4px; }
.h-chat-note { color: #9AA9BD; font-size: .78rem; margin: 12px 0 0; text-align: center; }
.h-chat-note a { color: var(--sky); }

/* ---- highlight strip ---- */
.h-strip { max-width: 1180px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-strip div { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.h-strip b { display: block; margin-bottom: 4px; }
.h-strip span { color: var(--muted); font-size: .95rem; }

/* ---- sections ---- */
.h-section { max-width: 1180px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.h-alt { max-width: none; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-alt > * { max-width: 1132px; margin-left: auto; margin-right: auto; }
.h-navy { max-width: none; background-color: #0B1220; color: #E9EDF3;
  background-image: linear-gradient(rgba(142, 195, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 195, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px; border-top: 1px solid #1C3C75; }
.h-navy > * { max-width: 1132px; margin-left: auto; margin-right: auto; }
.h-navy h2, .h-navy h3 { color: #fff; }
.h-steps { list-style: none; counter-reset: s; padding: 0; margin: 28px auto 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.h-steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--muted); box-shadow: var(--shadow); }
.h-steps li::before { content: "0" counter(s); display: inline-grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 6px;
                      background: #0B1220; color: var(--signal); font: 700 .8rem/1 var(--mono); letter-spacing: .12em; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .h-steps li::before { background: var(--accent); color: #fff; } }
.h-steps b { color: var(--ink); display: block; }

.h-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; text-align: left; }
.h-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.h-grid p { color: var(--muted); margin: 0; font-size: .95rem; }
.h-navy .h-grid article { background: rgba(19, 28, 44, .75); border-color: #1C3C75; box-shadow: none; }
.h-navy .h-grid p { color: #B0BDCD; }
.h-jobs { grid-template-columns: repeat(3, 1fr); }
.h-price { margin-top: 10px !important; color: var(--ink) !important; font-weight: 700; font-family: var(--mono); font-size: .85rem !important; letter-spacing: .02em; }

.h-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px !important; margin: 28px auto 0; text-align: left; }
.h-plan { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.h-plan-main { border: 2px solid var(--accent); box-shadow: var(--glow); }
.h-plan ul { padding-left: 1.1em; color: var(--muted); flex: 1; }
.h-plan li { margin: 6px 0; }
.h-amount { font-size: 2.4rem; font-weight: 800; margin: 0; letter-spacing: -0.03em; }
.h-amount small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.h-center { text-align: center; color: var(--muted); }

.h-demos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.h-demos a { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.h-demos a:hover { border-color: var(--accent); transform: translateY(-2px); }
.h-demos span { display: block; color: var(--muted); font: 600 .72rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

#faq details { max-width: 760px; margin: 10px auto; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
#faq details[open] { border-color: var(--accent); }
#faq summary { cursor: pointer; font-weight: 700; }
#faq details p { color: var(--muted); margin: 10px 0 0; }

.h-final { text-align: center; padding: 80px 24px; }
.h-final h2 { margin-bottom: 20px; }

/* ---- footer ---- */
.h-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 28px 24px; background: #0B1220; border-top: 1px solid #1C3C75; color: #B0BDCD; font-size: .9rem; }
.h-foot .h-mono { font: 700 .72rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.h-foot nav { display: flex; gap: 18px; }
.h-foot a { color: #D3DBE6; }
.h-foot a:hover { color: #fff; }

@media (max-width: 900px) {
  .h-hero { grid-template-columns: 1fr; padding-top: 40px; }
  .h-strip, .h-steps, .h-grid, .h-jobs, .h-plans { grid-template-columns: 1fr 1fr; }
  .h-nav a:not(.h-btn) { display: none; }
}
@media (max-width: 560px) {
  .h-strip, .h-steps, .h-grid, .h-jobs, .h-plans { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-eyebrow::before { animation: none; }
  .h-btn, .h-demos a { transition: none; }
}
