/* RampFlowX-sk8 official website. Colors match the app (tailwind.config.js). */
:root {
  --ink: #0a0a0b;
  --coal: #141416;
  --steel: #1f1f23;
  --line: #2e2e34;
  --flow: #f47a1f;
  --flow-light: #ff9440;
  --flow-dark: #c95f10;
  --silver: #c4c7cc;
  --text: #f4f4f5;
  --muted: #9a9aa2;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue Condensed', Impact, system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--flow);
}

:focus-visible {
  outline: 2px solid var(--flow);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
.display {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
}

h1 {
  font-size: clamp(2.9rem, 9vw, 5.6rem);
}
h2 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}
h3 {
  font-size: 1.6rem;
  line-height: 1.05;
}

p {
  margin: 0;
}

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

@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--flow);
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 800;
  border-radius: 6px;
}
.skip:focus {
  left: 8px;
}

.accent {
  color: var(--flow);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--flow);
}

.lead {
  color: var(--silver);
  font-size: 1.15rem;
  max-width: 38rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--flow);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--flow-light);
}
.btn-ghost {
  background: var(--steel);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--silver);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 479px) {
  .btn-row .btn {
    flex: 1 1 100%;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.brand span {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.brand b {
  color: var(--flow);
  font-weight: 800;
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 6px;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--flow);
  background: var(--steel);
}
.nav .btn {
  margin-left: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink);
}
.nav .btn:hover {
  color: var(--ink);
  background: var(--flow-light);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 899px) {
  .nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav.open a {
    padding: 14px 12px;
    font-size: 0.95rem;
  }
  .nav.open .btn {
    margin: 10px 0 0;
    min-height: 48px;
  }
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Sections */
section {
  padding: 72px 0;
}
@media (min-width: 900px) {
  section {
    padding: 104px 0;
  }
}
.band {
  background: var(--coal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 44rem;
  margin-bottom: 40px;
}
.section-head h2 {
  margin-top: 10px;
}
.section-head .lead {
  margin-top: 16px;
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.stripes {
  position: relative;
  overflow: hidden;
}
.stripes::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: repeating-linear-gradient(-55deg, var(--flow) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.stripes > * {
  position: relative;
}

/* Hero */
.hero {
  padding: 48px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    padding: 80px 0 104px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.hero-logo {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.hero h1 {
  margin-top: 14px;
}
.hero .lead {
  margin-top: 20px;
}
.hero .btn-row {
  margin-top: 32px;
}
.hero-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.page-hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
}
.page-hero .lead {
  margin-top: 18px;
}

/* Phone mockup (illustration, not a screenshot) */
.phone {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: var(--steel);
  padding: 10px;
  box-shadow: 0 30px 80px rgba(244, 122, 31, 0.12), 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: rotate(2deg);
}
.phone svg {
  border-radius: 28px;
}

/* Cards and grids */
.grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.band .card {
  background: var(--ink);
}
.card h3 {
  margin-top: 16px;
}
.card p {
  margin-top: 8px;
  color: var(--silver);
  font-size: 1rem;
}
.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--steel);
  color: var(--flow);
}
.icon svg {
  width: 24px;
  height: 24px;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 24px 24px 84px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--coal);
}
.band .steps li {
  background: var(--ink);
}
.steps li + li {
  margin-top: 12px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 18px;
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--flow);
}
.steps h3 {
  font-size: 1.4rem;
}
.steps p {
  margin-top: 6px;
  color: var(--silver);
  font-size: 1rem;
}

/* Two audiences */
.split {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  background: var(--coal);
}
.panel.hot {
  border-color: var(--flow);
  background: linear-gradient(160deg, rgba(244, 122, 31, 0.16), var(--coal) 55%);
}
.panel h3 {
  font-size: 2.1rem;
  margin-top: 10px;
}
.panel .btn {
  margin-top: 24px;
}

.checks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--silver);
}
.checks li + li {
  margin-top: 10px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--flow);
  border-bottom: 3px solid var(--flow);
  transform: rotate(-45deg);
}

/* Privacy explainer */
.privacy-demo {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .privacy-demo {
    grid-template-columns: 1fr 1fr;
  }
}
.privacy-demo figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--coal);
}
.privacy-demo figcaption {
  padding: 16px 20px 20px;
  color: var(--silver);
  font-size: 0.95rem;
}
.privacy-demo figcaption strong {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

/* Spot chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--steel);
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--coal);
}
.faq details + details {
  margin-top: 10px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 20px;
  position: relative;
  font-weight: 800;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--flow);
  font-size: 1.6rem;
  font-weight: 400;
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details > div {
  padding: 0 20px 20px;
  color: var(--silver);
}
.faq details > div p + p {
  margin-top: 10px;
}

/* Prose (about / safety detail) */
.prose {
  max-width: 44rem;
}
.prose h2 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  margin-top: 48px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p,
.prose ul {
  margin-top: 16px;
  color: var(--silver);
}
.prose ul {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 8px;
}
.prose strong {
  color: var(--text);
}

/* Callout */
.callout {
  border-left: 4px solid var(--flow);
  background: var(--steel);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  color: var(--silver);
}
.callout strong {
  color: var(--text);
}

/* CTA */
.cta {
  text-align: center;
}
.cta h2 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}
.cta .lead {
  margin: 18px auto 0;
}
.cta .btn-row {
  justify-content: center;
  margin-top: 32px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  background: var(--coal);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer h2 {
  font-size: 1.1rem;
  color: var(--silver);
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li + li {
  margin-top: 6px;
}
.site-footer a {
  color: var(--silver);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--flow);
}
.footer-tag {
  margin-top: 14px;
  color: var(--muted);
  max-width: 22rem;
}
.footer-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* Subtle reveal on scroll (skipped when the visitor prefers less motion) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
  .phone {
    transform: none;
  }
}
