/* Halfanvil site. Same architecture as the vertpilot site: palette in :root, then layout,
   sections, cards, legal pages, contact form. Dark only, system fonts, no webfonts. */
:root {
  --bg: #0E1116;      /* near-black blue-grey */
  --panel: #161B22;   /* surfaces */
  --muted: #9AA4B2;
  --text: #F3F4F6;
  --accent: #F5A524;  /* hot-iron amber */
  --accent2: #FF6B35; /* ember */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin:0; padding:0; background:var(--bg); color:var(--text); font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }

.container { width:min(1120px, 92%); margin:0 auto; }

.nav { position:sticky; top:0; backdrop-filter:saturate(120%) blur(8px); background:rgba(14,17,22,0.7); border-bottom:1px solid #222831; z-index:20; }
.nav-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; font-weight:700; font-size:19px; letter-spacing:-.2px; }
.logo { width:30px; height:30px; display:block; }
.links a { color:var(--muted); text-decoration:none; margin:0 10px; }
.links a:hover { color:var(--text); }

.btn { display:inline-block; padding:12px 16px; border-radius:12px; background:#1c2128; color:var(--text); text-decoration:none; border:1px solid #2a313b; transition:.2s; font: inherit; cursor:pointer; }
.btn:hover { transform:translateY(-1px); border-color:#3a424e; }
.btn:disabled { opacity:.6; cursor:default; transform:none; }
.btn.primary { background:linear-gradient(135deg, var(--accent), var(--accent2)); color:#0E1116; border:none; font-weight:700; }
.btn.ghost { background:transparent; border:1px solid #2a313b; }

.hero { padding:88px 0 56px; background: radial-gradient(1200px 600px at 10% -10%, rgba(245,165,36,.14), transparent 60%), radial-gradient(1200px 600px at 90% -20%, rgba(255,107,53,.10), transparent 60%); }
.hero-grid { display:grid; grid-template-columns: 1.15fr 0.85fr; gap:28px; align-items:center; }
.hero-copy h1 { font-size: clamp(34px, 5.4vw, 56px); line-height:1.08; margin:0 0 14px; letter-spacing:-1px; }
.highlight { background:linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.sub { color:var(--muted); max-width: 52ch; }
.cta-row { display:flex; gap:12px; margin:22px 0 8px; flex-wrap:wrap; }
.hero-art { width: 300px; justify-self: center; }
.hero-art svg { width:100%; height:auto; display:block; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }

.features { padding:56px 0; background:linear-gradient(180deg, transparent, rgba(245,165,36,.05)); }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.grid-2 { display:grid; grid-template-columns: 1.1fr 0.9fr; gap:28px; align-items:start; }
.card { background: var(--panel); border: 1px solid #262c35; padding: 22px; border-radius: 16px; }
.card h3 { margin:0 0 8px; }
.card p, .bullets li { color: var(--muted); }

/* Highlight boxes, two accents, same construction as vertpilot's pretty-box */
.pretty-box { border: 2px solid var(--accent2); border-radius: 16px; padding: 22px; box-shadow: 0 8px 30px rgba(255,107,53,0.08); background: linear-gradient(135deg, var(--panel) 95%, rgba(255,107,53,0.1)); }
.pretty-box.amber-accent { border-color: var(--accent); box-shadow: 0 8px 30px rgba(245,165,36,0.08); background: linear-gradient(135deg, var(--panel) 95%, rgba(245,165,36,0.1)); }

.product { padding:56px 0; }
.product h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 8px; letter-spacing: -.5px; }
.bullets { display:grid; gap:10px; padding:0; margin:16px 0 0; }
.bullets li { list-style:none; background:var(--panel); border:1px solid #262c35; padding:14px; border-radius:12px; }
.bullets li strong { color: var(--text); }

.price-card .price { font-size: 44px; font-weight: 800; letter-spacing: -1px; margin: 4px 0 0; color: var(--text); }
.price-card .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .founding { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(245,165,36,.4); background: rgba(245,165,36,.06); color: var(--text); }
.price-card .founding strong { color: var(--accent); }

.waitlist-section { padding:48px 0; background:linear-gradient(180deg, transparent, rgba(255,107,53,.05)); }

.faq { padding:48px 0 72px; }
details { background:var(--panel); border:1px solid #262c35; border-radius:12px; padding:14px 16px; margin:10px 0; }
summary { cursor:pointer; font-weight:600; }
details p { color: var(--muted); margin: 10px 0 2px; }

.footer { border-top:1px solid #1c2128; padding:20px 0; color:var(--muted); }
.foot-grid { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.brand-row { display:flex; align-items:center; gap:8px; }
.logo.small { width:22px; height:22px; }
.footer .legal a { color: var(--muted); text-decoration: none; margin-right: 14px; }
.footer .legal a:hover { color: var(--text); }
.trademark { margin: 10px auto 0; font-size: 12px; opacity: .8; }

.legal-page { padding:60px 0 80px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.legal-page h2 { font-size: 20px; margin-top: 28px; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page ul { padding-left: 18px; }

.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; font-size: 12px; margin: 0 0 8px; }
.fineprint { color: var(--muted); font-size: 13px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sub.center { max-width: 64ch; }
.step { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0E1116; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.section-title { font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 22px; letter-spacing: -.5px; }

main a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(245,165,36,.35); }
main a:hover { border-bottom-color: var(--accent); }
main a.btn { border-bottom: none; }

/* forms: contact and waitlist share one pattern */
.contact-form { display: grid; gap: 14px; max-width: 560px; margin-top: 22px; }
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid #2a313b; background: #0b0e12;
  color: var(--text); font: inherit; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(245,165,36,.5); outline-offset: 1px; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.contact-form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form select { font-size: 15px; appearance: auto; }
.contact-page > p { max-width: 70ch; }

@media (max-width: 880px) {
  .hero-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-art { width: 220px; order: -1; justify-self: start; }
  .links a:not(.keep) { display: none; }
}
