/* Roda — rodaflywheel.com
   Tokens from Brand Book 2024 plus the site display register. */

:root {
  --white: #FFFFFF;
  --paper: #F3F4F6;
  --offwhite: #F9FAFB;
  --slate: #1F2937;
  --deep: #111722;
  --ink-soft: #4B5563;
  --muted: #6B7280;
  --line: #E5E7EB;
  --line-strong: #D1D5DB;
  --grey-700: #384252;
  --grey-400: #9CA3B0;
  --blue: #3779FF;
  --blue-deep: #0F58ED;
  --blue-tint: #EAF1FF;
  --blue-text: #0E4BC6;
  --blue-line: #A6C3FF;
  --on: #17B26A;
  --on-tint: #ECFDF3;
  --on-text: #067647;
  --on-line: #A9EFC5;
  --signal: #DC6103;
  --signal-tint: #FFF6EB;
  --signal-text: #B54708;
  --signal-line: #FECD89;
  --signal-dark: #FEAA4B;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 1120px;
  --gutter: 32px;
  --r-card: 8px;
  --r-btn: 6px;
  --r-frame: 14px;
  --shadow: 0 1px 2px rgba(20, 24, 29, .04), 0 8px 28px rgba(20, 24, 29, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section--dark { background: var(--deep); color: var(--white); border-top: 0 !important; }
.section--paper { background: var(--offwhite); }

.eyebrow {
  font: 500 11px/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .eyebrow { color: var(--grey-400); }

.accent { color: var(--signal); }
.h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.h1-sub { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -.025em; }
.h3 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.h4 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-soft); }
.section--dark .lede, .section--dark .body { color: var(--line-strong); }
.body { color: var(--ink-soft); }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--r-btn);
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
  min-height: 44px;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--slate); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--slate); }
.section--dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.section--dark .btn--ghost:hover { border-color: var(--white); }
.btn--light { background: var(--white); color: var(--slate); }
.btn--light:hover { background: var(--paper); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__word { font: 600 24px/1 var(--display); letter-spacing: -.02em; }
.nav__links { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; }
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__links .btn { padding: 11px 20px; min-height: 40px; }
.nav__links .btn--ghost { margin-left: 4px; }
.nav__links .btn + .btn { margin-left: -12px; }
@media (max-width: 1180px) { .nav__links { gap: 16px; } .nav__links .btn { padding: 10px 14px; font-size: 14px; } }
.nav__links a { white-space: nowrap; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--slate); }

/* ---- Hero ---- */
.hero { padding: 80px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__copy .body { max-width: 520px; font-size: 18px; line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.frame { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-frame); padding: 14px; }
.app { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.app__top { display: flex; align-items: center; gap: 18px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.app__top b { font-weight: 600; }
.app__nav { display: flex; gap: 16px; font: 500 11px var(--mono); letter-spacing: .08em; color: var(--muted); }
.app__nav .cur { color: var(--blue); }
.ring { position: relative; padding: 22px 18px 10px; }
.ring__centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.ring__aim { font: 600 clamp(30px, 4vw, 46px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ring__of { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.bar { height: 6px; width: 150px; background: var(--line); border-radius: 3px; margin: 10px auto 0; overflow: hidden; }
.bar i { display: block; height: 100%; width: 68%; background: var(--on); }
.app__foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font: 400 10px var(--mono); color: var(--muted); letter-spacing: .04em; }
.frame__caption { margin: 12px 4px 0; font-size: 13px; color: var(--muted); }

/* ---- Why ---- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--offwhite); }
.section--dark .card { background: transparent; border-color: var(--grey-700); }
.card--signal { border: 1.5px solid var(--signal-dark) !important; }
.card p { font-size: 16px; line-height: 1.6; }

/* ---- Steps ---- */
.steps { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--grey-700); }
.steps__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; }
.steps__head .h4 { font-size: 26px; }
.steps__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 12px; }
.steps__groups div { padding: 0 4px 10px; border-bottom: 1px solid var(--grey-700); }
.steps__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; background: var(--grey-700); border-radius: var(--r-card); min-height: 170px; }
.step__n { font: 600 13px var(--sans); color: var(--signal-dark); }
.step--signal { border: 1.5px solid var(--signal-dark); }
.step p { font-size: 14px; line-height: 1.5; color: var(--line-strong); }

/* ---- Problems ---- */
.problems { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--grey-700); }
.problems .two-up .h3 { font-size: 32px; letter-spacing: -.01em; }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.problem {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start; text-align: left;
  padding: 24px; min-height: 170px; border-radius: var(--r-card); cursor: pointer;
  font-family: inherit; color: var(--white); background: transparent; border: 1.5px solid var(--grey-700);
  transition: background .15s, border-color .15s, color .15s;
}
.problem:hover { border-color: var(--grey-400); }
.problem[aria-pressed="true"] { background: var(--offwhite); color: var(--slate); border-color: var(--offwhite); }
.problem[aria-pressed="true"] .problem__tag { color: var(--muted); }
.problem__tag { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-400); }
.problem__q { font: 600 20px/1.3 var(--display); letter-spacing: -.01em; }
.example { display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 36px; margin-top: 20px; border: 1px solid var(--grey-700); border-radius: var(--r-card); }
.example__ring { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.example__ring p { font-size: 14px; line-height: 1.55; color: var(--line-strong); text-align: center; }
.example__col { display: flex; flex-direction: column; gap: 14px; }
.loop { display: flex; flex-direction: column; gap: 8px; }
.loop li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r-card); font-size: 16px; }
.loop li.gap { background: var(--grey-700); color: var(--signal-dark); }
.loop__n { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; border: 1.5px solid currentColor; flex-shrink: 0; }
.loop__gap { margin-left: auto; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--signal-dark); }
.measures { display: flex; flex-direction: column; gap: 8px; }
.measures li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-card); background: var(--grey-700); font-size: 15px; line-height: 1.5; }
.measures li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 7px; }
.example .small { color: var(--grey-400); }

/* ---- Offer ---- */
.offer-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.offer .eyebrow { color: var(--signal); }
.offer { display: flex; flex-direction: column; gap: 16px; padding: 36px; background: var(--offwhite); border: 1px solid var(--line); border-radius: var(--r-card); min-height: 380px; }
.offer .h3 { font-size: 32px; }
.offer__strap { font-size: 18px; font-weight: 500; line-height: 1.4; }
.offer__out { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.platform { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 24px; padding: 36px 40px; background: var(--deep); color: var(--white); border-radius: var(--r-frame); }
.platform__title { font: 600 28px/1.1 var(--display); letter-spacing: -.015em; margin-top: 8px; }
.platform p { font-size: 18px; line-height: 1.55; color: var(--line); }

/* ---- Compare ---- */
.compare { padding: 0 0 96px; border-top: 0 !important; }
.compare__box { background: var(--deep); color: var(--white); border-radius: var(--r-frame); padding: 48px 40px; }
.compare__box .h2 { margin: 20px 0 36px; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-hint { display: none; font: 500 11px var(--mono); letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 10px; }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
table.cmp th { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); text-align: left; padding: 0 14px 14px; }
table.cmp td { padding: 16px 14px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.75); white-space: nowrap; }
table.cmp td:first-child { color: var(--white); font-weight: 500; }
table.cmp tr.us td { background: rgba(55,121,255,.12); color: var(--white); }
table.cmp tr.us td:first-child { font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: rgba(255,255,255,.25); }
.dot.y { background: var(--blue); } .dot.p { background: rgba(255,255,255,.55); }
.compare__note { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---- Proof ---- */
.testimonials { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.testimonial { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.testimonial img { height: 26px; width: auto; align-self: flex-start; opacity: .85; filter: grayscale(1); }
.testimonial p { font-size: 16px; line-height: 1.55; color: var(--slate); }
.testimonial footer { font-size: 14px; color: var(--muted); margin-top: auto; }
.testimonial--featured { grid-column: span 2; padding: 40px; background: var(--offwhite); gap: 20px; }
.testimonial--featured img { height: 32px; }
.testimonial img[alt="mezzeIQ"] { height: 26px; }
.testimonial--featured p { font: 400 clamp(20px, 2.2vw, 26px)/1.35 var(--display); letter-spacing: -.01em; }
.testimonial--featured footer { font-size: 15px; }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr 1fr; } .testimonial--featured { padding: 28px; } }
@media (max-width: 640px) { .testimonials { grid-template-columns: 1fr; } .testimonial--featured { grid-column: auto; } }

/* ---- Who ---- */
.who { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.founder { display: flex; flex-direction: column; gap: 14px; }
.founder__photo { width: 96px; height: 96px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--grey-400); }


/* ---- Close ---- */
.close { padding: 104px 0; }
.close__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.close__copy { display: flex; flex-direction: column; gap: 20px; max-width: 620px; }

.close__ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 420px; justify-self: end; }
.close__ctas .small { color: var(--grey-400); margin-top: 6px; }

/* ---- Footer ---- */
.footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--slate); }

/* ---- Legal pages ---- */
.legal { padding: 72px 0 96px; max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 24px; }
.legal h2 { font-size: 26px; font-weight: 600; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero__grid, .two-up, .who, .close__grid, .platform { grid-template-columns: 1fr; }
  .cards-3, .offer-cards { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps__groups { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .example { grid-template-columns: 1fr; gap: 28px; }
  .example__ring svg { width: 200px; height: 200px; }
  .close__ctas { align-items: stretch; }
  .close__ctas .btn { justify-content: center; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero { padding: 48px 0 56px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .step { min-height: 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem { min-height: 0; }
  .example { padding: 24px; }
  .founders { grid-template-columns: 1fr; }
  .offer { min-height: 0; }
  .platform { padding: 28px 24px; }
  .compare__box { padding: 32px 20px; }
  .cmp-hint { display: block; }
  .app__nav { display: none; }
  .close__ctas { max-width: none; justify-self: stretch; }
  .section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 1024px) {
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; }
  .nav__links .btn { margin-top: 8px; justify-content: center; margin-left: 0 !important; }
  .nav__toggle { display: inline-flex; }
}
