/* Oi Panda marketing — Frutiger Aero shell.
   Never target demo internals (.demo-root, .companion, .wedge-*, .fp-*, .stage, etc.) */

:root {
  --sky: #ddf2ff;
  --sky-deep: #b7e0f8;
  --clear: #2879cc;
  --clear-deep: #1c5fa8;
  --ink: #173a58;
  --ink-soft: #3d6280;
  --aqua: #bceae6;
  --aqua-deep: #7ecfc7;
  --green: #79b84a;
  --green-deep: #5a9434;
  --cloud: #f8fcff;
  --glass: rgba(248, 252, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --line: rgba(39, 121, 204, 0.22);
  --shadow: 0 10px 28px rgba(23, 58, 88, 0.14);
  --content: 1140px;
  --pad-x: 32px;
  --section-y: 88px;
  --header-h: 70px;
  --font-head: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Lucida Grande", "Lucida Sans Unicode", "Segoe UI", Tahoma, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .deco--drift,
  .deco--bob,
  .aero-btn,
  .site-header {
    animation: none !important;
    transition: none !important;
  }
}

body.site {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 15% -10%, #ffffff 0%, transparent 55%),
    radial-gradient(900px 420px at 90% 8%, #c9f0e8 0%, transparent 50%),
    linear-gradient(180deg, #ccebff 0%, var(--sky) 28%, #e8f7ff 62%, #f3fbff 100%);
  -webkit-font-smoothing: antialiased;
}

/* Marketing images only */
.site-header img,
.site-footer img,
.companion-card img,
.habitat__pet {
  max-width: 100%;
  height: auto;
}

a.mk-link {
  color: var(--clear);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* —— Aero buttons (marketing only: .aero-btn) —— */
.aero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 6px 14px rgba(23, 58, 88, 0.16);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}
.aero-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.aero-btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 3px 8px rgba(23, 58, 88, 0.14);
}
.aero-btn:focus-visible {
  outline: 3px solid rgba(40, 121, 204, 0.45);
  outline-offset: 2px;
}
.aero-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #5aa8ef 0%, var(--clear) 48%, var(--clear-deep) 100%);
  border-color: rgba(20, 80, 140, 0.35);
  text-shadow: 0 1px 0 rgba(0, 40, 80, 0.25);
}
.aero-btn--green {
  color: #fff;
  background: linear-gradient(180deg, #9fd46a 0%, var(--green) 48%, var(--green-deep) 100%);
  border-color: rgba(60, 110, 30, 0.35);
  text-shadow: 0 1px 0 rgba(30, 60, 10, 0.2);
}
.aero-btn--glass {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(210, 236, 250, 0.88) 100%);
  border-color: rgba(120, 170, 210, 0.55);
}
.aero-btn--block {
  width: 100%;
}
.aero-btn[aria-disabled="true"],
.aero-btn.is-disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  filter: none;
}
.aero-btn--sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 11px;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.88), rgba(221, 242, 255, 0.72));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(23, 58, 88, 0.08);
}
.site-header__inner {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.site-brand img {
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 4px rgba(23, 58, 88, 0.2));
}
.site-nav__desktop {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav__desktop > a:not(.aero-btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.site-nav__desktop > a:not(.aero-btn):hover {
  color: var(--clear);
}
.site-nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #dff1ff);
  cursor: pointer;
  padding: 0;
}
.site-nav__toggle span,
.site-nav__toggle span::before,
.site-nav__toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.site-nav__toggle span::before,
.site-nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.site-nav__toggle span::before {
  top: -6px;
}
.site-nav__toggle span::after {
  top: 6px;
}

@media (max-width: 860px) {
  .site-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-nav__desktop {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: var(--pad-x);
    right: var(--pad-x);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }
  .site-nav.is-open .site-nav__desktop {
    display: flex;
  }
}

/* —— Deco (non-interactive) —— */
.deco-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 6px 10px rgba(23, 58, 88, 0.14));
}
.deco--drift {
  animation: deco-drift 12s ease-in-out infinite alternate;
}
.deco--bob {
  animation: deco-bob 5.5s ease-in-out infinite;
}
@keyframes deco-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(12px);
  }
}
@keyframes deco-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* —— Layout —— */
.site-main {
  overflow-x: visible;
  position: relative;
}
.site-section {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  position: relative;
}
.site-section--sky {
  width: 100%;
  max-width: none;
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
}
.site-section__inner {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
  position: relative;
}
.site-section--soft {
  width: 100%;
  max-width: none;
  padding: 0;
  background: linear-gradient(180deg, rgba(188, 234, 230, 0.28), rgba(221, 242, 255, 0.45));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.site-section--habitat {
  width: 100%;
  max-width: none;
  padding: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(188, 234, 230, 0.35) 40%, rgba(121, 184, 74, 0.18) 100%);
  border-top: 1px solid rgba(121, 184, 74, 0.2);
  border-bottom: 1px solid rgba(121, 184, 74, 0.2);
}
body.is-waitlist-open {
  overflow: hidden;
}
.site-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clear);
}
.site-h1 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.site-h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.site-lede {
  margin: 0 0 22px;
  max-width: 38rem;
  font-size: 18px;
  color: var(--ink-soft);
}
.site-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.glass-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(221, 242, 255, 0.55));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    var(--shadow);
  backdrop-filter: blur(10px);
}

/* —— Hero —— */
.hero {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 36px var(--pad-x) 20px;
  position: relative;
  z-index: 1;
}
.hero__panel {
  position: relative;
  padding: 28px 28px 24px;
  overflow: hidden;
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.hero__windows {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.hero__waitlist-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--clear);
  margin-left: 4px;
}
.hero__price-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dashed rgba(40, 121, 204, 0.45);
}
.hero__price-link:hover {
  color: var(--clear);
}
.hero .deco-layer {
  z-index: 1;
}

@media (max-width: 720px) {
  :root {
    --pad-x: 20px;
    --section-y: 64px;
  }
  .hero__panel {
    padding: 22px 18px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__windows {
    width: 100%;
  }
  .hero__windows .aero-btn {
    width: 100%;
  }
}

/* —— Demo showcase —— */
.demo-showcase {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 8px var(--pad-x) 28px;
  position: relative;
  z-index: 1;
}
.demo-showcase__caption,
.demo-showcase__hint {
  margin: 0 0 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.demo-showcase__hint {
  margin: 12px 0 0;
  font-weight: 500;
}
.demo-aero-shell {
  position: relative;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.65), rgba(188, 234, 230, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 48px rgba(23, 58, 88, 0.18);
}
.demo-aero-shell::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 8px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  pointer-events: none;
}
.demo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(120, 180, 220, 0.55);
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.demo-mount {
  position: relative;
}

/* —— Feature scenes —— */
.scene-grid {
  display: grid;
  gap: 28px;
}
.scene {
  position: relative;
  padding: 28px;
  overflow: hidden;
}
.scene__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}
.scene__body {
  margin: 0 0 18px;
  max-width: 34rem;
  color: var(--ink-soft);
}
.scene__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #e5f5ff);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.chip img {
  width: 22px;
  height: 22px;
}
.feature-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.feature-mini article {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(221, 242, 255, 0.65));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 #fff;
}
.feature-mini h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}
.feature-mini p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .feature-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .feature-mini {
    grid-template-columns: 1fr;
  }
}

/* —— Companions habitat —— */
.habitat {
  position: relative;
  padding: 28px 20px 8px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(180, 226, 255, 0.55) 0%, rgba(221, 242, 255, 0.4) 45%, rgba(168, 214, 130, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.habitat__grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(90, 148, 52, 0.35));
  pointer-events: none;
}
.companion-lineup {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}
.companion-card {
  text-align: center;
  padding: 14px 10px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.16s ease;
}
.companion-card:hover {
  transform: translateY(-3px);
}
.companion-card img {
  width: 72px;
  height: 72px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 0 rgba(23, 58, 88, 0.12));
}
.companion-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--ink);
}
@media (max-width: 800px) {
  .companion-lineup {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Pricing —— */
.price-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 28px;
  text-align: center;
  position: relative;
}
.price-card__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
}
.price-card__tier {
  margin: 4px 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
}
.price-card__amount {
  margin: 0;
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--clear-deep);
  text-shadow: 0 1px 0 #fff;
}
.price-card__meta {
  margin: 8px 0 18px;
  font-size: 14px;
  color: var(--ink-soft);
}
.price-card__list {
  text-align: left;
  margin: 0 0 20px;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 14px;
}
.price-card__list li {
  margin: 6px 0;
}
.price-card__status {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.price-card__fine {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}
.price-card__actions {
  display: grid;
  gap: 10px;
}

/* —— FAQ —— */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
}
.faq-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 246, 255, 0.75));
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.faq-item__a {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* —— Closing download —— */
.download-band {
  text-align: center;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.download-band .site-h2 {
  position: relative;
  z-index: 1;
}
.download-band .hero__actions {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* —— Footer —— */
.site-footer {
  margin-top: 24px;
  padding: 40px 0 28px;
  background: linear-gradient(180deg, rgba(183, 224, 248, 0.45), rgba(188, 234, 230, 0.55));
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer__brand {
  display: flex;
  gap: 12px;
  max-width: 360px;
}
.site-footer__brand img {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.site-footer__brand strong {
  font-family: var(--font-head);
  font-size: 16px;
}
.site-footer__brand p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.site-footer__cols {
  display: flex;
  gap: 40px;
}
.site-footer__cols h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.site-footer__cols a {
  display: block;
  margin: 6px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.site-footer__cols a:hover {
  color: var(--clear);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
}

/* —— Waitlist dialog —— */
.waitlist-layer[hidden] {
  display: none !important;
}
.waitlist-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(16, 40, 64, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.waitlist-dialog {
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fcff, #dff2ff);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(23, 58, 88, 0.28);
}
.waitlist-dialog h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 24px;
}
.waitlist-dialog p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
}
.waitlist-dialog label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}
.waitlist-dialog input {
  width: 100%;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.waitlist-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.waitlist-dialog__status {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* —— Legal pages —— */
.legal-shell {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 48px var(--pad-x) 80px;
}
.legal-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clear);
}
.legal-shell h1 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 36px;
}
.legal-meta {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--ink-soft);
}
.legal-shell h2 {
  margin: 28px 0 10px;
  font-family: var(--font-head);
  font-size: 22px;
}
.legal-shell p,
.legal-shell li {
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .site-footer__cols {
    gap: 24px;
  }
}
