/* ============================================================================
   Flatmir — the Founding Partners page (flatmir.com/founding-partners/,
   NS 2026-11-25). /list/'s stylesheet (list.css) gives it the body, the
   header, the amber button and the footer; this adds the page's own parts, in
   the same family: Montserrat, the site's tokens, /list/'s deep brown.

   The value is never hidden or blurred (NS: "visible from the beginning"): no
   entrance animation, no glass, no filter. On a laptop the hero is the words
   beside a membership card holding the five benefits; on a phone the card
   comes straight after the heading and Apply right after it, so all of it
   fits what a phone shows (390×664 visible on an iPhone 13), the lead below.
   The offer for people with their own Telegram channel or group is its own
   card further down, never a sixth benefit: on a phone the card sits above
   Apply, and one more line there would push Apply off the first screen.
   ========================================================================== */

.fp-page { --brown: #2b1b14; --cream: #fffaf3; --amber-soft: #fff1e2; }
/* no heading ends on a lone word; paragraphs avoid a one-word last line */
.fp-page h1, .fp-page h2, .fp-page h3 { text-wrap: balance; }
.fp-page main p { text-wrap: pretty; }

/* --------------------------------- the hero --------------------------------- */
.fp-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(8px, 2.5vh, 28px);
}
/* a warm light behind the card — a gradient, not a blur */
.fp-hero::before {
  content: ""; position: absolute; z-index: -1; right: -6%; top: -8%; width: 58%; height: 116%;
  background: radial-gradient(closest-side, rgba(237, 137, 51, .16), rgba(237, 137, 51, 0));
  pointer-events: none;
}
.fp-kicker {
  display: inline-block; margin: 0; padding: 6px 12px; border-radius: 999px;
  background: var(--amber-soft); color: var(--accent-2); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.fp-hero h1 {
  margin-top: 14px; font-weight: 800; font-size: clamp(30px, 4.3vw, 50px); line-height: 1.08; letter-spacing: -.035em;
}
.fp-lead { margin: 16px 0 0; max-width: 34em; color: var(--sub); font-size: clamp(16px, 1.5vw, 18px); }
.fp-act .lp-cta { margin-top: 24px; }

/* the membership card: dark, the figures in amber, the perks in white */
.fp-card {
  position: relative; overflow: hidden; padding: clamp(18px, 2.4vw, 28px); border-radius: 24px;
  background: linear-gradient(150deg, #3a251b 0%, var(--brown) 55%, #22150f 100%); color: #fff;
  box-shadow: 0 18px 40px rgba(43, 27, 20, .28), 0 2px 6px rgba(43, 27, 20, .2);
}
/* a fine amber edge, like a card's foil */
.fp-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(237, 137, 51, .35);
}
.fp-card__top { display: flex; align-items: center; gap: 10px; }
.fp-card__name { font-weight: 800; font-size: 15px; letter-spacing: .01em; color: #ffd9b3; }
.fp-value { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fp-fig { padding: 14px 14px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.fp-fig strong {
  display: block; font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -.03em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.fp-fig span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, .88); }
.fp-perk {
  grid-column: 1 / -1; position: relative; padding: 2px 0 2px 32px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
}
.fp-perk::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 12.5l4.5 4.5L19 7.5" fill="none" stroke="%23191713" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / 13px;
}
.fp-perk b { font-weight: 700; font-size: 15.5px; color: #fff; }
.fp-perk span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.fp-value .fp-perk:first-of-type { margin-top: 6px; }

/* the seal: amber, a house inside; the small one sits on the card */
.fp-seal { display: inline-grid; place-items: center; width: 92px; height: 92px; }
.fp-seal svg { width: 100%; height: 100%; }
.fp-seal svg path:first-child { fill: var(--accent); }
.fp-seal__mark { fill: var(--brown); }
.fp-seal--sm { width: 34px; height: 34px; }

/* ---------------------------- the opposite panel ---------------------------- */
.fp-opp {
  margin-top: clamp(40px, 7vh, 72px); padding: clamp(24px, 4vw, 44px); border-radius: 26px;
  background: var(--accent); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px clamp(20px, 4vw, 48px); align-items: center;
}
.fp-opp h2 { font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.025em; line-height: 1.15; color: var(--ink); }
.fp-opp p { margin: 0; font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; line-height: 1.5; color: #2b1b14; }

/* ------------------------------ the pain points ------------------------------ */
.fp-pains h2, .fp-way h2, .fp-chan h2, .fp-mean h2 { font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.025em; line-height: 1.15; }
.fp-sublead { margin: 10px 0 0; max-width: 42em; color: var(--sub); }
.fp-rows { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.fp-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--sh-1);
}
.fp-row__pain { position: relative; padding: 20px 22px 20px 70px; }
.fp-row__n {
  position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--wash); color: var(--accent-2); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums;
}
.fp-row h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.fp-row p { margin: 6px 0 0; font-size: 15px; color: var(--sub); }
.fp-row__help { padding: 20px 22px; background: var(--cream); border-left: 1px solid var(--line); }
.fp-row__label {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent-2);
}
.fp-row__label::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--accent); }
.fp-row__help p { color: var(--ink); font-weight: 600; }

/* -------------------------- today vs with Flatmir -------------------------- */
.fp-way__cols { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fp-way__col { padding: 22px; border-radius: 22px; }
.fp-way__col h3 { font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
/* today: the cluttered chat — grey bubbles, each a chore */
.fp-way__col--today { background: var(--wash); }
.fp-way__col--today h3 { color: var(--sub); }
/* with Flatmir: one clean card, amber steps */
.fp-way__col--with { background: var(--card); border: 2px solid var(--accent); box-shadow: var(--sh-1); }
.fp-way__col--with h3 { color: var(--accent-2); }
.fp-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: fp-step; }
.fp-steps li { counter-increment: fp-step; position: relative; padding: 10px 14px 10px 46px; font-size: 15px; line-height: 1.4; border-radius: 14px; }
.fp-steps li::before {
  content: counter(fp-step); position: absolute; left: 12px; top: 9px; width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.fp-way__col--today .fp-steps li { background: #fff; color: var(--sub); border-bottom-left-radius: 4px; }
.fp-way__col--today .fp-steps li::before { background: var(--wash); color: var(--sub); }
.fp-way__col--with .fp-steps li { background: var(--cream); color: var(--ink); font-weight: 600; }
.fp-way__col--with .fp-steps li::before { background: var(--accent); color: var(--ink); }
.fp-way__more {
  margin: 18px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--amber-soft);
  font-weight: 700; color: #2b1b14;
}

/* ------------------- your own Telegram channel or group ------------------- */
/* a cream card with the Telegram plane in amber; no button of its own, so
   Apply stays the page's one main action (#504: the link is sent in the bot) */
.fp-chan {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px clamp(18px, 3vw, 32px); align-items: start;
  padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: var(--cream); border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.fp-chan__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--accent); }
.fp-chan__icon svg { width: 28px; height: 28px; fill: var(--ink); }
.fp-chan p { margin: 10px 0 0; max-width: 40em; color: var(--sub); font-size: 16px; }
.fp-chan .fp-chan__free { color: var(--ink); font-weight: 700; }

/* ------------------------------- what it means ------------------------------- */
.fp-mean { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.fp-mean__seal { display: grid; justify-items: center; gap: 12px; }
.fp-mean__seal .fp-seal { width: clamp(96px, 12vw, 132px); height: clamp(96px, 12vw, 132px); filter: drop-shadow(0 8px 16px rgba(217, 119, 27, .3)); }
.fp-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--brown); color: #ffd9b3; font-size: 13px; font-weight: 800; white-space: nowrap;
}
.fp-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fp-mean p { margin: 10px 0 0; max-width: 40em; color: var(--sub); font-size: 16px; }

/* --------------------------------- the end --------------------------------- */
.fp-final {
  margin-top: clamp(44px, 8vh, 80px); padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 44px); border-radius: 26px;
  background: var(--brown); color: #fff; text-align: center;
}
.fp-final h2 { margin: 0 auto; max-width: 22em; color: #fff; font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.025em; line-height: 1.15; }
.fp-final p { margin: 12px auto 0; max-width: 38em; color: rgba(255, 255, 255, .8); }
.fp-final .lp-note { color: rgba(255, 255, 255, .7); }

/* --------------------------------- smaller --------------------------------- */
@media (max-width: 860px) {
  .fp-hero { grid-template-columns: minmax(0, 1fr); }
  .fp-hero::before { width: 100%; right: 0; }
  .fp-opp, .fp-mean { grid-template-columns: minmax(0, 1fr); }
  .fp-mean__seal { justify-items: start; grid-auto-flow: column; align-items: center; justify-content: start; }
  .fp-row { grid-template-columns: minmax(0, 1fr); }
  .fp-row__help { border-left: 0; border-top: 1px solid var(--line); }
  .fp-way__cols { grid-template-columns: minmax(0, 1fr); }
}
/* phones: heading, the card, Apply — then the lead (what a phone shows first).
   Sized to leave room under Apply on an iPhone 13's visible 390×664 in every
   language: Linux draws the same words a little longer than a Mac (CI: the
   Russian Apply 20 px lower), so no line here is spent loosely. */
@media (max-width: 560px) {
  .fp-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 2px; }
  .fp-hero__copy, .fp-act { display: contents; }
  .fp-kicker { order: 1; align-self: flex-start; font-size: 11.5px; padding: 4px 10px; }
  .fp-hero h1 { order: 2; margin-top: 8px; font-size: clamp(21px, 6.2vw, 24px); line-height: 1.12; }
  .fp-card { order: 3; margin-top: 10px; padding: 12px; border-radius: 18px; }
  .fp-act .lp-cta { order: 4; margin-top: 10px; min-height: 48px; padding: 12px 22px; }
  .fp-act .lp-note { order: 5; text-align: center; }
  .fp-lead { order: 6; margin-top: 16px; }
  .fp-card__top { gap: 8px; }
  .fp-seal--sm { width: 28px; height: 28px; }
  .fp-card__name { font-size: 13.5px; }
  .fp-value { margin-top: 8px; gap: 6px; }
  .fp-fig { padding: 8px 10px 7px; border-radius: 13px; }
  .fp-fig strong { font-size: 26px; }
  .fp-fig span { margin-top: 2px; font-size: 12px; line-height: 1.25; }
  .fp-perk { padding-left: 26px; gap: 0 6px; line-height: 1.3; }
  .fp-perk::before { width: 17px; height: 17px; top: .15em; background-size: 10px; }
  .fp-perk b { font-size: 13.5px; }
  .fp-perk span { font-size: 12px; }
  .fp-value .fp-perk:first-of-type { margin-top: 0; }
  .fp-row__pain { padding: 16px 16px 16px 60px; }
  .fp-row__n { left: 14px; top: 16px; width: 32px; height: 32px; }
  .fp-row__help { padding: 16px; }
  .fp-way__col { padding: 16px; }
  .fp-chan { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 16px; }
  .fp-chan__icon { width: 44px; height: 44px; border-radius: 14px; }
  .fp-chan__icon svg { width: 22px; height: 22px; }
  .fp-final .lp-cta { width: 100%; justify-content: center; }
}
