/* ============================================================================
   Funnel Labs Newsletter Platform — Sales Page
   Editorial · Hyperframes · Paper rhythm
   Diferente do CRM: menos “OS de receita”, mais laboratório editorial
   ============================================================================ */

:root {
  --void: #050505;
  --ink-deep: #0B0B0B;
  --paper: #F7F2EA;
  --paper-2: #EFE8DC;
  --white: #FDFDFD;
  --carbon: #141414;
  --carbon-2: #1A1A1A;
  --line-dark: rgba(253, 253, 253, 0.08);
  --line-light: rgba(10, 10, 10, 0.09);

  --accent: #FF5A00;
  --accent-2: #FF8C40;
  --accent-deep: #CC4800;
  --ok: #22c55e;

  --display: "Playfair Display", Georgia, serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1180px;
  --hdr: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--void);
  color: rgba(253, 253, 253, 0.82);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(255, 90, 0, 0.35); color: #fff; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70vw 50vw at 80% -10%, rgba(255, 90, 0, 0.08), transparent 55%),
    radial-gradient(50vw 40vw at 0% 60%, rgba(255, 90, 0, 0.03), transparent 50%);
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  height: var(--hdr);
  z-index: 50;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s;
}
.hdr.is-on {
  background: rgba(5, 5, 5, 0.82);
  border-bottom-color: var(--line-dark);
  backdrop-filter: blur(16px) saturate(1.15);
}
.hdr__in {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand__mark {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 12px rgba(255, 90, 0, 0.45));
}
.brand__mark svg { display: block; width: 34px; height: 34px; }
.brand__txt { line-height: 1.1; }
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.brand__name span { color: var(--accent); }
.brand__sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 253, 253, 0.34);
  margin-top: 3px;
}
.nav {
  display: flex;
  gap: 22px;
  font-size: 13.5px;
  color: rgba(253, 253, 253, 0.52);
}
.nav a:hover { color: var(--white); }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: var(--carbon);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 16px;
  height: 1.5px;
  background: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn--sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn--lg { height: 50px; padding: 0 22px; font-size: 15px; }
.btn--primary {
  font-family: var(--display);
  font-weight: 600;
  color: #0E0E0E;
  background: linear-gradient(180deg, #FF8C40 0%, #FF5A00 48%, #F04E00 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 28px -10px rgba(255, 90, 0, 0.55);
  border: 0;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 32px -10px rgba(255, 90, 0, 0.7);
}
.btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  color: rgba(253,253,253,0.82);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(253,253,253,0.16);
  color: var(--white);
}
.cta-hold { cursor: default; }
.cta-hold:hover { transform: none; }
.cta-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.38);
}

/* Sections + rhythm */
.sec {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  border-bottom: 1px solid var(--line-dark);
}
.sec--tight { padding: 76px 0; }
.sec.sec--ink {
  background-color: #050505;
  background-image: radial-gradient(720px 420px at 90% 0%, rgba(255,90,0,0.05), transparent 55%);
}
.sec.sec--soft {
  background-color: #101010;
  background-image: radial-gradient(560px 360px at 8% 100%, rgba(255,90,0,0.05), transparent 50%);
}
.sec.sec--paper {
  --t1: #0A0A0A;
  --t2: rgba(10,10,10,0.84);
  --t3: rgba(10,10,10,0.58);
  --t4: rgba(10,10,10,0.42);
  color: var(--t2);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.35), transparent 28%),
    radial-gradient(900px 480px at 85% -10%, rgba(255,90,0,0.08), transparent 55%);
  border-bottom: 1px solid var(--line-light);
}
.sec.sec--paper .h2,
.sec.sec--paper .h3,
.sec.sec--paper .card h3,
.sec.sec--paper .faq__q { color: var(--t1); }
.sec.sec--paper .lead,
.sec.sec--paper .card p,
.sec.sec--paper .faq__a { color: var(--t3); }
.sec.sec--paper .eyebrow { color: var(--accent); }
.sec.sec--paper .card,
.sec.sec--paper .faq__item,
.sec.sec--paper .pipe-card {
  background: linear-gradient(180deg, #FFFCFA, #F3EDE3);
  border-color: var(--line-light);
  box-shadow: 0 20px 48px -30px rgba(10,10,10,0.22);
}
.sec.sec--paper .faq__item {
  background: #FFFCFA;
  border: 1px solid rgba(10, 10, 10, 0.1);
  box-shadow: 0 12px 28px -22px rgba(10, 10, 10, 0.18);
}
.sec.sec--paper .faq__item.is-open {
  border-color: rgba(255, 90, 0, 0.28);
  box-shadow: 0 14px 32px -20px rgba(255, 90, 0, 0.22);
}
.sec.sec--paper .faq__q {
  color: #0A0A0A;
}
.sec.sec--paper .faq__q:hover {
  color: var(--accent);
}
.sec.sec--paper .faq__icon {
  background: rgba(255, 90, 0, 0.1);
  border: 1px solid rgba(255, 90, 0, 0.28);
  color: var(--accent);
  font-weight: 600;
}
.sec.sec--paper .faq__item.is-open .faq__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #0E0E0E;
  transform: rotate(45deg);
}
.sec.sec--paper .faq__a {
  color: rgba(10, 10, 10, 0.58);
}
.sec.sec--paper .btn--ghost {
  background: #fff;
  border-color: rgba(10,10,10,0.12);
  color: rgba(10,10,10,0.78);
}
.sec.sec--paper .tag {
  background: #E8E0D4;
  border-color: rgba(10,10,10,0.08);
  color: rgba(10,10,10,0.55);
}
.sec.sec--paper .ico {
  background: rgba(255,90,0,0.08);
  border-color: rgba(255,90,0,0.22);
  color: var(--accent);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.h1, .h2, .h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.h1 { font-size: clamp(38px, 5.6vw, 64px); }
.h2 { font-size: clamp(28px, 3.8vw, 44px); }
.h3 { font-size: clamp(18px, 2vw, 23px); }
.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(253,253,253,0.55);
  max-width: 48ch;
  margin: 16px 0 0;
  line-height: 1.65;
}
.grad {
  background: linear-gradient(120deg, #FFB380, #FF5A00 55%, #E04F00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.italic { font-style: italic; font-weight: 500; }
.pull {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 28ch;
}

/* Hero editorial */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--hdr) + 52px) 0 80px;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(255,90,0,0.08);
  border: 1px solid rgba(255,90,0,0.22);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: pulse 1.8s ease-out infinite;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.hero__meta strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero__meta span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(253,253,253,0.4);
  line-height: 1.35;
}

/* Hyperframes — email stack */
.hf-stage {
  position: relative;
  height: 460px;
  perspective: 1400px;
}
.hf {
  position: absolute;
  border-radius: 14px;
  background: linear-gradient(180deg, #121212, #0B0B0B);
  border: 1px solid rgba(253,253,253,0.1);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 40px 80px -28px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,90,0,0.05);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.hf::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,90,0,0.4), rgba(253,253,253,0.08) 40%, transparent 65%, rgba(255,90,0,0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hf--back {
  width: 78%;
  height: 78%;
  right: 0;
  top: 8%;
  transform: rotateY(-14deg) rotateX(6deg) translateZ(-60px) scale(0.94);
  opacity: 0.55;
}
.hf--mid {
  width: 82%;
  height: 82%;
  right: 4%;
  top: 4%;
  transform: rotateY(-10deg) rotateX(4deg) translateZ(-20px) scale(0.97);
  opacity: 0.78;
}
.hf--front {
  width: 86%;
  height: 88%;
  left: 0;
  top: 0;
  transform: rotateY(-6deg) rotateX(2deg);
  z-index: 3;
}
.hf-stage:hover .hf--front { transform: rotateY(-3deg) rotateX(1deg) translateY(-4px); }
.hf-stage:hover .hf--mid { transform: rotateY(-12deg) rotateX(5deg) translateZ(-24px) translateX(6px); }
.hf__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(14,14,14,0.9);
}
.hf__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2A2A2A;
}
.hf__dot:nth-child(1) { background: #ef4444; opacity: .7; }
.hf__dot:nth-child(2) { background: #f59e0b; opacity: .7; }
.hf__dot:nth-child(3) { background: #22c55e; opacity: .7; }
.hf__subj {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(253,253,253,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hf__body { padding: 18px 18px 20px; }
.hf__from {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.hf__h {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 12px;
}
.hf__p {
  font-size: 13px;
  color: rgba(253,253,253,0.55);
  line-height: 1.55;
  margin: 0 0 14px;
}
.hf__slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hf__row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #141414;
  border: 1px solid var(--line-dark);
}
.hf__kicker {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
  width: 92px;
}
.hf__row span {
  font-size: 12.5px;
  color: rgba(253,253,253,0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hf__float {
  position: absolute;
  right: -6px;
  bottom: 18px;
  z-index: 4;
  width: 168px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #161616, #0F0F0F);
  border: 1px solid rgba(255,90,0,0.28);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.9);
}
.hf__float small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.4);
}
.hf__float strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 22px;
  color: var(--accent-2);
}
.hf__float p {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(253,253,253,0.5);
}

/* Marquee sources */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255,90,0,0.18);
  border-bottom: 1px solid rgba(255,90,0,0.18);
  background:
    linear-gradient(90deg, rgba(255,90,0,0.07), transparent 25%, transparent 75%, rgba(255,90,0,0.07)),
    #0A0A0A;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.5);
  white-space: nowrap;
}
.marquee__item .acc { color: var(--accent-2); }
.marquee__item .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Problem editorial — layout estático (sem sticky: evita cards por cima do título) */
.problem {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.problem__head {
  max-width: 640px;
}
.problem__head .pull {
  margin-top: 22px;
}
.problem__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}
.problem__list .card {
  position: relative;
  z-index: 1;
  min-height: 100%;
}
.card {
  padding: 22px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #121212, #0D0D0D);
  border: 1px solid var(--line-dark);
  transition: border-color .2s, transform .2s var(--ease);
}
.card:hover {
  border-color: rgba(255,90,0,0.28);
  transform: translateY(-2px);
}
.card h3 {
  font-family: var(--display);
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(253,253,253,0.55);
  line-height: 1.55;
}
.ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255,90,0,0.08);
  border: 1px solid rgba(255,90,0,0.2);
  color: var(--accent);
  margin-bottom: 14px;
}
.tag {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: #1A1A1A;
  border: 1px solid var(--line-dark);
  color: rgba(253,253,253,0.45);
}

/* Bento modules — different from CRM equal grid */
.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.bento .card--hero {
  grid-row: span 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, rgba(255,90,0,0.14), transparent 50%),
    linear-gradient(180deg, #141414, #0C0C0C);
  border-color: rgba(255,90,0,0.22);
  padding: 28px;
}
.bento .card--hero h3 {
  font-size: 28px;
  margin-bottom: 12px;
}
.bento .card--hero p { font-size: 15px; max-width: 36ch; }
.bento .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

/* Pipeline steps with frames */
.pipe {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pipe-card {
  padding: 22px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #121212, #0D0D0D);
  border: 1px solid var(--line-dark);
  position: relative;
}
.pipe-card::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -8px;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,90,0,0.5), transparent);
  z-index: 1;
}
.pipe-card:last-child::after { display: none; }
.pipe-card strong {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.pipe-card h3 {
  font-family: var(--display);
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--white);
}
.pipe-card p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(253,253,253,0.5);
  line-height: 1.5;
}

/* Sources signal grid */
.signals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.signal {
  padding: 18px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #121212, #0D0D0D);
  border: 1px solid var(--line-dark);
  transition: border-color .2s, transform .2s var(--ease);
}
.signal:hover {
  border-color: rgba(255,90,0,0.28);
  transform: translateY(-2px);
}
.signal strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}
.signal span {
  font-size: 12.5px;
  color: rgba(253,253,253,0.42);
}

/* Feature split with email hyperframe mini */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 20px 0;
}
.feat + .feat {
  border-top: 1px solid var(--line-dark);
  margin-top: 16px;
  padding-top: 40px;
}
.feat--rev .feat__copy { order: 2; }
.feat--rev .feat__vis { order: 1; }
.feat__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat__list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(253,253,253,0.78);
  line-height: 1.45;
}
.sec.sec--paper .feat__list li { color: rgba(10,10,10,0.78); }
.feat__list li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  border-radius: 4px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 8px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 8px no-repeat,
    rgba(255,90,0,0.12);
  border: 1px solid rgba(255,90,0,0.28);
}
.mini-mail {
  border-radius: 14px;
  background: linear-gradient(180deg, #141414, #0C0C0C);
  border: 1px solid rgba(255,90,0,0.22);
  padding: 22px;
  box-shadow: 0 28px 60px -28px rgba(0,0,0,0.8);
  transform: rotate(-1.2deg);
}
.sec.sec--paper .mini-mail {
  background: linear-gradient(180deg, #FFFCFA, #F0E9DD);
  border-color: rgba(255,90,0,0.25);
  box-shadow: 0 24px 50px -28px rgba(10,10,10,0.25);
}
.mini-mail .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.mini-mail h4 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.sec.sec--paper .mini-mail h4 { color: #0A0A0A; }
.mini-mail p {
  margin: 0;
  font-size: 14px;
  color: rgba(253,253,253,0.55);
  line-height: 1.55;
}
.sec.sec--paper .mini-mail p { color: rgba(10,10,10,0.58); }

/* Config stack */
.config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Access */
.access {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}
.access__main {
  padding: 32px 28px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,90,0,0.12), rgba(20,20,20,0.3) 55%),
    #0E0E0E;
  border: 1px solid rgba(255,90,0,0.24);
}
.access__main h3 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--white);
}
.access__main .price-lead {
  margin: 0 0 20px;
  color: rgba(253,253,253,0.55);
  font-size: 15px;
}
.checks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checks li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(253,253,253,0.82);
  line-height: 1.4;
}
.checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background:
    linear-gradient(#22c55e,#22c55e) 50% 55% / 7px 1.5px no-repeat,
    linear-gradient(#22c55e,#22c55e) 42% 45% / 1.5px 5px no-repeat,
    rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  transform: rotate(40deg);
}
.access__side { display: flex; flex-direction: column; gap: 12px; }
.note {
  flex: 1;
  padding: 20px;
  border-radius: 13px;
  background: linear-gradient(180deg, #121212, #0D0D0D);
  border: 1px solid var(--line-dark);
}
.note h4 {
  font-family: var(--display);
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--white);
}
.note p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(253,253,253,0.5);
  line-height: 1.55;
}

/* FAQ centered */
.wrap--center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq-head {
  width: 100%;
  max-width: 820px;
  text-align: center;
  margin-bottom: 28px;
}
.faq-head .eyebrow { justify-content: center; }
.faq-head .h2 { text-align: center; color: inherit; }
.faq {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  border-radius: 12px;
  background: linear-gradient(180deg, #121212, #0D0D0D);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.faq__q:hover { color: var(--accent-2); }
.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #1A1A1A;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  color: rgba(253,253,253,0.5);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  color: var(--accent);
  border-color: rgba(255,90,0,0.3);
}
.faq__a {
  display: none;
  padding: 0 20px 18px;
  color: rgba(253,253,253,0.55);
  font-size: 14.5px;
  line-height: 1.6;
}
.faq__item.is-open .faq__a { display: block; }

/* Final */
.final {
  text-align: center;
  padding: 96px 0 100px;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(255,90,0,0.1), transparent 60%),
    #050505;
  border-bottom: 1px solid var(--line-dark);
}
.final .h2 { max-width: 16ch; margin-inline: auto; }
.final .lead { margin-inline: auto; }
.final__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.final__note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.3);
}

/* Footer */
.ftr {
  position: relative;
  z-index: 1;
  padding: 36px 0 48px;
}
.ftr__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ftr__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.35);
}
.ftr__links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: rgba(253,253,253,0.4);
}
.ftr__links a:hover { color: var(--accent-2); }

/* Drawer */
.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}
.drawer.is-open { display: block; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 320px);
  height: 100%;
  background: #0A0A0A;
  border-left: 1px solid var(--line-dark);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer__close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: #141414;
  margin-bottom: 12px;
}
.drawer a {
  padding: 14px 12px;
  border-radius: 10px;
  font-size: 15px;
  color: rgba(253,253,253,0.82);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .hero__grid,
  .feat,
  .feat--rev .feat__copy,
  .feat--rev .feat__vis,
  .access,
  .bento { grid-template-columns: 1fr; }
  .problem__list { grid-template-columns: 1fr; }
  .bento .card--hero { grid-row: auto; }
  .feat--rev .feat__copy,
  .feat--rev .feat__vis { order: initial; }
  .pipe { grid-template-columns: repeat(2, 1fr); }
  .pipe-card::after { display: none; }
  .signals { grid-template-columns: repeat(2, 1fr); }
  .config-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hf__float { display: none; }
  .hf-stage { height: 380px; }
}
@media (max-width: 720px) {
  .sec { padding: 72px 0; }
  .hero { min-height: auto; padding-top: calc(var(--hdr) + 36px); }
  .hero__meta { grid-template-columns: 1fr; }
  .pipe, .signals, .config-grid { grid-template-columns: 1fr; }
  .hf-stage { height: 340px; }
  .wrap { width: min(100% - 28px, var(--max)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* path-fix-relative */

/* problem-sticky-fix */

/* faq-paper-icons */
