/* RenCommerce marketing site — brand: navy #003182 + orange #f47138 */
:root {
  --bg: #f3f5f9;
  --panel: #ffffff;
  --ink: #1c2733;
  --muted: #6b7280;
  --line: #e3e8ef;
  --brand: #003182;
  --brand-deep: #00225c;
  --brand-ink: #ffffff;
  --accent: #f47138;
  --accent-deep: #d95a24;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 49, 130, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(244, 113, 56, 0.35); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { border: 2px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 78%);
  color: var(--brand-ink);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(244, 113, 56, 0.18), transparent 70%),
    radial-gradient(500px 400px at 5% 90%, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 16px;
}
.nav-logo img { width: 175px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { text-decoration: none; font-weight: 550; opacity: 0.92; }
.nav-links a:hover { opacity: 1; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

.hero-inner {
  position: relative;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(80px, 10vw, 130px);
  max-width: 860px;
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}
.hero-proof strong { color: var(--accent); font-size: 1.3rem; margin-right: 6px; }
.hero-wave { position: relative; margin-top: -1px; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sub { color: var(--muted); max-width: 560px; margin: 0 0 40px; font-size: 1.05rem; }
.section h2 { color: var(--brand); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  font-size: 1.05rem;
}
.step:nth-child(2) .step-num { background: var(--accent); }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.features { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(0, 49, 130, 0.25); }
.card-icon { font-size: 1.6rem; margin-bottom: 10px; }
.card h3 { font-size: 1rem; color: var(--brand); }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.trial-banner {
  background: linear-gradient(90deg, rgba(244, 113, 56, 0.12), rgba(0, 49, 130, 0.08));
  border: 1px solid rgba(244, 113, 56, 0.4);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin: 0 0 34px;
  font-size: 1.02rem;
}
.trial-banner strong { color: var(--accent-deep); }
/* One plan, so the card stops competing with neighbours for attention and instead splits
   into two jobs: the left rail answers "what does it cost", the right lists what that buys.
   The feature list is long on purpose -- with nothing held back for a higher tier, its length
   IS the pitch -- so it runs in columns rather than as one intimidating scroll. */
.plan {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 0;
  background: var(--panel);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(244, 113, 56, 0.18);
  overflow: hidden;
}
.plan-head {
  padding: 38px 32px;
  background: linear-gradient(160deg, rgba(244, 113, 56, 0.10), rgba(0, 49, 130, 0.06));
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-head h3 { font-size: 1.5rem; color: var(--brand); margin: 0; }
.plan-tag { color: var(--muted); font-size: 0.95rem; margin: 0; }
.plan-price {
  margin: 12px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.plan-amount { font-size: 3.2rem; font-weight: 800; color: var(--brand); line-height: 1; }
.plan-per { color: var(--muted); font-size: 1.05rem; }
.plan-alt { margin: 0; font-size: 0.98rem; }
.plan-alt strong { color: var(--accent-deep); }
.plan-cta { text-align: center; margin-top: 10px; }
.plan-fine { color: var(--muted); font-size: 0.85rem; margin: 0; }
.plan-features {
  list-style: none;
  margin: 0;
  padding: 34px 32px;
  columns: 2;
  column-gap: 34px;
}
.plan-features li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.95rem;
  break-inside: avoid;
}
.plan-features li::before {
  content: "¹3";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 750;
}
.pricing-note { color: var(--muted); font-size: 0.92rem; margin: 28px 0 0; text-align: center; }

/* ---------- Closing CTA ---------- */
.section-navy {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 80%);
  color: #fff;
}
.section-navy h2 { color: #fff; }
.closing { text-align: center; max-width: 640px; }
.closing p { color: rgba(255, 255, 255, 0.8); margin: 0 0 26px; font-size: 1.1rem; }
.closing .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-deep); color: rgba(255, 255, 255, 0.75); padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-inner img { width: 146px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--accent); }
.footer-fine { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
  .plan-head { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-features { columns: 1; }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--brand-deep);
    padding: 12px 20px 20px;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; }
  .nav { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
