:root {
  --entry-bg: #f4f0e9;
  --entry-paper: #fffdfa;
  --entry-ink: #171716;
  --entry-muted: #6f6961;
  --entry-line: #ddd5c9;
  --entry-green: #243a2f;
  --entry-orange: #d85c2d;
}

.app-entry-v11 {
  display: none;
  color: var(--entry-ink);
  background: var(--entry-bg);
  min-height: 100vh;
  padding: 18px 0 calc(96px + env(safe-area-inset-bottom));
}

html[data-flamep-app-entry-v11="true"] body {
  background: var(--entry-bg);
}

/* The public V32 movie state locks the document while its full-screen gate is
   active. The Android entry replaces that gate, so restore the native page
   scroller only for this surface. */
html[data-flamep-app-entry-v11="true"],
html[data-flamep-app-entry-v11="true"].fp-v32-enhanced[data-v32-state] {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
  touch-action: pan-y;
}

html[data-flamep-app-entry-v11="true"] body,
html[data-flamep-app-entry-v11="true"].fp-v32-enhanced[data-v32-state] body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  touch-action: pan-y;
}

html[data-flamep-app-entry-v11="true"] #homeSurface {
  min-height: 0 !important;
  height: auto !important;
}

html[data-flamep-app-entry-v11="true"] #homeSurface > main,
html[data-flamep-app-entry-v11="true"] #homeSurface > footer,
html[data-flamep-app-entry-v11="true"] #movieExperience,
html[data-flamep-app-entry-v11="true"] #founderExperience {
  display: none !important;
}

html[data-flamep-app-entry-v11="true"] .app-entry-v11 {
  display: block;
}

html[data-flamep-app-entry-v11="true"] .app-entry-v11[hidden] {
  display: none !important;
}

.entry-v11-shell {
  width: min(100% - 24px, 760px);
  margin-inline: auto;
}

.entry-v11-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 4px;
}

.entry-v11-brand {
  color: var(--entry-ink);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.03em;
  text-decoration: none;
}

.entry-v11-login {
  min-width: 102px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--entry-ink);
  border-radius: 999px;
  color: #fff;
  background: var(--entry-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.entry-v11-hero {
  padding: 18px 4px 8px;
}

.entry-v11-eyebrow {
  margin: 0 0 8px;
  color: var(--entry-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.entry-v11-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 9vw, 58px);
  line-height: .98;
  letter-spacing: -.055em;
}

.entry-v11-lead {
  max-width: 610px;
  margin: 14px 0 0;
  color: #5e5851;
  font-size: 16px;
  line-height: 1.5;
}

.entry-v11-command {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--entry-line);
  border-radius: 24px;
  background: var(--entry-paper);
  box-shadow: 0 10px 28px rgb(45 35 25 / 7%);
}

.entry-v11-command-copy {
  min-height: 52px;
  padding: 4px;
  color: #777067;
  font-size: 15px;
}

.entry-v11-command-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.entry-v11-icon,
.entry-v11-send {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--entry-ink);
  background: #ede8df;
  text-decoration: none;
}

.entry-v11-send {
  color: white;
  background: var(--entry-ink);
  font-size: 22px;
}

.entry-v11-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.entry-v11-promise {
  min-height: 270px;
  margin-top: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 26px;
  color: white;
  background:
    linear-gradient(90deg, rgb(12 15 13 / 94%), rgb(12 15 13 / 60%)),
    url("/assets/app-entry-v11-2/v11-visual-01.webp") center / cover;
}

.entry-v11-promise h2 {
  max-width: 470px;
  margin: 7px 0 0;
  font-size: 27px;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.entry-v11-promise p {
  max-width: 560px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.entry-v11-pills {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.entry-v11-pills span {
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  font-size: 10px;
}

.entry-v11-section {
  padding-top: 28px;
}

.entry-v11-section-head {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 0 4px 12px;
}

.entry-v11-section-head h2 {
  margin: 0;
  flex: 1;
  font-size: 23px;
  letter-spacing: -.035em;
}

.entry-v11-section-head span {
  max-width: 240px;
  color: var(--entry-muted);
  font-size: 11px;
  text-align: right;
}

.entry-v11-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-inline: contain;
}

.entry-v11-strip::-webkit-scrollbar {
  display: none;
}

.entry-v11-story,
.entry-v11-card {
  min-width: min(82vw, 310px);
  overflow: hidden;
  border: 1px solid var(--entry-line);
  border-radius: 22px;
  background: var(--entry-paper);
  scroll-snap-align: start;
}

.entry-v11-story-art {
  height: 176px;
  position: relative;
  background: var(--entry-art) center / cover;
}

.entry-v11-story-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / 38%));
}

.entry-v11-step {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgb(255 253 250 / 94%);
  font-size: 10px;
  font-weight: 800;
}

.entry-v11-story-copy,
.entry-v11-card {
  padding: 14px;
}

.entry-v11-story-copy b,
.entry-v11-card b {
  display: block;
  font-size: 14px;
}

.entry-v11-story-copy p,
.entry-v11-card p {
  margin: 7px 0 0;
  color: var(--entry-muted);
  font-size: 11px;
  line-height: 1.5;
}

.entry-v11-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.entry-v11-card {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.entry-v11-card:focus-visible,
.entry-v11-icon:focus-visible,
.entry-v11-send:focus-visible {
  outline: 3px solid var(--entry-orange);
  outline-offset: 3px;
}

.entry-v11-card-wide {
  grid-column: 1 / -1;
}

.entry-v11-pricing {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  color: white;
  background: var(--entry-green);
}

.entry-v11-pricing div {
  flex: 1;
}

.entry-v11-pricing h2,
.entry-v11-pricing p {
  margin: 0;
}

.entry-v11-pricing p {
  margin-top: 6px;
  color: #e3ddd3;
  font-size: 12px;
}

.entry-v11-pricing a {
  min-height: 44px;
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--entry-ink);
  background: white;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

body[data-app-entry-state="activate"],
body[data-app-entry-state="home"] {
  background: var(--entry-bg);
}

body[data-app-entry-state="activate"] .topbar,
body[data-app-entry-state="home"] [data-navigation-root] {
  background: rgb(255 253 250 / 96%);
  backdrop-filter: blur(16px);
}

.entry-v11-activate-art {
  min-height: 220px;
  margin: 0 0 18px;
  padding: 22px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 26px;
  color: white;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 6%), rgb(0 0 0 / 54%)),
    url("/assets/app-entry-v11-2/v11-visual-02.webp") center / cover;
}

.entry-v11-activate-art strong {
  max-width: 520px;
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.entry-v11-hop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.entry-v11-hop {
  min-height: 126px;
  padding: 14px;
  border: 1px solid var(--entry-line);
  border-radius: 20px;
  color: inherit;
  background: var(--entry-paper);
  text-decoration: none;
}

.entry-v11-hop b,
.entry-v11-hop span {
  display: block;
}

.entry-v11-hop span {
  margin-top: 7px;
  color: var(--entry-muted);
  font-size: 11px;
  line-height: 1.45;
}

body[data-app-entry-state="home"] .quick-command {
  border-radius: 22px;
  background: var(--entry-paper);
}

body[data-app-entry-state="home"] .quick-command .plus,
body[data-app-entry-state="home"] .quick-command .go {
  min-width: 44px;
  min-height: 44px;
}

body[data-app-entry-state="home"] .quick-command .composer-media-link {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ede8df;
}

body[data-app-entry-state="home"] .quick-command .composer-media-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-v11-vault-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid var(--entry-line);
  border-radius: 999px;
  color: var(--entry-ink);
  background: var(--entry-paper);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.entry-v11-return-hero {
  padding: 34px 4px 12px;
}

.entry-v11-return-hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 10vw, 64px);
  line-height: .96;
  letter-spacing: -.055em;
}

.entry-v11-home-command {
  margin-top: 24px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--entry-line);
  border-radius: 22px;
  background: var(--entry-paper);
  box-shadow: 0 16px 42px rgb(36 29 22 / 8%);
}

.entry-v11-home-command input {
  min-width: 0;
  min-height: 44px;
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  color: var(--entry-ink);
  background: transparent;
  font: inherit;
  font-size: 15px;
}

.entry-v11-home-command-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.entry-v11-home-command .entry-v11-icon,
.entry-v11-home-command .entry-v11-send {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--entry-ink);
  background: #ede8df;
  text-decoration: none;
}

.entry-v11-home-command .entry-v11-send {
  color: white;
  background: var(--entry-ink);
  font-size: 22px;
  cursor: pointer;
}

.entry-v11-home-command .entry-v11-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-v11-home-quick {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.entry-v11-home-quick a {
  min-height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--entry-line);
  border-radius: 18px;
  color: var(--entry-ink);
  background: rgb(255 253 250 / 68%);
  font-size: 11px;
  text-decoration: none;
}

.entry-v11-home-quick a span { font-size: 21px; }

.entry-v11-home-focus {
  min-height: 190px;
  padding: 22px;
  display: grid;
  align-content: end;
  border-radius: 24px;
  color: white;
  background: linear-gradient(150deg, rgb(23 23 22 / 8%), rgb(23 23 22 / 76%)), url('/assets/app-entry-v11-2/v11-visual-10.webp') center / cover;
  text-decoration: none;
}

.entry-v11-home-focus small,
.entry-v11-home-focus h3,
.entry-v11-home-focus p { margin: 0; }
.entry-v11-home-focus h3 { margin-top: 4px; font-size: 30px; }
.entry-v11-home-focus p { max-width: 490px; margin-top: 10px; line-height: 1.5; }
.entry-v11-home-focus > span { margin-top: 12px; font-weight: 800; }

.entry-v11-home-contexts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.entry-v11-home-contexts a {
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid var(--entry-line);
  border-radius: 22px;
  color: var(--entry-ink);
  background: var(--entry-paper);
  text-decoration: none;
}

.entry-v11-home-contexts b { font-size: 20px; }
.entry-v11-home-contexts span { margin-top: 7px; color: var(--entry-muted); font-size: 12px; line-height: 1.45; }

.entry-v11-home-now {
  overflow: hidden;
  border: 1px solid var(--entry-line);
  border-radius: 22px;
  background: var(--entry-paper);
}

.entry-v11-home-now a {
  min-height: 62px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--entry-ink);
  text-decoration: none;
}

.entry-v11-home-now a + a { border-top: 1px solid var(--entry-line); }
.entry-v11-home-now i { color: var(--entry-muted); font-style: normal; font-size: 22px; }

@media (max-width: 520px) {
  .entry-v11-section-head {
    align-items: start;
    flex-direction: column;
  }

  .entry-v11-section-head span {
    text-align: left;
  }

  .entry-v11-story {
    min-width: calc(78vw - 12px);
  }

  .entry-v11-pricing {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-v11-pricing a {
    text-align: center;
  }

  .entry-v11-hop-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }

  .entry-v11-hop {
    min-width: 46%;
    scroll-snap-align: start;
  }

  body[data-app-entry-state="home"] .quick-command {
    gap: 4px;
    padding-inline: 6px;
  }

  body[data-app-entry-state="home"] .quick-command .plus {
    display: none;
  }

  body[data-app-entry-state="home"] .quick-command input {
    font-size: 14px;
  }

  .entry-v11-return-hero { padding-top: 24px; }
  .entry-v11-home-command { align-items: stretch; flex-direction: column; }
  .entry-v11-home-command-actions { justify-content: flex-end; }
  .entry-v11-home-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-v11-home-contexts { grid-template-columns: 1fr; }
}

@media (min-width: 800px) {
  html:not([data-flamep-app-entry-v11="true"]) .app-entry-v11 {
    display: none !important;
  }
}
