/* Orbit Plan application overlay. Each variant sets these on :root:
   --gp-bg --gp-surface --gp-ink --gp-muted --gp-line --gp-accent --gp-accent-ink --gp-display --gp-body --gp-radius */
html.gp-lock, html.gp-lock body { overflow: hidden; }
.gp { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: var(--gp-bg); color: var(--gp-ink); font-family: var(--gp-body); opacity: 0; visibility: hidden; transition: opacity .45s cubic-bezier(.22,1,.36,1), visibility 0s .45s; }
.gp.is-open { opacity: 1; visibility: visible; transition: opacity .45s cubic-bezier(.22,1,.36,1); }
.gp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(16px, 4vw, 40px); }
.gp-brand { font-family: var(--gp-display); font-size: 18px; letter-spacing: -.01em; }
.gp-brand span { color: var(--gp-muted); margin-left: 6px; }
.gp-count { font-size: 13px; color: var(--gp-muted); font-variant-numeric: tabular-nums; margin-left: auto; }
.gp-close { background: none; border: 1px solid var(--gp-line); color: var(--gp-ink); font: inherit; font-size: 14px; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.gp-close:hover { border-color: var(--gp-muted); }
.gp-bar { height: 2px; background: var(--gp-line); }
.gp-bar i { display: block; height: 100%; background: var(--gp-accent); transform-origin: left; transform: scaleX(0); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.gp-body { flex: 1; overflow-y: auto; display: flex; align-items: flex-start; justify-content: center; padding: clamp(32px, 9vh, 110px) clamp(16px, 4vw, 40px) 60px; }
.gp-step { width: 100%; max-width: 680px; opacity: 0; transform: translateY(18px); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
.gp-step.in { opacity: 1; transform: none; }
.gp-eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gp-accent); margin: 0 0 14px; font-weight: 600; }
.gp-h { display: block; font-family: var(--gp-display); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 500; }
.gp-intro .gp-h { font-size: clamp(40px, 6vw, 72px); line-height: 1; margin-bottom: 22px; }
.gp-p { font-size: 17px; line-height: 1.6; color: var(--gp-muted); margin: 0 0 14px; max-width: 58ch; }
.gp-strong { color: var(--gp-ink); }
.gp-small, .gp-hint { font-size: 14px; color: var(--gp-muted); margin: 0 0 18px; }
.gp-input { width: 100%; box-sizing: border-box; font: inherit; font-size: 18px; color: var(--gp-ink); background: var(--gp-surface); border: 1px solid var(--gp-line); border-radius: var(--gp-radius, 12px); padding: 16px 18px; outline: none; transition: border-color .2s; }
.gp-input:focus { border-color: var(--gp-accent); }
.gp-area { resize: vertical; min-height: 150px; line-height: 1.5; }
.gp-opts { display: grid; gap: 10px; margin-top: 8px; }
.gp-opt { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; font: inherit; font-size: 17px; color: var(--gp-ink); background: var(--gp-surface); border: 1px solid var(--gp-line); border-radius: var(--gp-radius, 12px); padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.gp-opt:hover { border-color: var(--gp-muted); transform: translateX(3px); }
.gp-opt.on { border-color: var(--gp-accent); background: color-mix(in srgb, var(--gp-accent) 12%, var(--gp-surface)); }
.gp-key { flex: none; width: 26px; height: 26px; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--gp-line); border-radius: 6px; color: var(--gp-muted); }
.gp-opt.on .gp-key { background: var(--gp-accent); border-color: var(--gp-accent); color: var(--gp-accent-ink); }
.gp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.gp-field { display: grid; gap: 6px; font-size: 14px; color: var(--gp-muted); }
.gp-field:nth-child(3), .gp-field:nth-child(4), .gp-field:nth-child(5) { grid-column: span 2; }
.gp-err { min-height: 22px; color: var(--gp-accent); font-size: 15px; margin: 12px 0 0; }
.gp-err a { color: inherit; }
.gp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.gp-next { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 16px; background: var(--gp-accent); color: var(--gp-accent-ink); border: 0; border-radius: 999px; padding: 15px 26px; cursor: pointer; text-decoration: none; transition: transform .2s, filter .2s; }
.gp-next:hover { transform: translateY(-1px); filter: brightness(1.06); }
.gp-next:disabled { opacity: .6; cursor: wait; }
.gp-back { font: inherit; font-size: 15px; background: none; border: 0; color: var(--gp-muted); cursor: pointer; padding: 10px 6px; }
.gp-back:hover { color: var(--gp-ink); }
.gp-tip { font-size: 13px; color: var(--gp-muted); margin-left: auto; }
.gp :focus-visible { outline: 2px solid var(--gp-accent); outline-offset: 3px; }
@media (max-width: 600px) { .gp-contact { grid-template-columns: 1fr; } .gp-field:nth-child(n) { grid-column: auto; } .gp-tip { display: none; } .gp-close { font-size: 13px; padding: 8px 12px; } }
@media (prefers-reduced-motion: reduce) { .gp, .gp-step, .gp-bar i { transition: none; } .gp-step { opacity: 1; transform: none; } }
.gp-warn { border-left: 2px solid var(--gp-accent); padding: 4px 0 2px 18px; margin: 22px 0 18px; }
.gp-warn .gp-p:last-child { margin-bottom: 0; }
.gp-p a { color: var(--gp-ink); text-decoration: underline; text-underline-offset: 3px; }
