/* Soft pink — programmable.family / Uniswap cues
   Flat graphic art (not photoreal). High-contrast ink on light blush. */

/* Inter = open SF-style UI font (SIL OFL). Used site-wide instead of Apple SF Pro. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --los-bg: #fff5fa;
  --los-bg-soft: #ffe8f2;
  --los-ink: #2a1a2c;
  --los-ink-soft: #5a3d58;
  --los-muted: #c48aaa;
  --los-peach: #ffdcc8;
  --los-lavender: #e8d0f4;
  --los-cream: #fff7fb;
  --los-rose: #fc72b6; /* Uniswap-adjacent accent */
  --los-pink: #ff99c8;
  --los-blush: #ffe8f2;
  --focus-visible-color: #fc72b6;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

html {
  color: var(--los-ink);
  background-color: var(--los-bg);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(252, 114, 182, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 80% 60%, rgba(230, 200, 240, 0.18) 0%, transparent 40%),
    linear-gradient(180deg, #fff7fb 0%, #ffe8f2 55%, #fff5fa 100%);
  background-attachment: fixed;
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sitewide: replace legacy mono / display stacks with Inter */
html,
body,
button,
input,
select,
textarea,
label,
a,
p,
h1, h2, h3, h4, h5, h6,
li,
span,
small,
strong,
em,
blockquote,
figcaption,
.t-body,
.t-large,
.t-small,
.t-heading,
.t-heading-bold,
.t-wysiwyg,
.c-button,
.c-button_label,
.c-header,
.c-footer,
.c-prismic-rich-text,
.c-service-thumbs,
.c-launches,
.c-mechanisms,
.pf-app,
.page-pf-launch,
.page-pf-launch * {
  font-family: var(--font-ui) !important;
}

/* Soften mono-era tracking so Inter reads natural */
body,
.t-body,
.t-large,
.t-small,
.t-heading,
.t-heading-bold,
.c-button_label,
.c-service-thumbs_title,
.c-service-thumbs_desc,
.c-launches_title,
.c-how-hooks_title,
.c-how-hooks_lede,
.c-how-hooks_step-title,
.c-how-hooks_step-body {
  letter-spacing: normal;
}

::selection {
  background: #ffc8dc;
  color: var(--los-ink);
}

body,
#swup,
.transition-fade {
  color: var(--los-ink);
}

/* Loader — soft pink, not heavy mauve */
.c-loader {
  color: var(--los-cream);
}

.c-loader_bg {
  background:
    radial-gradient(circle at 30% 40%, #ff99c8 0%, transparent 55%),
    radial-gradient(circle at 70% 65%, #e8d0f4 0%, transparent 50%),
    linear-gradient(135deg, #fc72b6 0%, #ff99c8 50%, #e8d0f4 100%) !important;
}

.c-loader:after {
  background-color: rgba(252, 114, 182, 0.55) !important;
}

.c-lines span {
  background-color: currentColor;
  opacity: 0.55;
}

/* Original site used mix-blend-mode:difference for cream type on dark heroes.
   On a light blush canvas that inverts text into near-invisible pink — kill it. */
.c-header {
  --_header-color: #2a1a2c !important;
  --header-color: #2a1a2c !important;
  color: #2a1a2c !important;
}

.c-header_logo,
.c-header_nav,
.c-header_toggler,
.c-header .c-button,
.c-header.has-scrolled .c-header_nav,
.c-header.is-reduced .c-header_nav {
  mix-blend-mode: normal !important;
  color: #2a1a2c !important;
}

.c-header_logo svg,
.c-header_logo .svg-logo,
.c-header_logo use {
  display: none !important;
}

.uf-brand-mark {
  display: block !important;
  width: auto !important;
  height: 2.35rem !important;
  max-width: 3.75rem;
  object-fit: contain;
}

.uf-brand-mark--loader {
  height: 2.4rem !important;
  max-width: 3.6rem;
}

.c-loader_logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
}

.c-header_logo .c-icon {
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center;
}

.pf-mark {
  width: 44px !important;
  height: auto !important;
  max-height: 32px;
  object-fit: contain;
}

.p-home_icon .uf-brand-mark,
.c-footer .uf-brand-mark {
  height: 1.6rem !important;
  max-width: 2.4rem;
}

.c-header_nav .c-nav {
  --button-color-text: #2a1a2c !important;
  --button-color-bg: transparent !important;
  --button-hover-color-text: #fff7fb !important;
  --button-hover-color-bg: #fc72b6 !important;
  --triangle-color: #2a1a2c !important;
}

.c-nav_item.is-current,
.c-header .c-menu_link.is-active,
.c-menu_link[aria-current="page"],
.c-nav_item.is-current .c-button {
  --button-color-text: #fff7fb !important;
  --button-color-bg: #2a1a2c !important;
  --triangle-color: #fff7fb !important;
  color: #fff7fb !important;
  background-color: #2a1a2c !important;
}

.c-header.has-scrolled .c-header_nav .c-nav {
  --button-color-text: #2a1a2c !important;
  --button-color-bg: #fff7fb !important;
  --button-hover-color-text: #fff7fb !important;
  --button-hover-color-bg: #fc72b6 !important;
}

.c-header,
.c-header a,
.c-menu_link {
  color: #2a1a2c !important;
}

/* Hide Home / Gallery / Services tab + mobile Menu toggle */
.c-header_nav,
.c-header_toggler {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.c-button.-dark,
.c-button:not(.-light) {
  --_button-color-bg: #fc72b6;
  --_button-color-text: #fff7fb;
  --_button-hover-color-bg: #e85a9e;
  --_button-hover-color-text: #fff7fb;
  border-radius: 999px !important;
  overflow: hidden;
}

.c-button.-light {
  --_button-color-text: #2a1a2c;
  --_button-color-bg: #fff7fb;
  --_button-hover-color-text: #fff7fb;
  --_button-hover-color-bg: #fc72b6;
  border-radius: 999px !important;
  overflow: hidden;
}

.c-button_inner {
  border-radius: inherit !important;
}

/* Flat graphics — no photo filters */
.c-image_img,
.c-gallery .c-image_img,
.p-home_about-image img,
.p-home_video img {
  filter: none;
}

/* Hero: restored unicorn-cloud art — light wash so dark type stays readable */
.c-hero_wrapper {
  color: var(--los-ink) !important;
  background-color: #f0c0d8 !important;
  background-image: none !important;
}

.c-hero_wrapper h1,
.c-hero_wrapper p,
.c-hero_wrapper a,
.c-hero_wrapper span,
.c-hero .c-line {
  color: var(--los-ink) !important;
}

.c-hero_image:after {
  background-color: rgba(255, 245, 250, 0.22) !important;
}

.c-hero_image .c-image {
  filter: saturate(1.05) brightness(1.04) !important;
}

.c-hero_overlay {
  background-color: rgba(255, 245, 250, 0.45) !important;
  backdrop-filter: blur(8px);
}

.c-hero.-services .c-hero_image:after {
  background-image: linear-gradient(to bottom, transparent 35%, #fff5fa) !important;
}

/* ABOUT SECTION — main readability fix
   Cream text on light AI clouds was illegible. Force dark ink + soft scrim. */
.p-home_about-inner {
  position: relative;
  color: #1a101c !important;
}

.p-home_about-inner h2,
.p-home_about-inner h3,
.p-home_about-inner p,
.p-home_about-inner a,
.p-home_about-inner span,
.p-home_about-inner li,
.p-home_about-list-item,
.p-home_about-list-item * {
  color: #1a101c !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}

/* Don't fade inactive columns into illegibility on a light canvas */
.p-home_about-list-item,
.p-home_about-list-item:not(.is-active),
.p-home_about-list-item.is-active {
  opacity: 1 !important;
}

/* Soft image on the right / mid gap; copy stays on washed left */
.p-home_about-image:after {
  background:
    linear-gradient(
      92deg,
      rgba(255, 245, 250, 0.96) 0%,
      rgba(255, 245, 250, 0.92) 38%,
      rgba(255, 242, 248, 0.7) 62%,
      rgba(255, 240, 247, 0.35) 100%
    ) !important;
}

.p-home_about-image .c-image_img {
  opacity: 1 !important;
  filter: saturate(1.06) brightness(1.05) !important;
}

/* Hide video section if any remnant / other pages */
.p-home_video {
  display: none !important;
}

/* CTA bar stays high-contrast */
.p-home_about .c-button,
.p-home_about a.c-button {
  color: #fff7fb !important;
  background-color: #fc72b6 !important;
  --_button-color-bg: #fc72b6 !important;
  --_button-color-text: #fff7fb !important;
}

/* Service thumbs — dark labels on blush page */
.c-service-thumbs,
.c-service-thumbs h2,
.c-service-thumbs p,
.c-service-thumbs a {
  color: var(--los-ink) !important;
}

.c-service-thumbs_index:before {
  color: var(--los-muted) !important;
}

/* Flatten staggered I/II/III into one even row */
@media (min-width: 1000px) {
  .c-service-thumbs[data-astro-cid-bictgidc] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    align-items: start !important;
    grid-row-gap: var(--grid-gutter) !important;
  }

  .c-service-thumbs_item[data-astro-cid-bictgidc],
  .c-service-thumbs_item[data-astro-cid-bictgidc]:nth-child(3n),
  .c-service-thumbs_item[data-astro-cid-bictgidc]:nth-child(3n+1),
  .c-service-thumbs_item[data-astro-cid-bictgidc]:nth-child(3n+2) {
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: stretch !important;
  }

  .c-service-thumbs_item[data-astro-cid-bictgidc]:nth-child(3n+2):after,
  .c-service-thumbs_item[data-astro-cid-bictgidc]:nth-child(3n):before {
    --line-top: 0 !important;
  }

  /* I Browse | II Explore | III Launch — left to right, same baseline */
  .c-service-thumbs_item[data-astro-cid-bictgidc]:nth-child(1) {
    order: 1;
  }
  .c-service-thumbs_item[data-astro-cid-bictgidc]:nth-child(2) {
    order: 2;
  }
  .c-service-thumbs_item[data-astro-cid-bictgidc]:nth-child(3) {
    order: 3;
  }

  .c-service-thumbs_item[data-astro-cid-bictgidc] > .c-button {
    margin-top: auto;
  }
}

/* Soft pastel gradient panels instead of photo art */
.uf-service-gradient {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  margin: 0.85rem 0 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.uf-service-gradient--launches {
  background:
    radial-gradient(circle at 28% 30%, #ffffffcc 0%, transparent 42%),
    radial-gradient(circle at 78% 70%, #ff99c8aa 0%, transparent 48%),
    linear-gradient(145deg, #ffe4f0 0%, #fc72b6 52%, #e8b0dc 100%);
}

.uf-service-gradient--mechanisms {
  background:
    radial-gradient(circle at 70% 24%, #ffffffc7 0%, transparent 40%),
    radial-gradient(circle at 20% 78%, #d4a0e8aa 0%, transparent 48%),
    linear-gradient(155deg, #f5e6ff 0%, #d8a8e8 48%, #f0c0d8 100%);
}

.uf-service-gradient--create {
  background:
    radial-gradient(circle at 35% 70%, #ffffffc4 0%, transparent 42%),
    radial-gradient(circle at 80% 28%, #ffd0b8aa 0%, transparent 46%),
    linear-gradient(160deg, #fff0e8 0%, #ffb0c8 50%, #fc72b6 100%);
}

/* Round the pink CTAs in this section */
.c-service-thumbs .c-button,
.c-service-thumbs .c-button_inner {
  border-radius: 999px !important;
}

.c-service-thumbs .c-button {
  overflow: hidden;
}

/* Quotes: keep inverted but with hot pink energy */
.p-home_quotes-item {
  background:
    linear-gradient(155deg, #fc72b6 0%, #e88ab8 55%, #d4a0d8 100%) !important;
  color: #fff7fb !important;
}

.c-accordion.is-open .c-accordion_details {
  background:
    linear-gradient(180deg, #fc72b6 0%, #e88ab8 100%) !important;
  color: #fff7fb !important;
}

.c-gallery_control {
  background-color: rgba(255, 247, 251, 0.7) !important;
  border-color: rgba(252, 114, 182, 0.35);
}

.c-modal {
  --_modal-color-bg: rgba(42, 26, 44, 0.35);
}

.c-modal.-video .c-modal_inner {
  background-color: #2a1a2c !important;
}

.c-line,
.c-line.-thick,
.c-line.-reveal {
  background-color: var(--los-ink);
  opacity: 0.5;
}

input:focus-visible,
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline-color: var(--los-rose);
}

/* Footer / body copy */
.c-footer,
.c-footer a,
.c-footer p,
.c-bottom-lines {
  color: var(--los-ink) !important;
}

/* Partner logos on soft lavender panel (from user swatch ~#cfb1d6) */
.c-logo-links {
  background: #cfb1d6 !important;
  padding: calc(var(--grid-gutter) * 0.75) calc(var(--grid-gutter) * 0.5)
    calc(var(--grid-gutter) * 0.35) !important;
  border-radius: 0;
  color: #2a1a2c !important;
}

.c-logo-links_title {
  color: #2a1a2c !important;
}

.c-logo-links_title .c-line {
  background-color: #2a1a2c !important;
  opacity: 0.55 !important;
}

.c-logo-links_item:before,
.c-logo-links_item:after {
  background-color: rgba(42, 26, 44, 0.35) !important;
}

.c-logo-links_inner {
  aspect-ratio: 2.2 / 1 !important;
  min-height: 7.5rem;
  padding: 0.75rem 1rem;
}

.c-logo-links_inner:before {
  background-color: rgba(90, 61, 88, 0.2) !important;
}

.c-logo-links_image {
  width: 78% !important;
  height: 78% !important;
  filter: none !important; /* keep black marks on lavender */
}

.c-logo-links_inner:hover .c-image {
  filter: invert(1) !important;
}

.c-logo-links_image .c-image_img {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
}

/* Compact footer */
.c-footer-simple {
  background: #2a1a2c !important;
  color: #fff7fb !important;
  margin-top: calc(var(--grid-gutter) * 2);
  padding: 1.25rem 0 1.5rem;
}

.c-footer-simple_inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.c-footer-simple_brand {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff7fb !important;
}

.c-footer-simple_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.c-footer-simple_nav a {
  color: #ffd6e8 !important;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.c-footer-simple_nav a:hover {
  color: #fff7fb !important;
}

.c-footer-simple_copy {
  color: rgba(255, 247, 251, 0.55) !important;
  font-size: 0.7rem;
}

/* Hide leftover bottom decorative lines if empty */
.c-bottom-lines {
  display: none !important;
}

/* How Hooks Work — same rhythm as home intro / service thumbs */
.c-how-hooks {
  margin-top: calc(var(--grid-gutter) * 3);
  margin-bottom: calc(var(--grid-gutter) * 2.5);
  color: var(--los-ink);
}

.c-how-hooks_header {
  max-width: calc(8 * var(--grid-column-width) + 7 * var(--grid-gutter));
  margin-bottom: calc(var(--grid-gutter) * 2);
}

.c-how-hooks_title {
  margin: 0.65rem 0 1rem;
  color: var(--los-ink);
  font-size: var(--font-size-heading) !important;
  line-height: 1.28;
}

.c-how-hooks_lede {
  margin: 0;
  max-width: 42rem;
  color: var(--los-ink);
  font-size: var(--font-size-large) !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}

.c-how-hooks_steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--grid-gutter) * 1.5);
}

@media (min-width: 700px) {
  .c-how-hooks_steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--grid-gutter);
  }
}

.c-how-hooks_step {
  display: flex;
  flex-direction: column;
  gap: calc(var(--grid-gutter) * 0.35);
  color: var(--los-ink);
  background: transparent;
  padding: 0;
  border: 0;
}

.c-how-hooks_num {
  display: block;
  color: var(--los-muted);
  font-size: var(--font-size-body);
  line-height: 1.4;
}

.c-how-hooks_step-title {
  margin: 0;
  color: var(--los-ink);
  font-size: var(--font-size-large) !important;
  line-height: 1.35 !important;
  font-weight: 600;
}

.c-how-hooks_step-body {
  margin: 0;
  max-width: 26rem;
  color: var(--los-ink);
  font-size: var(--font-size-large) !important;
  line-height: 1.45 !important;
  text-transform: none !important;
  opacity: 0.85;
}

.c-how-hooks_why {
  margin-top: calc(var(--grid-gutter) * 2);
  max-width: calc(8 * var(--grid-column-width) + 7 * var(--grid-gutter));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--grid-gutter) * 0.75);
  padding: 0;
  background: none;
  border: 0;
}

.c-how-hooks_why-text {
  margin: 0.35rem 0 0;
  color: var(--los-ink);
  font-size: var(--font-size-large) !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}

.c-how-hooks_why .c-button {
  --button-color-text: #2a1a2c;
  --button-color-bg: #fc72b6;
  --button-hover-color-text: #fff7fb;
  --button-hover-color-bg: #2a1a2c;
  --triangle-color: #2a1a2c;
}

/* Hook token catalog — same mono + pastel language as home */
.c-hook-catalog {
  padding-top: calc(var(--grid-gutter) * 2);
  padding-bottom: calc(var(--grid-gutter) * 3);
  color: var(--los-ink);
}

.c-hook-catalog_header {
  max-width: calc(8 * var(--grid-column-width) + 7 * var(--grid-gutter));
  margin-bottom: calc(var(--grid-gutter) * 2);
}

.c-hook-catalog_eyebrow {
  margin: 0.65rem 0 0.35rem;
  color: var(--los-muted);
}

.c-hook-catalog_title {
  margin: 0 0 0.85rem;
  color: var(--los-ink);
  font-size: var(--font-size-heading) !important;
  line-height: 1.28;
}

.c-hook-catalog_lede {
  margin: 0 0 0.75rem;
  max-width: 42rem;
  color: var(--los-ink);
  font-size: var(--font-size-large) !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}

.c-hook-catalog_meta {
  margin: 0;
  color: var(--los-ink-soft);
  opacity: 0.85;
}

.c-hook-catalog_table-wrap {
  width: 100%;
}

.c-hook-catalog_cols {
  display: none;
  gap: var(--grid-gutter);
  padding: 0 0 0.75rem;
  border-bottom: 1px solid rgba(42, 26, 44, 0.18);
  color: var(--los-muted);
}

@media (min-width: 900px) {
  .c-hook-catalog_cols {
    display: grid;
    grid-template-columns: minmax(12rem, 1.6fr) minmax(8rem, 1fr) 7rem 7rem 6.5rem;
    align-items: end;
  }
}

.c-hook-catalog_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-hook-catalog_status {
  padding: calc(var(--grid-gutter) * 1.5) 0;
  color: var(--los-ink-soft);
  text-transform: none !important;
}

.c-hook-catalog_row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(42, 26, 44, 0.14);
}

@media (min-width: 900px) {
  .c-hook-catalog_row {
    grid-template-columns: minmax(12rem, 1.6fr) minmax(8rem, 1fr) 7rem 7rem 6.5rem;
    gap: var(--grid-gutter);
    align-items: center;
    padding: 1rem 0;
  }
}

.c-hook-catalog_token {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.c-hook-catalog_logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: cover;
  background: var(--los-cream);
  border-radius: 50%;
  border: 1px solid rgba(42, 26, 44, 0.12);
}

.c-hook-catalog_identity {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.c-hook-catalog_name {
  color: var(--los-ink);
  font-size: var(--font-size-large) !important;
  line-height: 1.3 !important;
  font-weight: 600;
}

.c-hook-catalog_symbol {
  color: var(--los-ink-soft);
}

.c-hook-catalog_hook {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.c-hook-catalog_hook-type {
  color: var(--los-ink);
}

.c-hook-catalog_addr {
  color: var(--los-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c-hook-catalog_stat {
  color: var(--los-ink);
  font-size: var(--font-size-large) !important;
  line-height: 1.35 !important;
  text-transform: none !important;
}

.c-hook-catalog_action .c-button {
  --button-color-text: #2a1a2c;
  --button-color-bg: #fc72b6;
  --button-hover-color-text: #fff7fb;
  --button-hover-color-bg: #2a1a2c;
  --triangle-color: #2a1a2c;
  width: 100%;
}

.c-hook-catalog_muted {
  color: var(--los-muted);
}

@media (max-width: 899px) {
  .c-hook-catalog_hook::before,
  .c-hook-catalog_stat:nth-of-type(1)::before,
  .c-hook-catalog_row > .c-hook-catalog_stat:nth-child(3)::before {
    content: none;
  }

  .c-hook-catalog_row > .c-hook-catalog_stat:nth-child(3)::before {
    content: "Market Cap ";
    color: var(--los-muted);
    display: block;
    font-size: var(--font-size-small);
    margin-bottom: 0.15rem;
  }

  .c-hook-catalog_row > .c-hook-catalog_stat:nth-child(4)::before {
    content: "24h Volume ";
    color: var(--los-muted);
    display: block;
    font-size: var(--font-size-small);
    margin-bottom: 0.15rem;
  }
}

/* Explore hooks guide — clean docs style */
html.page-hooks-guide,
html.page-hooks-guide body,
.page-hooks-guide .c-hooks-guide,
.page-hooks-guide .c-hooks-guide * {
  text-transform: none !important;
}

html.page-hooks-guide body,
.page-hooks-guide .c-hooks-guide {
  font-family: var(--font-ui);
  letter-spacing: -0.01em;
  color: #1a121c;
}

.c-hooks-guide {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: calc(var(--grid-gutter) * 2.5);
  padding-bottom: calc(var(--grid-gutter) * 3.5);
}

.c-hooks-guide_hero {
  margin-bottom: 1.75rem;
}

.c-hooks-guide_eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase !important;
  color: #9a6b88;
}

.c-hooks-guide_title,
.c-hooks-guide_heading {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
  text-transform: none !important;
}

.c-hooks-guide_title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
}

.c-hooks-guide_heading {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.2;
}

.c-hooks-guide_lede,
.c-hooks-guide_sub {
  margin: 0;
  max-width: 38rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #5c4a58;
  text-transform: none !important;
}

.c-hooks-guide_sub {
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
  color: #7a6574;
}

.c-hooks-guide_banner {
  margin: 0 0 2.25rem;
  padding: 1rem 1.15rem;
  background: #f8eaf2;
  border: 1px solid #efc9dc;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a3548;
  text-transform: none !important;
}

.c-hooks-guide_banner strong {
  font-weight: 650;
  color: #1a121c;
}

.c-hooks-guide_section {
  margin-bottom: 0.35rem;
}

.c-hooks-guide_rule {
  border: 0;
  border-top: 1px solid #eadfe6;
  margin: 2rem 0;
}

.c-hooks-guide_cards {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .c-hooks-guide_cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.c-hooks-guide_card {
  padding: 1.15rem 1.2rem 1.2rem;
  background: #fff;
  border: 1px solid #e8e0e6;
  border-radius: 14px;
}

.c-hooks-guide_card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.c-hooks-guide_card h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111;
  text-transform: none !important;
}

.c-hooks-guide_card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #6b5766;
  text-transform: none !important;
}

.c-hooks-guide_pill {
  flex: 0 0 auto;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase !important;
  color: #7a3d62;
  background: #f4e0ea;
}

.c-hooks-guide_pill.is-live {
  color: #2f6b45;
  background: #e4f5ea;
}

.c-hooks-guide_steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.c-hooks-guide_steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e8e0e6;
  border-radius: 14px;
}

.c-hooks-guide_num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #f6e4ee;
  color: #8a4d6e;
  font-size: 0.78rem;
  font-weight: 650;
}

.c-hooks-guide_steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
  text-transform: none !important;
}

.c-hooks-guide_steps p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b5766;
  text-transform: none !important;
}

.c-hooks-guide_foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid #eadfe6;
}

.c-hooks-guide_foot p {
  margin: 0;
  max-width: 34rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #7a6574;
  text-transform: none !important;
}

.c-hooks-guide_foot a {
  color: #1a121c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-hooks-guide_link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #8a4d6e !important;
  text-decoration: none !important;
}

.c-hooks-guide_link:hover {
  color: #1a121c !important;
}

.c-explore-hooks {
  display: none;
}

/* ——— Launchpad chooser + create token ——— */
html.page-launchpad,
html.page-launchpad body {
  font-family: var(--font-ui);
  letter-spacing: normal;
  text-transform: none;
}

html.page-launchpad body {
  color: #2a1a2c;
  background: #fff5fa;
}

.page-launchpad .c-launchpad,
.page-launchpad .c-create-token,
.page-launchpad .c-launchpad *,
.page-launchpad .c-create-token * {
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* —— Chooser: brand mast + split runway —— */
.c-launchpad {
  position: relative;
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  padding: 5.5rem 0 0;
  overflow: hidden;
}

.c-launchpad_sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.c-launchpad_sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 245, 250, 0.55) 0%, rgba(255, 245, 250, 0.92) 42%, #fff5fa 70%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(252, 114, 182, 0.22), transparent 60%);
}

.c-launchpad_sky-img {
  width: 100%;
  height: 55%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
  filter: saturate(0.85) contrast(0.95);
  animation: launchpad-drift 28s ease-in-out infinite alternate;
}

@keyframes launchpad-drift {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

.c-launchpad_mast {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) 1.75rem;
  animation: launchpad-rise 0.8s ease both;
}

.c-launchpad_kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: #8a4d6e;
}

.c-launchpad_brand {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em !important;
  color: #1a121c;
}

.c-launchpad_line {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.45;
  color: #5a3d58;
  animation: launchpad-rise 0.8s 0.12s ease both;
}

@keyframes launchpad-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.c-launchpad_split {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  margin-top: auto;
  border-top: 1px solid rgba(42, 26, 44, 0.12);
  min-height: min(52vh, 28rem);
}

@media (min-width: 820px) {
  .c-launchpad_split {
    grid-template-columns: 1fr 1fr;
  }
}

.c-launchpad_path {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.5rem) 2rem;
  text-decoration: none !important;
  color: inherit;
  background: transparent;
  overflow: hidden;
  transition: background 0.35s ease;
  animation: launchpad-rise 0.9s 0.2s ease both;
}

.c-launchpad_path.-stock {
  animation-delay: 0.32s;
  border-top: 1px solid rgba(42, 26, 44, 0.12);
}

@media (min-width: 820px) {
  .c-launchpad_path.-stock {
    border-top: 0;
    border-left: 1px solid rgba(42, 26, 44, 0.12);
  }
}

.c-launchpad_path:hover {
  background: rgba(255, 255, 255, 0.45);
}

.c-launchpad_path-viz {
  color: #2a1a2c;
  max-width: 20rem;
  margin-bottom: 0.5rem;
}

.c-launchpad_path-viz svg {
  width: 100%;
  height: auto;
  display: block;
}

.c-launchpad_curve {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: launchpad-draw 1.4s 0.55s ease forwards;
}

@keyframes launchpad-draw {
  to { stroke-dashoffset: 0; }
}

.c-launchpad_path:hover .c-launchpad_path-viz {
  color: #1a121c;
}

.c-launchpad_path-copy {
  max-width: 22rem;
}

.c-launchpad_path-name {
  margin: 0 0 0.4rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em !important;
  color: #1a121c;
}

.c-launchpad_path-desc {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5a3d58;
}

.c-launchpad_path-go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fc72b6;
}

.c-launchpad_path-go::after {
  content: "→";
  transition: transform 0.25s ease;
}

.c-launchpad_path:hover .c-launchpad_path-go::after {
  transform: translateX(5px);
}

/* —— Create token: stage + form —— */
.page-create-token .c-footer-simple {
  display: none;
}

.c-create-token {
  display: grid;
  min-height: 100vh;
  font-family: var(--font-ui);
}

@media (min-width: 900px) {
  .c-create-token {
    grid-template-columns: minmax(16rem, 38vw) 1fr;
  }
}

.c-create-token_stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 5.5rem 1.5rem 1.75rem;
  min-height: 20rem;
  overflow: hidden;
  color: #1a121c;
  border-bottom: 1px solid rgba(42, 26, 44, 0.1);
}

@media (min-width: 900px) {
  .c-create-token_stage {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    border-bottom: 0;
    border-right: 1px solid rgba(42, 26, 44, 0.1);
    padding: 5.5rem 2rem 2rem;
  }
}

.c-create-token_stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.c-create-token_stage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.9);
}

.c-create-token_stage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(255, 232, 242, 0.75) 0%, rgba(232, 208, 244, 0.55) 55%, rgba(255, 247, 251, 0.85) 100%);
}

body[data-model="stock"] .c-create-token_stage-bg::after {
  background:
    linear-gradient(165deg, rgba(232, 208, 244, 0.8) 0%, rgba(255, 220, 235, 0.65) 50%, rgba(255, 247, 251, 0.9) 100%);
}

.c-create-token_back,
.c-create-token_model,
.c-create-token_preview,
.c-create-token_stage-foot {
  position: relative;
  z-index: 1;
}

.c-create-token_back {
  position: absolute;
  z-index: 2;
  top: 5.5rem;
  left: 1.5rem;
}

@media (min-width: 900px) {
  .c-create-token_back {
    left: 2rem;
  }
}

.c-create-token_model {
  position: absolute;
  z-index: 2;
  top: 7.15rem;
  left: 1.5rem;
}

@media (min-width: 900px) {
  .c-create-token_model {
    left: 2rem;
  }
}

.c-create-token_stage-foot {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  bottom: 1.5rem;
}

@media (min-width: 900px) {
  .c-create-token_stage-foot {
    left: 2rem;
    bottom: 2rem;
  }
}

.c-create-token_back {
  font-size: 0.82rem;
  font-weight: 500;
  color: #5a3d58 !important;
  text-decoration: none !important;
}

.c-create-token_back:hover {
  color: #1a121c !important;
}

.c-create-token_model {
  margin: 0;
  font-family: var(--font-ui);
  font-style: italic;
  font-size: 0.95rem;
  color: #8a4d6e;
}

.c-create-token_preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  animation: launchpad-rise 0.7s 0.15s ease both;
}

.c-create-token_avatar {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.35rem;
  cursor: pointer;
  overflow: hidden;
  border: 1.5px solid rgba(42, 26, 44, 0.15);
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.c-create-token_avatar:hover {
  border-color: #fc72b6;
  transform: scale(1.03);
}

.c-create-token_avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, transparent 45%),
    linear-gradient(145deg, #ffd0e4, #e8d0f4);
  background-size: cover;
  background-position: center;
}

.c-create-token_avatar-img.has-image {
  background-color: #f0e4ec;
}

.c-create-token_avatar-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  color: #fff7fb;
  background: rgba(42, 26, 44, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.c-create-token_avatar:hover .c-create-token_avatar-hint {
  opacity: 1;
}

.c-create-token_preview-name {
  margin: 0.35rem 0 0;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em !important;
  color: #1a121c;
  word-break: break-word;
}

.c-create-token_preview-ticker {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fc72b6;
}

.c-create-token_stage-foot {
  margin: 0;
  font-size: 0.72rem;
  color: #8a4d6e;
}

.c-create-token_form {
  padding: 2rem clamp(1.25rem, 4vw, 3.25rem) 3.5rem;
  max-width: 34rem;
  animation: launchpad-rise 0.75s 0.1s ease both;
}

@media (min-width: 900px) {
  .c-create-token_form {
    padding: 5.5rem 3.5rem 4rem;
  }
}

.c-create-token_header {
  margin-bottom: 2rem;
}

.c-create-token_title {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.02em !important;
  color: #1a121c;
}

.c-create-token_sub {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5a3d58;
}

.c-create-token_section {
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.c-create-token_legend {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a121c;
}

.c-create-token_legend span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fc72b6;
}

.c-create-token_hint {
  margin: -0.5rem 0 0.75rem;
  font-size: 0.8rem;
  color: #7a6574;
}

.c-create-token_pair {
  display: grid;
  gap: 0;
}

@media (min-width: 520px) {
  .c-create-token_pair {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.25rem;
  }
}

.c-create-token_row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.c-create-token_label {
  font-size: 0.72rem;
  font-weight: 500;
  color: #8a4d6e;
}

.c-create-token_input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1.5px solid rgba(42, 26, 44, 0.18);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  color: #1a121c;
  outline: none;
  transition: border-color 0.15s ease;
}

.c-create-token_input::placeholder {
  color: rgba(90, 61, 88, 0.35);
}

.c-create-token_input:focus {
  border-bottom-color: #fc72b6;
}

.c-create-token_input.is-invalid {
  border-bottom-color: #e85a8a;
}

.c-create-token_textarea {
  resize: vertical;
  min-height: 3.5rem;
  line-height: 1.45;
}

.c-create-token_select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%238a4d6e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
  cursor: pointer;
}

.c-create-token_seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1.5px solid rgba(42, 26, 44, 0.18);
}

.c-create-token_seg-btn {
  appearance: none;
  border: 0;
  border-radius: 0;
  padding: 0.7rem 0.25rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: #7a6574;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}

.c-create-token_seg-btn.is-active {
  color: #fc72b6;
  font-weight: 600;
}

.c-create-token_seg-btn.is-active::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -1.5px;
  height: 2px;
  background: #fc72b6;
}

.c-create-token_buy {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 0.75rem;
  border-bottom: 1.5px solid rgba(42, 26, 44, 0.18);
}

.c-create-token_buy .c-create-token_input {
  border-bottom: 0;
  font-size: 1.35rem;
  font-weight: 500;
  padding-bottom: 0.65rem;
}

.c-create-token_buy-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8a4d6e;
  padding-bottom: 0.75rem;
}

.c-create-token_max {
  appearance: none;
  border: 0;
  background: none;
  color: #fc72b6;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0 0 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-create-token_actions {
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.c-create-token_submit {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 1.05rem 1.25rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff7fb;
  background: #fc72b6;
  cursor: pointer;
  transition: background 0.2s ease, letter-spacing 0.2s ease;
}

.c-create-token_submit:hover {
  background: #e85aa8;
  letter-spacing: 0.04em !important;
}

.c-create-token_note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: #8a4d6e;
}

.c-create-token_toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 80;
  transform: translateX(-50%) translateY(0.5rem);
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1.15rem;
  border-radius: 0;
  background: #1a121c;
  color: #fff7fb;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.c-create-token_toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ——— Three layers: Launches / Mechanisms / Create ——— */
/* Scope to components (not html.page-*) so Swup navigations still style correctly */
.c-launches,
.c-mechanisms,
.c-create-flow,
.c-launches *,
.c-mechanisms *,
.c-create-flow * {
  font-family: var(--font-ui);
  letter-spacing: normal !important;
  text-transform: none !important;
}

.c-launches_title,
.c-mechanisms_title,
.c-create-flow_title,
.c-create-flow_sentence,
.c-launches_name,
.c-mechanisms_item h3,
.c-mechanisms_detail-title,
.c-create-flow_preview-name {
  font-family: var(--font-ui);
}

/* Clear fixed .c-header_logo (top gutter + ~2.25rem button height) */
.c-launches,
.c-mechanisms {
  padding: calc(var(--grid-gutter, 2rem) * 2 + 4.5rem) 0 4rem;
}

.c-launches_eyebrow,
.c-mechanisms_eyebrow,
.c-create-flow_eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a4d6e;
}

.c-launches_title,
.c-mechanisms_title {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.05;
  color: #1a121c;
}

.c-launches_lede,
.c-mechanisms_lede {
  margin: 0 0 0.65rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #5a3d58;
}

.c-launches_sub {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #7a6574;
}

.c-launches_when {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #5a3d58;
}

.c-launches_when span {
  font-weight: 600;
  color: #fc72b6;
  margin-right: 0.25rem;
}

.c-launches_lede code {
  font-size: 0.9em;
  color: #fc72b6;
}

.c-launches_toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.c-launches_meta,
.c-launches_status,
.c-launches_sub {
  display: none !important;
}

.c-launches_filter select {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(42, 26, 44, 0.18);
  background: #fff7fb;
  color: #1a121c;
  border-radius: 999px;
}

.c-launches_grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .c-launches_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .c-launches_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.c-launches_card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(42, 26, 44, 0.12);
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.c-launches_card:hover {
  border-color: rgba(252, 114, 182, 0.45);
  background: #fff;
}

.c-launches_card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.c-launches_logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: #ffe8f2;
  border-radius: 50%;
}

.c-launches_name {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a121c;
}

.c-launches_sym {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #7a6574;
}

.c-launches_pad {
  margin-left: 0.35rem;
  color: #fc72b6;
  font-weight: 600;
}

.c-launches_badge {
  font-size: 0.65rem;
  font-weight: 600;
  color: #8a4d6e;
  text-align: right;
  max-width: 7rem;
  line-height: 1.3;
}

.c-launches_stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin: 0;
}

.c-launches_stats dt {
  font-size: 0.65rem;
  color: #8a4d6e;
}

.c-launches_stats dd {
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a121c;
}

.c-launches_hook {
  margin: 0;
  font-size: 0.8rem;
  color: #5a3d58;
}

.c-launches_expl {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #5a3d58;
  flex: 1;
}

.c-launches_tags,
.c-mechanisms_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.c-launches_tag,
.c-mechanisms_tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #8a4d6e;
  border-bottom: 1px solid rgba(252, 114, 182, 0.45);
  padding-bottom: 0.1rem;
}

.c-launches_foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: center;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(42, 26, 44, 0.08);
}

.c-launches_audit {
  font-size: 0.7rem;
  color: #7a6574;
}

.c-launches_audit.is-yes { color: #2a7a4b; }
.c-launches_audit.is-no { color: #8a4d6e; }

.c-launches_use,
.c-launches_reuse {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fc72b6 !important;
  text-decoration: none !important;
}

.c-launches_reuse { margin-left: auto; }

.c-launches_empty {
  grid-column: 1 / -1;
  color: #7a6574;
}

/* Mechanisms */
.c-mechanisms {
  padding: calc(var(--grid-gutter, 2rem) * 2 + 4.5rem) 0 4rem;
  position: relative;
}

.c-mechanisms_tabs {
  display: flex;
  gap: 0;
  margin: 1.5rem 0 1.25rem;
  border-bottom: 1px solid rgba(42, 26, 44, 0.15);
}

.c-mechanisms_tab {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  color: #7a6574;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.c-mechanisms_tab.is-active {
  color: #fc72b6;
  border-bottom-color: #fc72b6;
}

.c-mechanisms_list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .c-mechanisms_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.c-mechanisms_item {
  appearance: none;
  text-align: left;
  border: 1px solid rgba(42, 26, 44, 0.12);
  background: rgba(255, 255, 255, 0.5);
  padding: 1.15rem 1.2rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.c-mechanisms_item:hover {
  border-color: rgba(252, 114, 182, 0.45);
  background: #fff;
}

.c-mechanisms_item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 600;
}

.c-mechanisms_item p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #5a3d58;
}

.c-mechanisms_addr {
  font-size: 0.75rem !important;
  color: #8a4d6e !important;
}

.c-mechanisms_note,
.c-mechanisms_muted {
  font-size: 0.88rem;
  color: #7a6574;
}

.c-mechanisms_detail {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 60;
  width: min(28rem, 100vw);
  padding: 5rem 1.5rem 2rem;
  background: #fff7fb;
  border-left: 1px solid rgba(42, 26, 44, 0.12);
  box-shadow: -16px 0 40px rgba(42, 26, 44, 0.08);
  overflow: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.c-mechanisms_detail.is-open {
  transform: translateX(0);
}

.c-mechanisms_close {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8a4d6e;
  cursor: pointer;
  margin-bottom: 1rem;
}

.c-mechanisms_detail-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 1.65rem;
  font-weight: 600;
}

.c-mechanisms_qa {
  margin: 1.25rem 0 0;
}

.c-mechanisms_qa > div {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(42, 26, 44, 0.1);
}

.c-mechanisms_qa dt {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fc72b6;
  margin-bottom: 0.35rem;
}

.c-mechanisms_qa dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #1a121c;
}

.c-mechanisms_launch {
  font-weight: 600;
  color: #fc72b6 !important;
  text-decoration: none !important;
}

.c-mechanisms_coins {
  margin: 0;
  padding-left: 1.1rem;
}

.c-mechanisms_appendix {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(42, 26, 44, 0.1);
}

.c-mechanisms_appendix h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-ui);
  font-size: 1.2rem;
}

.c-mechanisms_appendix p {
  margin: 0;
  font-size: 0.88rem;
  color: #7a6574;
}

/* Create flow */
.page-create-flow .c-footer-simple { display: none; }

.c-create-flow {
  display: grid;
  min-height: 100vh;
  font-family: var(--font-ui);
}

@media (min-width: 900px) {
  .c-create-flow {
    grid-template-columns: minmax(16rem, 36vw) 1fr;
  }
}

.c-create-flow_stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 5.5rem 1.5rem 2rem;
  min-height: 18rem;
  border-bottom: 1px solid rgba(42, 26, 44, 0.1);
  background:
    linear-gradient(165deg, rgba(255, 232, 242, 0.9), rgba(232, 208, 244, 0.55));
}

@media (min-width: 900px) {
  .c-create-flow_stage {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    border-bottom: 0;
    border-right: 1px solid rgba(42, 26, 44, 0.1);
    padding: 5.5rem 2rem 2rem;
  }
}

.c-create-flow_back {
  position: absolute;
  top: 5.5rem;
  left: 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #5a3d58 !important;
  text-decoration: none !important;
}

@media (min-width: 900px) {
  .c-create-flow_back { left: 2rem; }
}

.c-create-flow_sentence {
  margin: 2.5rem 0 0;
  font-family: var(--font-ui);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.35;
  color: #1a121c;
  max-width: 22rem;
}

.c-create-flow_preview-name {
  margin: 1rem 0 0;
  font-family: var(--font-ui);
  font-size: 1.75rem;
  font-weight: 500;
}

.c-create-flow_preview-ticker {
  margin: 0.25rem 0 0;
  font-weight: 600;
  color: #fc72b6;
}

.c-create-flow_stage-foot {
  margin-top: auto;
  font-size: 0.72rem;
  color: #8a4d6e;
}

.c-create-flow_form {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3.5rem;
  max-width: 36rem;
}

@media (min-width: 900px) {
  .c-create-flow_form { padding-top: 5.5rem; }
}

.c-create-flow_title {
  margin: 0 0 0.4rem;
  font-family: var(--font-ui);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
}

.c-create-flow_sub {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  color: #5a3d58;
}

.c-create-flow_step {
  margin: 0 0 1.6rem;
  padding: 0;
  border: 0;
}

.c-create-flow_step legend {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
  font-family: var(--font-ui);
  font-size: 1.05rem;
}

.c-create-flow_step legend span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fc72b6;
}

.c-create-flow_pair {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .c-create-flow_pair { grid-template-columns: 1.3fr 0.7fr; }
}

.c-create-flow_form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #8a4d6e;
  margin-bottom: 0.75rem;
}

.c-create-flow_form input,
.c-create-flow_form select {
  font: inherit;
  font-size: 1rem;
  color: #1a121c;
  border: 0;
  border-bottom: 1.5px solid rgba(42, 26, 44, 0.18);
  border-radius: 0;
  background: transparent;
  padding: 0.5rem 0;
  outline: none;
}

.c-create-flow_form input:focus,
.c-create-flow_form select:focus {
  border-bottom-color: #fc72b6;
}

.c-create-flow_choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.c-create-flow_choices button {
  appearance: none;
  border: 1px solid rgba(42, 26, 44, 0.15);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  color: #5a3d58;
}

.c-create-flow_choices button.is-active {
  border-color: #fc72b6;
  color: #fc72b6;
  font-weight: 600;
}

.c-create-flow_dest {
  display: grid;
  grid-template-columns: 1fr 4.5rem auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.c-create-flow_add {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fc72b6;
  cursor: pointer;
  padding: 0.35rem 0;
}

.c-create-flow_json {
  margin: 0;
  padding: 0.85rem;
  font-size: 0.72rem;
  line-height: 1.45;
  overflow: auto;
  max-height: 14rem;
  background: rgba(42, 26, 44, 0.04);
  color: #5a3d58;
  border: 0;
}

.c-create-flow_submit {
  appearance: none;
  width: 100%;
  border: 0;
  padding: 1rem;
  font: inherit;
  font-weight: 600;
  color: #fff7fb;
  background: #fc72b6;
  cursor: pointer;
}

.c-create-flow_submit:hover { background: #e85aa8; }

.c-create-flow_note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #8a4d6e;
  text-align: center;
}

.c-create-flow_toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 80;
  transform: translateX(-50%) translateY(0.5rem);
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1.15rem;
  background: #1a121c;
  color: #fff7fb;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.c-create-flow_toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ——— Programmable-family launch UI (chooser + create sheet) ——— */
html.page-pf-launch,
html.page-pf-launch body,
.page-pf-launch,
.page-pf-launch * {
  font-family: var(--font-ui);
  letter-spacing: normal !important;
  text-transform: none !important;
}

html.page-pf-launch body {
  margin: 0;
  color: #181316;
  background: #fdfbf9;
  min-height: 100vh;
}

.page-pf-launch .c-header,
.page-pf-launch .c-loader,
.page-pf-launch .c-footer {
  display: none !important;
}

.pf-app {
  --accent: #e879be;
  --accent-hover: #dc68b0;
  --accent-ink: #2d1425;
  --accent-strong: #8f3d72;
  --accent-wash: #e879be1f;
  --text: #181316;
  --text-soft: #4d454b;
  --muted: #70666d;
  --dim: #786f76;
  --border: #4d38461b;
  --control-border: #dad0d8db;
  --panel-border-soft: #ded5dccc;
  --surface-soft: #f5f2f4;
  --surface-raised: #fff;
  --card-shadow: #3a233209;
  --card-shadow-soft: #3a233206;
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.pf-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(#ffffff9e 0%, #fffc 48%, #ffffffeb 100%),
    url("theme/programmable-floral-background.webp") center / cover no-repeat;
  background-color: #fdfbf9;
}

/* Launch model chooser + create: unicorn-cloud bg (same family as home about section) */
.page-pf-chooser .pf-app::before,
.page-pf-create .pf-app::before {
  background:
    linear-gradient(
      105deg,
      #fffffff2 0%,
      #ffffffd4 38%,
      #ffffff66 68%,
      #ffffff40 100%
    ),
    url("theme/service-unicorn-clouds.png") right center / cover no-repeat;
  background-color: #f7eaf2;
}

.pf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.85rem clamp(1rem, 3vw, 1.75rem);
}

.pf-top-left { display: flex; align-items: center; gap: 0.65rem; }

.pf-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text) !important;
  text-decoration: none !important;
}

.pf-mark {
  display: block;
  width: 44px;
  height: auto;
  max-height: 32px;
  object-fit: contain;
}

.pf-pillnav {
  display: none;
  gap: 0.15rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--panel-border-soft);
  background: #ffffffdb;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 #432a3b06;
}

@media (min-width: 800px) {
  .pf-pillnav { display: inline-flex; }
}

.pf-pillnav a {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 520;
  color: var(--muted) !important;
  text-decoration: none !important;
}

.pf-pillnav a[aria-current="page"] {
  background: #fff;
  color: var(--text) !important;
  box-shadow: 0 1px 2px rgba(63, 39, 55, 0.06);
}

.pf-connect {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 13px;
  border: 1px solid rgba(77, 56, 70, 0.106);
  background: #fff;
  font-size: 14px;
  font-weight: 620;
  color: var(--text);
  cursor: pointer;
  opacity: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pf-connect:hover {
  border-color: rgba(252, 114, 182, 0.45);
}

.pf-connect.is-connected {
  background: #fff7fb;
  border-color: rgba(252, 114, 182, 0.35);
  font-variant-numeric: tabular-nums;
}

.pf-reward-address {
  margin-top: 0.85rem;
}

.pf-access-note {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.pf-note.is-error {
  color: #9b2c4a;
}

.pf-success {
  margin: 1.5rem auto 3rem;
  width: min(640px, 100%);
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  background: #ffffffee;
  border: 1px solid rgba(77, 56, 70, 0.08);
  box-shadow: 0 10px 40px rgba(63, 39, 55, 0.06);
}

.pf-success h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.pf-success-meta {
  margin: 1.1rem 0 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.pf-success-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pf-success-meta dd {
  margin: 0.15rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  word-break: break-all;
}

.pf-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pf-success-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(77, 56, 70, 0.12);
  background: #fff;
  color: var(--text) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
}

.pf-success-primary {
  background: var(--accent, #fc72b6);
  border-color: transparent;
  color: #fff !important;
}

.pf-launch-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.pf-main {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3.5rem;
}

.pf-create-main {
  width: min(1000px, calc(100% - 2rem));
}

.pf-chooser-title {
  margin: 1.75rem 0 1.85rem;
  text-align: center;
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em !important;
  color: var(--text);
}

.pf-chooser-grid {
  display: grid;
  gap: 1.15rem;
  max-width: 860px;
  margin: 0 auto;
}

@media (min-width: 760px) {
  .pf-chooser-grid { grid-template-columns: 1fr 1fr; }
}

.pf-chooser-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--panel-border-soft);
  background: #fffffff5;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 1px 0 var(--card-shadow), 0 20px 54px var(--card-shadow-soft);
  transition: transform 0.2s cubic-bezier(.23,1,.32,1), box-shadow 0.2s ease;
}

.pf-chooser-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 var(--card-shadow), 0 24px 60px #311e2b14;
}

.pf-chooser-art {
  height: 190px;
  overflow: hidden;
  background: #f5f2f4;
}

.pf-chooser-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-chooser-body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pf-chooser-body h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.pf-chooser-body p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.pf-chooser-go {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--accent-strong);
}

/* Create form */
.pf-create-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  min-height: 72px;
}

.pf-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(86, 64, 78, 0.16);
  background: color-mix(in srgb, #fff 82%, transparent);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 590;
  color: #494147 !important;
  text-decoration: none !important;
}

.pf-create-heading { text-align: center; }

.pf-create-kicker {
  margin: 0 0 0.15rem;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.04em !important;
  color: var(--accent-strong);
}

.pf-create-heading h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.1vw, 2.4rem);
  font-weight: 590;
  letter-spacing: -0.042em !important;
  line-height: 1;
  color: var(--text);
}

.pf-sheet {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 26px;
  background: linear-gradient(145deg, #fffffff5, #fbfafbf5);
  border: 1px solid var(--panel-border-soft);
  box-shadow: 0 1px 0 var(--card-shadow), 0 22px 62px var(--card-shadow-soft);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.pf-sheet-body {
  padding: 22px 28px 17px;
}

.pf-section { margin-bottom: 1.35rem; }

.pf-section > h2 {
  margin: 0 0 0.85rem;
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.025em !important;
}

.pf-token-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .pf-token-grid {
    grid-template-columns: 156px 1fr;
    gap: 22px;
  }
}

.pf-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 640;
  color: var(--muted);
}

.pf-image-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 156px;
  border-radius: 17px;
  border: 1px dashed rgba(86, 64, 78, 0.16);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.pf-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted);
  text-align: center;
  width: 100%;
  height: 100%;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.pf-image-placeholder.has-image { color: transparent; }

.pf-image-placeholder strong {
  font-size: 0.85rem;
  color: var(--text);
}

.pf-image-placeholder.has-image strong,
.pf-image-placeholder.has-image small,
.pf-image-placeholder.has-image svg { display: none; }

.pf-image-placeholder small { font-size: 0.72rem; }

.pf-image-meta {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--dim);
}

.pf-two-col {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .pf-two-col { grid-template-columns: 1fr 1fr; }
}

.pf-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 640;
  color: var(--muted);
}

.pf-field-tight { margin-bottom: 0; }

.pf-field input,
.pf-field textarea,
.pf-select,
.pf-amount-row input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--control-border);
  border-radius: 13px;
  background: color-mix(in srgb, #ffffffe6 94%, transparent);
  padding: 0.7rem 0.85rem;
  min-height: 46px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px #ffffff0d;
}

.pf-field textarea {
  resize: vertical;
  min-height: 4rem;
  padding-top: 0.75rem;
}

.pf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%2370666d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2rem;
}

.pf-field input:focus,
.pf-field textarea:focus,
.pf-select:focus,
.pf-amount-row:focus-within {
  border-color: color-mix(in srgb, var(--accent) 64%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent);
}

.pf-field input.is-invalid,
.pf-field textarea.is-invalid {
  border-color: #b93635;
}

.pf-field small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--dim);
}

.pf-link-fields {
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 720px) {
  .pf-link-fields { grid-template-columns: repeat(3, 1fr); }
}

.pf-fees-core,
.pf-buy-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .pf-fees-core,
  .pf-buy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pf-box {
  margin: 0;
  padding: 13px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  min-width: 0;
}

.pf-box legend {
  padding: 0 4px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 640;
  color: var(--muted);
}

.pf-legend-strong {
  font-size: 15px !important;
  font-weight: 650 !important;
  color: var(--text) !important;
}

.pf-fee-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 520px) {
  .pf-fee-grid { grid-template-columns: 1fr 1fr; }
}

.pf-fee-control > span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 640;
  color: var(--muted);
}

.pf-fee-breakdown {
  display: grid;
  gap: 0.2rem;
  margin: 0.55rem 0 0;
}

.pf-fee-breakdown > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}

.pf-fee-breakdown dd {
  margin: 0;
  font-weight: 650;
  color: var(--text);
}

.pf-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 16px;
  background: color-mix(in srgb, #ffffffe6 84%, transparent);
  border: 1px solid var(--control-border);
}

.pf-seg button {
  appearance: none;
  border: 0;
  border-radius: 11px;
  min-height: 44px;
  padding: 0 10px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease;
}

.pf-seg button.is-selected {
  background: var(--accent-wash);
  color: var(--accent-strong);
  box-shadow: none;
}

.pf-reward-note {
  margin: 0.65rem 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-soft);
}

.pf-amount-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.55rem;
}

.pf-amount-label strong {
  font-size: 14px;
  font-weight: 620;
  color: var(--text);
}

.pf-amount-label small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

.pf-amount-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0 9px 0 0;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--control-border);
  background: color-mix(in srgb, #ffffffe6 94%, transparent);
  box-shadow: inset 0 1px #ffffff0d;
}

.pf-amount-row input {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  min-height: 44px;
  padding: 0 12px;
}

.pf-max {
  appearance: none;
  border: 0;
  border-radius: 9px;
  min-height: 32px;
  padding: 0 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  color: var(--accent-strong);
  background: var(--accent-wash);
  cursor: pointer;
}

.pf-unit {
  font-size: 10px;
  font-weight: 620;
  color: var(--dim);
  padding-right: 0.2rem;
}

.pf-estimates {
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.3rem;
}

.pf-estimates > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.pf-estimates dd {
  margin: 0;
  font-weight: 650;
  color: var(--text);
}

.pf-sheet-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 14px 28px;
  border-top: 1px solid var(--panel-border-soft);
  background: color-mix(in srgb, #ffffffd1 72%, transparent);
}

.pf-note {
  margin: 0;
  margin-right: auto;
  font-size: 0.82rem;
  color: var(--accent-strong);
}

.pf-launch-btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  min-height: 46px;
  padding: 0 17px;
  font: inherit;
  font-size: 16px;
  font-weight: 620;
  color: var(--accent-ink);
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 1px #ffffff0d;
  transition: background-color .15s ease, transform .14s cubic-bezier(.23,1,.32,1);
}

.pf-launch-btn:hover { background: var(--accent-hover); }
.pf-launch-btn:active { transform: scale(.98); }

.pf-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 80;
  transform: translateX(-50%) translateY(0.4rem);
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pf-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Classic vs Stock-Paired create modes */
.is-classic .pf-stock-only,
.is-stock .pf-classic-only,
.pf-classic-only[hidden],
.pf-stock-only[hidden] {
  display: none !important;
}

.is-stock .pf-sheet-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 1.25rem;
}

.is-stock .pf-sheet-foot > .pf-note {
  grid-column: 1 / -1;
  margin-right: 0;
}

.is-stock .pf-stock-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.85rem;
  min-width: 0;
}

.is-stock .pf-launch-btn {
  justify-self: end;
  min-width: 9.5rem;
  padding-inline: 1.35rem;
}

.pf-quote-lede {
  margin: 0.15rem 0 1rem;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.pf-pairing-seg {
  max-width: 28rem;
}

.pf-quote-picker {
  position: relative;
  max-width: 22rem;
}

.pf-quote-trigger {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--panel-border-soft);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pf-quote-picker.is-open .pf-quote-trigger,
.pf-quote-trigger:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, #e8d5de);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.pf-quote-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.pf-quote-trigger-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  flex: 1;
}

.pf-quote-trigger-copy small {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.pf-quote-trigger-copy strong {
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--text);
}

.pf-quote-chevron {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.pf-quote-picker.is-open .pf-quote-chevron {
  transform: rotate(180deg);
}

.pf-quote-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.55rem;
  border: 1px solid var(--panel-border-soft);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(40, 20, 40, 0.28);
}

.pf-quote-menu[hidden] {
  display: none !important;
}

.pf-quote-option {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 580;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.pf-quote-option img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.pf-quote-option:hover {
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}

.pf-quote-option.is-selected {
  border-color: color-mix(in srgb, var(--accent) 45%, #f0d6e2);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}

.pf-quote-check {
  margin-left: auto;
  color: var(--accent-strong);
  opacity: 0;
  flex-shrink: 0;
}

.pf-quote-option.is-selected .pf-quote-check {
  opacity: 1;
}

.pf-swap-fee-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  min-width: 9.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--panel-border-soft);
  border-radius: 14px;
  background: #fff;
}

.pf-swap-fee-label {
  font-size: 0.72rem;
  font-weight: 550;
  color: var(--muted);
}

.pf-swap-fee-value {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent-strong);
  letter-spacing: -0.02em;
}

.pf-swap-fee-split {
  font-size: 0.72rem;
  color: var(--muted);
}

.pf-stock-buy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 12rem;
  flex: 1;
}

.pf-stock-buy-label {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.pf-stock-buy-label strong {
  font-size: 0.82rem;
  font-weight: 650;
}

.pf-stock-buy-label small {
  font-size: 0.72rem;
  color: var(--muted);
}

.pf-stock-buy .pf-amount-row {
  max-width: 16rem;
}

@media (max-width: 719px) {
  .pf-sheet-body { padding: 20px 18px; }
  .pf-sheet-foot { padding-inline: 18px; }
  .pf-image-upload { width: 138px; height: 138px; }
  .pf-create-bar {
    grid-template-columns: auto 1fr;
    justify-items: start;
  }
  .pf-create-heading { text-align: left; }
  .pf-create-bar-spacer { display: none; }

  .is-stock .pf-sheet-foot {
    grid-template-columns: 1fr;
  }

  .is-stock .pf-launch-btn {
    width: 100%;
    justify-self: stretch;
  }

  .pf-quote-picker { max-width: none; }

  .pf-quote-menu {
    grid-template-columns: 1fr;
  }

  .pf-stock-buy .pf-amount-row {
    max-width: none;
  }
}
