/* Plane Prebuy's own look (mockup C, "Blue Sky", chosen 2026-10-27): bright sky, Outfit type, an orange call to action.
   Everything here is scoped to [data-brand="planeprebuy"], which brand-view.js sets; the Beech brands never see it.
   The .pp-only elements in index.html exist for this brand alone. */

.pp-only { display: none; }

[data-brand="planeprebuy"] {
  --sky1: #0b5ea8; --sky2: #43b3e0; --sky3: #9fdcf3; --soft: #eef6fc; --go1: #ffb020; --go2: #ff7a18;
  --accent: #1f87c8; --accent-dark: #0b5ea8; --ink: #0f2236; --ink-soft: #5a6b7d; --bg: #fff; --radius: 18px;
}
[data-brand="planeprebuy"] body { font-family: Outfit, system-ui, sans-serif; overflow-x: clip; }
[data-brand="planeprebuy"] h1, [data-brand="planeprebuy"] h2 { font-weight: 900; letter-spacing: -.02em; }
[data-brand="planeprebuy"] .plate-n, [data-brand="planeprebuy"] .plate input { font-family: Outfit, sans-serif; }

/* ------------------------------------------------ the top bar, in the sky */

[data-brand="planeprebuy"] .topbar { background: var(--sky1); padding: 16px 20px; }
[data-brand="planeprebuy"] .brand { font: 900 26px/1 Outfit, sans-serif; letter-spacing: -.02em; padding-left: 64px; }
[data-brand="planeprebuy"] .brand strong { font-weight: 400; }
[data-brand="planeprebuy"] .brand-logo { width: 50px; height: 50px; top: 50%; transform: translateY(-50%); border: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
[data-brand="planeprebuy"] .product { font-weight: 600; }
/* The progress steps mean nothing until a report is under way. */
[data-brand="planeprebuy"] body:has(#screen-aircraft.active) .steps { display: none; }

/* ------------------------------------------------ the first screen: a full-width sky */

[data-brand="planeprebuy"] #screen-aircraft.active { display: flex; flex-direction: column; }
[data-brand="planeprebuy"] #screen-aircraft > * { order: 1; }
[data-brand="planeprebuy"] #screen-aircraft > .first-screen { order: 0; }
[data-brand="planeprebuy"] .first-screen {
  display: block; position: relative; overflow: hidden; text-align: center; color: #fff;
  margin: 0 calc(50% - 50vw); padding: 44px max(16px, calc(50vw - 520px)) 56px;
  background: linear-gradient(165deg, var(--sky1) 0%, var(--sky2) 70%, var(--sky3) 100%);
}
/* With the sample card showing, the sky stops short of the bottom so the card straddles its edge. */
[data-brand="planeprebuy"] .first-screen:has(.glimpse:not([hidden])) { padding-bottom: 0; background-size: 100% calc(100% - 110px); background-repeat: no-repeat; }
[data-brand="planeprebuy"] .first-screen::before, [data-brand="planeprebuy"] .first-screen::after {
  content: ''; position: absolute; background: #fff; border-radius: 999px; opacity: .16; filter: blur(2px); pointer-events: none;
}
[data-brand="planeprebuy"] .first-screen::before { width: 420px; height: 90px; top: 90px; left: -120px; animation: pp-drift 40s linear infinite; }
[data-brand="planeprebuy"] .first-screen::after { width: 300px; height: 70px; top: 330px; right: -80px; animation: pp-drift 55s linear infinite reverse; }
@keyframes pp-drift { to { transform: translateX(260px); } }
@media (prefers-reduced-motion: reduce) {
  [data-brand="planeprebuy"] .first-screen::before, [data-brand="planeprebuy"] .first-screen::after { animation: none; }
}
[data-brand="planeprebuy"] .first-screen-main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
[data-brand="planeprebuy"] .pp-badge { display: inline-block; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .4);
  padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
[data-brand="planeprebuy"] .first-screen h1 { font-size: clamp(40px, 7vw, 70px); line-height: 1; letter-spacing: -.03em; margin: 18px 0 16px; }
[data-brand="planeprebuy"] .first-screen h1 em { background: linear-gradient(90deg, #fff3b0, #ffd166); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
[data-brand="planeprebuy"] .first-screen .lede { color: #fff; opacity: .92; font-size: 21px; max-width: 640px; margin: 0 auto 16px; }
[data-brand="planeprebuy"] .credential { border: 0; padding: 0; margin: 0 auto 26px; color: #fff; opacity: .85; font-size: 15px; font-weight: 400; max-width: 560px; }

/* The tail number box as one pill with its button. */
[data-brand="planeprebuy"] .plate-form { justify-content: center; gap: 10px; }
[data-brand="planeprebuy"] .plate-label.start-here { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .14em; opacity: .9; }
[data-brand="planeprebuy"] .plate-label.start-here::before { content: none; }
[data-brand="planeprebuy"] .plate { flex: 0 1 520px; border: 0; border-radius: 999px; padding: 8px; box-shadow: 0 20px 50px rgba(5, 40, 80, .35); }
[data-brand="planeprebuy"] .plate-n, [data-brand="planeprebuy"] .plate input { font-size: 34px; font-weight: 800; line-height: 1.4; color: var(--ink); }
[data-brand="planeprebuy"] .plate-n { padding-left: 16px; font-weight: 900; }
[data-brand="planeprebuy"] .pp-go { display: block; flex: none; border: 0; border-radius: 999px; cursor: pointer; padding: 0 26px; align-self: stretch;
  background: linear-gradient(135deg, var(--go1), var(--go2)); color: #fff; font: 800 19px Outfit, sans-serif;
  box-shadow: 0 6px 16px rgba(255, 122, 24, .45); transition: transform .1s, filter .2s; }
[data-brand="planeprebuy"] .pp-go:hover { filter: brightness(1.06); }
[data-brand="planeprebuy"] .pp-go:active { transform: translateY(1px); }
[data-brand="planeprebuy"] .n-status { width: 100%; color: #fff; }
[data-brand="planeprebuy"] .n-status:empty { display: none; }
[data-brand="planeprebuy"] .plate-form .error { display: inline-block; width: auto; margin: 0 auto; background: #fff; color: var(--red);
  padding: 6px 14px; border-radius: 999px; }
[data-brand="planeprebuy"] .pp-price { display: block; margin: 16px 0 0; font-size: 15px; opacity: .92; }
[data-brand="planeprebuy"] .aircraft-card { margin: 26px auto 0; text-align: left; color: var(--ink); }

/* The sample glimpse, floating on the sky's edge. */
[data-brand="planeprebuy"] .glimpse { position: relative; z-index: 1; max-width: 880px; margin: 40px auto 0; text-align: left; color: var(--ink);
  border-radius: 22px; padding: 24px 26px; box-shadow: 0 30px 70px rgba(15, 34, 54, .18); }
[data-brand="planeprebuy"] .glimpse-label { display: inline-block; background: var(--soft); color: var(--sky1); padding: 4px 10px; border-radius: 999px; }
[data-brand="planeprebuy"] .glimpse-title { font: 800 24px/1.2 Outfit, sans-serif; margin: 8px 0 6px; }
[data-brand="planeprebuy"] .glimpse-headline { font-size: 15px; }
[data-brand="planeprebuy"] .glimpse-tiles { gap: 10px; }
[data-brand="planeprebuy"] .glimpse .sample-tile { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35;
  padding: 11px 12px; border: 1px solid #e3edf5; border-radius: 12px; background: #fafcfe; animation: pp-pop .5s backwards; }
[data-brand="planeprebuy"] .glimpse .sample-tile:nth-child(2) { animation-delay: .1s; }
[data-brand="planeprebuy"] .glimpse .sample-tile:nth-child(3) { animation-delay: .2s; }
[data-brand="planeprebuy"] .glimpse .sample-tile:nth-child(4) { animation-delay: .3s; }
[data-brand="planeprebuy"] .glimpse .sample-tile:nth-child(5) { animation-delay: .4s; }
[data-brand="planeprebuy"] .glimpse .sample-tile:nth-child(6) { animation-delay: .5s; }
@keyframes pp-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
/* The status word becomes a round icon; the colour still comes from the tile's status. */
[data-brand="planeprebuy"] .glimpse .sample-status { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c);
  font-size: 0; display: grid; place-items: center; }
[data-brand="planeprebuy"] .glimpse .sample-status::before { color: #fff; font-size: 13px; font-weight: 900; }
[data-brand="planeprebuy"] .glimpse .green .sample-status::before { content: '✓'; }
[data-brand="planeprebuy"] .glimpse .amber .sample-status::before { content: '!'; }
[data-brand="planeprebuy"] .glimpse .red .sample-status::before { content: '✕'; }
[data-brand="planeprebuy"] .glimpse-foot { color: var(--sky1); }

/* ------------------------------------------------ below the sky */

[data-brand="planeprebuy"] .pp-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none;
  padding: 0; margin: 40px 0 8px; text-align: center; }
[data-brand="planeprebuy"] .pp-trust li { border: 1px solid #e3edf5; border-radius: 16px; padding: 18px 12px; color: var(--ink-soft); font-size: 14px; }
[data-brand="planeprebuy"] .pp-trust span { display: block; font-size: 28px; }
[data-brand="planeprebuy"] .pp-trust strong { display: block; color: var(--ink); font-size: 17px; margin: 6px 0 2px; }

[data-brand="planeprebuy"] .card { border-radius: 20px; }
[data-brand="planeprebuy"] .shopping, [data-brand="planeprebuy"] .welcome { background: var(--soft); box-shadow: none; }
[data-brand="planeprebuy"] .shopping a, [data-brand="planeprebuy"] .why-us a { color: var(--sky1); }
[data-brand="planeprebuy"] .welcome h2 { font-size: 26px; }
[data-brand="planeprebuy"] .why-us { border: 1px solid #e3edf5; border-left: 5px solid var(--sky2); box-shadow: none; }

[data-brand="planeprebuy"] .landing h2 { font-size: clamp(30px, 4.5vw, 44px); }
[data-brand="planeprebuy"] .how-step { background: var(--soft); box-shadow: none; border-radius: 20px; padding: 16px 18px 22px; }
[data-brand="planeprebuy"] .how-visual { background: #fff; }
[data-brand="planeprebuy"] .how-step h3 span { width: 34px; height: 34px; border-radius: 11px; font-size: 17px; font-weight: 900;
  background: linear-gradient(135deg, var(--sky1), var(--sky2)); }
[data-brand="planeprebuy"] .covers > div { border: 1px solid #e3edf5; border-radius: 16px; padding: 16px 18px; }
[data-brand="planeprebuy"] .covers h3 { font-size: 18px; font-weight: 800; }
[data-brand="planeprebuy"] #sample-link { border-radius: 999px; background: linear-gradient(135deg, var(--go1), var(--go2)); }

[data-brand="planeprebuy"] .pp-cta { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; margin-top: 64px;
  padding: 44px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, var(--sky1), var(--sky2)); }
[data-brand="planeprebuy"] .pp-cta h2 { color: #fff; margin: 0 0 8px; }
[data-brand="planeprebuy"] .pp-cta p { margin: 0 0 20px; opacity: .92; font-size: 18px; }
[data-brand="planeprebuy"] .pp-cta-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; color: #fff; text-decoration: none;
  font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--go1), var(--go2)); box-shadow: 0 6px 16px rgba(255, 122, 24, .45); }
[data-brand="planeprebuy"] .pp-cta-price { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px 26px; text-align: center; }
[data-brand="planeprebuy"] .pp-cta-price strong { display: block; font-size: 52px; font-weight: 900; line-height: 1; }
[data-brand="planeprebuy"] .pp-cta-price > span { color: var(--ink-soft); font-size: 15px; }

@media (max-width: 860px) {
  [data-brand="planeprebuy"] .pp-trust { grid-template-columns: 1fr 1fr; }
  [data-brand="planeprebuy"] .pp-cta { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; }
  [data-brand="planeprebuy"] .first-screen .lede { font-size: 18px; }
}
@media (max-width: 760px) {
  [data-brand="planeprebuy"] .brand { font-size: 22px; padding-left: 58px; }
  [data-brand="planeprebuy"] .brand-logo { width: 44px; height: 44px; }
  [data-brand="planeprebuy"] .plate { flex-basis: 100%; }
  [data-brand="planeprebuy"] .plate-n, [data-brand="planeprebuy"] .plate input { font-size: 26px; }
  [data-brand="planeprebuy"] .pp-go { padding: 0 16px; font-size: 16px; }
  [data-brand="planeprebuy"] .glimpse-tiles { grid-template-columns: 1fr; }
}
