/* DeskFlyAI public homepage. Same look as devforgeict.com: cobalt, cool slate and wheat, B612 headings over Source Serif body. */
@font-face { font-family: "B612"; font-weight: 400; font-display: swap; src: url(/static/fonts/b612-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "B612"; font-weight: 700; font-display: swap; src: url(/static/fonts/b612-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-display: swap; src: url(/static/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2"); }
:root {
  --bg: #f6f4ee; --surface: #fff; --ink: #0d1828; --muted: #475569; --line: #d8d3c4;
  --brand: #1f4687; --brand-deep: #17376b; --wheat: #e0a53a; --wheat-soft: #ecbe62; --ok: #1d6b4a; --no: #8a3b2e;
  --head: B612, ui-sans-serif, system-ui, sans-serif; --body: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 2px; }
h1, h2, h3, .h-btn, .h-nav a, .h-brand { font-family: var(--head); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }

.h-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.h-top-in { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; }
.h-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 700; }
.h-brand b { color: var(--brand); }
.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: .92rem; font-weight: 700; }
.h-nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }

.h-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 10px 22px; border-radius: 8px; background: var(--brand); color: #fff !important; font-weight: 700; font-size: .95rem; text-decoration: none !important; border: 0; }
.h-btn:hover { background: var(--brand-deep); }
.h-btn-small { min-height: 0; padding: 8px 16px; }
.h-btn-ghost { background: transparent; color: var(--brand) !important; box-shadow: inset 0 0 0 1.5px var(--brand); }
.h-btn-ghost:hover { background: #e8eef7; }
.h-btn-gold { background: var(--wheat); color: var(--ink) !important; }
.h-btn-gold:hover { background: var(--wheat-soft); }

.h-hero-band { background: linear-gradient(180deg, #e8eef7 0%, var(--bg) 100%); color: var(--ink); border-bottom: 1px solid var(--line); }
.h-hero { max-width: 1120px; margin: 0 auto; padding: 64px 20px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.h-hero h1 { color: var(--ink); }
.h-lede { font-size: 1.2rem; color: #334155; max-width: 34em; }
.h-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.h-fine { color: var(--muted); font-size: .92rem; margin: .5rem 0 0; }
.h-final .h-fine { color: #94a3b8; }

.h-chat { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: 0 10px 30px rgba(13, 24, 40, .10); }
.h-chat-head { padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; font-family: var(--head); }
.h-chat-head small { display: block; color: var(--muted); font-size: .8rem; }
.h-msg { margin: 8px 0; padding: 9px 13px; border-radius: 12px; max-width: 88%; font-size: .96rem; line-height: 1.5; }
.h-you { margin-left: auto; background: var(--brand); color: #fff; }
.h-bot { background: #eef2f7; border-left: 3px solid var(--wheat); }
.h-chat-note { color: var(--muted); font-size: .8rem; margin: 12px 0 0; }

.h-section { max-width: 1120px; margin: 0 auto; padding: 60px 20px; }
.h-alt { max-width: none; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-left: max(20px, calc((100% - 1120px) / 2 + 20px)); padding-right: max(20px, calc((100% - 1120px) / 2 + 20px)); }
.h-sub { color: var(--muted); max-width: 40em; margin-top: -.2em; }
.h-prose { max-width: 42em; }
.h-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.h-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.h-list li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.h-list li::before { position: absolute; left: 0; top: 10px; font: 700 1rem/1.6 var(--head); }
.h-yes li::before { content: "\2713"; color: var(--ok); }
.h-no li::before { content: "\2715"; color: var(--no); }

.h-steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-steps li { counter-increment: s; border-top: 3px solid var(--brand); padding-top: 14px; color: var(--muted); }
.h-steps li::before { content: "Step " counter(s); display: block; font: 700 .85rem var(--head); color: var(--brand); margin-bottom: 4px; }
.h-steps b { display: block; color: var(--ink); font-family: var(--head); margin-bottom: 4px; }

.h-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 24px; }
.h-grid article { background: #fff; padding: 20px; }
.h-grid p { color: var(--muted); margin: 0; font-size: .96rem; }

.h-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin-top: 28px; }
.h-terms { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 16px; }
.h-terms-list { max-width: 46em; margin: 28px 0 24px; }
.h-plan { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.h-plan-main { border: 2px solid var(--brand); background: #fff; }
.h-plan ul { padding-left: 1.1em; color: var(--muted); flex: 1; }
.h-plan li { margin: 6px 0; }
.h-amount { font: 700 2.3rem var(--head); margin: 0; }
.h-amount small { font-size: 1rem; color: var(--muted); font-weight: 400; }

.h-demos { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.h-demos a { display: block; background: #fff; border: 1px solid var(--line); padding: 12px 16px; text-decoration: none; color: var(--ink); }
.h-demos a:hover { border-color: var(--brand); background: #eef2f7; }
.h-demos b { font-family: var(--head); }
.h-demos span { display: block; color: var(--muted); font-size: .88rem; }

.h-faq { max-width: 760px; margin-top: 20px; border-top: 1px solid var(--line); }
.h-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.h-faq summary { cursor: pointer; font: 700 1.02rem var(--head); }
.h-faq p { color: var(--muted); margin: 10px 0 0; }

.h-final { background: var(--ink); color: #fff; text-align: center; padding: 64px 20px; }
.h-final h2 { margin-bottom: 20px; }
.h-final a:not(.h-btn) { color: var(--wheat-soft); }
.h-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 22px 20px; background: var(--ink); border-top: 1px solid #1e2c44; color: #94a3b8; font-size: .9rem; }
.h-foot nav { display: flex; gap: 18px; }
.h-foot a { color: #cbd5e1; }

@media (max-width: 900px) {
  .h-hero { grid-template-columns: 1fr; padding-top: 36px; }
  .h-two, .h-plans, .h-terms { grid-template-columns: 1fr; }
  .h-steps, .h-grid { grid-template-columns: 1fr 1fr; }
  .h-nav a:not(.h-btn) { display: none; }
}
@media (max-width: 560px) { .h-steps, .h-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
