:root {
  --page-bg: #f3f4f7;
  --paper: #ffffff;
  --paper-2: #fbfcff;
  --ink: #17191f;
  --muted: #667085;
  --soft-muted: #8a93a3;
  --line: #e5e8ef;
  --card: rgba(255, 255, 255, 0.92);
  --card-solid: #ffffff;
  --red: #ec3b2e;
  --red-dark: #b8261d;
  --red-soft: #fff0ee;
  --blue: #2d9cff;
  --blue-soft: #eaf6ff;
  --purple: #8367ff;
  --purple-soft: #f0ecff;
  --yellow: #ffc84d;
  --yellow-soft: #fff7d7;
  --green: #20a36b;
  --mint-soft: #eaf9f2;
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 22px 60px rgba(31, 38, 52, .08);
  --shadow-soft: 0 14px 36px rgba(31, 38, 52, .06);
  --max: 1180px;
  --shell: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--page-bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 8%, rgba(236,59,46,.08), transparent 28rem),
    radial-gradient(circle at 94% 3%, rgba(45,156,255,.10), transparent 30rem),
    linear-gradient(180deg, #f5f6f9 0%, #eef1f6 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(calc(100% - 28px), var(--max));
  margin: 14px auto 0;
  padding: 10px;
  border: 1px solid rgba(211, 216, 226, .86);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(248,249,252,.94), rgba(235,239,245,.94));
  backdrop-filter: blur(18px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 14px 34px rgba(35, 42, 56, .08);
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-weight: 950;
  letter-spacing: -.055em;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.13), 0 8px 18px rgba(236,59,46,.18);
}
.brand-name { font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #444b59;
  font-size: 14px;
  font-weight: 760;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.site-nav a:hover, .site-nav a.is-active {
  background: white;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(35,42,56,.08);
}
.site-nav a:active { transform: translateY(1px); }
.site-nav .nav-buy {
  background: var(--red);
  color: white;
  font-weight: 900;
  margin-left: 6px;
  box-shadow: 0 10px 22px rgba(236,59,46,.22);
}
.site-nav .nav-buy:hover { background: var(--red-dark); color: white; }

.nav-toggle { display: none; background: transparent; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 999px; }

main {
  width: min(100%, var(--shell));
  margin: -74px auto 0;
  padding-top: 74px;
  background: var(--paper);
  border-left: 1px solid rgba(224, 228, 235, .9);
  border-right: 1px solid rgba(224, 228, 235, .9);
  box-shadow: 0 28px 80px rgba(31, 38, 52, .06);
}
.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 84px 0;
}
.section-tight { padding: 52px 0; }
.section-header { max-width: 820px; margin-bottom: 32px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 950;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 132px);
  line-height: .84;
  letter-spacing: -.08em;
}
h2 {
  margin: 0;
  font-size: clamp(36px, 5.7vw, 76px);
  line-height: .9;
  letter-spacing: -.065em;
}
h3 { margin: 0; font-size: 24px; line-height: 1.08; letter-spacing: -.04em; }
p { color: var(--muted); font-size: 17px; }
.lede { font-size: clamp(19px, 2.2vw, 27px); color: #2b3039; max-width: 840px; letter-spacing: -.02em; }

.hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
  padding: 56px 0 76px;
  position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 span { display: block; }
.hero .lede { margin: 26px 0 28px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--soft-muted); }

.hero-art {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: min(86%, 470px);
  aspect-ratio: 1 / .74;
  border-radius: 54% 46% 45% 55%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.92), transparent 35%),
    linear-gradient(135deg, rgba(45,156,255,.14), rgba(255,200,77,.12));
  filter: blur(.1px);
  transform: rotate(-7deg);
}
.flight-path {
  position: absolute;
  left: 7%;
  top: 50%;
  width: min(62%, 320px);
  height: 12px;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%) rotate(-8deg);
  background: repeating-linear-gradient(90deg, rgba(236,59,46,.34) 0 16px, transparent 16px 28px);
  filter: blur(.1px);
  animation: trailBreathe 2.8s ease-in-out infinite;
  opacity: .82;
}
.flight-path::before,
.flight-path::after {
  content: "";
  position: absolute;
  right: 100%;
  height: 6px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(45,156,255,.25) 0 12px, transparent 12px 22px);
}
.flight-path::before { width: 62%; top: -18px; }
.flight-path::after { width: 45%; top: 23px; opacity: .8; }
.plane-card {
  position: relative;
  width: min(72%, 330px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: planeCruise 6.5s ease-in-out infinite;
}
.plane-card img {
  animation: planeBob 2.2s ease-in-out infinite;
  filter: drop-shadow(0 18px 13px rgba(34, 38, 52, .16));
}
.cloud { position: absolute; border-radius: 999px; background: rgba(255,255,255,.98); box-shadow: 0 10px 28px rgba(31,38,52,.06); }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud-1 { width: 98px; height: 30px; left: 2%; top: 76px; animation: cloudDrift 13s linear infinite; }
.cloud-1::before { width: 44px; height: 44px; left: 18px; top: -23px; }
.cloud-1::after { width: 38px; height: 38px; left: 56px; top: -17px; }
.cloud-2 { width: 84px; height: 26px; right: 4%; bottom: 72px; animation: cloudDrift 16s linear infinite reverse; }
.cloud-2::before { width: 38px; height: 38px; left: 15px; top: -20px; }
.cloud-2::after { width: 32px; height: 32px; left: 48px; top: -14px; }

@keyframes planeCruise {
  0%, 100% { transform: translate(-10px, 4px) rotate(-3deg); }
  50% { transform: translate(18px, -14px) rotate(2deg); }
}
@keyframes planeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes trailBreathe {
  0%, 100% { opacity: .62; transform: translateY(-50%) rotate(-8deg) scaleX(.96); }
  50% { opacity: .92; transform: translateY(-50%) rotate(-8deg) scaleX(1.04); }
}
@keyframes cloudDrift { 0% { transform: translateX(-12px); } 50% { transform: translateX(18px); } 100% { transform: translateX(-12px); } }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 999px;
  border: 2px solid var(--red);
  background: var(--red);
  color: white;
  font-weight: 900;
  box-shadow: 0 8px 0 rgba(184, 38, 29, .16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 11px 0 rgba(184, 38, 29, .14); background: var(--red-dark); border-color: var(--red-dark); }
.button:active { transform: translateY(2px); box-shadow: 0 4px 0 rgba(184, 38, 29, .16); }
.button-secondary { background: white; color: var(--ink); border-color: var(--line); box-shadow: 0 8px 0 rgba(31,38,52,.07); }
.button-secondary:hover { background: #f7f9fc; color: var(--ink); border-color: #d8dee8; box-shadow: 0 11px 0 rgba(31,38,52,.06); }
.button-light { background: white; color: var(--ink); border-color: white; box-shadow: 0 8px 0 rgba(31,38,52,.08); }
.button-disabled, .button[aria-disabled="true"] { opacity: .58; cursor: not-allowed; background: #d9dee8; border-color: #d9dee8; color: #586071; box-shadow: none; }
.button-small { min-height: 42px; padding: 9px 14px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: var(--ink); }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }

.category-grid, .pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.category-card, .tool-card, .feature-card, .price-card, .step-card, .note-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.category-card {
  padding: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover, .tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.category-card p { margin: 0 0 auto; }
.card-icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.card-icon svg, .tool-drawing svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-weight: 900; letter-spacing: -.02em; }
.badge { display: inline-flex; align-items: center; white-space: nowrap; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; color: var(--ink); background: #eef1f6; }
.badge-beta { background: var(--blue-soft); color: #0a5591; }
.badge-wip { background: #ffe5df; color: #9a2118; }
.badge-muted { background: #f0f2f6; color: #6b7280; }
.accent-blue .card-icon, .accent-blue .tool-visual { color: #0d6fb5; background: linear-gradient(135deg, #f7fbff, #e5f4ff); }
.accent-red .card-icon, .accent-red .tool-visual { color: var(--red-dark); background: linear-gradient(135deg, #fff9f7, #ffe8e3); }
.accent-purple .card-icon, .accent-purple .tool-visual { color: #5030d9; background: linear-gradient(135deg, #faf8ff, #eee8ff); }
.accent-yellow .card-icon, .accent-yellow .tool-visual { color: #9b6c00; background: linear-gradient(135deg, #fffdf2, #fff2bc); }

.tool-card { overflow: hidden; display: grid; grid-template-columns: 42% 58%; min-height: 280px; transition: transform .2s ease, box-shadow .2s ease; }
.tool-visual { min-height: 260px; padding: 18px; position: relative; overflow: hidden; display: grid; place-items: center; }
.tool-visual::after {
  content: "";
  position: absolute;
  inset: auto -12% -36% 20%;
  height: 65%;
  border-radius: 50%;
  background: rgba(255,255,255,.56);
}
.mini-toolbar { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; z-index: 2; }
.mini-toolbar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(31,38,52,.22); }
.tool-drawing { width: min(150px, 62%); aspect-ratio: 1; position: relative; z-index: 2; }
.tool-card-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.tool-card-body p { margin: 0 auto auto 0; }

.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.feature-list { display: grid; gap: 14px; }
.feature-card { padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.feature-number { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-weight: 900; }
.feature-card p { margin: 4px 0 0; }

.panel {
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 18%, rgba(255,200,77,.34), transparent 13rem),
    radial-gradient(circle at 14% 82%, rgba(45,156,255,.18), transparent 17rem),
    linear-gradient(135deg, #fff9f2, #f3f8ff 68%, #fff);
  color: var(--ink);
  padding: clamp(28px, 6vw, 60px);
  overflow: hidden;
  position: relative;
  border: 1px solid #e7ebf2;
  box-shadow: var(--shadow);
}
.panel::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(236,59,46,.12);
  right: -70px;
  top: -80px;
}
.panel > * { position: relative; z-index: 2; }
.panel p { color: var(--muted); }
.panel h2 { color: var(--ink); }
.panel .eyebrow { color: var(--red); }

.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.price-card.featured {
  background: linear-gradient(135deg, #fff8db, #eef7ff 72%, #fff);
  color: var(--ink);
  transform: translateY(-8px);
  border-color: #dde8f7;
  box-shadow: var(--shadow);
}
.price-card.featured p, .price-card.featured li { color: var(--muted); }
.price-card .price { font-size: 48px; font-weight: 950; letter-spacing: -.07em; }
.price-card ul { padding-left: 19px; margin: 0; color: var(--muted); }
.price-card li { margin: 8px 0; }
.price-card .button { margin-top: auto; }

.page-hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 94px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 44px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(56px, 9vw, 112px); }
.page-hero .lede { margin: 24px 0; }
.hero-mini-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
}
.hero-mini-card .tool-visual { border-radius: 24px; min-height: 300px; }

.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { font-weight: 800; color: var(--ink); }
.breadcrumbs span { color: #b0b7c4; }

.tool-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.demo-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fbfcff, #eef7ff 58%, #fff7ef);
  min-height: 420px;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: var(--shadow);
}
.demo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(45,156,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,156,255,.10) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .62;
}
.demo-panel-content { position: relative; z-index: 2; text-align: center; color: var(--ink); padding: 30px; max-width: 620px; }
.demo-panel-content .big-icon { width: 170px; height: 170px; margin: 0 auto 20px; color: var(--red); }
.demo-panel-content .big-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.demo-panel-content p { color: var(--muted); }
.sidebar-card { padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); position: sticky; top: 96px; box-shadow: var(--shadow-soft); }
.sidebar-card h3 { margin-bottom: 12px; }
.sidebar-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.sidebar-card li { margin: 8px 0; }
.sidebar-actions { display: grid; gap: 10px; margin-top: 18px; }

.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step-card { padding: 22px; }
.step-card .feature-number { margin-bottom: 18px; }
.step-card p { margin: 8px 0 0; }

.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.note-card { padding: 22px; }
.note-card p { margin-bottom: 0; }

.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(300px, .75fr); gap: 42px; align-items: center; }
.about-art { border-radius: var(--radius-xl); background: linear-gradient(135deg, #fff, #f5f8ff); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.about-art img { filter: drop-shadow(0 20px 14px rgba(31,38,52,.12)); }

.footer-cta {
  width: min(calc(100% - 32px), var(--max));
  margin: 80px auto 0;
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 84% 18%, rgba(236,59,46,.18), transparent 13rem),
    linear-gradient(135deg, #fff3ef, #eef7ff 72%, #fff);
  color: var(--ink);
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.footer-cta .eyebrow { color: var(--red); }
.footer-cta h2 { font-size: clamp(34px, 6vw, 72px); }
.site-footer {
  width: min(100%, var(--shell));
  background: var(--paper);
  color: var(--ink);
  margin: 0 auto;
  padding: 1px 0 28px;
  border-left: 1px solid rgba(224, 228, 235, .9);
  border-right: 1px solid rgba(224, 228, 235, .9);
  border-bottom: 1px solid rgba(224, 228, 235, .9);
  border-radius: 0 0 44px 44px;
  box-shadow: 0 28px 80px rgba(31, 38, 52, .06);
}
.footer-grid {
  width: min(calc(100% - 32px), var(--max));
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 28px;
}
.footer-grid p, .footer-bottom { color: var(--muted); }
.footer-grid h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; color: var(--ink); }
.footer-grid a:not(.brand) { display: block; color: #505866; margin: 8px 0; }
.footer-brand { margin-bottom: 16px; }
.footer-bottom {
  width: min(calc(100% - 32px), var(--max));
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  font-size: 14px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { border-radius: 28px; align-items: flex-start; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 24px;
    background: rgba(247,249,252,.98);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(31,38,52,.12);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav .nav-buy { margin-left: 0; }
  .hero, .page-hero, .split-section, .tool-page-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 62px; }
  .hero-art { min-height: 330px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid, .note-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  main { width: 100%; border-left: 0; border-right: 0; }
  .site-footer { width: 100%; border-left: 0; border-right: 0; border-radius: 0; }
  .section { width: min(calc(100% - 24px), var(--max)); padding: 64px 0; }
  .hero, .page-hero { width: min(calc(100% - 24px), var(--max)); }
  h1 { font-size: clamp(48px, 18vw, 78px); }
  h2 { font-size: clamp(34px, 12vw, 58px); }
  .brand-name { display: none; }
  .category-grid, .step-grid { grid-template-columns: 1fr; }
  .tool-card { grid-template-columns: 1fr; }
  .tool-visual { min-height: 220px; }
  .page-hero { padding-top: 70px; }
  .hero-mini-card .tool-visual { min-height: 230px; }
  .demo-panel { min-height: 340px; }
  .price-card.featured { transform: none; }
  .footer-bottom { flex-direction: column; }
  .button { width: 100%; }
  .button-row, .hero-actions { align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* --- R4L v3 visual direction: icon-led, lighter, more playful --- */
:root {
  --page-bg: #eef1f6;
  --paper: #ffffff;
  --paper-2: #f7f9fd;
  --ink: #1f2634;
  --muted: #687180;
  --soft-muted: #8a93a2;
  --line: #dfe5ef;
  --red: #ee4c36;
  --red-dark: #d73727;
  --blue: #5aa8e8;
  --blue-soft: #e8f4ff;
  --purple: #7760d6;
  --purple-soft: #eeeafe;
  --yellow: #f3bd3a;
  --yellow-soft: #fff5d7;
  --green: #6cbc78;
  --mint-soft: #eaf8ef;
}

html { background: var(--page-bg); }
body {
  background:
    radial-gradient(circle at 12% 9%, rgba(90,168,232,.12), transparent 24rem),
    radial-gradient(circle at 90% 12%, rgba(238,76,54,.08), transparent 24rem),
    linear-gradient(180deg, #f2f4f8 0%, #e9edf4 100%);
}

main,
.site-footer {
  background: #fff;
}

.site-header {
  background:
    linear-gradient(135deg, rgba(246,248,252,.96), rgba(232,237,245,.96));
  border-color: rgba(211,218,229,.95);
  box-shadow: 0 12px 30px rgba(31,38,52,.08);
}

.brand-mark.brand-mark-image {
  background: #fff;
  border: 1px solid rgba(31,38,52,.10);
  box-shadow: 0 8px 18px rgba(31,38,52,.08);
  overflow: hidden;
  padding: 2px;
}
.brand-mark.brand-mark-image img { width: 100%; height: 100%; object-fit: contain; }

.site-nav a:hover,
.site-nav a.is-active {
  background: #fff;
  box-shadow: 0 8px 20px rgba(31,38,52,.08);
}
.site-nav a:nth-child(2):hover,
.site-nav a:nth-child(2).is-active { background: #e8f4ff; color: #145f9d; }
.site-nav a:nth-child(3):hover,
.site-nav a:nth-child(3).is-active { background: #ffe9e4; color: #a92c20; }
.site-nav a:nth-child(4):hover,
.site-nav a:nth-child(4).is-active { background: #eeeafe; color: #4e36b8; }
.site-nav a:nth-child(5):hover,
.site-nav a:nth-child(5).is-active { background: #fff5d7; color: #7a5100; }

/* Home hero */
.hero.hero-r4l {
  min-height: 600px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 410px);
  align-items: center;
  padding-top: 88px;
  padding-bottom: 72px;
}
.hero-title-lockup {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  flex-wrap: wrap;
  margin: 2px 0 10px;
}
.hero-title-lockup h1 {
  font-size: clamp(64px, 11.5vw, 144px);
  line-height: .82;
  letter-spacing: -.09em;
  white-space: nowrap;
}
.hero-subtitle {
  display: inline-flex;
  margin: 6px 0 0;
  padding: 7px 13px 8px;
  border-radius: 999px;
  background: #fff3ee;
  color: #a92c20;
  border: 1px solid #ffd7ce;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 950;
  letter-spacing: -.04em;
}
.hero.hero-r4l .lede { max-width: 830px; }

.hero-icon-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 0%, rgba(90,168,232,.16), transparent 12rem),
    radial-gradient(circle at 100% 100%, rgba(243,189,58,.18), transparent 12rem),
    #f8fafc;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.hero-icon-tile {
  min-height: 150px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(31,38,52,.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.hero-icon-tile:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: var(--shadow-soft); }
.hero-icon-tile img { width: 76px; height: 76px; object-fit: contain; image-rendering: auto; }
.hero-icon-tile span { font-weight: 950; letter-spacing: -.03em; }
.hero-icon-tile small { color: var(--soft-muted); font-size: 12px; font-weight: 850; }
.hero-icon-tile-blue { background: linear-gradient(135deg, #fff, #e8f4ff); }
.hero-icon-tile-red { background: linear-gradient(135deg, #fff, #ffe9e4); }
.hero-icon-tile-purple { background: linear-gradient(135deg, #fff, #eeeafe); }
.hero-icon-tile-yellow { background: linear-gradient(135deg, #fff, #fff5d7); }

/* Flying rhino: vanilla CSS/JS version of the Framer idea */
.flying-rhino {
  --plane-width: 120px;
  --trail-length: 300px;
  --float-amount: 4px;
  --drift-amount: 4px;
  --tilt-amount: 1.5deg;
  --duration: 3.2s;
  position: relative;
  width: calc(var(--trail-length) + var(--plane-width));
  height: 124px;
  overflow: visible;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
}
.flying-rhino-hero { margin-top: 4px; }
.rhino-trail {
  position: absolute;
  width: var(--trail-length);
  height: 95px;
  right: calc(var(--plane-width) * .64);
  top: 50%;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.trail-line {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1.5 8;
  opacity: .32;
  stroke-dashoffset: var(--dash-offset, 0px);
  transition: opacity .18s ease;
}
.trail-line-1 { stroke: rgba(31,38,52,.34); stroke-width: 1.8; }
.trail-line-2 { stroke: rgba(31,38,52,.24); stroke-width: 1.5; stroke-dasharray: 1.5 9; }
.trail-line-3 { stroke: rgba(31,38,52,.18); stroke-width: 1.2; stroke-dasharray: 1.2 10; }
.rhino-plane {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
  width: var(--plane-width);
  cursor: pointer;
  touch-action: manipulation;
  z-index: 1;
  transform-origin: 55% 55%;
  animation: rhinoFlight var(--duration) ease-in-out infinite;
}
.rhino-plane img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 10px 8px rgba(31,38,52,.14));
}
.rhino-plane:focus-visible { outline: 3px solid rgba(90,168,232,.55); outline-offset: 8px; border-radius: 18px; }
.propeller-blur {
  position: absolute;
  right: 1%;
  top: 50%;
  width: 15%;
  height: 34%;
  border-radius: 50%;
  border: 2px solid rgba(31,38,52,.22);
  background: radial-gradient(ellipse at center, rgba(255,255,255,.58) 0%, rgba(180,180,180,.28) 35%, rgba(80,80,80,.12) 70%, rgba(255,255,255,0) 100%);
  transform: translateY(-50%);
  filter: blur(.2px);
  pointer-events: none;
  animation: propellerSpin .16s linear infinite;
}
.flying-rhino.is-panicking .rhino-plane { animation: rhinoPanic .78s ease-in-out 1; }
.flying-rhino.is-panicking .propeller-blur { animation-duration: .08s; }
.flying-rhino.is-panicking .trail-line { opacity: .62; }

@keyframes rhinoFlight {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  18% { transform: translate(var(--drift-amount), calc(var(--float-amount) * -1)) rotate(calc(var(--tilt-amount) * -1)); }
  55% { transform: translate(calc(var(--drift-amount) * .35), calc(var(--float-amount) * .45)) rotate(calc(var(--tilt-amount) * .5)); }
}
@keyframes propellerSpin {
  0%, 100% { opacity: .22; transform: translateY(-50%) scaleY(.90) rotate(0deg); }
  50% { opacity: .75; transform: translateY(-50%) scaleY(1.10) rotate(180deg); }
}
@keyframes rhinoPanic {
  0% { transform: translate(0,0) rotate(0) scale(1); }
  18% { transform: translate(-6px,-15px) rotate(-13deg) scale(1.06); }
  35% { transform: translate(13px,5px) rotate(10deg) scale(.98); }
  55% { transform: translate(-4px,-8px) rotate(-7deg) scale(1.03); }
  75% { transform: translate(5px,3px) rotate(4deg) scale(1.01); }
  100% { transform: translate(0,0) rotate(0) scale(1); }
}

/* Icon integration */
.r4l-icon { width: 100%; height: 100%; object-fit: contain; }
.card-icon {
  background: #fff;
  box-shadow: inset 0 -5px 0 rgba(31,38,52,.04), 0 10px 24px rgba(31,38,52,.06);
  overflow: hidden;
}
.card-icon .r4l-icon { width: 82%; height: 82%; }
.tool-drawing { width: min(132px, 58%); }
.tool-drawing .r4l-icon { filter: drop-shadow(0 12px 8px rgba(31,38,52,.08)); }
.demo-panel-content .big-icon { width: 154px; height: 154px; }
.demo-panel-content .big-icon .r4l-icon { filter: drop-shadow(0 16px 10px rgba(31,38,52,.10)); }
.tool-visual::after { opacity: .65; }
.accent-blue .card-icon, .accent-blue .tool-visual { background: linear-gradient(135deg, #f9fcff, #e5f3ff); }
.accent-red .card-icon, .accent-red .tool-visual { background: linear-gradient(135deg, #fffafa, #ffe6df); }
.accent-purple .card-icon, .accent-purple .tool-visual { background: linear-gradient(135deg, #fff, #eee9ff); }
.accent-yellow .card-icon, .accent-yellow .tool-visual { background: linear-gradient(135deg, #fff, #fff2bc); }
.category-card,
.tool-card,
.feature-card,
.price-card,
.step-card,
.note-card,
.sidebar-card,
.hero-mini-card {
  border-color: rgba(31,38,52,.09);
}
.category-card:hover,
.tool-card:hover { transform: translateY(-4px) rotate(-.15deg); }
.panel {
  background:
    radial-gradient(circle at 88% 16%, rgba(238,76,54,.13), transparent 13rem),
    radial-gradient(circle at 15% 82%, rgba(90,168,232,.18), transparent 17rem),
    linear-gradient(135deg, #fff, #f2f8ff 68%, #fff9e8);
}
.price-card.featured {
  background: linear-gradient(135deg, #fff7d8, #eaf5ff 72%, #fff);
}
.footer-cta {
  background:
    radial-gradient(circle at 86% 20%, rgba(238,76,54,.12), transparent 13rem),
    linear-gradient(135deg, #fff, #eef7ff 72%, #fff6d9);
}

@media (max-width: 980px) {
  .hero.hero-r4l { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-icon-board { max-width: 540px; }
  .hero-title-lockup { align-items: flex-start; }
}
@media (max-width: 650px) {
  .hero-title-lockup h1 { white-space: normal; font-size: clamp(58px, 22vw, 92px); }
  .flying-rhino {
    --plane-width: 120px;
    --trail-length: 230px;
    width: min(100%, 350px);
    height: 118px;
  }
  .rhino-trail { right: calc(var(--plane-width) * .58); height: 88px; }
  .hero-title-lockup { gap: 4px; }
  .hero-icon-board { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .hero-icon-tile { min-height: 126px; border-radius: 20px; }
  .hero-icon-tile img { width: 64px; height: 64px; }
}
@media (max-width: 420px) {
  .hero-icon-board { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rhino-plane, .propeller-blur { animation: none !important; }
}

/* --- R4L v4 visual refinement: cleaner, flatter, less-is-more --- */
:root {
  --page-bg: #f1f2f4;
  --paper: #ffffff;
  --paper-2: #fafafb;
  --ink: #202632;
  --muted: #667085;
  --soft-muted: #8a93a3;
  --line: #e4e7ec;
  --radius-xl: 10px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --shadow: none;
  --shadow-soft: none;
  --max: 1160px;
  --shell: 1280px;
}

html { background: var(--page-bg); }
body {
  background: linear-gradient(180deg, #f3f4f6 0%, #eeeff2 100%);
}

.site-header {
  width: min(calc(100% - 28px), var(--max));
  margin-top: 16px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6f7f8;
  backdrop-filter: none;
  box-shadow: none;
}
.brand-mark {
  border-radius: 8px;
  box-shadow: none;
}
.site-nav { gap: 2px; }
.site-nav a {
  border-radius: 6px;
  color: #4f5867;
}
.site-nav a:hover,
.site-nav a.is-active {
  background: #fff;
  box-shadow: none;
}
.site-nav .nav-buy {
  box-shadow: none;
}

main {
  width: min(100%, var(--shell));
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  box-shadow: none;
}
.site-footer {
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.section {
  padding: 74px 0;
}
.section-header {
  margin-bottom: 28px;
}

.page-hero,
.hero {
  padding-bottom: 50px;
}
.page-hero {
  gap: 34px;
}
.hero-mini-card,
.about-art,
.sidebar-card,
.category-card,
.feature-card,
.price-card,
.step-card,
.note-card,
.panel,
.footer-cta,
.demo-panel {
  border-radius: 8px;
  box-shadow: none;
}

.hero-mini-card,
.about-art,
.sidebar-card,
.category-card,
.feature-card,
.price-card,
.step-card,
.note-card {
  background: #fff;
  border: 1px solid var(--line);
}

.hero-mini-card {
  padding: 16px;
}
.hero-mini-card .tool-visual {
  min-height: 240px;
}

.panel {
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.panel::before { display: none; }
.panel > * {
  max-width: 860px;
  padding: 34px 0;
}
.footer-cta {
  margin-top: 60px;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

/* make section containers feel lighter */
.tool-grid,
.category-grid,
.pricing-grid,
.step-grid,
.note-grid {
  gap: 0;
}

.tool-grid {
  display: block;
  border-top: 1px solid var(--line);
}
.tool-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.tool-card:hover {
  transform: none;
  box-shadow: none;
  background: #fcfcfd;
}
.tool-visual {
  min-height: 0;
  padding: 26px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border-right: 1px solid var(--line);
}
.tool-visual::after,
.mini-toolbar { display: none; }
.tool-drawing {
  width: 86px;
}
.tool-drawing .r4l-icon {
  filter: none;
}
.tool-card-body {
  padding: 24px 0 24px 24px;
  gap: 10px;
}
.tool-card-body p {
  max-width: 690px;
}
.card-topline {
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
}
.text-link {
  margin-top: 2px;
}

/* category cards on home */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.category-card {
  min-height: 0;
  padding: 22px 18px 24px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.category-card:last-child { border-right: 0; }
.category-card:hover {
  transform: none;
  box-shadow: none;
  background: #fcfcfd;
}
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  padding: 0;
}
.card-icon .r4l-icon { width: 100%; height: 100%; }

/* pricing + notes become structured simple panels */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.price-card,
.note-card,
.step-card,
.feature-card {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.price-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 18px 26px;
}
.price-card:last-child { border-right: 0; }
.price-card.featured {
  transform: none;
  background: #fafbfc;
  border-color: var(--line);
}
.feature-card,
.step-card,
.note-card {
  border: 1px solid var(--line);
}
.feature-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

.demo-panel {
  min-height: 360px;
  border: 1px solid var(--line);
  background: #fafbfc;
}
.demo-panel::before {
  opacity: .18;
}

.footer-grid {
  margin-top: 40px;
}

/* color areas simplified */
.accent-blue .tool-visual,
.accent-red .tool-visual,
.accent-purple .tool-visual,
.accent-yellow .tool-visual,
.accent-blue .card-icon,
.accent-red .card-icon,
.accent-purple .card-icon,
.accent-yellow .card-icon {
  color: inherit;
}

/* home hero board simplified */
.hero-icon-board {
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  padding: 0;
  gap: 0;
}
.hero-icon-tile {
  border: 0;
  border-radius: 0;
  min-height: 138px;
  background: transparent !important;
  box-shadow: none;
}
.hero-icon-tile:hover {
  transform: none;
  box-shadow: none;
  background: #fcfcfd !important;
}
.hero-icon-board > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-icon-board > *:nth-child(2n) { border-right: 0; }
.hero-icon-board > *:nth-last-child(-n+2) { border-bottom: 0; }

/* cleaner typography spacing */
p { line-height: 1.55; }
.lede { color: #2d3440; }

@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card:nth-child(2n) { border-right: 0; }
  .category-card:last-child,
  .category-card:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { border-right: 0; }
  .tool-card { grid-template-columns: 140px 1fr; }
  .site-header {
    border-radius: 8px;
  }
  .site-nav {
    background: #f7f8fa;
    box-shadow: none;
    border-radius: 8px;
  }
}

@media (max-width: 650px) {
  main, .site-footer { width: 100%; border-left: 0; border-right: 0; }
  .tool-card {
    grid-template-columns: 1fr;
  }
  .tool-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 16px;
  }
  .tool-card-body {
    padding: 18px 0 18px 0;
  }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { border-right: 0; }
  .hero-icon-board { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .hero-icon-board { grid-template-columns: 1fr; }
  .hero-icon-board > * { border-right: 0 !important; }
}

/* --- R4L v5 home + nav refinement per latest feedback --- */
.site-header {
  width: min(calc(100% - 44px), var(--max));
  margin: 16px auto 0;
  padding: 14px 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.brand {
  gap: 12px;
}
.brand-mark,
.brand-mark.brand-mark-image {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-name {
  font-weight: 800;
}
.site-nav a {
  padding: 8px 10px;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}
.site-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.site-nav .nav-buy {
  margin-left: 8px;
  padding-right: 0;
  color: var(--red-dark);
  border: 0;
}
.site-nav .nav-buy.button-disabled,
.site-nav .nav-buy[aria-disabled="true"] {
  opacity: 1;
  background: transparent;
  color: var(--red-dark);
}
.nav-toggle {
  padding-right: 0;
}

main {
  margin: 0 auto;
  padding-top: 0;
}

.hero-banner {
  width: 100%;
  background: #F9B121;
}
.hero.hero-r4l.hero-r4l-banner {
  width: min(calc(100% - 44px), var(--max));
  min-height: 560px;
  margin: 0 auto;
  padding: 86px 0 82px;
  display: flex;
  align-items: flex-end;
  gap: 0;
}
.hero-r4l-banner .hero-copy {
  max-width: 760px;
}
.hero-r4l-banner .eyebrow {
  color: rgba(32,38,50,.78);
}
.hero-r4l-banner .hero-title-lockup {
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 3vw, 28px);
  margin-bottom: 12px;
}
.hero-r4l-banner .hero-title-lockup h1 {
  font-size: clamp(68px, 12vw, 148px);
  line-height: .82;
}
.hero-r4l-banner .hero-subtitle {
  margin: 6px 0 22px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.6);
  color: #a83621;
}
.hero-r4l-banner .lede {
  max-width: 760px;
  color: #242b37;
  margin: 0 0 14px;
}
.hero-r4l-banner .hero-note {
  max-width: 720px;
  margin: 0 0 26px;
  color: rgba(32,38,50,.68);
}
.hero-r4l-banner .hero-actions {
  display: flex;
  gap: 12px;
}
.hero-r4l-banner .button {
  width: auto;
}
.hero-r4l-banner .flying-rhino {
  margin-bottom: 4px;
}

/* remove boxed visual feel in hero only */
.hero-icon-board { display: none !important; }

@media (max-width: 980px) {
  .site-header {
    padding: 14px 0 10px;
  }
  .site-nav {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
  }
  .hero.hero-r4l.hero-r4l-banner {
    min-height: 500px;
    padding: 72px 0 70px;
  }
}

@media (max-width: 650px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
    margin-top: 10px;
  }
  .hero.hero-r4l.hero-r4l-banner {
    width: min(calc(100% - 24px), var(--max));
    min-height: 470px;
    padding: 52px 0 56px;
  }
  .hero-r4l-banner .hero-title-lockup {
    align-items: flex-start;
    gap: 8px;
  }
  .hero-r4l-banner .hero-title-lockup h1 {
    font-size: clamp(60px, 21vw, 94px);
  }
  .hero-r4l-banner .hero-subtitle {
    margin-bottom: 18px;
  }
}

/* --- R4L v6 hero refinement: plane inline to the right of title, shorter banner --- */
.hero.hero-r4l.hero-r4l-banner {
  min-height: 430px;
  padding: 64px 0 54px;
  align-items: center;
}

.hero-r4l-banner .hero-copy {
  max-width: 980px;
}

.hero-r4l-banner .hero-title-lockup {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 18px;
  margin: 0 0 14px;
}

.hero-r4l-banner .hero-title-lockup h1 {
  flex: 0 1 auto;
  white-space: nowrap;
  margin: 0;
}

.hero-r4l-banner .flying-rhino {
  --plane-width: 120px;
  --trail-length: 300px;
  width: calc(var(--trail-length) + var(--plane-width));
  height: 124px;
  flex: 0 0 auto;
  margin: 0 0 10px;
}

.hero-r4l-banner .hero-subtitle {
  margin: 0 0 18px;
}

.hero-r4l-banner .lede {
  margin: 0 0 12px;
  max-width: 860px;
}

.hero-r4l-banner .hero-note {
  margin: 0 0 22px;
}

@media (max-width: 1100px) {
  .hero.hero-r4l.hero-r4l-banner {
    min-height: 400px;
    padding: 56px 0 48px;
  }

  .hero-r4l-banner .hero-title-lockup {
    gap: 14px;
  }

  .hero-r4l-banner .flying-rhino {
    --plane-width: 110px;
    --trail-length: 250px;
    width: calc(var(--trail-length) + var(--plane-width));
    height: 114px;
  }
}

@media (max-width: 980px) {
  .hero.hero-r4l.hero-r4l-banner {
    min-height: 0;
    padding: 52px 0 48px;
    align-items: flex-end;
  }

  .hero-r4l-banner .hero-title-lockup {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 14px;
  }

  .hero-r4l-banner .hero-title-lockup h1 {
    white-space: normal;
  }

  .hero-r4l-banner .flying-rhino {
    --plane-width: 115px;
    --trail-length: 230px;
    width: min(100%, 345px);
    height: 114px;
    margin: 4px 0 6px;
  }
}

@media (max-width: 650px) {
  .hero.hero-r4l.hero-r4l-banner {
    padding: 44px 0 42px;
  }

  .hero-r4l-banner .hero-title-lockup {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
  }

  .hero-r4l-banner .flying-rhino {
    --plane-width: 112px;
    --trail-length: 220px;
    width: min(100%, 332px);
    height: 108px;
    margin-bottom: 4px;
  }
}
