/* ==========================================================
   MarginPilot — landing.css
   Dark enterprise landing page + CSV upload + dashboard results
   Replace your existing landing.css with this full file.
   ========================================================== */

:root {
  --bg: #020806;
  --bg-2: #071311;
  --bg-3: #0b1916;
  --hero: #111c18;
  --card: #071311;
  --card-2: #0d201b;
  --ink: #ffffff;
  --text: rgba(255, 255, 255, 0.88);
  --muted: rgba(215, 223, 216, 0.72);
  --faint: rgba(255, 255, 255, 0.08);
  --line: rgba(120, 255, 200, 0.12);
  --line-strong: rgba(120, 255, 200, 0.26);

  --green: #78ffc8;
  --green-2: #22c982;
  --green-dark: #0e7440;
  --green-soft: rgba(120, 255, 200, 0.12);

  --amber: #ffcc66;
  --amber-soft: rgba(255, 204, 102, 0.14);
  --red: #ff7373;
  --red-soft: rgba(255, 115, 115, 0.14);
  --blue: #6eb6ff;
  --blue-soft: rgba(110, 182, 255, 0.13);

  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(120, 255, 200, 0.08), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(30, 95, 168, 0.16), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(120, 255, 200, 0.25);
}

/* =========================
   Header
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 16px clamp(16px, 4vw, 48px);

  background: rgba(5, 12, 10, 0.92);
  border-bottom: 1px solid rgba(120, 255, 200, 0.1);
  backdrop-filter: blur(12px);
}

.brand,
.nav-actions,
.hero-actions,
.proof-strip {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(120, 255, 200, 0.24);
  border-radius: 10px;

  background:
    linear-gradient(180deg, rgba(120, 255, 200, 0.18), rgba(120, 255, 200, 0.05)),
    #071311;
  color: var(--green);
  box-shadow: 0 0 32px rgba(120, 255, 200, 0.08);
}

.nav-actions {
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-actions a {
  transition: color 0.18s ease;
}

.nav-actions a:hover {
  color: var(--green);
}

/* =========================
   Buttons
========================= */

.button {
  min-height: 46px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: 1px solid transparent;
  border-radius: 12px;

  font-weight: 900;
  cursor: pointer;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
}

.button.primary {
  background: linear-gradient(180deg, #8dffd5, #45d89d);
  border-color: rgba(120, 255, 200, 0.52);
  color: #03100b;
  box-shadow: 0 18px 36px rgba(34, 201, 130, 0.18);
}

.button.primary:hover {
  box-shadow: 0 22px 48px rgba(34, 201, 130, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.09);
}

/* =========================
   Hero
========================= */

.hero {
  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);

  min-height: 78vh;
  max-width: var(--max);
  margin: 0 auto;

  padding: clamp(52px, 8vw, 92px) clamp(18px, 4vw, 40px);

  background: transparent;
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px 0 auto auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(120, 255, 200, 0.07);
  filter: blur(70px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

h2 {
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  color: var(--ink);
  line-height: 1.2;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.proof-strip {
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.proof-strip span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.proof-strip strong {
  color: var(--ink);
}

/* =========================
   Upload Area
========================= */

.upload-area {
  width: 100%;
  max-width: 680px;
  margin-top: 28px;
  padding: 18px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;

  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(7, 19, 17, 0.86);
  box-shadow: var(--shadow-soft);
}

.upload-area input[type="file"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--muted);

  border: 1px dashed rgba(120, 255, 200, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.upload-area input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(120, 255, 200, 0.24);
  border-radius: 10px;
  background: rgba(120, 255, 200, 0.12);
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}

/* =========================
   Product Visual
========================= */

.product-visual {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 520px;
  justify-self: end;

  display: grid;
  gap: 18px;

  padding: clamp(20px, 3vw, 30px);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(180deg, rgba(120, 255, 200, 0.07), rgba(7, 19, 17, 0.95)),
    #071311;
  color: var(--ink);

  box-shadow: var(--shadow);
}

.visual-topline {
  padding-bottom: 18px;
  display: grid;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-topline span,
.visual-grid span {
  color: rgba(215, 223, 216, 0.66);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.visual-topline strong {
  color: var(--green);
  font-size: clamp(54px, 7vw, 86px);
  line-height: 0.95;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.visual-grid div,
.action {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.visual-grid strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
}

.visual-grid small {
  color: var(--muted);
}

.action-list {
  display: grid;
  gap: 10px;
}

.action {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: start;
}

.action strong {
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
}

.action span {
  display: block;
  color: var(--text);
  overflow-wrap: break-word;
  line-height: 1.45;
}

.action.good strong {
  background: var(--green-soft);
  color: var(--green);
}

.action.warn strong {
  background: var(--amber-soft);
  color: var(--amber);
}

.action.bad strong {
  background: var(--red-soft);
  color: var(--red);
}

/* =========================
   Dashboard Results
========================= */

.results-panel {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 34px;
  padding: 22px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(120, 255, 200, 0.06), rgba(7, 19, 17, 0.94)),
    #071311;
  box-shadow: var(--shadow);
}

.result-card {
  min-height: 138px;
  padding: 20px;

  display: grid;
  align-content: space-between;
  gap: 12px;

  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.result-card h3 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.result-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.result-card small {
  color: var(--muted);
}

.result-card.wide {
  grid-column: span 2;
}

.result-card.wide p {
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.35;
}

/* Optional status helpers for future renderer upgrades */
.result-card.good {
  border-color: rgba(120, 255, 200, 0.26);
}

.result-card.warn {
  border-color: rgba(255, 204, 102, 0.28);
}

.result-card.bad {
  border-color: rgba(255, 115, 115, 0.28);
}

/* =========================
   Sections
========================= */

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) 0;
  color: var(--text);
}

.section-heading {
  max-width: 780px;
}

.section .eyebrow {
  color: var(--green-2);
}

.problem-grid,
.pricing-grid,
.deliverables {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deliverables {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-grid article,
.price-card,
.deliverables div {
  border: 1px solid rgba(255, 255, 255, 0.105);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow-soft);
}

.problem-grid article {
  padding: 26px;
  border-radius: var(--radius);
}

.problem-grid article p,
.section-heading p {
  color: var(--muted);
}

/* =========================
   Pricing
========================= */

.pricing-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) 0;
}

.price-card {
  min-height: 420px;
  padding: 24px;

  display: grid;
  gap: 18px;

  border-radius: 22px;
  color: var(--ink);
  transition: 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

.price-card.featured {
  border-color: rgba(120, 255, 200, 0.56);
  background:
    linear-gradient(180deg, rgba(120, 255, 200, 0.10), rgba(7, 19, 17, 0.96)),
    #071311;
}

.plan {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card strong {
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 42px);
  line-height: 1.1;
  font-weight: 950;
  overflow-wrap: break-word;
}

.price-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.price-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.price-card li {
  margin-bottom: 8px;
}

.price-card button,
.price-card .button {
  width: 100%;
  margin-top: auto;
}

/* =========================
   Deliverables + CTA
========================= */

.deliverables div {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 18px;
  border-radius: 16px;

  color: var(--ink);
  font-weight: 850;
}

.deliverables span {
  color: var(--green);
  font-weight: 950;
}

.final-cta {
  width: min(var(--max), calc(100% - 36px));
  margin: 44px auto 0;
  padding: clamp(48px, 6vw, 72px);

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 0%, rgba(120, 255, 200, 0.13), transparent 32%),
    #111c18;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 760px;
  color: var(--muted);
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
  .pricing-grid,
  .results-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .product-visual {
    justify-self: stretch;
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .problem-grid,
  .deliverables {
    grid-template-columns: 1fr;
  }

  .upload-area {
    grid-template-columns: 1fr;
  }

  .upload-area .button,
  .upload-area button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero {
    padding: 46px 18px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(36px, 13vw, 52px);
  }

  .visual-grid,
  .action,
  .results-panel,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .result-card.wide {
    grid-column: span 1;
  }

  .section,
  .pricing-section,
  .results-panel,
  .final-cta {
    width: calc(100% - 28px);
  }

  .final-cta {
    padding: 34px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.store-name-field {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 18px auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.store-name-field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.9);
}

.store-name-field input {
  width: 100%;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.72);
  color: #f8fafc;
  padding: 14px 16px;
  font-size: 1rem;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-name-field input::placeholder {
  color: rgba(148, 163, 184, 0.78);
}

.store-name-field input:focus {
  border-color: rgba(34, 197, 94, 0.78);
  background: rgba(2, 6, 23, 0.94);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.store-name-hint {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(203, 213, 225, 0.72);
}
.leak-example-section {
  padding: 72px 24px;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.92));
}

.leak-example-card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.leak-example-kicker {
  margin-bottom: 12px;
  color: rgba(74, 222, 128, 0.95);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leak-example-card h2 {
  margin: 0 0 14px;
  color: #f8fafc;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.leak-example-intro {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(203, 213, 225, 0.86);
  font-size: 1.08rem;
  line-height: 1.65;
}

.leak-example-intro strong {
  color: #bbf7d0;
}

.leak-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.leak-example-item {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.48);
}

.leak-example-item span {
  display: block;
  margin-bottom: 10px;
  color: rgba(203, 213, 225, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.leak-example-item strong {
  color: #f8fafc;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.leak-example-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 22px;
  background: rgba(20, 83, 45, 0.24);
}

.leak-example-total span {
  color: rgba(220, 252, 231, 0.86);
  font-size: 1rem;
  font-weight: 800;
}

.leak-example-total strong {
  color: #bbf7d0;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.leak-example-warning {
  margin: 22px 0 0;
  color: #f8fafc;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .leak-example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leak-example-card {
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .leak-example-section {
    padding: 52px 16px;
  }

  .leak-example-grid {
    grid-template-columns: 1fr;
  }

  .leak-example-total {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================
   Tier-1 pricing cleanup
   Keeps five offers visible on wide screens, removes oversized cards,
   and protects keyboard accessibility.
========================= */

.nav-actions a:focus {
  outline: none;
}

.nav-actions a:focus-visible {
  outline: 2px solid rgba(105, 255, 210, 0.85);
  outline-offset: 6px;
  border-radius: 10px;
}

.section.offer {
  width: min(1520px, calc(100% - 48px));
}

.section.offer .section-heading {
  max-width: 900px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
}

.price-card {
  min-height: 360px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 22px;
}

.price-card .plan {
  min-height: 34px;
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1.35;
}

.price-card strong {
  display: block;
  margin-bottom: 22px;
  font-size: clamp(30px, 2.2vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.price-card p {
  flex: 1;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.price-card .button {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding-inline: 14px;
  text-align: center;
  line-height: 1.15;
}

.price-card.featured {
  background:
    radial-gradient(circle at top right, rgba(120, 255, 200, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(120, 255, 200, 0.09), rgba(7, 19, 17, 0.96)),
    #071311;
}

@media (max-width: 1320px) {
  .section.offer {
    width: min(1120px, calc(100% - 36px));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-card {
    min-height: 340px;
  }
}

@media (max-width: 920px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section.offer {
    width: calc(100% - 28px);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }
}

/* === MARGINPILOT CONTACT PATH POLISH START === */

.mp-hero-highlight-xl {
  display: inline-block;
  font-size: clamp(1.05rem, 1.55vw, 1.45rem) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.16em !important;
  padding: 0.22rem 0.45rem !important;
  margin-bottom: 1.3rem !important;
  border-radius: 0.15rem !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mp-contact-section {
  width: min(1520px, calc(100% - 3rem));
  margin: 2.5rem auto 5rem;
  scroll-margin-top: 120px;
}

.mp-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid rgba(106, 255, 194, 0.22);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(106, 255, 194, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(10, 36, 29, 0.96), rgba(4, 17, 14, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.mp-contact-eyebrow {
  margin: 0 0 0.85rem;
  color: #6affc2;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mp-contact-copy h2 {
  margin: 0;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.mp-contact-copy p {
  max-width: 790px;
  margin: 1.25rem 0 0;
  color: rgba(225, 241, 234, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.mp-contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.mp-contact-points span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(106, 255, 194, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.mp-contact-actions {
  display: grid;
  gap: 1rem;
}

.mp-contact-primary,
.mp-contact-secondary {
  width: 100%;
  min-height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.05rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.mp-contact-primary {
  border: 1px solid rgba(106, 255, 194, 0.72);
  color: #03120d;
  background: linear-gradient(135deg, #7cffcf, #3edda2);
  box-shadow: 0 20px 55px rgba(62, 221, 162, 0.18);
}

.mp-contact-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mp-contact-primary:hover,
.mp-contact-secondary:hover {
  transform: translateY(-1px);
}

.mp-copy-success {
  border-color: rgba(106, 255, 194, 0.8) !important;
  color: #6affc2 !important;
}

.mp-contact-email {
  margin: 0;
  color: rgba(225, 241, 234, 0.68);
  font-size: 0.95rem;
  text-align: center;
  word-break: break-word;
}

.mp-contact-pulse .mp-contact-card {
  animation: mpContactPulse 0.9s ease;
}

@keyframes mpContactPulse {
  0% {
    box-shadow: 0 0 0 rgba(106, 255, 194, 0);
  }

  40% {
    box-shadow: 0 0 0 8px rgba(106, 255, 194, 0.13), 0 24px 80px rgba(0, 0, 0, 0.38);
  }

  100% {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  }
}

@media (max-width: 860px) {
  .mp-contact-section {
    width: min(100% - 1.25rem, 1520px);
    margin-top: 1.5rem;
  }

  .mp-contact-card {
    grid-template-columns: 1fr;
    border-radius: 1.35rem;
  }

  .mp-contact-actions {
    max-width: 100%;
  }
}

/* === MARGINPILOT CONTACT PATH POLISH END === */

/* === MARGINPILOT UPLOAD EXPERIENCE START === */

.mp-upload-notice {
  position: fixed;
  z-index: 9999;
  width: min(440px, calc(100vw - 2rem));
  padding: 1rem 1.1rem;
  border: 1px solid rgba(106, 255, 194, 0.22);
  border-radius: 1rem;
  background: rgba(5, 18, 13, 0.96);
  color: rgba(235, 255, 247, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.mp-upload-notice strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #f5fff9;
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  font-weight: 950;
  letter-spacing: 0.01em;
}

.mp-upload-notice ul {
  margin: 0;
  padding-left: 1.1rem;
}

.mp-upload-notice li {
  margin: 0.22rem 0;
  color: rgba(217, 241, 232, 0.84);
  line-height: 1.42;
}

.mp-upload-notice-info {
  border-color: rgba(106, 255, 194, 0.35);
}

.mp-upload-notice-success {
  border-color: rgba(106, 255, 194, 0.78);
  background: rgba(8, 42, 29, 0.96);
}

.mp-upload-notice-warn {
  border-color: rgba(255, 214, 102, 0.78);
  background: rgba(46, 35, 9, 0.96);
}

.mp-upload-notice-error {
  border-color: rgba(255, 94, 111, 0.82);
  background: rgba(48, 12, 18, 0.96);
}

/* === MARGINPILOT UPLOAD EXPERIENCE END === */

/* === MARGINPILOT SHARP RED UPLOAD WARNING OVERRIDE START === */

.mp-upload-notice-warn,
.mp-upload-notice-error {
  border-color: rgba(255, 82, 96, 0.82);
  background: rgba(44, 9, 15, 0.97);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 82, 96, 0.14),
    0 0 28px rgba(255, 82, 96, 0.16);
}

.mp-upload-notice-warn strong,
.mp-upload-notice-error strong {
  color: #fff3f4;
}

.mp-upload-notice-warn li,
.mp-upload-notice-error li {
  color: rgba(255, 225, 228, 0.88);
}

/* === MARGINPILOT SHARP RED UPLOAD WARNING OVERRIDE END === */

/* === MARGINPILOT PLAIN ENGLISH CLARITY START === */

.simple-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 20px;
}

.simple-step-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(120, 255, 200, 0.16);
  border-radius: 20px;
  background: rgba(2, 10, 8, 0.48);
}

.simple-step-card span {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(120, 255, 200, 0.42);
  border-radius: 999px;
  color: #78ffc8;
  background: rgba(120, 255, 200, 0.08);
  font-weight: 950;
}

.simple-step-card strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.simple-step-card p {
  margin: 0;
  color: rgba(215, 223, 216, 0.76);
  line-height: 1.55;
}

.plain-note {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid rgba(120, 255, 200, 0.26);
  border-radius: 20px;
  background: rgba(120, 255, 200, 0.08);
  color: rgba(235, 255, 247, 0.88);
  font-size: 1.05rem;
  line-height: 1.55;
}

.plain-note strong {
  color: #78ffc8;
}

.section-heading > p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .simple-step-grid {
    grid-template-columns: 1fr;
  }

  .simple-step-card {
    min-height: auto;
  }
}

/* === MARGINPILOT PLAIN ENGLISH CLARITY END === */

/* === MARGINPILOT HERO SIZE POLISH START === */

.hero {
  min-height: 68vh;
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(42px, 6vw, 72px);
}

h1 {
  font-size: clamp(34px, 4.35vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.product-visual {
  max-width: 480px;
}

.visual-topline strong {
  font-size: clamp(48px, 6vw, 76px);
}

.lede {
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(36px, 9vw, 54px);
  }
}

/* === MARGINPILOT HERO SIZE POLISH END === */

/* === MARGINPILOT PRICING SCROLL POLISH START === */

.section.offer {
  scroll-margin-top: 84px;
  padding-top: clamp(34px, 4.5vw, 56px);
}

.section.offer .section-heading {
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .section.offer {
    padding-top: 34px;
  }
}

/* === MARGINPILOT PRICING SCROLL POLISH END === */

/* === MARGINPILOT TRUST FAQ START === */

.trust-faq {
  border-top: 1px solid rgba(120, 255, 200, 0.1);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.trust-grid article {
  min-height: 205px;
  padding: 24px;
  border: 1px solid rgba(120, 255, 200, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(120, 255, 200, 0.055), rgba(2, 10, 8, 0.72)),
    rgba(2, 10, 8, 0.56);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.trust-grid h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.trust-grid p {
  margin: 0;
  color: rgba(215, 223, 216, 0.78);
  line-height: 1.58;
  font-size: 0.98rem;
}

@media (max-width: 1050px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid article {
    min-height: auto;
  }
}

/* === MARGINPILOT TRUST FAQ END === */

/* === Phase 6.5D footer trust links start === */
.mp-trust-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: #08111f;
  color: rgba(226, 232, 240, 0.76);
  padding: 28px 20px 32px;
}

.mp-trust-footer__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.55;
}

.mp-trust-footer__brand,
.mp-trust-footer__tagline {
  margin: 0;
}

.mp-trust-footer__brand {
  font-weight: 700;
  color: rgba(248, 250, 252, 0.9);
}

.mp-trust-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mp-trust-footer__links a {
  color: rgba(125, 211, 252, 0.95);
  text-decoration: none;
  font-weight: 650;
}

.mp-trust-footer__links a:hover,
.mp-trust-footer__links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.mp-trust-footer__links span {
  color: rgba(148, 163, 184, 0.55);
}

@media (max-width: 640px) {
  .mp-trust-footer {
    padding: 24px 16px 28px;
  }

  .mp-trust-footer__inner {
    font-size: 0.82rem;
  }
}
/* === Phase 6.5D footer trust links end === */

/* === MARGINPILOT PLATFORM HOMEPAGE RESTRUCTURE V1 START === */

.platform-home {
  background:
    radial-gradient(circle at 18% 10%, rgba(88, 255, 190, 0.14), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(34, 201, 130, 0.13), transparent 34%),
    linear-gradient(180deg, #020806 0%, #04110d 48%, #020806 100%);
}

.platform-home .site-header {
  background: rgba(2, 8, 6, 0.88);
  border-bottom: 1px solid rgba(88, 255, 190, 0.14);
  backdrop-filter: blur(18px);
}

.platform-home .brand-mark {
  border-color: rgba(88, 255, 190, 0.52);
  color: #58ffbe;
  background: linear-gradient(145deg, rgba(88, 255, 190, 0.20), rgba(88, 255, 190, 0.04));
  box-shadow: 0 0 34px rgba(88, 255, 190, 0.10);
}

.platform-home .nav-actions a {
  color: rgba(226, 255, 245, 0.78);
}

.platform-home .nav-actions a:hover {
  color: #58ffbe;
}

.platform-hero {
  align-items: stretch;
  padding-top: 6.4rem;
  padding-bottom: 3.7rem;
}

.platform-home .hero-copy {
  border: 1px solid rgba(88, 255, 190, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(7, 28, 20, 0.86), rgba(2, 8, 6, 0.50)),
    radial-gradient(circle at 12% 12%, rgba(88, 255, 190, 0.12), transparent 32%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.platform-home .hero-copy h1 {
  max-width: 820px;
  color: #f3fff9;
  letter-spacing: -0.065em;
}

.platform-home .lede {
  max-width: 760px;
  color: rgba(221, 255, 241, 0.80);
}

.platform-home .eyebrow {
  color: #58ffbe;
}

.platform-home .proof-strip {
  border-color: rgba(88, 255, 190, 0.20);
  background: rgba(255, 255, 255, 0.045);
}

.platform-home .proof-strip span {
  color: rgba(230, 255, 245, 0.78);
}

.platform-visual {
  border: 1px solid rgba(88, 255, 190, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(7, 28, 20, 0.94), rgba(2, 8, 6, 0.94)),
    radial-gradient(circle at top right, rgba(88, 255, 190, 0.16), transparent 34%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: 100%;
}

.platform-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.platform-tool-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  padding: 1rem;
}

.platform-tool-row.active {
  border-color: rgba(88, 255, 190, 0.38);
  background:
    linear-gradient(145deg, rgba(88, 255, 190, 0.12), rgba(255, 255, 255, 0.045));
}

.tool-dot {
  width: 0.78rem;
  height: 0.78rem;
  margin-top: 0.34rem;
  border-radius: 999px;
  background: #58ffbe;
  box-shadow: 0 0 18px rgba(88, 255, 190, 0.72);
}

.tool-dot.muted {
  background: rgba(88, 255, 190, 0.32);
  box-shadow: none;
}

.platform-tool-row strong {
  display: block;
  color: #f3fff9;
  font-size: 1rem;
}

.platform-tool-row p {
  margin: 0.3rem 0 0;
  color: rgba(221, 255, 241, 0.68);
}

.platform-tool-grid,
.platform-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.platform-tool-grid--focused {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
}

.platform-tool-card,
.platform-fit-grid article {
  border: 1px solid rgba(88, 255, 190, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(7, 28, 20, 0.72), rgba(2, 8, 6, 0.70));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  padding: 1.35rem;
}

.platform-tool-card.featured {
  border-color: rgba(88, 255, 190, 0.42);
  background:
    radial-gradient(circle at top right, rgba(88, 255, 190, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(8, 42, 29, 0.88), rgba(2, 8, 6, 0.78));
}

.tool-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(88, 255, 190, 0.32);
  border-radius: 999px;
  background: rgba(88, 255, 190, 0.08);
  color: #58ffbe;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
}

.platform-tool-card h3,
.platform-fit-grid h3 {
  color: #f3fff9;
}

.platform-tool-card p,
.platform-fit-grid p {
  color: rgba(221, 255, 241, 0.74);
}

.platform-tool-card .button {
  margin-top: 1rem;
}

.disabled-link {
  opacity: 0.62;
  cursor: not-allowed;
}

.platform-process,
.platform-fit {
  position: relative;
}

.platform-final-cta {
  background:
    radial-gradient(circle at top left, rgba(88, 255, 190, 0.16), transparent 35%),
    linear-gradient(145deg, rgba(7, 28, 20, 0.94), rgba(2, 8, 6, 0.94));
  border-color: rgba(88, 255, 190, 0.24);
}

.platform-final-cta h2 {
  color: #f3fff9;
}

.platform-final-cta p {
  color: rgba(221, 255, 241, 0.78);
}

.platform-home .button.primary {
  background: linear-gradient(135deg, #58ffbe, #1ecf92);
  border-color: rgba(88, 255, 190, 0.65);
  color: #00100b;
  box-shadow: 0 20px 55px rgba(30, 207, 146, 0.18);
}

.platform-home .button.primary:hover {
  box-shadow: 0 24px 66px rgba(30, 207, 146, 0.30);
}

.platform-home .button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: #f3fff9;
}

.platform-home .button.secondary:hover {
  border-color: rgba(88, 255, 190, 0.44);
  background: rgba(88, 255, 190, 0.08);
}

.platform-home .mp-trust-footer {
  background: #06100d;
  border-top-color: rgba(88, 255, 190, 0.14);
}

@media (max-width: 980px) {
  .platform-tool-grid,
  .platform-fit-grid {
    grid-template-columns: 1fr;
  }

  .platform-visual {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .platform-hero {
    padding-top: 4.2rem;
    width: 100%;
    min-width: 0;
  }

  .platform-home .hero-copy,
  .platform-visual {
    width: 100%;
    min-width: 0;
    border-radius: 22px;
  }

  .platform-home .hero-copy h1,
  .platform-home .eyebrow,
  .platform-tool-row strong,
  .platform-tool-row p {
    overflow-wrap: anywhere;
  }

  .platform-home .site-header,
  .platform-home .brand,
  .platform-home .nav-actions {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .platform-home .brand > span:last-child {
    min-width: 0;
  }

  .platform-home .brand small {
    display: block;
  }
}

/* === MARGINPILOT PLATFORM HOMEPAGE RESTRUCTURE V1 END === */
