:root {
  --navy: #16192B;
  --cream: #FBF7EF;
  --coral: #C4442E;
  --soft-cream: #F3EDE3;
  --muted: #6F7180;
  --white: #FFFFFF;
  --border: rgba(22, 25, 43, 0.12);
  --shadow: 0 24px 70px rgba(22, 25, 43, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.narrow { width: min(840px, 100%); }
.section { padding: 110px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(251, 247, 239, 0.90);
  border-bottom: 1px solid rgba(22, 25, 43, 0.06);
}
.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0;
}
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 650; }
.nav a:hover, .text-link:hover, .footer a:hover { color: var(--coral); }
.menu-button { display: none; border: 0; background: transparent; color: var(--navy); font-weight: 700; }
.mobile-nav { padding: 10px 20px 20px; border-top: 1px solid var(--border); }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 650; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 24px rgba(196, 68, 46, 0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(196, 68, 46, 0.24); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.button-inverse { background: var(--cream); color: var(--navy); box-shadow: none; }

.hero { padding-top: 86px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
  min-height: 610px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
}
.eyebrow.coral { color: #F07B65; }
.eyebrow.cream { color: var(--cream); opacity: .82; }
.hero h1, h2, h3 { margin-top: 0; letter-spacing: -0.05em; }
.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(3.3rem, 6.3vw, 6.35rem);
  line-height: .96;
}
.hero h1 span { color: var(--coral); }
.hero-text { max-width: 680px; font-size: 19px; color: #3F4252; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.text-link { font-weight: 750; }
.microcopy { margin-top: 18px; color: var(--muted); font-size: 14px; }

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(196, 68, 46, 0.18);
  border-radius: 50%;
}
.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 560px; height: 560px; opacity: .55; }
.comment-card {
  position: relative;
  z-index: 2;
  width: min(100%, 455px);
  padding: 30px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(22, 25, 43, 0.08);
  box-shadow: var(--shadow);
}
.comment-topline { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--cream); font-weight: 800; font-size: 12px;
}
.comment-brand { font-weight: 800; }
.verified { color: var(--coral); }
.comment-meta { color: var(--muted); font-size: 12px; }
.comment-copy { margin: 28px 0; font-size: 22px; line-height: 1.35; font-weight: 700; letter-spacing: -0.025em; }
.comment-stats { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--border); font-weight: 750; font-size: 14px; }
.positive { color: var(--coral); font-weight: 800; }
.mini-card {
  position: absolute;
  z-index: 3;
  min-width: 160px;
  padding: 17px 18px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid rgba(22, 25, 43, .08);
  box-shadow: 0 16px 40px rgba(22, 25, 43, .10);
}
.mini-card strong { display: block; margin-top: 2px; font-size: 18px; }
.mini-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.mini-card-one { top: 65px; right: -8px; transform: rotate(4deg); }
.mini-card-two { bottom: 52px; left: -8px; transform: rotate(-4deg); }

.dark-section { background: var(--navy); color: var(--cream); }
.dark-section h2 { color: var(--cream); }
.problem-section h2 { font-size: clamp(3rem, 6vw, 6.1rem); line-height: 1; margin-bottom: 42px; }
.problem-copy { max-width: 760px; font-size: 20px; color: rgba(251, 247, 239, .82); }
.accent-line { color: #F07B65; font-size: 32px; font-weight: 800; letter-spacing: -0.04em; }

.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .product-copy h2, .about-card h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1.02; margin-bottom: 18px; }
.section-heading p, .product-copy > p { font-size: 18px; color: #565968; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  min-height: 280px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(22, 25, 43, 0.08);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(22, 25, 43, 0.055);
}
.step-number { margin-bottom: 52px; color: var(--coral); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.card h3 { margin-bottom: 12px; font-size: 27px; }
.card p { margin: 0; color: #5B5E6E; }

.product-section { background: #F7F1E7; }
.product-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; }
.check-list li { padding: 12px 0 12px 30px; position: relative; font-weight: 650; border-bottom: 1px solid rgba(22, 25, 43, .09); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 900; }
.dashboard-mockup {
  background: var(--white);
  border: 1px solid rgba(22, 25, 43, .10);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.browser-bar { display: flex; gap: 8px; padding: 14px 18px; background: #EFEAE1; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(22,25,43,.20); }
.dashboard-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 26px 28px 20px; }
.dashboard-kicker { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.dashboard-header h3 { margin: 4px 0 0; font-size: 28px; }
.period-pill { padding: 8px 12px; background: var(--soft-cream); border-radius: 999px; font-size: 12px; font-weight: 700; }
.metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 28px 22px; }
.metric-box { padding: 18px; background: var(--cream); border-radius: 16px; }
.metric-box strong { display: block; font-size: 28px; letter-spacing: -0.04em; }
.metric-box span { color: var(--muted); font-size: 12px; }
.fake-table { margin: 0 28px 28px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.fake-row { display: grid; grid-template-columns: 1.8fr .6fr .8fr; gap: 18px; padding: 15px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.fake-row:last-child { border-bottom: 0; }
.fake-head { background: #FAF8F4; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.mockup-note { padding: 16px 28px; background: var(--navy); color: rgba(251,247,239,.8); font-size: 12px; }

.export-row { grid-template-columns: .85fr 1.7fr .55fr .65fr; }
.export-callout { display: flex; align-items: center; gap: 14px; margin: 0 28px 28px; padding: 16px 18px; background: var(--cream); border: 1px solid var(--border); border-radius: 16px; }
.export-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; background: var(--coral); color: var(--cream); font-size: 20px; font-weight: 900; }
.export-callout strong { display: block; font-size: 14px; margin-bottom: 2px; }
.export-callout span { display: block; color: var(--muted); font-size: 12px; }

.difference-section h2 { margin: 0; font-size: clamp(3rem, 6vw, 6rem); line-height: 1; }
.difference-accent { color: #F07B65 !important; margin-top: 12px !important; }
.difference-copy { max-width: 800px; margin-top: 36px; font-size: 20px; color: rgba(251,247,239,.76); }

.social-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.sticky-copy { position: sticky; top: 120px; }
.statement-stack { border-top: 1px solid var(--border); }
.statement { padding: 34px 0; border-bottom: 1px solid var(--border); font-size: clamp(1.9rem, 3.4vw, 3.5rem); line-height: 1.12; font-weight: 750; letter-spacing: -0.04em; }
.statement-final { font-size: clamp(2.4rem, 4vw, 4rem); }
.statement-final span { display: block; color: var(--coral); margin-top: 12px; }

.about-section { padding-top: 40px; }
.about-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 54px; background: var(--white); border: 1px solid rgba(22,25,43,.08); border-radius: 28px; box-shadow: 0 16px 50px rgba(22,25,43,.06); }
.about-card p { color: #565968; font-size: 17px; }

.cta-section { background: var(--coral); color: var(--cream); text-align: center; }
.cta-section h2 { color: var(--cream); font-size: clamp(3rem, 6vw, 6.2rem); line-height: .98; margin-bottom: 22px; }
.cta-section p { max-width: 650px; margin: 0 auto 28px; font-size: 18px; color: rgba(251,247,239,.88); }
.cta-note { margin-top: 18px !important; margin-bottom: 0 !important; font-size: 12px !important; opacity: .78; }

.footer { background: var(--navy); color: var(--cream); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; font-size: 13px; color: rgba(251,247,239,.72); }
.footer-links { display: flex; gap: 18px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav, .header-inner > .button-small { display: none; }
  .menu-button { display: inline-block; }
  .hero-grid, .product-grid, .social-grid, .about-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; }
  .hero-visual { min-height: 470px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-copy { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-text { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
  .hero-visual { min-height: 430px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 420px; height: 420px; }
  .comment-card { padding: 23px; border-radius: 22px; }
  .comment-copy { font-size: 19px; }
  .comment-stats { align-items: flex-start; flex-direction: column; gap: 8px; }
  .mini-card { min-width: 135px; padding: 13px 14px; }
  .mini-card-one { top: 24px; right: -2px; }
  .mini-card-two { bottom: 28px; left: 0; }
  .problem-section h2, .difference-section h2, .cta-section h2 { font-size: clamp(2.9rem, 14vw, 4.3rem); }
  .steps-grid { grid-template-columns: 1fr; }
  .card { min-height: 230px; }
  .step-number { margin-bottom: 30px; }
  .metrics-row { grid-template-columns: 1fr; }
  .dashboard-header { align-items: flex-start; flex-direction: column; }
  .fake-row { grid-template-columns: 1.4fr .6fr; }
  .fake-row span:last-child { display: none; }
  .about-card { padding: 30px; }
  .footer-inner { flex-direction: column; }
}

/* Accurate export previews */
.export-preview-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid rgba(22,25,43,.10);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(22,25,43,.14);
  overflow: hidden;
}
.export-preview-top { display:flex; align-items:center; gap:14px; margin-bottom:22px; }
.export-preview-top strong { display:block; }
.export-preview-top span:not(.file-badge) { display:block; color:var(--muted, #5D6070); font-size:.85rem; margin-top:2px; }
.file-badge { background:var(--coral, #C4442E); color:#fff; font-size:.72rem; font-weight:800; padding:8px 9px; border-radius:8px; }
.mini-sheet { overflow:hidden; border:1px solid rgba(22,25,43,.14); background:#fff; }
.sheet-row { display:grid; grid-template-columns: 110px 95px 90px 90px 100px 180px 70px 70px 140px; min-width:945px; }
.sheet-row span { padding:10px 9px; border-right:1px solid rgba(22,25,43,.12); border-bottom:1px solid rgba(22,25,43,.12); font-size:.73rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sheet-head span { font-weight:700; background:#f3f3f3; }
.export-preview-note { margin-top:18px; font-size:.88rem; color:#5D6070; line-height:1.5; }
.excel-wrap { overflow-x:auto; border:1px solid rgba(22,25,43,.14); background:#fff; }
.excel-table { border-collapse:collapse; min-width:950px; width:100%; color:#16192B; font-size:.76rem; }
.excel-table th,.excel-table td { padding:10px 9px; text-align:left; border-right:1px solid rgba(22,25,43,.14); border-bottom:1px solid rgba(22,25,43,.14); white-space:nowrap; max-width:190px; overflow:hidden; text-overflow:ellipsis; }
.excel-table th { background:#f1f1f1; font-weight:700; }
.footer-links { flex-wrap:wrap; }

/* Privacy page */
.legal-page { padding: 140px 0 90px; }
.legal-shell { max-width: 820px; }
.legal-shell h1 { font-size:clamp(2.6rem,6vw,4.8rem); margin-bottom:16px; }
.legal-shell h2 { margin-top:42px; font-size:1.45rem; }
.legal-shell p,.legal-shell li { line-height:1.75; color:#363949; }
.legal-shell ul { padding-left:22px; }
.legal-meta { color:#6a6d79; margin-bottom:36px; }
.legal-contact { margin-top:48px; padding:24px; border:1px solid rgba(22,25,43,.12); border-radius:18px; background:#fff; }

@media (max-width: 767px) {
  .export-preview-card { padding:20px; }
  .legal-page { padding-top:110px; }
}


/* Hero layout fix: keep the export preview inside its column */
.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-visual {
  z-index: 1;
}

.hero-visual .export-preview-card {
  width: 100%;
  max-width: 540px;
  min-width: 0;
}

.hero-visual .mini-sheet {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.hero-visual .sheet-row {
  min-width: 945px;
}

/* P-only logo mark */
.brand-mark {
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 1050px) and (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
    gap: 34px;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 5.7vw, 5.2rem);
  }
}

@media (max-width: 767px) {
  .hero-visual .export-preview-card {
    max-width: 100%;
  }
}


/* Mobile footer/legal visibility fix */
@media (max-width: 767px) {
  .footer-inner,
  .footer-links {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .footer-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  .footer-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .footer-links a {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
  }

  footer {
    overflow: visible !important;
  }
}

/* Final mobile legal links fix */
@media (max-width: 767px) {
  .mobile-nav a,
  .footer-links a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
}

/* Time-saving value section */
.time-saver {
  border-top: 1px solid rgba(15, 23, 42, .12);
  border-bottom: 1px solid rgba(15, 23, 42, .12);
}
.time-saver > p {
  max-width: 760px;
}
.time-saver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.time-saver-grid > div {
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 16px;
  padding: 22px;
  background: rgba(255,255,255,.5);
}
.time-saver-grid strong,
.time-saver-grid span {
  display: block;
}
.time-saver-grid strong {
  margin-bottom: 8px;
}
@media (max-width: 767px) {
  .time-saver-grid {
    grid-template-columns: 1fr;
  }
}

/* Actual extension product mockup */
.actual-extension-showcase {
  max-width: 1120px;
  margin: 26px auto 72px;
  padding: 0 24px;
}
.extension-window {
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(15,23,42,.18);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15,23,42,.14);
}
.extension-window-bar {
  min-height: 54px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-bottom: 1px solid rgba(15,23,42,.12);
  font-weight: 700;
}
.extension-p-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6b6b6b;
  color: #fff;
}
.extension-window-dots {
  margin-left: auto;
  letter-spacing: 2px;
  opacity: .55;
}
.extension-window img {
  width: 100%;
  height: auto;
  display: block;
}
.actual-ui-caption {
  max-width: 650px;
  margin: 16px auto 0;
  text-align: center;
  font-size: .98rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .actual-extension-showcase {
    margin: 18px auto 48px;
    padding: 0 16px;
  }
  .extension-window {
    border-radius: 14px;
  }
  .actual-ui-caption {
    text-align: left;
  }
}

/* FAQ / answer-engine-friendly content */
.faq-section {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.faq-intro {
  max-width: 720px;
  margin-bottom: 28px;
}
.faq-list {
  border-top: 1px solid rgba(15,23,42,.16);
}
.faq-list details {
  border-bottom: 1px solid rgba(15,23,42,.16);
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 20px 42px 20px 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  font-size: 1.45rem;
  font-weight: 400;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  max-width: 800px;
  margin: -4px 0 20px;
  line-height: 1.65;
}
@media (max-width: 767px) {
  .faq-list summary {
    font-size: 1rem;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .faq-list details p {
    font-size: .96rem;
  }
}

/* ICP / day-to-day social manager section */
.role-fit-intro { max-width: 820px; }
.role-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-top: 28px;
}
.role-fit-grid > div {
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 16px;
  padding: 22px;
  background: rgba(255,255,255,.45);
}
.role-fit-grid strong, .role-fit-grid span { display:block; }
.role-fit-grid strong { margin-bottom:8px; }
@media (max-width:767px) {
  .role-fit-grid { grid-template-columns:1fr; }
}
