/* ==========================================================================
   SwiftPass - Readmake Style (assets/readmake.css)
   Inspired by Pieter Levels' minimal, content-first landing page design
   ========================================================================== */

* {
  box-sizing: border-box;
}

:root {
  --rm-bg: #f9f9f9;
  --rm-text: #1c1c1c;
  --rm-text-muted: #555555;
  --rm-red: #ff4742;
  --rm-red-hover: #e03732;
  --rm-red-subtle: #fff0f0;
  --rm-border: #e3e3e9;
  --rm-white: #ffffff;
  --rm-font-sans: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --rm-font-serif: 'PT Serif', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--rm-bg);
  color: var(--rm-text);
  font-family: var(--rm-font-serif);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rm-font-sans);
  font-weight: 800;
  color: var(--rm-text);
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--rm-red);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  text-decoration: underline;
}

/* Highlight marker */
.highlight {
  background-color: #fffd54;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Layout Container */
.rm-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 1. Announcement Bar */
.rm-announcement {
  background-color: var(--rm-red);
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--rm-font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 2. Minimal Site Header */
.rm-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--rm-border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.rm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rm-header__logo img {
  height: 26px;
  width: auto;
  display: block;
}

.rm-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--rm-font-sans);
  font-size: 15px;
  font-weight: 700;
}

.rm-header__nav a {
  color: var(--rm-text);
  text-decoration: none;
}

.rm-header__nav a:hover {
  color: var(--rm-red);
}

.rm-header__btn {
  background-color: var(--rm-red);
  color: #ffffff !important;
  font-family: var(--rm-font-sans);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none !important;
  display: inline-block;
  transition: background 0.15s ease;
}

.rm-header__btn:hover {
  background-color: var(--rm-red-hover);
}

/* 3. Hero Section */
.rm-hero {
  padding: 55px 0 35px;
}

.rm-badge {
  display: inline-block;
  font-family: var(--rm-font-sans);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rm-red);
  background: var(--rm-red-subtle);
  border: 1px solid #ffd1cf;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.rm-hero__title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.rm-hero__title span.accent {
  color: var(--rm-red);
}

.rm-hero__lead {
  font-family: var(--rm-font-sans);
  font-size: 22px;
  font-weight: 800;
  color: #334155;
  margin: -6px 0 16px;
  line-height: 1.35;
}

.rm-hero__sub {
  font-size: 21px;
  line-height: 1.6;
  color: #2c2c2c;
  margin: 0 0 26px;
}

/* Call to action button */
.rm-btn {
  display: inline-block;
  background-color: var(--rm-red);
  color: #ffffff !important;
  font-family: var(--rm-font-sans);
  font-size: 18px;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(255, 71, 66, 0.25);
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}

.rm-btn:hover {
  background-color: var(--rm-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 71, 66, 0.35);
}

/* Social proof stats strip */
.rm-proof {
  font-family: var(--rm-font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--rm-text-muted);
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rm-proof strong {
  color: var(--rm-text);
}

.rm-proof .dot {
  color: #bbb;
}

/* Product preview visual */
.rm-hero__image {
  margin-top: 36px;
  border: 1px solid var(--rm-border);
  border-radius: 6px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.rm-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* 4. Content Boxes (Classic Readmake `.box` style) */
.rm-box {
  background-color: #ffffff;
  border: 1px solid var(--rm-border);
  border-radius: 6px;
  padding: 26px 30px;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.rm-box h3 {
  font-size: 21px;
  margin: 0 0 10px;
  font-weight: 800;
}

.rm-box p {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.rm-step-badge {
  display: inline-block;
  font-family: var(--rm-font-sans);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Section Dividers & Headers */
.rm-section {
  padding: 45px 0 25px;
}

.rm-section__header {
  margin-bottom: 24px;
}

.rm-section__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.rm-section__sub {
  font-size: 19px;
  color: var(--rm-text-muted);
  margin: 0;
}

/* Layout Container Wide */
.rm-container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Standout Flowchart Board (Unboxed) */
.rm-flow-board {
  padding: 10px 0 20px;
  margin: 10px 0;
}

/* Standout Visual SVG Flowchart */
.rm-flow-svg-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0 4px;
}

.rm-flow-svg {
  display: block;
  width: 100%;
  max-width: 1040px;
  min-width: 820px;
  height: auto;
  margin: 0 auto;
}

.flow-node {
  cursor: default;
}

.rm-flow-col {
  flex: 1;
  background: #fafafa;
  border: 1px solid var(--rm-border);
  border-radius: 6px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.rm-flow-col:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.rm-flow-col__step {
  font-family: var(--rm-font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.rm-flow-col__title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
}

.rm-flow-col__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--rm-text-muted);
  margin: 0;
}

/* Central Decision Card (Step 3) - Specially Highlighted */
.rm-flow-col--decision {
  flex: 1.35;
  background: #fff8f8;
  border: 2px solid #ffd1cf;
  box-shadow: 0 4px 14px rgba(255, 71, 66, 0.08);
}

.rm-flow-col--decision .rm-flow-col__step {
  color: var(--rm-red);
}

.rm-flow-col--decision .rm-flow-col__title {
  color: var(--rm-red);
}

.rm-mini-criteria {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rm-mini-criteria li {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rm-mini-criteria li span.chk {
  color: var(--rm-red);
  font-size: 13px;
  line-height: 1;
}

.rm-mini-outcomes {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #fecaca;
  font-family: var(--rm-font-sans);
  font-size: 11px;
  font-weight: 800;
}

.rm-mini-outcomes .no {
  color: #dc2626;
  background: #fee2e2;
  padding: 4px 6px;
  border-radius: 4px;
}

.rm-mini-outcomes .yes {
  color: #166534;
  background: #dcfce7;
  padding: 4px 6px;
  border-radius: 4px;
}

/* Step 5 Release Column - Dark Finish */
.rm-flow-col--final {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #ffffff;
}

.rm-flow-col--final .rm-flow-col__step {
  color: #38bdf8;
}

.rm-flow-col--final .rm-flow-col__title {
  color: #ffffff;
}

.rm-flow-col--final .rm-flow-col__desc {
  color: #cbd5e1;
}

/* Horizontal Arrow Separator */
.rm-flow-arrow-h {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rm-font-sans);
  font-size: 20px;
  font-weight: 900;
  color: var(--rm-red);
  padding: 0 2px;
  user-select: none;
}

/* Revision Loop Banner Below Flowchart */
.rm-flow-loop-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 18px;
  background: #fff5f5;
  border: 1.5px dashed #fca5a5;
  border-radius: 6px;
  color: #991b1b;
  font-family: var(--rm-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
}

.rm-flow-loop-bar span.icon {
  font-size: 18px;
  color: #dc2626;
}

/* Mobile responsive adjustments */
.rm-flow-tester-mobile {
  display: none;
}

@media screen and (max-width: 860px) {
  .rm-flow-tester-mobile {
    display: block;
    margin-top: 18px;
    padding: 16px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
  }
}

@media screen and (max-width: 900px) {
  .rm-flow-track {
    flex-direction: column;
    gap: 8px;
  }

  .rm-flow-arrow-h {
    transform: rotate(90deg);
    padding: 6px 0;
  }
}

/* 5. Reviews Section (2-Column Grid of Real Amazon Reviews) */
.rm-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media screen and (max-width: 860px) {
  .rm-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.rm-review-card {
  background: #ffffff;
  border: 1px solid var(--rm-border);
  border-radius: 8px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}

.rm-review-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.rm-review-card--more {
  display: none;
}

.rm-reviews-grid.is-expanded .rm-review-card--more {
  display: flex;
  animation: rmFadeIn 0.25s ease;
}

@keyframes rmFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rm-review-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed #f1f5f9;
  display: flex;
  justify-content: flex-end;
}

.rm-review-amazon {
  font-family: var(--rm-font-sans);
  font-size: 11.5px;
  font-weight: 800;
  color: #ea580c;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.rm-review-card:hover .rm-review-amazon {
  color: var(--rm-red);
}

.rm-reviews-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.rm-btn--secondary {
  background-color: #ffffff;
  color: #1e293b !important;
  border: 1px solid var(--rm-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.rm-btn--secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rm-review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.rm-review-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rm-review-author {
  font-family: var(--rm-font-sans);
  font-weight: 800;
  font-size: 15.5px;
  color: #0f172a;
}

.rm-review-badge {
  font-family: var(--rm-font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 4px;
}

.rm-review-stars {
  color: #f59e0b;
  font-size: 14.5px;
  letter-spacing: 2px;
  font-family: var(--rm-font-sans);
}

.rm-review-subinfo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--rm-font-sans);
  font-size: 12px;
  color: var(--rm-text-muted);
  margin-bottom: 12px;
}

.rm-review-product {
  background: #f1f5f9;
  color: #334155;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.rm-review-date {
  color: #94a3b8;
}

.rm-review-headline {
  font-family: var(--rm-font-sans);
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.rm-review-quote {
  font-family: var(--rm-font-serif);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  color: #334155;
  flex-grow: 1;
}

/* 6. Simple Footer */
.rm-footer {
  border-top: 1px solid var(--rm-border);
  background: #ffffff;
  padding: 40px 0 50px;
  margin-top: 60px;
  font-family: var(--rm-font-sans);
  font-size: 15px;
  color: var(--rm-text-muted);
}

.rm-footer .rm-container {
  max-width: 920px;
}

.rm-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.rm-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.rm-footer__logo {
  display: inline-block;
  line-height: 1;
}

.rm-footer__logo img {
  height: 24px;
  width: auto;
  display: block;
}

.rm-footer__copy {
  font-size: 13.5px;
  color: var(--rm-text-muted);
}

.rm-footer__links {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 700;
}

.rm-footer__links a {
  color: var(--rm-text);
}

.rm-footer__links a:hover {
  color: var(--rm-red);
}

@media screen and (max-width: 768px) {
  .rm-footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .rm-footer__brand {
    align-items: center;
  }

  .rm-footer__links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }
}

/* Mobile responsive */
@media screen and (max-width: 650px) {
  .rm-hero__title {
    font-size: 34px;
  }
  
  .rm-hero__sub {
    font-size: 18px;
  }

  .rm-decision-paths {
    grid-template-columns: 1fr;
  }

  .rm-header__nav {
    display: none;
  }

  .rm-box {
    padding: 20px;
  }

  .rm-decision-box {
    padding: 20px;
  }
}

/* ==========================================================================
   About Page & Key Facts Table Styles (Optimized for AI & Human Readability)
   ========================================================================== */
.rm-about-section {
  margin-bottom: 40px;
}

.rm-about-section h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 40px 0 18px;
  color: #0f172a;
  position: relative;
}

.rm-about-section h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 24px 0 8px;
  color: #1e293b;
}

.rm-about-section p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.65;
  color: #334155;
}

.rm-about-section ul {
  margin: 14px 0 24px;
  padding-left: 24px;
}

.rm-about-section li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: #334155;
}

.rm-about-lead {
  font-family: var(--rm-font-serif);
  font-size: 22px;
  line-height: 1.6;
  color: #0f172a;
  background: #ffffff;
  border-left: 4px solid var(--rm-red);
  padding: 18px 24px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin: 24px 0 36px;
}

.rm-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 32px;
  border: 1px solid var(--rm-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.rm-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--rm-font-sans);
  font-size: 15px;
  text-align: left;
}

.rm-table th,
.rm-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rm-border);
  vertical-align: middle;
}

.rm-table tr:last-child th,
.rm-table tr:last-child td {
  border-bottom: none;
}

.rm-table th {
  background: #f8fafc;
  font-weight: 800;
  color: #334155;
  width: 28%;
  white-space: nowrap;
}

.rm-table td {
  color: #1e293b;
  font-weight: 600;
}

.rm-table tr:hover td {
  background-color: #fafaf9;
}

