/*****************************************/
/* TB edits for GateScope */
/* styles.css */
/*****************************************/
/* chatGPT initially produced */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    'Inter',                         /* your primary text font */
    system-ui, -apple-system,        /* platform UI fonts */
    'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Apple Color Emoji',             /* macOS/iOS color emoji */
    'Segoe UI Emoji', 'Segoe UI Symbol', /* Windows emoji */
    'Noto Color Emoji',              /* Linux/Android emoji */
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}


.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: #111;
  color: #fff;
  padding: 1rem 0;
}

.site-header .logo {
  font-weight: 700;
  font-size: 1.5rem;
}

/* GateScope logo link style */
.logo-link {
  color: #fff;           /* always white */
  text-decoration: none; /* no underline */
}

.logo-link:hover,
.logo-link:focus,
.logo-link:active {
  color: #fff;           /* stays white even on hover/click */
  text-decoration: none; /* no underline ever */
}


.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

/* Hover color for non-CTA/ghost links */
.nav a:hover {
  color: #ff4081;
}

/* Active link highlight */
.nav a.active {
  color: #ff4081; /* Accent color */
  font-weight: 600;
  border-bottom: 2px solid #ff4081;
}

.nav .btn.login {
  background: #ff4081; /* tb changed from orange to a bright pink */
  border: none;
  padding: 0.5rem 1rem;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
}

/* CTA + Ghost buttons in the nav */
.nav a.cta {
  background: #ff4081;
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(255, 64, 129, 0.35);
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav a.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 64, 129, 0.45);
}

.nav a.cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255, 64, 129, 0.35);
}

.nav a.cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 64, 129, 0.35), 0 8px 22px rgba(255, 64, 129, 0.35);
}

/* keep the CTA looking the same when 'active' so it doesn't change color */
.nav a.cta.active {
  color: #fff;
  border-color: transparent;
}

/* Ghost (subtle) style for Login */
.nav a.ghost {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  background: transparent;
  font-weight: 600;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav a.ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

.nav a.ghost.active {
  border-color: #ff4081;
  color: #ff4081;
  background: rgba(255, 64, 129, 0.1);
}

/* Mobile: make the CTA full-width and centered for extra emphasis */
@media (max-width: 768px) {
  .nav a.cta, .nav a.ghost {
    width: 100%;
    text-align: center;
  }
}



/* Hero Section */
.hero {
  background: #f4f4f4;
  text-align: center; /* centers heading, bullets, and buttons */
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Hero tweaks */
.hero .hero-points {
  max-width: 800px;
  margin: 1rem auto 1.75rem;
  text-align: left;
  padding: 0;
  display: inline-block; /* centers the list as a block */
  list-style: none; /* removes default black bullets */
}
.hero .hero-points li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
.hero .hero-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.2;
  font-weight: 700;
  /* reuse your accent color */
  color: #ff4081;
}

.hero .hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* “Ghost” button to pair with your .btn.primary */
.btn.ghost {
  background: transparent;
  color: #111;
  border: 1px solid #ccc;
  padding: 0.7rem 1.25rem;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn.ghost:hover {
  border-color: #ff4081;
  color: #ff4081;
  background: rgba(255, 64, 129, 0.06);
}

/* On dark hero backgrounds, keep ghost readable (optional) */
/* .hero .btn.ghost { color:#fff; border-color:rgba(255,255,255,.35); } */


.btn.primary {
  background: #ff4081; /* tb changed from orange to a bright pink */
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

/* Features Section */
.features {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.feature-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-item {
  flex: 1 1 300px; /* Grow, shrink, minimum width */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  background-color: #fff;
  min-height: 350px; /* Ensures uniformity on shorter screens */
}

.feature-item h3 {
  margin-top: 0;
}


/* Price list inside feature cards */
.price-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  text-align: left;
}
.price-list li {
  padding: 0.15rem 0;
  border-bottom: 1px dashed #eee;
}

/* Standalone price styling */
.price {
  font-weight: 600;
  color: #ff4081;
  margin: 0.75rem 0 1.25rem;
}

.feature-item button {
  align-self: center;
}

/* About Section */
.about {
  background: #f9f9f9;
  padding: 4rem 1rem;
  text-align: center;
}

/* Contact Section */
.contact {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center; /* added */
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: grid;
  gap: 1rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Footer */
.footer {
  background: #222;
  color: #ccc;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-contact {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #ccc;
}
.footer-contact .footer-link {
  color: inherit;
  text-decoration: none;
}
.footer-contact .footer-link:hover {
  text-decoration: underline;
}
.footer-contact .hours {
  margin-left: .5rem;
  color: #9aa0a6;
  white-space: nowrap;
}

/* Optional: show a mobile-only “Call” button in the footer */
@media (max-width: 767px) {
  .footer-call-cta { display: block; margin-top: .5rem; }
}
@media (min-width: 768px) {
  .footer-call-cta { display: none; }
}


.social-icons a {
  display: inline-block;
  margin: 0 0.5rem;
  color: #fff; /* TB added later => Default color #333 */
}

.social-icons a:hover {
  color: #ff4081;  /* Pink hover color */
}

.social-icons img {
  width: 24px;
  height: 24px;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

/* Additional for hamburger menu */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile nav toggle */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #111;
    width: 100%;
    padding: 1rem;
  }

  .nav.active {
    display: flex;
  }

  .nav a,
  .nav .btn.login {
    padding: 0.5rem 0;
  }
}

/* underline styles */
.solid-underline {
  text-decoration: underline;
}

.dotted-underline {
  text-decoration: underline dotted;
}

.wavy-underline {
  text-decoration: underline wavy #ff4081;
}

.double-underline {
  text-decoration: underline double;
}

.thick-underline {
  text-decoration: underline;
  text-decoration-thickness: 4px;
}

.colored-underline {
  text-decoration: underline;
  text-decoration-color: #ff4081;  
}

/* --- Auth pages --- */
.auth-wrap {
  min-height: calc(100vh - 120px); /* header+footer fudge */
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: #f8f8f8;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  padding: 2rem;
}

.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.input, .auth-card input[type="email"], .auth-card input[type="password"] {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-actions {
  margin-top: 1rem;
}

.btn.block {
  display: inline-block;
  width: 100%;
}

.auth-meta {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.flash.success { background: #e7f7ee; color: #11643a; }
.flash.info    { background: #eaf3ff; color: #0b4a91; }
.flash.warning { background: #fff7e6; color: #7a4d00; }
.flash.danger  { background: #ffecec; color: #8a1f1f; }

/* Ribbon for Most Popular */
/* Glow effect for Most Popular card */
.feature-item.popular {
  border: 2px solid #ff4081; /* solid pink border */
  box-shadow: 0 0 15px rgba(255, 64, 129, 0.4); /* pink glow */
  position: relative; /* keeps ribbon positioning intact */
  z-index: 1;
  padding-top: 2.5rem; /* extra space so text clears the ribbon */
}

.feature-item.popular:hover {
  box-shadow: 0 0 20px rgba(255, 64, 129, 0.6);
  transform: translateY(-3px);
  transition: all 0.2s ease;
}


/* Adjusted Ribbon Position & Inset */
.ribbon {
  position: absolute;
  top: 25px; /* more space below heading */
  right: -20px; /* was -30px, brings it closer to card */
  transform: rotate(45deg);
  background: #ff4081;
  color: white;
  padding: 5px 35px; /* slightly shorter to match inset */
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2; /* keep above other content */
}

/* Bigger CTA Button for Popular Card */
.feature-item.popular .btn.primary {
  font-size: 1.1rem;
  padding: 0.9rem 1.6rem;
  background-color: #ff4081;
  box-shadow: 0 4px 10px rgba(255, 64, 129, 0.4);
}

.feature-item.popular .btn.primary:hover {
  background-color: #e03570;
}

/* Give the section title a bit more room above the cards */
.features h2 {
  margin-bottom: 1.25rem;
}

/* Fine-tune ribbon + padding on smaller screens */
@media (max-width: 640px) {
  .feature-item.popular {
    padding-top: 2.75rem; /* a touch more to clear ribbon */
  }
  .ribbon {
    top: -10px;          /* lift it slightly */
    right: -12px;        /* tuck it in a bit more */
    padding: 4px 26px;   /* scale down the ribbon */
  }
}


  /* Prices: neutral black, bold, centered (matches dashboard) */
  .features .price-lead {
    text-align: center;
    color: #111;
    font-weight: 700;
    font-size: 1.25rem;
    margin: .25rem 0 1rem;
  }
  .features .price-hero {
    text-align: center;
    color: #111;
    font-weight: 700;
    font-size: 1.35rem;
    margin: .5rem 0 1.25rem;
    
  }
  .features .per-note {
    font-weight: 600;
    opacity: .85;
    margin-left: .15rem;
  }

  /* Make the tier list match the dashboard look */
  .features .price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    border-top: 1px dashed #eee;
  }
  .features .price-list li {
    display: flex;
    justify-content: space-between;
    padding: .6rem 0;
    border-bottom: 1px dashed #eee;
  }

.flash-wrap { margin: 12px auto; max-width: 960px; padding: 0 16px; }
.flash { padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; font-weight: 600; }
.flash-info    { background:#e8f3ff; color:#084c8a; }
.flash-success { background:#e8f7ef; color:#0f6b3e; }
.flash-warning { background:#fff6e6; color:#8a5608; }
.flash-danger  { background:#ffe9e9; color:#8a1212; }




/* Make <a> and <button> render exactly the same */
/* Base button: inline size by default */
a.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 1.25rem;     /* horizontal padding */
  border-radius: 12px;
  box-sizing: border-box;
  text-decoration: none;
  font: inherit;
  line-height: 1;
}

/* Full-width helper (use where you actually want 100%) */
.btn.block { width: 100%; }

/* Make the hero CTAs a comfortable width and consistent height */
.hero .hero-ctas .btn { 
  width: auto; 
  min-width: 200px;       /* tweak to taste (e.g., 160–220px) */
  height: 52px;           /* match base height for anchors & buttons */
}


/* Your color variant */
.btn.primary {
/*  background: #e25379;*/
/*  #ff4081 */
  background: #ff4081;
  color: #fff;
}

/* Hover/focus states (optional) */
.btn.primary:hover { background: #d3456b; }
.btn.primary:focus { outline: 2px solid rgba(226,83,121,.35); outline-offset: 2px; }

/* Remove UA quirks on real <button> */
button.btn {
  border: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* Make sure the form wrapper doesn't shrink the button */
.card-cta form { width: 100%; margin: 0; }

/* Orders table layout */
.orders-table {
  width: 100%;
  table-layout: fixed;          /* keeps columns consistent */
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 5px 16px;
  text-align: center;           /* center everything by default */
  vertical-align: top;          /* match your previous align-top */
}

.orders-table thead th {
  background: #f7f7fb;
  font-weight: 600;
}

.orders-table tr + tr {
  border-top: 1px solid #e6e6ee;
}

/* Column widths (tweak as you like) */


/* --- Orders table: tighter desktop widths (no horizontal scroll) --- */
@media (min-width: 761px){
  /* slightly tighter padding to save a few pixels overall */
  .orders-table th,
  .orders-table td { padding: 8px 12px; }

  /* fixed layout + mostly fixed columns, leave Categories flexible */
  .orders-table { table-layout: fixed; }

  .orders-table th:nth-child(1){ width: 5.5rem; } /* Order #  */
  .orders-table th:nth-child(2){ width: 18rem; }  /* Product   */
  .orders-table th:nth-child(3){ width: 7rem; }   /* Amount    */
  .orders-table th:nth-child(4){ width: 7rem; }   /* Status    */
  .orders-table th:nth-child(5){ width: 9rem; }   /* Files     */

  /* Let Categories take whatever space is left */
  .orders-table th:nth-child(6){ width: auto !important; }

  .orders-table th:nth-child(7){ width: 8rem; }   /* Action    */
}


/* Stack helper (centers multiple lines/links/labels) */
.orders-table .stack {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: center;
}

/* Make a dash easy to center */
.orders-table .dash {
  display: inline-block;
  min-width: 1ch;
}

/* Wrap gives desktop horizontal-scroll fallback */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #e6e6ee;
  border-radius: 12px;
}

/* Optional: subtle scrollbar */
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-thumb { background: #ddd; border-radius: 8px; }

/* Make long labels/links wrap nicely */
.orders-table td, .orders-table th { word-break: break-word; }

/* ----- Mobile “card” layout ----- */
@media (max-width: 760px) {

  /* remove the desktop header */
  .orders-table thead { display: none; }

  /* spacing between “cards” */
  .orders-table { border-collapse: separate; border-spacing: 0 12px; }

  /* each row becomes a card */
  .orders-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* two columns on phones */
    gap: 8px 12px;
    padding: 12px;
    border: 1px solid #e6e6ee;
    border-radius: 12px;
    background: #fff;
  }

  /* cells are left-aligned in card layout */
  .orders-table td {
    text-align: left;
    padding: 2px 0;
  }

  /* show the column label before each value */
  .orders-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280; /* gray-600 */
    margin-bottom: 2px;
  }

  /* make the top row items span full width for a nice hierarchy */
  .orders-table td[data-label="Order #"],
  .orders-table td[data-label="Product"],
  .orders-table td[data-label="Files"] {
    grid-column: 1 / -1;
  }

  /* stacks (download links, category labels) align left on mobile */
  .orders-table .stack { align-items: flex-start; }

  /* status chip fits the card look */
  .status { font-size: 12px; padding: 3px 8px; border-radius: 999px; font-weight: 600; color: #fff; }
}
/* --- Orders: status badges (desktop + mobile) --- */
.orders-table .status{
  display:inline-block;
  padding:.25rem .5rem;
  border-radius:9999px;
  font-weight:600;
  font-size:.85rem;
  line-height:1;
  background:#eee;
  color:#111;
  /* In the stacked layout each td is a grid; make sure the badge sits
     in the value column next to the label. */
  justify-self:start;
}

/* Variants */
.orders-table .status-created    { background:#fff6e6; color:#7a4d00; }  /* Created */
.orders-table .status-paid       { background:#e8f7ef; color:#0f6b3e; }  /* Paid */
.orders-table .status-processing { background:#eaf3ff; color:#0b4a91; }  /* Processing */
.orders-table .status-ready      { background:#e8f7ef; color:#0f6b3e; }  /* Completed */
.orders-table .status-failed     { background:#ffe9e9; color:#8a1212; }  /* Failed */

@media (max-width: 740px){
  /* tiny nudge so the pill never wraps weirdly on small cards */
  .orders-table .status{ margin-top:2px; }
}


/* ---------------- Files table (desktop + mobile) ---------------- */

.files-table{
  width:100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.files-table th,
.files-table td{
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;      /* long filenames wrap nicely */
}

.files-table thead th{
  background:#f7f7fb;
  font-weight:600;
}

/* tighter, scroll-free desktop sizing */
@media (min-width:761px){
  .files-table { table-layout: fixed; }

  /* Let “File” breathe; fix the others so there’s no horizontal scroll */
  .files-table th:nth-child(1){ width:auto !important; } /* File (flex) */
  .files-table th:nth-child(2){ width:11rem; }           /* Created */
  .files-table th:nth-child(3){ width:7rem; }            /* Order   */
  .files-table th:nth-child(4){ width:7rem; }            /* Action  */

  /* keep date from breaking awkwardly if you prefer */
  .files-table .nowrap { white-space: nowrap; }
}

/* Mobile: turn rows into 2-col cards with labels */
@media (max-width:760px){

  .files-table thead{ display:none; }

  .files-table{
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .files-table tbody tr{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding:12px;
    border:1px solid #e6e6ee;
    border-radius:12px;
    background:#fff;
  }

  .files-table td{
    padding:2px 0;
    text-align:left;
  }

  .files-table td::before{
    content: attr(data-label);
    display:block;
    font-size:12px;
    font-weight:600;
    color:#6b7280;
    margin-bottom:2px;
  }

  /* Make “File” span full width; keep others in two columns */
  .files-table td[data-label="File"]{ grid-column:1 / -1; }

  /* If you’d like Action to span full width too, uncomment: */
  /* .files-table td[data-label="Action"]{ grid-column:1 / -1; } */
}


/* Hide honeypot input for bots-only */
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;}


/* Show on mobile, hide on ≥768px */
.mobile-only { display: block; }
.desktop-only { display: none; }

@media (min-width: 768px) {
  .mobile-only { display: none !important; }
  .desktop-only { display: block !important; }
}

/* ---------- About page (scoped) ---------- */
.about-page { max-width: 900px; margin: 0 auto; padding: 3rem 1rem; }
.about-hero { margin-bottom: 2rem; text-align: left; }
.about-hero h1 { font-size: 2.2rem; margin: 0 0 .5rem; }
.about-hero p { font-size: 1.05rem; max-width: 52ch; line-height: 1.6; }
.about-cta { margin-top: 1rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* sections */
.about-section { margin-top: 1.75rem; }
.about-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 .75rem; }

/* cards */
.about-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 800px) { .about-cards { grid-template-columns: repeat(3, 1fr); } }
.about-card { background: #fff; border: 1px solid #e6e6ee; border-radius: 16px; padding: 1rem; }
.about-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }

/* lists */
.about-bullets { list-style: disc; padding-left: 1.2rem; margin: .25rem 0 0; }
.about-bullets li { margin: .35rem 0; }

/* legal note */
.about-legal { margin-top: 2rem; font-size: .85rem; color: #666; }

/* Disabled CTA look/feel */
.btn.disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none; /* prevents clicks on <a> styled as buttons */
}

/* Taller form controls that play nice with selects */
.input-lg { height: 48px; }

select.input-lg {
  padding-top: 0;
  padding-bottom: 0;   /* vertical padding on <select> causes clipping */
  line-height: 48px;   /* helps center text on some engines */
}

/* Optional: keep text inputs aligned with the same height */
input.input-lg { padding-top: .6rem; padding-bottom: .6rem; }

/* Optional: match the Apply button's height */
button.input-lg, a.btn.input-lg { height: 48px; }

/* ===== ETA pill (base) ===== */
.eta-wrap { display: flex; justify-content: center; }

.eta-pill{
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .26rem .55rem;
  font-size: .78rem; line-height: 1;
  background: #f6f7f9; border: 1px solid #ececec; border-radius: 9999px;
  color: #444; white-space: nowrap;
  margin: 0;                     /* spacing handled per card below */
}
@media (max-width:480px){
  .eta-pill{ font-size: .74rem; padding: .24rem .5rem; }
}

/* ===== Feature cards layout ===== */
.features .feature-item{
  display: flex; flex-direction: column; justify-content: flex-start;
}
/* prevent content from stretching; only CTA sits at bottom */
.features .feature-item p,
.features .feature-item .eta-wrap { flex: 0 0 auto !important; }
.features .feature-item .card-cta{
  margin-top: auto; display: flex; justify-content: center;
}

/* ===== Spacing inside feature cards ===== */
.features .feature-item .price-hero,
.features .feature-item .price-lead { margin: .5rem 0 .25rem; }

.features .feature-item .eta-pill { margin: .12rem auto .85rem; }

/* Optional: slightly tighter on the Pre-Defined List card only */
.predef-card .eta-pill { margin: .08rem auto .8rem; }


/* --- Status chip --- */
.status-chip{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.25rem .6rem; border-radius:9999px;
  font-weight:600; font-size:.85rem; line-height:1;
}
.status--created, .status--paid { background:#fff6e6; color:#7a4d00; }
.status--processing            { background:#eaf3ff; color:#0b4a91; }
.status--ready                 { background:#e8f7ef; color:#0f6b3e; }
.status--failed                { background:#ffe9e9; color:#8a1212; }

/* --- ETA hint --- */
.eta-hint{ margin:.5rem 0 .25rem; font-size:.9rem; color:#374151; }

/* --- Stepper (no exact %s) --- */
.scan-steps{
  display:flex; gap:10px; margin:.5rem 0 0; padding:0; list-style:none;
}
.scan-steps li{
  flex:1; position:relative; text-align:center; color:#6b7280; font-size:.8rem;
}
.scan-steps li::before{
  content: attr(data-step);
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:22px; border-radius:9999px;
  border:2px solid #d1d5db; background:#fff; margin-bottom:6px; font-weight:700;
}
.scan-steps li:not(:last-child)::after{
  content:""; position:absolute; top:11px; left:50%; width:100%; height:2px; background:#e5e7eb; z-index:-1;
}
.scan-steps li.is-complete{ color:#0f6b3e; }
.scan-steps li.is-complete::before{ content:"✓"; background:#0f6b3e; color:#fff; border-color:#0f6b3e; }
.scan-steps li.is-current{ color:#0b4a91; }
.scan-steps li.is-current::before{ border-color:#0b4a91; }

.scan-steps.is-done {
  opacity: 0;
  transition: opacity .25s ease;
}

/* Microcopy helpers */
.microcopy { color:#6b7280; font-size:.92rem; line-height:1.4; }
.microcopy strong { color:#374151; }
.help-minor { color:#9aa0a6; font-size:.85rem; }

/* ----- Pricing page: prevent bullets from clipping on phones ----- */
.pricing-page ul,
.pricing-page ol {
  list-style: none;             /* keep normal bullets */
  list-style-position: outside; /* markers outside the text box */
  padding-left: 1.25rem;        /* room for the marker */
  margin-left: 0;               /* no extra margin needed */
}

@media (max-width: 640px) {
  .pricing-page ul,
  .pricing-page ol {
    padding-left: 1.35rem;      /* tiny extra cushion on small screens */
  }
}

html { scroll-behavior: smooth; }
.emoji { margin-left:.4rem }
@media (max-width:480px){ .emoji { display:none } }
.inline-link { text-decoration: underline; font-weight: 500; }
.inline-link:hover { text-decoration: none; }

/* ----- Pricing page: prevent bullets from clipping on phones ----- */
.pricing-page ul,
.pricing-page ol {
  list-style: none;             /* keep normal bullets */
  list-style-position: outside; /* markers outside the text box */
  padding-left: 1.25rem;        /* room for the marker */
  margin-left: 0;               /* no extra margin needed */
}

@media (max-width: 640px) {
  .pricing-page ul,
  .pricing-page ol {
    padding-left: 1.35rem;      /* tiny extra cushion on small screens */
  }
}

html { scroll-behavior: smooth; }
.emoji { margin-left:.4rem }
@media (max-width:480px){ .emoji { display:none } }
.inline-link { text-decoration: underline; font-weight: 500; }
.inline-link:hover { text-decoration: none; }

.table { width:100%; border-collapse:collapse }
.table th, .table td { padding:.75rem .75rem; border-bottom:1px solid #eee; text-align:left; vertical-align:middle }
.table th { font-weight:600; color:#444; background:#fafafa }
.num { text-align:right }
.nowrap { white-space:nowrap }         /* keep dates/amounts on one line */
.truncate { max-width:28rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
/* Only break long machine strings where needed (not for dates) */
td.breakall { word-break:break-all }

/* Center the whole list within the card */
.feature-item { text-align: center; }           /* your cards already do this */
.feature-item .price-list{
  list-style: none;
  padding: 0;
  margin: 1rem auto;            /* centers the UL */
  display: inline-block;        /* shrink to content so it can center */
  text-align: left;             /* keep items left-aligned */
  width: max-content;           /* modern, keeps UL as narrow as its content */
}

/* Make each row align nicely: name on the left, price on the right */
.feature-item .price-list li{
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  min-width: 28ch;              /* tune width so all rows align; try 26–32ch */
  padding: .5rem 0;
  border-top: 1px solid #eee;
  font-variant-numeric: tabular-nums; /* aligns the digits vertically */
}
.feature-item .price-list li:last-child{
  border-bottom: 1px solid #eee;
}
/*****************added below for eta pills to align *********************/
/* Make each product card a vertical flex container */
.feature-item{
  display: flex;
  flex-direction: column;
  align-items: center;      /* keeps the pill centered horizontally */
}

/* Push the ETA pill down to the same spot across cards */
.feature-item .eta-wrap{
  margin-top: auto;         /* <-- key line */
}

/* Comfortable gap from pill to CTA button */
.feature-item .card-cta{
  margin-top: 1rem;
}

/* Lock Files + Categories stacks to the same top→bottom order */
.orders-table td[data-label="Files"] .stack,
.orders-table td[data-label="Categories"] .stack {
  display: flex;
  flex-direction: column !important;  /* <- hard lock */
  gap: .25rem;
  align-items: center;                 /* or flex-start on mobile if you prefer */
}

/* How it Works — centered layout */
.howitworks .container {
  text-align: center;
}

.howitworks h2 {
  margin-bottom: .75rem;
}

.howitworks ol {
  display: inline-block;      /* lets us center the block */
  text-align: left;           /* but keep bullets left-aligned */
  margin: 0 auto;             /* center the list itself */
  padding-left: 1.25rem;      /* room for numbers */
  max-width: 800px;           /* comfortable line length */
}

.howitworks .microcopy {
  max-width: 800px;
  margin: .75rem auto 0;
}

@media (max-width: 640px){
  .hero .microcopy{ font-size:.85rem; }
}

html { scroll-behavior: smooth; }

/* Responsive YouTube video wrapper */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
