* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F5F5F4;
  color: #0A0B0D;
  font-family: "Inter Tight", -apple-system, system-ui, sans-serif;
}
a { color: inherit; }
.rf-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #F5F5F4;
  border-bottom: 1px solid rgba(10,11,13,0.13);
}
/* Lock background scroll while the mobile menu is open */
body.rf-nav-locked { overflow: hidden; }
.rf-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.rf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 220px;
  min-width: 220px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.4px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.rf-brand img {
  width: 35px;
  height: 28px;
  display: block;
}
.rf-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid rgba(10,11,13,0.13);
  border-radius: 8px;
  background: #fff;
  color: #0A0B0D;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.rf-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 3px 8px;
  background: rgba(10,11,13,0.08);
  border: 1px solid rgba(10,11,13,0.13);
  border-radius: 4px;
  color: rgba(10,11,13,0.62);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
}
.rf-badge b {
  padding: 1px 5px;
  background: #0A0B0D;
  color: #F5F5F4;
  border-radius: 3px;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.rf-nav-center {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-width: 0;
  flex-wrap: nowrap;
}
.rf-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.rf-nav a:not(.rf-brand) {
  font-size: 14px;
  color: rgba(10,11,13,0.62);
  text-decoration: none;
}
.rf-nav-center > a,
.rf-products-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(10,11,13,0.62);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.rf-nav-center > a.active,
.rf-products.active > .rf-products-trigger {
  background: rgba(10,11,13,0.08);
  border-color: rgba(10,11,13,0.13);
  color: #0A0B0D;
  font-weight: 600;
}
.rf-products {
  position: relative;
}
.rf-products-caret {
  color: rgba(10,11,13,0.4);
  margin-left: 4px;
}
.rf-products-cue {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 2px 6px;
  border: 1px solid rgba(10,11,13,0.13);
  border-radius: 999px;
  background: rgba(10,11,13,0.08);
  color: rgba(10,11,13,0.62);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0.2px;
  vertical-align: 1px;
}
.rf-products.active .rf-products-cue {
  background: #fff;
  color: #0A0B0D;
}
.rf-strong-link {
  color: #0A0B0D !important;
  font-weight: 600 !important;
}
.rf-products-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  padding: 18px 10px 10px;
  background: #fff;
  border: 1px solid rgba(10,11,13,0.13);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(10,11,13,0.14);
  z-index: 20;
}
.rf-products:hover .rf-products-menu,
.rf-products:focus-within .rf-products-menu,
.rf-products.open .rf-products-menu {
  display: block;
}
.rf-product-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
}
.rf-product-row:hover {
  background: rgba(10,11,13,0.04);
}
.rf-product-main {
  color: #0A0B0D !important;
  text-decoration: none;
}
.rf-product-main strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.rf-product-main small {
  display: block;
  color: rgba(10,11,13,0.62);
  font-size: 13px;
  line-height: 1.35;
}
.rf-product-demo {
  align-self: center;
  padding: 7px 10px;
  border: 1px solid rgba(10,11,13,0.13);
  border-radius: 6px;
  color: #0A0B0D !important;
  font-size: 12.5px !important;
  text-decoration: none;
  white-space: nowrap;
}
.rf-start {
  padding: 8px 14px;
  background: #0A0B0D;
  color: #F5F5F4 !important;
  border-radius: 8px;
  font-size: 12.5px !important;
  font-weight: 500;
}
.rf-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 40px 96px;
}
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: rgba(10,11,13,0.4);
  text-transform: uppercase;
}
h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -2px;
  margin: 18px 0 20px;
  max-width: 900px;
}
h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}
p {
  color: rgba(10,11,13,0.62);
  font-size: 16px;
  line-height: 1.6;
}
.lead {
  font-size: 20px;
  max-width: 720px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(10,11,13,0.13);
  background: #fff;
}
.btn.primary {
  background: #0A0B0D;
  color: #F5F5F4;
  border-color: #0A0B0D;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid rgba(10,11,13,0.13);
  border-radius: 12px;
  padding: 28px;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(10,11,13,0.05);
  border: 1px solid rgba(10,11,13,0.10);
  color: #0A0B0D;
}
.card-icon svg { width: 34px; height: 34px; }
.card-icon.shopify {
  color: #5E8E3E;
  background: rgba(149,191,71,0.16);
  border-color: rgba(94,142,62,0.28);
}
.media-link {
  display: block;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10,11,13,0.13);
  border-radius: 12px;
  background: #0A0B0D;
  color: #F5F5F4;
  text-decoration: none;
}
.media-link video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0A0B0D;
}
.media-link-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(245,245,244,0.2);
  border-radius: 8px;
  background: rgba(10,11,13,0.72);
  color: #F5F5F4;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
.card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(10,11,13,0.7);
  line-height: 1.7;
}
.band {
  margin-top: 56px;
  padding: 36px;
  background: #0A0B0D;
  color: #F5F5F4;
  border-radius: 16px;
}
.band p { color: rgba(245,245,244,0.7); }
.band .btn {
  background: #F5F5F4;
  color: #0A0B0D;
  border-color: #F5F5F4;
}
.list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(10,11,13,0.13);
}
.row a { font-weight: 600; text-decoration: none; }
.row h2 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
details {
  background: #fff;
  border: 1px solid rgba(10,11,13,0.13);
  border-radius: 10px;
  padding: 20px 24px;
}
details + details { margin-top: 10px; }
summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
}
.rf-footer {
  background: #0A0B0D;
  color: #F5F5F4;
  padding: 64px 40px 32px;
}
.rf-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}
.rf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.rf-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 600;
}
.rf-footer-brand img {
  width: 28px;
  height: 22px;
  filter: invert(1);
}
.rf-footer p {
  color: rgba(245,245,244,0.62);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.rf-footer-kicker {
  color: rgba(245,245,244,0.45);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: lowercase;
}
.rf-footer ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rf-footer a {
  color: rgba(245,245,244,0.78);
  font-size: 13px;
  text-decoration: none;
}
.rf-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(245,245,244,0.12);
  color: rgba(245,245,244,0.45);
  display: flex;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  justify-content: space-between;
  padding-top: 24px;
}
@media (max-width: 1280px) {
  .rf-nav-inner { padding: 18px 24px; gap: 14px; }
  .rf-badge { display: none; }
  .rf-nav-center > a,
  .rf-products-trigger { padding: 8px 8px; white-space: nowrap; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  .rf-nav-inner { padding: 14px 16px; flex-wrap: wrap; gap: 12px; }
  /* When open, the menu scrolls internally so Sign in / Start free stay reachable */
  .rf-nav.rf-nav-open .rf-nav-inner { max-height: 100dvh; overflow-y: auto; }
  .rf-brand { flex: 1; width: auto; min-width: 0; }
  .rf-menu-toggle { display: inline-flex; }
  .rf-badge { display: none; }
  .rf-nav-center,
  .rf-nav-actions { display: none; }
  .rf-nav.rf-nav-open .rf-nav-center {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    gap: 2px;
  }
  .rf-nav.rf-nav-open .rf-nav-actions {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    gap: 8px;
  }
  .rf-nav-actions > a { text-align: center; }
  .rf-nav-center > a,
  .rf-products-trigger {
    width: 100%;
    padding: 10px 8px;
    text-align: left;
  }
  .rf-products { width: 100%; }
  /* Products is always expanded on mobile (matches the React menu) */
  .rf-products .rf-products-menu { display: block; }
  .rf-products-cue { display: none; }
  .rf-products-trigger { cursor: default; }
  .rf-products-menu {
    position: static;
    transform: none;
    width: 100%;
    padding: 4px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .rf-product-row { padding: 8px 10px; }
  .rf-product-main small { font-size: 12.5px; }
  .rf-wrap { padding: 48px 16px 72px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .media-link { margin-top: 18px; }
  .media-link-label {
    right: 12px;
    bottom: 12px;
    font-size: 12.5px;
    padding: 8px 10px;
  }
  .rf-footer { padding: 40px 16px 24px; }
  .rf-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
  .rf-footer-about { grid-column: 1 / -1; }
  .rf-footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}
