/* RowBolt Public Website — styles.css */
:root {
  --navy-dark: #131921;
  --navy-mid: #232F3E;
  --navy-border: #37475A;
  --gold: #FFD814;
  --gold-hover: #E6C200;
  --gold-border: #E0B800;
  --orange: #FF9900;
  --orange-hover: #E88B00;
  --bg-page: #F3F3F3;
  --bg-band: #EAEDED;
  --bg-white: #FFFFFF;
  --text-main: #1B1F23;
  --text-muted: #5C636A;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #D5DBDB;
  --border-light: #D5D9D9;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(19, 25, 33, 0.08);
  --shadow-md: 0 4px 12px rgba(19, 25, 33, 0.08);
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
}

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

a {
  color: #1F4E79;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #8A4B00;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--text-main);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.site-header {
  background-color: var(--navy-dark);
  color: var(--text-on-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--navy-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text-on-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-on-dark);
  text-decoration: underline;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--text-main);
  border-color: var(--gold-border);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  color: var(--text-main);
}

.btn-secondary {
  background-color: var(--orange);
  color: var(--text-main);
  border-color: var(--orange);
}

.btn-secondary:hover {
  background-color: var(--orange-hover);
  color: var(--text-main);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--text-on-dark);
  border-color: #8D9096;
}

.btn-outline-dark:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  border-color: var(--text-on-dark);
}

.btn-outline-light {
  background-color: var(--bg-white);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-outline-light:hover {
  background-color: var(--bg-band);
  color: var(--text-main);
}

.btn-lg {
  padding: 13px 22px;
  font-size: 1rem;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--navy-mid);
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  padding: 10px 0;
  text-align: center;
}

.trust-bar p {
  margin: 0;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-white {
  background-color: var(--bg-white);
}

.section-band {
  background-color: var(--bg-band);
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 1.85rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Hero */
.hero {
  background-color: var(--bg-white);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.hero-sub {
  margin: 0 0 24px;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--orange);
  flex-shrink: 0;
}

/* Mockup Illustration */
.mockup-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #CBD0D0;
}

.mockup-workspace {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 12px;
}

.mockup-sheet {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.78rem;
}

.mockup-sheet-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  border-bottom: 1px solid var(--bg-band);
}

.mockup-sheet-row:last-child {
  border-bottom: none;
}

.mockup-sheet-row span {
  padding: 7px 8px;
  border-right: 1px solid var(--bg-band);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-sheet-row span:last-child {
  border-right: none;
}

.mockup-sheet-head {
  background-color: var(--bg-band);
  font-weight: 700;
  color: var(--text-main);
}

.mockup-sidebar {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-sidebar-head {
  background-color: var(--navy-dark);
  color: var(--text-on-dark);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-badge-orange {
  background-color: var(--orange);
  color: var(--text-main);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.mockup-field {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-field strong {
  color: var(--text-main);
}

.mockup-btn {
  background-color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.mockup-zip {
  margin-top: 12px;
  background-color: var(--navy-mid);
  color: var(--text-on-dark);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
}

.mockup-zip code {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.card p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

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

.card li:last-child {
  margin-bottom: 0;
}

.mode-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: var(--navy-mid);
  color: var(--text-on-dark);
  margin-bottom: 12px;
}

/* Steps */
.steps-block {
  margin-top: 40px;
}

.steps-title {
  margin: 0 0 20px;
  font-size: 1.35rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--navy-dark);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* Privacy Diagram & Table */
.diagram-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}

.diagram-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.diagram-node {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.diagram-node strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.diagram-node span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.diagram-arrow {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-mid);
  padding: 4px 8px;
}

.table-wrap {
  overflow-x: auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bg-band);
  vertical-align: top;
}

th {
  background-color: var(--navy-mid);
  color: var(--text-on-dark);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

code {
  background-color: var(--bg-page);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-md);
}

.deal-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--orange);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-figure {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 8px 0 4px;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-cta {
  margin-top: 22px;
}

.pricing-cta .btn {
  width: 100%;
}

.pricing-note {
  margin-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-mid);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
}

.faq-answer p {
  margin: 0;
}

/* Legal Pages */
.legal-main {
  padding: 48px 0 64px;
}

.legal-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.2;
}

.legal-meta {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bg-band);
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
}

.legal-card p,
.legal-card ul {
  margin: 0 0 14px;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card li {
  margin-bottom: 6px;
}

/* Footer */
.site-footer {
  background-color: var(--navy-dark);
  color: var(--text-on-dark-muted);
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--navy-border);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-on-dark);
  text-decoration: underline;
}

.footer-legal p {
  margin: 0 0 6px;
  color: #AAB7B8;
  font-size: 0.85rem;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}


.privacy-policy-note {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

td:first-child {
  white-space: nowrap;
  width: 1%;
}

td code {
  white-space: nowrap;
  word-break: normal;
}

code {
  white-space: nowrap;
}

.mockup-zip {
  flex-wrap: wrap;
}

/* Mobile nav (checkbox, no JS). display:contents lets the toggle
   stay on the first header row while the opened links wrap below. */
.nav-menu {
  margin: 0;
  display: contents;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-menu-toggle {
  display: none;
  cursor: pointer;
  color: var(--text-on-dark);
  border: 1px solid #8D9096;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
}

.nav-menu-toggle:hover {
  border-color: var(--text-on-dark);
  background-color: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .diagram-flow {
    grid-template-columns: 1fr;
  }

  .diagram-arrow {
    transform: rotate(90deg);
    font-size: 1.85rem;
    padding: 8px 0;
  }
}

@media (max-width: 720px) {
  .grid-2,
  .mockup-workspace {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    padding: 10px 0 8px;
  }

  .nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    order: 2;
  }

  .nav-actions {
    order: 2;
  }

  .nav-menu nav,
  .nav-menu .nav-links {
    display: none;
  }

  .nav-toggle:checked ~ nav {
    display: block;
    flex-basis: 100%;
    width: 100%;
    order: 3;
  }

  .nav-toggle:checked ~ nav .nav-links {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 12px 16px;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--navy-border);
  }

  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .trust-bar {
    font-size: 0.82rem;
  }

  .legal-card {
    padding: 24px 18px;
  }

  .section {
    padding: 44px 0;
  }

  table {
    font-size: 0.9rem;
    border: 0;
  }

  table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  table tbody,
  table tr,
  table td {
    display: block;
    width: 100%;
  }

  table tr {
    padding: 14px 0 8px;
    border-bottom: 1px solid var(--bg-band);
  }

  table tr:last-child {
    padding-bottom: 8px;
  }

  table td {
    border: none;
    padding: 6px 16px 10px;
    white-space: normal;
  }

  table td:first-child {
    width: 100%;
    white-space: nowrap;
  }

  table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--navy-mid);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
  }
}

@media (max-width: 400px) {
  .hero {
    padding: 36px 0 44px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .price-figure {
    font-size: 1.9rem;
  }
}
