/* PayLoop — product-page specific, extends base */

.payloop-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }
@media (max-width: 720px) { section { padding: 4rem 0; } }

.section-centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.section-centered h2 { margin-bottom: 1.5rem; }

/* Hero */
.hero { padding: 4rem 0 6rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero .lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2.25rem;
  animation: fadeUp 0.9s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-ctas {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.trust-strip {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  animation: fadeUp 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.trust-strip .sep { color: var(--line-strong); margin: 0 0.5rem; }

.hero-art {
  animation: fadeUp 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-art svg {
  width: 100%;
  max-width: 360px;
  display: block;
  margin-left: auto;
  height: auto;
}
@media (max-width: 880px) {
  .hero-art svg { margin: 0 auto; max-width: 280px; }
}

/* Problem */
.problem { text-align: center; }
.problem h2 { margin: 0 auto 1.5rem; max-width: 720px; }
.problem p {
  margin: 0 auto 1.25rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
}
.problem .bridge {
  color: var(--ink);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
}
.step .num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent-payloop);
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); margin: 0; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: 8px;
  background: var(--paper);
}
.feature .marker {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-payloop);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.feature h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Trygghet */
.trygghet {
  background: var(--paper-soft);
  padding: 6rem 2rem;
}
.trygghet-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.trygghet-inner h2 { margin-bottom: 1.5rem; }
.trygghet-inner .lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 auto 2.5rem;
}
.never-block {
  text-align: left;
  background: var(--paper);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.never-block h3 {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.never-block ul { list-style: none; }
.never-block li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--ink);
}
.never-block li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-payloop);
}
.trygghet-note {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  margin: 0 auto 2rem;
  max-width: 560px;
}
.trygghet-meta {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.7;
}
.trygghet-meta .sep { color: var(--line-strong); margin: 0 0.5rem; }

/* Compare table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
}
.compare-table th, .compare-table td {
  padding: 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding-bottom: 0.75rem;
}
.compare-table tbody th {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  width: 28%;
}
.compare-table tbody td {
  color: var(--muted);
  font-size: 0.97rem;
  width: 36%;
}
.compare-table .us th, .compare-table .us td {
  background: rgba(46, 90, 110, 0.05);
}
.compare-table .us th { color: var(--accent-payloop); }
.compare-table .us td { color: var(--ink); }
.compare-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
}

@media (max-width: 720px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr { display: block; }
  .compare-table tr {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .compare-table th, .compare-table td {
    display: block;
    border: none;
    padding: 0.25rem 0;
    width: 100%;
  }
  .compare-table tbody th { margin-bottom: 0.75rem; }
  .compare-table .us {
    border-color: var(--accent-payloop);
    background: rgba(46, 90, 110, 0.05);
  }
}

/* Pricing */
.pricing-card {
  max-width: 560px;
  margin: 3rem auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  background: var(--paper);
}
.pricing-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}
.pricing-card p {
  color: var(--muted);
  margin: 0 auto 1rem;
}
.pricing-card .cta-row { margin-top: 2rem; }
.pricing-card .microcopy {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 3rem auto 0;
}
details {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0.5rem;
  transition: padding-left 0.2s ease;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
details summary {
  font-family: var(--serif);
  font-size: 1.2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--muted);
  font-weight: 300;
  flex-shrink: 0;
}
details[open] summary::after { content: "−"; }
details p {
  margin-top: 1rem;
  color: var(--muted);
  padding-left: 0;
  max-width: 100%;
}
details[open] {
  border-left: 2px solid var(--accent-payloop);
  padding-left: 1.5rem;
}

/* Final CTA */
.final-cta {
  background: var(--paper-soft);
  padding: 6rem 2rem;
  text-align: center;
}
.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.final-cta h2 { margin-bottom: 1rem; }
.final-cta p {
  color: var(--muted);
  margin: 0 auto 2rem;
}
.final-cta .microcopy {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
