/* The app preview at /app: a slim bar, then the app filling the window. */

html, body { margin: 0; height: 100%; }
body {
  display: flex;
  flex-direction: column;
  background: #ececec;
  color: #1d1c1a;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 13px;
}
.preview-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 34px;
  padding: 0 12px;
  background: oklch(0.27 0.1 262);
  color: rgba(255, 255, 255, 0.75);
}
.preview-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.preview-bar__logo { font-family: Newsreader, serif; font-size: 16px; }
.preview-bar__logo em { color: oklch(0.72 0.18 45); font-weight: 400; }
.preview-bar__note { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-bar form { margin: 0; }
.preview-bar button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 3px 10px;
  cursor: pointer;
}
.preview-stage { flex: 1; min-height: 0; position: relative; }
/* The app draws over this note once it has started; until then (or if it
   can't start) the note shows through the transparent canvas. */
.preview-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  text-align: center;
  font-size: 15px;
  color: #57534c;
}
#guitarnotation { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
@media (max-width: 640px) { .preview-bar__note { display: none; } }

/* Public /guitar-pro-viewer layout: full interactive viewer above the fold,
   plus SEO guide and desktop early-access waitlist form below. */
body.preview--public { height: auto; min-height: 100%; display: block; background: #f7f5ef; }
.preview-bar--public { height: auto; min-height: 46px; padding: 6px 16px; gap: 14px; flex-wrap: wrap; position: sticky; top: 0; z-index: 10; }
.preview-bar__tld { color: rgba(255, 255, 255, 0.55); font-family: 'Hanken Grotesk', sans-serif; font-size: 12px; font-weight: 500; margin-left: 1px; }
.preview-bar--public .preview-bar__note strong { color: #fff; }
.preview-bar__cta { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: oklch(0.72 0.18 45); color: oklch(0.27 0.1 262) !important; font-size: 13px; font-weight: 700; white-space: nowrap; }
.preview-bar__cta:hover { background: oklch(0.77 0.18 45); }
.preview-stage--public { height: calc(100vh - 46px); height: calc(100dvh - 46px); min-height: 540px; max-height: 920px; background: #ececec; border-bottom: 3px solid oklch(0.72 0.18 45); }

.viewer-info { background: #f7f5ef; color: #1d1c1a; padding: 56px 24px 72px; font-size: 16px; line-height: 1.6; }
.viewer-info__inner { max-width: 1120px; margin: 0 auto; }
.viewer-info__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.viewer-info h1 { font-family: Newsreader, serif; font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 14px; color: oklch(0.27 0.1 262); }
.viewer-info__lede { font-size: 18px; line-height: 1.55; color: #3d3a35; margin: 0 0 24px; }
.viewer-info h2 { font-family: Newsreader, serif; font-size: 24px; font-weight: 600; margin: 28px 0 10px; color: #1d1c1a; }
.viewer-info ul { margin: 0 0 14px; padding-left: 20px; color: #3d3a35; }
.viewer-info li { margin-bottom: 8px; }
.viewer-info code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: #ece8de; padding: 2px 6px; border-radius: 5px; }

.viewer-cta-card { background: oklch(0.27 0.1 262); color: #fff; border-radius: 20px; padding: 32px; border-top: 6px solid oklch(0.72 0.18 45); }
.viewer-cta-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.88 0.16 92); margin-bottom: 8px; }
.viewer-cta-card h2 { color: #fff; margin: 0 0 10px; font-size: 28px; line-height: 1.1; }
.viewer-cta-card > p { margin: 0 0 20px; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; }
.viewer-cta-card .notify { display: flex; flex-direction: column; gap: 10px; }
.viewer-cta-card .notify__label { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.viewer-cta-card .notify__row { display: flex; flex-wrap: wrap; gap: 8px; }
.viewer-cta-card .notify__row input { flex: 1 1 200px; min-width: 0; height: 48px; padding: 0 16px; border: none; border-radius: 999px; background: #fffdf8; font: inherit; font-size: 15px; color: #1d1c1a; }
.viewer-cta-card .pill { height: 48px; padding: 0 22px; border: none; border-radius: 999px; background: oklch(0.72 0.18 45); color: oklch(0.27 0.1 262); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.viewer-cta-card .notify__fine { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.viewer-cta-card .notify__fine a { color: inherit; border-bottom: 1px solid currentColor; text-decoration: none; }
.viewer-cta-card .form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.viewer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #e4e0d6; font-size: 14px; }
.viewer-links a { color: #57534c; text-decoration: none; }
.viewer-links a:hover { color: oklch(0.27 0.1 262); text-decoration: underline; }

@media (max-width: 860px) {
  .viewer-info__grid { grid-template-columns: 1fr; }
}
