/* ============================================================
   ORANGE LINE VENTURES — Factory Ride design system
   Palette: cream sky · deep-teal ink · coral · teal · mustard
   ============================================================ */

:root {
  --sky: #FFF3DF;
  --sky-2: #FFE9C6;
  --ground: #123B36;
  --ground-2: #0C2C28;
  --coral: #FF5D47;
  --coral-dark: #E04832;
  --teal: #0E8C7F;
  --mustard: #F5B32B;
  --cream: #FFFBF2;
  --line: #123B36;
  --shadow: rgba(18, 59, 54, 1);
  --soft: rgba(18, 59, 54, .14);
  --go: #33E05F;
  --go-dark: #23CB4E;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--sky);
  color: var(--ground);
  font-family: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: var(--mustard); color: var(--ground); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { max-width: 100%; display: block; }

.mono { font-family: 'Space Mono', 'Courier New', monospace; }

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--ground); color: var(--cream); padding: 12px 20px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px; pointer-events: none;
  transition: transform .3s ease;
}
.nav.hidden { transform: translateY(-120%); }
.nav > * { pointer-events: auto; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--ground); text-decoration: none;
  background: var(--cream); border: 2.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; box-shadow: 3px 3px 0 var(--shadow);
}
.wordmark svg { height: 9px; width: auto; color: var(--coral); }
.navlinks { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.navlinks a {
  font-weight: 700; font-size: 13px; color: var(--ground); text-decoration: none;
  background: var(--cream); border: 2.5px solid var(--line); border-radius: 999px;
  padding: 8px 16px; box-shadow: 3px 3px 0 var(--shadow); transition: transform .12s, box-shadow .12s, background .12s;
}
.navlinks a:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--shadow); background: var(--mustard); }
.navlinks a[aria-current="page"] { background: var(--mustard); }
.navlinks a.cta { background: var(--go); color: var(--ground); }
.navlinks a.cta:hover { background: var(--go-dark); }
.nav-toggle {
  display: none; font-family: inherit; font-weight: 700; font-size: 13px; color: var(--ground);
  background: var(--cream); border: 2.5px solid var(--line); border-radius: 999px;
  padding: 8px 16px; box-shadow: 3px 3px 0 var(--shadow); cursor: pointer;
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 120; background: var(--ground);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--cream); font-weight: 800; font-size: 26px; text-decoration: none; }
.mobile-nav a:hover { color: var(--mustard); }
.mobile-nav .close-btn { position: absolute; top: 22px; right: 26px; background: none; border: none; color: var(--cream); font-size: 40px; cursor: pointer; line-height: 1; }
@media (max-width: 900px) {
  .navlinks { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 90px 0; }
.section.tight { padding: 60px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ground);
  font-family: 'Space Mono', monospace; font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--cream); border: 2.5px solid var(--line); border-radius: 999px;
  padding: 8px 16px; box-shadow: 3px 3px 0 var(--shadow); margin-bottom: 26px;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }

h1, .h1 { font-weight: 800; font-size: clamp(40px, 6.4vw, 84px); line-height: .98; letter-spacing: -.03em; }
h2, .h2 { font-weight: 800; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.025em; }
h3, .h3 { font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -.015em; }
.accent { color: var(--coral); }
.accent-t { color: var(--teal); }
.accent-m { color: var(--mustard); }
.lede { font-size: 17px; font-weight: 500; max-width: 62ch; margin-top: 20px; }
.lede.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons & stickers ---------- */
.btn {
  display: inline-block; background: var(--coral); color: #fff;
  font-weight: 800; font-size: 16px; text-decoration: none;
  padding: 16px 30px; border: 3px solid var(--line); border-radius: 999px;
  box-shadow: 5px 5px 0 var(--shadow); transition: transform .13s, box-shadow .13s, background .13s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--shadow); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--shadow); }
.btn.mustard { background: var(--mustard); color: var(--ground); }
.btn.teal { background: var(--teal); color: #fff; }
.btn.ghost { background: var(--cream); color: var(--ground); }
.btn.small { font-size: 13.5px; padding: 11px 20px; box-shadow: 3px 3px 0 var(--shadow); }
.btn.go { background: var(--go); color: var(--ground); font-size: 17.5px; padding: 19px 36px; }
.btn.go:hover { background: var(--go-dark); }
.btn.go.small { font-size: 13.5px; padding: 11px 20px; }
.xray-note { margin-top: 16px; font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: .02em; max-width: 52ch; opacity: .85; }

.pill {
  display: inline-block; font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700;
  border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px; background: var(--cream);
}
.tag-chip {
  display: inline-block; font-family: 'Space Mono', monospace; font-size: 11.5px; font-weight: 700;
  background: var(--mustard); border: 2px solid var(--line); border-radius: 8px; padding: 4px 10px;
}
.tag-chip.teal { background: var(--teal); color: #fff; }
.tag-chip.coral { background: var(--coral); color: #fff; }
.tag-chip.plain { background: var(--cream); }

/* ---------- cards ---------- */
.card {
  background: var(--cream); border: 3px solid var(--line); border-radius: 20px;
  padding: 30px 28px; box-shadow: 6px 6px 0 var(--shadow); position: relative;
}
.card.hoverable { transition: transform .16s, box-shadow .16s; }
.card.hoverable:hover { transform: rotate(-.6deg) translate(-3px,-3px); box-shadow: 10px 10px 0 var(--teal); }
.card .kicker { font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.card h3 { margin: 10px 0 8px; }
.card p { font-size: 14.5px; font-weight: 500; }
.card .bignum { font-weight: 800; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

/* ---------- checklist ---------- */
.check-list { list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; padding: 10px 0; }
.check-list li::before {
  content: '✓'; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff; border: 2px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-top: 1px;
}
.check-list.x li::before { content: '×'; background: var(--coral); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 3px solid var(--line); border-radius: 18px; background: var(--cream); box-shadow: 6px 6px 0 var(--shadow); }
table.olv { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.olv th {
  font-family: 'Space Mono', monospace; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ground); color: var(--cream); padding: 14px 16px; text-align: left;
}
table.olv td { padding: 14px 16px; border-bottom: 2px solid var(--soft); font-weight: 500; vertical-align: top; }
table.olv tr:last-child td { border-bottom: none; }
table.olv tbody tr:hover { background: rgba(245,179,43,.14); }
table.olv .yes { color: var(--teal); font-weight: 800; }
table.olv .no { color: var(--coral); font-weight: 800; }
.btn-row { display: inline-flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-hint { display: none; }
@media (max-width: 700px) {
  .table-scroll { margin: 0 -20px; padding: 0 20px 8px; }
  .table-hint { display: block; font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin: 0 0 10px; }
  .table-scroll table.olv td:first-child { position: sticky; left: 0; background: var(--cream); box-shadow: 3px 0 0 var(--soft); }
  .table-scroll table.olv th:first-child { position: sticky; left: 0; background: var(--ground); box-shadow: 3px 0 0 var(--soft); }
}

/* ---------- band / marquee ---------- */
.band {
  background: var(--ground); color: var(--cream); overflow: hidden; white-space: nowrap;
  border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); padding: 13px 0;
}
.band span { display: inline-block; font-family: 'Space Mono', monospace; font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; animation: bandmove 22s linear infinite; }
.band i { font-style: normal; color: var(--mustard); margin: 0 20px; }
@keyframes bandmove { to { transform: translateX(-50%); } }

/* ---------- scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.on { opacity: 1; transform: none; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { padding-top: 150px; padding-bottom: 70px; position: relative; }
.hero-mascot { position: absolute; right: 5%; bottom: 26px; z-index: 0; text-align: center; pointer-events: none; animation: mascotbob 3.4s ease-in-out infinite; }
@keyframes mascotbob { 50% { transform: translateY(-8px); } }
.hero-mascot .mtag { display: inline-block; margin-bottom: 10px; background: var(--cream); border: 2.5px solid var(--line); border-radius: 9px; padding: 4px 12px; font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12.5px; box-shadow: 3px 3px 0 var(--shadow); }
.hero-mascot .mbox { width: 72px; height: 54px; background: var(--coral); border: 3px solid var(--line); border-radius: 12px; position: relative; margin: 0 auto; box-shadow: 4px 4px 0 rgba(18,59,54,.25); }
.hero-mascot .mbox::before { content: ''; position: absolute; inset: 9px; border: 2px dashed rgba(255,255,255,.7); border-radius: 7px; }
.hero-mascot .meyes { position: absolute; top: 15px; left: 0; right: 0; display: flex; justify-content: center; gap: 11px; }
.hero-mascot .meyes i { width: 7px; height: 10px; background: #fff; border-radius: 50%; animation: mblink 4.5s infinite; }
@keyframes mblink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.hero-mascot .mshadow { width: 86px; height: 10px; background: rgba(18,59,54,.15); border-radius: 50%; margin: 8px auto 0; }
@media (max-width: 900px) { .hero-mascot { display: none; } }
.page-hero .crumbs { font-family: 'Space Mono', monospace; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; opacity: .65; }
.page-hero .cloud { position: absolute; border: 3px solid var(--line); background: var(--cream); border-radius: 50%; opacity: .55; z-index: -1; }

/* ---------- dark CTA scene ---------- */
.cta-scene { background: var(--ground); color: var(--cream); text-align: center; padding: 100px 28px; border-top: 3px solid var(--line); }
.cta-scene h2 { font-size: clamp(38px, 5.6vw, 86px); }
.cta-scene h2 .accent-m { color: var(--mustard); }
.cta-scene p { margin: 20px auto 38px; max-width: 60ch; font-size: 16.5px; opacity: .9; }
.cta-scene .btn { border-color: var(--cream); box-shadow: 6px 6px 0 rgba(255,251,242,.28); }
.cta-scene .note { margin-top: 20px; font-family: 'Space Mono', monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }

/* ---------- footer ---------- */
footer.site {
  background: var(--ground-2); color: var(--cream); padding: 60px 28px 30px;
}
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-size: 22px; margin-bottom: 10px; }
.footer-grid .blurb { font-size: 14px; opacity: .75; max-width: 40ch; }
.footer-grid h4 { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mustard); margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--cream); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 5px 0; opacity: .85; }
.footer-grid a:hover { opacity: 1; color: var(--mustard); }
.footer-bottom {
  max-width: 1180px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,251,242,.2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7;
}
.footer-bottom a { color: var(--cream); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- misc ---------- */
.divider-orn { text-align: center; color: var(--coral); font-size: 20px; letter-spacing: .5em; padding: 8px 0; }
.legal-body h2 { font-size: 26px; margin: 44px 0 12px; }
.legal-body h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-body p, .legal-body li { font-size: 14.5px; font-weight: 500; margin-bottom: 10px; }
.legal-body ul { padding-left: 22px; }
.legal-body .updated { font-family: 'Space Mono', monospace; font-size: 12px; opacity: .65; }

/* ---------- mobile polish ---------- */
@media (max-width: 640px) {
  .m-hide { display: none !important; }
  .wrap { padding: 0 22px; }
  .section { padding: 46px 0; }
  .section.tight { padding: 32px 0; }
  .page-hero { padding-top: 106px; padding-bottom: 38px; }
  .eyebrow { font-size: 10px; letter-spacing: .08em; padding: 6px 12px; border-radius: 14px; margin-bottom: 16px; }
  .lede { font-size: 15px; margin-top: 14px; }
  h1, .h1 { font-size: clamp(32px, 9.2vw, 42px); }
  .card { padding: 20px 18px; border-radius: 16px; box-shadow: 5px 5px 0 var(--shadow); }
  .btn { font-size: 15px; padding: 14px 26px; }
  .btn.go { font-size: 16px; padding: 16px 30px; }
  .cta-scene { padding: 54px 22px; }
  .cta-scene p { font-size: 15px; }
  .tag-chip { font-size: 11.5px !important; }
  .kicker, .card .kicker { font-size: 11.5px !important; letter-spacing: .12em; }
  .move .k { font-size: 11.5px !important; letter-spacing: .08em !important; }
  .glance .t { font-size: 11.5px !important; }
  .wordmark { font-size: 14.5px; gap: 8px; white-space: nowrap; padding-right: 16px; }
  .cap-stats { gap: 10px !important; }
  .cap-stat { padding: 13px 8px !important; }
  .cap-stat .v { font-size: 21px !important; white-space: nowrap !important; letter-spacing: 0 !important; }
  .cap-stat .k { font-size: 10.5px !important; }
  .btn.go { display: block; width: 100%; max-width: 380px; box-sizing: border-box; text-align: center; }
  .btn.go.small { display: inline-block; width: auto; }
  .footer-bottom a { display: inline-block; padding: 8px 5px; font-size: 12.5px; }
  .footer-bottom span { line-height: 1.9; }
  .footer-grid nav a { padding: 8px 0; }
  .legal-body { font-size: 15px; line-height: 1.75; }
  h2, .h2 { font-size: clamp(25px, 6.8vw, 32px); }
  h3, .h3 { font-size: 18.5px; }
  .cta-scene h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .page-hero .crumbs { font-size: 10.5px; margin-bottom: 12px; }
  .card h3 { margin: 8px 0 6px; }
  .card ul { margin-top: 8px; }
  .card li { font-size: 14px; }
  .tag-chip { padding: 5px 10px; margin: 2px 6px 2px 0; }
  .badge-tilt { font-size: 13.5px !important; padding: 10px 18px !important; }
  .pkg .price { font-size: 29px !important; margin: 4px 0 2px !important; }
  .footer-grid h3 { font-size: 19px; }
  .footer-grid .blurb { font-size: 13.5px; }
  .featured-strip .art .artstat .l { font-size: 11px; }
  .featured-strip .art { min-height: 0; padding: 24px 22px 30px; }
  .card .bignum { font-size: 40px; }
  .card:has(> .bignum) { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: baseline; }
  .card:has(> .bignum) .kicker { grid-column: 1 / -1; margin-bottom: 2px; }
  .card:has(> .bignum) .bignum { font-size: 34px; }
  .card:has(> .bignum) h3 { margin: 0; font-size: 16.5px; }
  .card:has(> .bignum) p { grid-column: 1 / -1; margin-top: 4px; font-size: 13.5px; }
  .vstop .vfree { font-size: 10px !important; }
  .vend .small, .vend .mono { font-size: 11px !important; }
  .cta-scene a:not(.btn), .card a:not(.btn), .legal-body a, .section a[href*="cal.com"]:not(.btn) { display: inline-block; padding: 5px 0; }
  .pill { font-size: 11px; padding: 6px 11px; margin: 3px 6px 3px 0; }
  .band span { font-size: 13px; }
  .grid2, .grid3, .grid4 { gap: 18px; }
  footer.site { padding: 44px 20px 24px; }
}
