/* Futuristic hero, desktop simulation, plan picker, buying FAQ */
.hero-future { min-height: 0; padding: 36px 0 48px; align-items: stretch; }
.hero-bg {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(500px 400px at calc(50% + var(--mx, 0px) * .04) calc(30% + var(--my, 0px) * .04), rgba(255,200,87,.2), transparent 60%),
    radial-gradient(420px 360px at calc(70% + var(--mx, 0px) * .07) calc(60% + var(--my, 0px) * .05), rgba(255,122,89,.16), transparent 62%),
    radial-gradient(380px 300px at calc(20% + var(--mx, 0px) * .03) calc(80% + var(--my, 0px) * .04), rgba(155,140,217,.22), transparent 60%);
  transform: translate3d(0,0,0);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.25fr);
  gap: 36px;
  align-items: center;
}
.hero-future h1 { max-width: none; }
.hero-future .lede {
  font-size: 22px;
  color: #ffe3d3;
  max-width: 36rem;
  margin: 0 0 8px;
}
.hero-future .sub-lede {
  font-size: 17px;
  color: #f3dfe0;
  max-width: 36rem;
}
.hero-future .waitlist { margin-top: 18px; }
.hero-kicker { font-weight: 700; margin: 18px 0 6px; }

/* Desktop simulation */
.desk { min-width: 0; }
.desk-label, .desk-note { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.desk-label { font-weight: 700; color: #ffd2bf; letter-spacing: .01em; }
.desk-screen {
  position: relative;
  height: 560px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: 0 20px 60px rgba(8,2,20,.45), inset 0 1px 0 rgba(255,255,255,.06);
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255,122,89,.15), transparent 50%),
    radial-gradient(600px 500px at 100% 100%, rgba(90,70,160,.35), transparent 50%),
    linear-gradient(160deg, #140a24 0%, #2a1648 55%, #1a0f2e 100%);
}
.desk-icons {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}
.desk-icon {
  width: 74px;
  background: transparent;
  border: 0;
  color: var(--fg);
  font: 11px/1.25 inherit;
  cursor: pointer;
  text-align: center;
  padding: 6px 4px;
  border-radius: 10px;
}
.desk-icon:hover, .desk-icon:focus-visible { background: rgba(255,255,255,.08); }
.desk-icon .g {
  width: 40px;
  height: 40px;
  margin: 0 auto 6px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(42,26,68,.7);
  border: 1px solid var(--glass-line);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.desk-windows { position: absolute; inset: 0 0 168px 0; z-index: 3; pointer-events: none; }
.desk-win {
  position: absolute;
  min-width: 240px;
  max-width: 420px;
  background: rgba(26,15,46,.82);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--fg);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.desk-win[hidden] { display: none !important; }
.desk-win.is-front { box-shadow: 0 20px 56px rgba(0,0,0,.5), 0 0 0 1px rgba(255,200,87,.28); }
.desk-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,200,87,.12);
  cursor: grab;
  font-weight: 700;
  font-size: 13px;
  user-select: none;
}
.desk-title:active { cursor: grabbing; }
.desk-title .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: #ff7a59;
  cursor: pointer;
  flex: 0 0 12px;
  padding: 0;
}
.desk-title .dot:hover { background: #ffb4a0; }
.desk-body { padding: 10px 12px 12px; font-size: 14px; line-height: 1.45; overflow: auto; max-height: 230px; }
.desk-body p { margin: 0 0 8px; }
.desk-body p:last-child { margin: 0; }
.desk-files { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.desk-file {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,200,87,.14);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
}
.desk-file .ph {
  height: 40px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ff9a76, #ffc857 60%, #9b8cd9);
}
.desk-file.hit { outline: 2px solid var(--c3); animation: desk-pop .45s ease; }
.desk-timer {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  margin: 8px 0;
}
.desk-doc {
  background: #fff8f0;
  color: #2a1200;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 10px;
}
.desk-chat { display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.desk-msg { max-width: 92%; padding: 8px 10px; border-radius: 12px; white-space: pre-wrap; }
.desk-msg.bot { background: #3a2758; align-self: flex-start; }
.desk-msg.you { background: var(--c2); color: #1a0f2e; align-self: flex-end; }
.desk-coming { display: inline-block; margin-left: 6px; }

.desk-dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: grid;
  gap: 8px;
}
.desk-ask {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(26,15,46,.78);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
}
.desk-ask img { width: 28px; height: 28px; }
.desk-ask input {
  flex: 1;
  min-width: 0;
  margin: 0;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,200,87,.2);
}
.desk-ask .btn { margin: 0; padding: 10px 14px; }
.desk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.desk-chips button, .desk-tb-btn {
  font: 12px/1.2 inherit;
  color: var(--fg);
  background: rgba(26,15,46,.7);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
}
.desk-chips button:hover, .desk-tb-btn:hover { border-color: var(--c2); }
.desk-task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(26,15,46,.72);
  border: 1px solid var(--glass-line);
  font-size: 12px;
  color: var(--muted);
}
.desk-task .clock { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--fg); }
.desk-task .brandlet { font-weight: 800; color: var(--fg); }

@keyframes desk-pop {
  0% { transform: scale(.96); }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Plan picker + comparison + FAQ */
.picker-q { margin: 0 0 18px; border: 0; padding: 0; }
.picker-q legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.picker-q label {
  display: block;
  font-weight: 500;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid var(--glass-line);
  border-radius: 12px;
  background: rgba(26,15,46,.35);
  cursor: pointer;
}
.picker-q label:has(input:checked) {
  border-color: var(--c3);
  box-shadow: 0 0 0 1px rgba(255,200,87,.35);
}
.picker-q input { width: auto; margin: 0 10px 0 0; display: inline-block; accent-color: #ff7a59; }
.plan-result { margin-top: 16px; }
.plan-result[hidden] { display: none; }
.plan-table-wrap { overflow-x: auto; margin: 8px 0 28px; -webkit-overflow-scrolling: touch; }
.plan-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
.plan-table th, .plan-table td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.plan-table thead th { background: #21133a; }
.faq-buy details { margin: 0 0 10px; }
.faq-buy summary { cursor: pointer; font-weight: 700; padding: 12px 4px; }
.faq-buy .faq-a { margin: 0 0 12px; color: #f3dfe0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .desk-screen { height: 500px; }
}
@media (max-width: 720px) {
  .hero-future { padding: 28px 0 36px; }
  .desk-screen { height: auto; min-height: 0; }
  .desk-icons { position: static; flex-direction: row; flex-wrap: wrap; padding: 12px 12px 0; }
  .desk-icon { width: 64px; }
  .desk-windows { position: relative; inset: auto; min-height: 200px; padding: 0 12px; }
  .desk-win { position: relative !important; left: auto !important; top: auto !important; max-width: none; width: 100%; margin: 0 0 10px; }
  .desk-win + .desk-win { /* only the front one is shown on small screens via JS */ }
  .desk-dock { position: static; padding: 0 12px 12px; }
  .desk-title { cursor: default; }
  .plan-table { min-width: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { background:
    radial-gradient(500px 400px at 50% 30%, rgba(255,200,87,.18), transparent 60%),
    radial-gradient(420px 360px at 70% 60%, rgba(255,122,89,.14), transparent 62%); }
  .desk-file.hit { animation: none; }
}

#desktop-demo, #try, #pricing, #early-access, #plan-picker, #buying-faq, #main, #features, #why, #screens, #dawnis-plus, #devnote { scroll-margin-top: calc(var(--header-h, 64px) + 12px); }


/* Direction A: full-bleed desktop hero */
.hero-future.hero-desktop {
  min-height: calc(100svh - var(--header-h, 64px));
  padding: 0;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 75% 20%, rgba(255,122,89,.22), transparent 55%),
    radial-gradient(700px 600px at 10% 90%, rgba(110,80,200,.3), transparent 55%),
    linear-gradient(160deg, #100817 0%, #24143c 50%, #160b24 100%);
}
.hero-desktop .hero-bg { inset: 0; }
.hero-desktop .desk-bleed {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header-h, 64px));
}
.hero-desktop .desk-screen {
  height: calc(100svh - var(--header-h, 64px));
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255,122,89,.15), transparent 50%),
    radial-gradient(600px 500px at 100% 100%, rgba(90,70,160,.35), transparent 50%),
    linear-gradient(160deg, #100817 0%, #2a1648 55%, #160b24 100%);
}
.hero-desktop .hero-copy {
  position: absolute;
  z-index: 8;
  left: 110px;
  top: 36px;
  width: min(440px, calc(100% - 160px));
  padding: 26px 26px 22px;
  border-radius: 20px;
  background: rgba(16, 8, 23, 0.72);
  border: 1px solid rgba(255, 200, 87, 0.22);
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.hero-desktop .hero-copy h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -.03em;
  max-width: none;
  margin: 0 0 12px;
}
.hero-desktop .hero-copy > p.lede {
  font-size: 18px;
  color: #ffe3d3;
  margin: 0 0 8px;
  max-width: none;
}
.hero-desktop .hero-copy > p.sub-lede {
  font-size: 15px;
  color: #f3dfe0;
  margin: 0 0 20px;
  max-width: none;
}
.hero-desktop .hero-copy > p.note,
.hero-desktop .hero-copy > p.risk-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 14px 0 0;
  max-width: none;
}
.hero-desktop .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.hero-desktop .hero-actions .btn { margin: 0; }
.hero-desktop .desk-icons { top: 20px; left: 18px; }
.hero-desktop .desk-windows { inset: 0 0 176px 0; }
.hero-desktop .desk-dock {
  left: 50%;
  right: auto;
  bottom: 16px;
  width: min(860px, calc(100% - 40px));
  transform: translateX(-50%);
  z-index: 12;
}
.hero-desktop .desk-dock-main {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-desktop .desk-dock-main .desk-ask { flex: 1; min-width: 0; }
.hero-desktop .desk-disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.hero-desktop .desk-task { gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero-future.hero-desktop {
    min-height: 0;
    overflow: visible;
    padding: 0 0 16px;
  }
  .hero-desktop .desk-bleed { min-height: 0; }
  .hero-desktop .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: 16px 16px 0;
    z-index: 2;
  }
  .hero-desktop .desk-screen {
    height: auto;
    min-height: 520px;
    border-radius: 18px;
    margin: 12px 16px 8px;
    border: 1px solid var(--glass-line);
    box-shadow: 0 20px 60px rgba(8,2,20,.45);
  }
  .hero-desktop .desk-dock {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    position: static;
    padding: 0 12px 12px;
  }
}

@media (max-width: 720px) {
  .hero-desktop .hero-copy { padding: 18px 18px 16px; margin: 12px 12px 0; }
  .hero-desktop .hero-copy h1 { font-size: 32px; }
  .hero-desktop .hero-actions .btn { width: 100%; text-align: center; }
  .hero-desktop .desk-screen { margin: 12px; min-height: 0; }
  .hero-desktop .desk-dock-main { flex-wrap: wrap; }
  .hero-desktop .hear-toggle-dock { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-desktop .hero-copy {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.nowrap { white-space: nowrap; }
.hero-desktop .hero-secondary {
  color: var(--fg);
  font-weight: 650;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-desktop .hero-secondary:hover { color: var(--c3); }
.hero-desktop .desk-dock {
  left: 560px;
  right: 24px;
  width: auto;
  transform: none;
}
.hero-desktop .desk-disclaimer { flex: 1 1 200px; }
.hero-desktop .hero-copy { padding: 22px 22px 18px; top: 28px; }
.hero-desktop .hero-copy > p.sub-lede { margin: 0 0 16px; }

@media (max-width: 960px) {
  .hero-desktop .desk-dock {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
  }
}
