/* ========================================================================
   OnTheRota marketing site — styles
   Brand: deep teal #0F766E + navy #0B1B2B
   ======================================================================== */

:root {
  --teal:        #0F766E;
  --teal-bright: #14B8A6;
  --teal-deep:   #115E59;
  --teal-tint:   #ECFDF5;

  --navy:        #0B1B2B;
  --navy-2:      #1E2D3F;

  --green:       #22C55E;
  --amber:       #F59E0B;

  --slate-900:   #0F172A;
  --slate-700:   #334155;
  --slate-500:   #64748B;
  --slate-300:   #CBD5E1;
  --slate-200:   #E2E8F0;
  --slate-100:   #F1F5F9;
  --slate-50:    #F8FAFC;

  --white:       #FFFFFF;

  --font-display: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 27, 43, 0.08);
  --shadow-lg: 0 10px 30px rgba(11, 27, 43, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p  { margin: 0 0 14px; color: var(--slate-700); }

a  { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }

em { font-style: normal; color: var(--teal); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.muted { color: var(--slate-500); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ===== TOP NAV ===== */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.topnav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.topnav .brand {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--navy); letter-spacing: -0.02em;
}
.topnav .brand .accent { color: var(--teal); }
.topnav nav { display: flex; gap: 28px; }
.topnav nav a { color: var(--slate-700); font-weight: 500; font-size: 0.95rem; }
.topnav nav a:hover { color: var(--navy); }

@media (max-width: 760px) {
  .topnav nav { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 13px 22px; border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--teal); color: var(--white); border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white);
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--white); color: var(--navy); border-color: var(--slate-300);
}
.btn-secondary:hover {
  border-color: var(--navy); color: var(--navy); transform: translateY(-1px);
}
.btn-ghost-dark {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,0.08); color: var(--white); border-color: var(--white);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== HERO ===== */
.hero {
  padding: 84px 0 72px;
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  text-align: center;
}
.hero h1 { max-width: 820px; margin: 14px auto 24px; }
.hero .lead {
  font-size: 1.18rem; color: var(--slate-700);
  max-width: 680px; margin: 0 auto 32px;
}
.hero .cta-row { justify-content: center; }
.hero .reassure {
  display: flex; flex-wrap: wrap; gap: 22px; justify-content: center;
  margin-top: 28px; font-size: 0.92rem; color: var(--slate-500);
}
.hero .reassure span::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}
.section-tinted {
  background: var(--slate-50);
}
.section-dark {
  background: var(--navy);
  color: var(--slate-200);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-dark .eyebrow {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-bright);
}

.section-header {
  max-width: 720px; margin: 0 auto 56px; text-align: center;
}

/* ===== GRIDS ===== */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ===== HOW IT WORKS STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--teal); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  border-radius: 50%; margin-bottom: 20px;
}
.step h3 { font-size: 1.15rem; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ===== TWO-SIDED VALUE CARDS ===== */
.value-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column;
}
.value-card .tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
  align-self: flex-start;
}
.value-card.hirer .tag { background: var(--navy); color: var(--white); }
.value-card.trade .tag { background: var(--teal-tint); color: var(--teal-deep); }
.value-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.value-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.value-card li {
  position: relative; padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.96rem; color: var(--slate-700);
}
.value-card li:last-child { border-bottom: none; }
.value-card li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--green); font-weight: 800;
}
@media (max-width: 880px) { .value-cards { grid-template-columns: 1fr; } }

/* ===== PRICING TEASER ===== */
.pricing-strip {
  background: linear-gradient(135deg, var(--teal-tint) 0%, var(--white) 100%);
  border: 1px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  align-items: center;
}
.pricing-strip h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pricing-strip .price-line {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  color: var(--navy); margin-bottom: 4px;
}
.pricing-strip .price-line small { font-weight: 500; color: var(--slate-500); font-size: 1rem; }
.pricing-strip .note { font-size: 0.92rem; color: var(--slate-700); }
@media (max-width: 760px) { .pricing-strip { grid-template-columns: 1fr; } }

/* ===== WAITLIST FORMS ===== */
.waitlist-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.waitlist-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--slate-50); border-bottom: 1px solid var(--slate-200);
}
.waitlist-tab {
  background: transparent; border: none; cursor: pointer;
  padding: 20px 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--slate-500);
  border-bottom: 3px solid transparent;
  transition: all 0.15s ease;
}
.waitlist-tab:hover { color: var(--slate-900); }
.waitlist-tab.active {
  color: var(--teal); background: var(--white);
  border-bottom-color: var(--teal);
}
.waitlist-tab small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 0.82rem; color: var(--slate-500); margin-top: 4px;
}
.waitlist-tab.active small { color: var(--slate-700); }

.waitlist-panel { display: none; padding: 36px 36px 32px; }
.waitlist-panel.active { display: block; }
.waitlist-panel h3 { margin-bottom: 6px; }
.waitlist-panel .panel-lead { color: var(--slate-700); margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 14px; }
.form-field label {
  display: block; font-size: 0.86rem; font-weight: 600;
  color: var(--slate-700); margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--slate-200); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.96rem;
  color: var(--slate-900); background: var(--white);
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.form-field textarea { min-height: 80px; resize: vertical; }
.form-field .hint { font-size: 0.82rem; color: var(--slate-500); margin-top: 4px; }

.form-submit { width: 100%; margin-top: 8px; }

.honeypot { position: absolute; left: -9999px; }

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--teal);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 22px 20px; margin: 0; color: var(--slate-700); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
  font-size: 0.92rem;
}
.site-footer .container {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  color: var(--white); font-size: 0.92rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 14px;
}
.site-footer a { display: block; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.site-footer a:hover { color: var(--white); }
.site-footer .small {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px; margin-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.84rem; color: rgba(255,255,255,0.5);
}
@media (max-width: 760px) {
  .site-footer .container { grid-template-columns: 1fr; }
}

/* ===== UTILITY ===== */
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--teal-tint); color: var(--teal);
  border-radius: 50%; margin-bottom: 16px;
  font-size: 1.4rem;
}
