/* rirofeed.com marketing site, v2 ("modern"). Same layout and tokens as site/, with a modern layer at the end:
   rounder corners, soft layered shadows, gradient light in the hero and dark sections, pill buttons. The maroon comes from the logo. */
:root {
  --bg: #faf9f6; --panel: #ffffff; --panel-2: #f3f2ee; --ink: #18181b; --muted: #63636b; --line: #e4e4e7;
  --amber: #f59e0b; --amber-deep: #d98a06; --amber-soft: #fdf3dc; --amber-text: #8a4b06;
  --maroon: #4a0e2e; --maroon-2: #3a0a24;
  --pos: #15803d; --pos-soft: #ecf6ee; --neg: #dc2626; --neg-soft: #fcefee; --neu: #d4d4d8;
  --t1: #2563eb; --t2: #0ea5e9; --t3: #a3a3a3; --t4: #f59e0b; --t5: #ef4444;
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --r: 4px;
  --pop: 4px 4px 0 var(--ink);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 700 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1.5px solid var(--ink); border-radius: var(--r);
  font: 700 15px/1 var(--head); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn-primary { background: var(--amber); color: #1c1203; box-shadow: var(--pop); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: var(--panel); color: var(--ink); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 246, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-signin { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--ink); border-radius: var(--r); width: 42px; height: 42px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { display: none; }

/* hero */
.hero { padding: 72px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--amber) 62%, var(--amber) 92%, transparent 92%); }
.hero .lead { margin: 22px 0 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--pos); font-weight: 700; margin-right: 6px; }

/* representative product images: drawn in HTML, never interactive */
.shot { pointer-events: none; user-select: none; -webkit-user-select: none; }
.card { background: var(--panel); border: 1.5px solid var(--ink); border-radius: var(--r); box-shadow: var(--pop); }
.mini-label { font: 700 10px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--body); padding: 6px 9px; border-radius: 3px; white-space: nowrap; }
.pill.ok { background: var(--pos-soft); color: var(--pos); }
.pill.bad { background: var(--neg-soft); color: var(--neg); }
.pill.amber { background: var(--amber-soft); color: var(--amber-text); }
.pill.grey { background: var(--panel-2); color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stars { color: var(--amber); letter-spacing: 1px; font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--head); color: #fff; flex-shrink: 0; }

.hero-art { position: relative; height: 580px; }
.hero-art .h-dash { position: absolute; top: 0; right: 0; width: 82%; padding: 18px; }
.hero-art .h-form { position: absolute; left: 0; top: 150px; width: 58%; padding: 22px; z-index: 2; }
.hero-art .h-quote { position: absolute; right: 2%; bottom: 56px; width: 56%; padding: 18px; z-index: 3; }
.hero-art .h-sync { position: absolute; left: 4%; bottom: 0; z-index: 4; box-shadow: 3px 3px 0 var(--ink); border: 1.5px solid var(--ink); background: var(--panel); padding: 10px 12px; font-size: 13px; font-weight: 600; border-radius: var(--r); display: flex; align-items: center; gap: 8px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.kpi { background: var(--panel-2); border-radius: 3px; padding: 10px 12px; }
.kpi b { display: block; font: 800 26px/1.1 var(--head); letter-spacing: -.03em; margin-top: 6px; }
.kpi small { color: var(--pos); font-weight: 600; font-size: 11.5px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; margin-top: 14px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; display: flex; flex-direction: column-reverse; border-radius: 2px 2px 0 0; overflow: hidden; }
.bars i b { display: block; }
.nps-q { font: 700 17px/1.3 var(--head); letter-spacing: -.01em; margin: 10px 0 14px; }
.scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.scale span { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; font: 600 12px/1 var(--head); color: var(--muted); }
.scale span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.scale-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.quote-text { font-size: 14.5px; line-height: 1.5; margin: 8px 0 12px; }
.who { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.3; }
.who small { color: var(--muted); display: block; }

/* section frame */
section { padding: 96px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 14px 0 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin: 0 auto; }

/* positioning strip */
.replace { padding: 40px 0 80px; }
.replace-box { border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--panel); display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; align-items: center; gap: 20px; padding: 28px 32px; }
.replace-item { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.replace-item s { text-decoration-thickness: 2px; text-decoration-color: var(--neg); }
.replace-item b { color: var(--ink); font-family: var(--head); font-size: 17px; display: block; }
.replace-op { font: 800 26px/1 var(--head); color: var(--line); }
.replace-out { display: flex; gap: 14px; align-items: center; background: var(--amber-soft); padding: 14px 16px; border-radius: 3px; }
.replace-out img { width: 40px; height: 40px; border-radius: 6px; }
.replace-out b { font-family: var(--head); font-size: 17px; display: block; }
.replace-out span { font-size: 14px; color: var(--amber-text); }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.pillar { padding: 30px 26px 32px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar .n { font: 800 13px/1 var(--head); color: var(--amber-text); }
.pillar h3 { font-size: 24px; margin: 14px 0 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.pillar .ico { width: 44px; height: 44px; border-radius: var(--r); background: var(--panel-2); display: grid; place-items: center; margin-top: 18px; }
.pillar .ico svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-copy { order: 2; }
.feature h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin: 14px 0 16px; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17.5px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.ticks li { padding-left: 30px; position: relative; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 3px; background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a4b06' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.feature-art { position: relative; }

/* form builder image */
.builder { display: grid; grid-template-columns: 150px 1fr; overflow: hidden; }
.builder aside { background: var(--panel-2); border-right: 1px solid var(--line); padding: 14px 12px; display: grid; gap: 6px; align-content: start; }
.builder aside span { font-size: 12.5px; padding: 7px 9px; border-radius: 3px; background: var(--panel); border: 1px solid var(--line); }
.builder aside span.on { border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); font-weight: 600; }
.builder main { padding: 18px; display: grid; gap: 10px; }
.q { border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; }
.q.on { border-color: var(--amber); box-shadow: inset 3px 0 0 var(--amber); }
.q b { font: 600 14px/1.35 var(--head); display: block; }
.q small { color: var(--muted); font-size: 12px; }
.logic { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--amber-text); background: var(--amber-soft); padding: 4px 8px; border-radius: 3px; margin-top: 8px; }
.types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.types span { font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); background: var(--panel); border-radius: 3px; }

/* temperature image */
.temp { padding: 30px 26px; text-align: center; }
.temp h4 { font-size: 21px; margin: 10px 0 22px; }
.temp-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.temp-row div { border: 1px solid var(--line); border-radius: 4px; padding: 14px 4px 10px; display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.temp-row div em { font-style: normal; font-size: 30px; line-height: 1; }
.temp-row div.on { border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); font-weight: 600; }
.thermo { margin-top: 26px; text-align: left; }
.thermo-bar { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--t1), var(--t2), var(--t3), var(--t4), var(--t5)); position: relative; margin-top: 10px; }
.thermo-bar i { position: absolute; top: -5px; width: 4px; height: 22px; background: var(--ink); border-radius: 2px; }
.thermo-row { display: flex; justify-content: space-between; align-items: baseline; }
.thermo-row b { font: 800 30px/1 var(--head); letter-spacing: -.03em; }
.styles-strip { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.styles-strip span { font-size: 12.5px; padding: 6px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 3px; }

/* distribution image */
.dist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dist .card { padding: 16px; }
.email-mock { font-size: 13px; }
.email-mock .subj { font: 700 14px/1.3 var(--head); margin: 6px 0 10px; }
.email-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; margin-top: 10px; }
.email-scale span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 2px; font: 700 10.5px/1 var(--head); color: #fff; }
.site-mock { position: relative; min-height: 170px; background: repeating-linear-gradient(0deg, transparent 0 14px, var(--panel-2) 14px 22px); background-size: 100% 22px; background-position: 0 40px; }
.site-mock .bar { height: 26px; border-bottom: 1px solid var(--line); margin: -16px -16px 14px; display: flex; gap: 5px; align-items: center; padding: 0 10px; background: var(--panel); }
.site-mock .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.fab { position: absolute; right: 12px; bottom: 12px; background: var(--ink); color: #fff; font: 700 12px/1 var(--head); padding: 10px 13px; border-radius: 20px; display: flex; align-items: center; gap: 6px; }
.funnel { grid-column: 1 / -1; }
.funnel-row { display: grid; grid-template-columns: 90px 1fr 50px; gap: 12px; align-items: center; font-size: 13px; margin-top: 10px; }
.funnel-row div { height: 14px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.funnel-row div b { display: block; height: 100%; background: var(--ink); }
.funnel-row:nth-child(3) div b { background: var(--amber-deep); }
.funnel-row:nth-child(4) div b { background: var(--amber); }
.funnel-row span:last-child { text-align: right; font-weight: 600; }

/* analytics image */
.dash { padding: 20px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.gauge-row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; margin-top: 16px; align-items: center; }
.gauge { position: relative; }
.gauge b { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 800 34px/1 var(--head); letter-spacing: -.03em; }
.split { display: grid; gap: 9px; font-size: 13px; }
.split div { display: grid; grid-template-columns: 82px 1fr 40px; gap: 10px; align-items: center; }
.split i { display: block; height: 10px; border-radius: 2px; }
.split span:last-child { text-align: right; font-weight: 600; }
.themes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.themes span { font-size: 12.5px; padding: 5px 9px; border-radius: 3px; display: inline-flex; gap: 6px; }
.themes span b { font-weight: 700; }
.resp { margin-top: 14px; display: grid; gap: 8px; }
.resp-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; font-size: 13px; padding: 9px 10px; background: var(--panel-2); border-radius: 3px; }
.score { font: 800 14px/1; font-family: var(--head); width: 30px; height: 30px; border-radius: 3px; display: grid; place-items: center; color: #fff; }

/* testimonials + wall */
.inbox { padding: 16px; margin-bottom: 18px; }
.inbox-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.inbox-row:first-of-type { border-top: 0; }
.inbox-row p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.actions { display: flex; gap: 6px; }
.actions span { font: 600 12px/1; font-family: var(--body); padding: 7px 10px; border-radius: 3px; border: 1px solid var(--line); }
.actions span.yes { background: var(--ink); color: #fff; border-color: var(--ink); }
.wall { background: var(--maroon); border-radius: var(--r); padding: 22px; border: 1.5px solid var(--ink); box-shadow: var(--pop); }
.wall-head { color: #fff; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.wall-head b { font: 800 18px/1 var(--head); }
.wall-head span { font-size: 12px; opacity: .7; }
.masonry { columns: 3; column-gap: 10px; }
.masonry > div { break-inside: avoid; background: #fff; border-radius: 4px; padding: 12px; margin-bottom: 10px; font-size: 12.5px; line-height: 1.45; }
.masonry .stars { font-size: 11px; }
.masonry .who { margin-top: 10px; font-size: 11.5px; }
.masonry .avatar { width: 24px; height: 24px; font-size: 10px; }
.layouts { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.layouts span { font-size: 12.5px; padding: 6px 10px; border: 1px solid var(--line); background: var(--panel); border-radius: 3px; }
.layouts span.on { border-color: var(--ink); font-weight: 600; }

/* CRM section (dark) */
.crm { background: var(--maroon); color: #fff; }
.crm .eyebrow { color: var(--amber); }
.crm .lead { color: rgba(255, 255, 255, .72); }
.crm-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.crm .ticks li { color: rgba(255, 255, 255, .9); }
.crm .ticks li::before { background-color: rgba(245, 158, 11, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.contact { background: var(--panel); color: var(--ink); border-radius: var(--r); border: 1.5px solid #000; box-shadow: 6px 6px 0 #000; overflow: hidden; }
.contact-head { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.contact-head .avatar { width: 42px; height: 42px; font-size: 14px; }
.contact-head b { font: 700 16px/1.2 var(--head); display: block; }
.contact-head small { color: var(--muted); }
.contact-head .pill { margin-left: auto; }
.fields { padding: 8px 18px 14px; }
.field { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.field:last-child { border-bottom: 0; }
.field code { font-size: 12px; color: var(--muted); font-family: ui-monospace, "JetBrains Mono", monospace; }
.field span { font-weight: 600; }
.ticket { margin: 0 18px 18px; border: 1px solid var(--neg); background: var(--neg-soft); border-radius: 3px; padding: 11px 12px; font-size: 13px; color: var(--neg); display: flex; gap: 10px; align-items: center; }
.ticket b { color: var(--ink); }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 56px; }
.logos div { border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); padding: 16px 14px; text-align: center; font: 700 15px/1.2 var(--head); color: #fff; }
.logos div small { display: block; font: 400 12px/1.3 var(--body); color: rgba(255, 255, 255, .6); margin-top: 5px; }
.logos div.hl { background: rgba(245, 158, 11, .14); border-color: var(--amber); }

/* automations + developers */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--panel); padding: 32px; }
.panel h3 { font-size: 26px; font-weight: 800; margin: 12px 0 12px; }
.panel > p { color: var(--muted); }
.flow { margin-top: 24px; display: grid; gap: 0; }
.flow div { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; font-size: 14.5px; background: var(--bg); }
.flow div b { font-family: var(--head); }
.flow i { display: block; width: 2px; height: 16px; background: var(--line); margin-left: 26px; }
.flow .k { font: 700 10px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); background: var(--amber-soft); padding: 5px 7px; border-radius: 3px; min-width: 54px; text-align: center; }
.code { margin-top: 24px; background: #111113; color: #e4e4e7; border-radius: var(--r); padding: 18px; font: 13px/1.65 ui-monospace, "JetBrains Mono", Menlo, monospace; overflow: hidden; white-space: pre; }
.code .c { color: #71717a; } .code .s { color: #fbbf24; } .code .k { color: #93c5fd; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 28px; border-top: 3px solid var(--ink); background: var(--panel); border-radius: 0 0 var(--r) var(--r); }
.step::before { counter-increment: s; content: "0" counter(s); font: 800 44px/1 var(--head); color: var(--amber); letter-spacing: -.04em; }
.step h3 { font-size: 22px; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* suite */
.suite { padding: 0 0 96px; }
.suite-box { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 30px 32px; background: var(--amber-soft); }
.suite-box img { width: 64px; height: 64px; border-radius: 10px; }
.suite-box h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.suite-box p { color: var(--amber-text); }

/* pricing */
.pricing { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 3px; background: var(--bg); margin-top: 26px; }
.toggle button { border: 0; background: none; font: 700 14px/1 var(--head); padding: 10px 16px; border-radius: 2px; cursor: pointer; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle .save { font-size: 11px; color: var(--pos); margin-left: 4px; }
.toggle button[aria-pressed="true"] .save { color: #86efac; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1.5px solid var(--line); border-radius: var(--r); padding: 30px 28px; background: var(--bg); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); background: var(--panel); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--amber); border: 1.5px solid var(--ink); font: 700 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 3px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 6px; min-height: 48px; }
.price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font: 800 52px/1 var(--head); letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 15px; }
.billed { font-size: 13.5px; color: var(--muted); min-height: 21px; }
.plan .btn { margin: 22px 0 24px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; font-weight: 800; color: var(--pos); }
.plan li.lim b { font-family: var(--head); }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.price-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.price-note { border: 1px dashed var(--muted); border-radius: var(--r); padding: 20px 22px; display: flex; gap: 16px; align-items: center; font-size: 15px; }
.price-note b { font-family: var(--head); display: block; font-size: 16px; }
.price-note p { color: var(--muted); font-size: 14.5px; }
.price-note img { width: 40px; height: 40px; border-radius: 6px; }
.price-note .plus { width: 40px; height: 40px; border-radius: 6px; background: var(--panel-2); display: grid; place-items: center; font: 800 22px/1 var(--head); flex-shrink: 0; }
.fine { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 22px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { font: 700 18px/1.35 var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--amber-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* final cta + footer */
.final { padding: 0 0 96px; }
.final-box { background: var(--ink); color: #fff; border-radius: var(--r); padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }
.final-box h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; max-width: 820px; margin: 0 auto 18px; }
.final-box h2 em { font-style: normal; color: var(--amber); }
.final-box p { color: rgba(255, 255, 255, .7); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.final-box .btn-primary { box-shadow: 4px 4px 0 var(--amber-deep); border-color: var(--amber); }
.final-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.final-box .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.final-emoji { position: absolute; font-size: 44px; opacity: .9; }
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-grid p { color: var(--muted); margin-top: 14px; max-width: 300px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* reveal on scroll (only when JS has run) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .replace-box { grid-template-columns: 1fr; gap: 12px; text-align: left; }
  .replace-op { display: none; }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mobile-menu.open { display: grid; gap: 4px; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: var(--bg); }
  .mobile-menu a { padding: 12px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 12px; }
  .hero { padding-top: 48px; }
  .hero-grid, .feature, .crm-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-copy { order: 0; }
  .hero-art { height: 560px; max-width: 560px; }
  .two-up, .steps, .plans, .price-notes { grid-template-columns: 1fr; }
  .plans { gap: 28px; }
  .suite-box { grid-template-columns: 1fr; text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-art { height: 600px; }
  .hero-art .h-dash { width: 100%; }
  .hero-art .h-form { width: 78%; top: 180px; padding: 16px; }
  .hero-art .h-quote { width: 78%; right: 0; }
  .hero-art .h-sync { left: 0; bottom: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .builder { grid-template-columns: 1fr; }
  .builder aside { display: none; }
  .dist { grid-template-columns: 1fr; }
  .gauge-row { grid-template-columns: 1fr; }
  .gauge { max-width: 180px; margin: 0 auto; }
  .masonry { columns: 2; }
  .logos { grid-template-columns: 1fr 1fr; }
  .temp-row div em { font-size: 24px; }
  .temp-row div { font-size: 10.5px; }
  .panel { padding: 24px 20px; }
  .code { font-size: 11.5px; }
  .final-box { padding: 56px 20px; }
  .final-emoji { display: none; }
  .replace-box { padding: 22px 20px; }
}

/* grid children may shrink below their content (the code sample would otherwise widen the page on phones) */
.hero-grid > *, .feature > *, .crm-grid > *, .two-up > *, .faq-grid > *, .plans > * { min-width: 0; }
.code { overflow-x: auto; }

/* ───────────── Modern layer (v2) ───────────── */
:root {
  --r: 16px; --r-sm: 10px;
  --line: #ebeae6;
  --pop: 0 1px 2px rgba(24, 24, 27, .05), 0 8px 24px -8px rgba(24, 24, 27, .12), 0 24px 56px -24px rgba(74, 14, 46, .18);
  --lift: 0 1px 2px rgba(24, 24, 27, .05), 0 14px 32px -10px rgba(24, 24, 27, .16), 0 32px 72px -28px rgba(74, 14, 46, .25);
  --grad: linear-gradient(100deg, #f59e0b 0%, #f97316 45%, #be185d 100%);
}
body { letter-spacing: -.005em; }
h1, h2, h3 { letter-spacing: -.035em; }

/* eyebrows become small chips */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--panel);
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(24, 24, 27, .05); font-size: 11px; letter-spacing: .1em; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px var(--amber-soft); }

/* buttons: pills with a soft glow */
.btn { border-radius: 999px; border: 1px solid transparent; padding: 14px 24px; transition: transform .15s, box-shadow .2s, background .2s; }
.btn-sm { padding: 10px 16px; }
.btn-primary { background: linear-gradient(180deg, #fbbf24, #f59e0b); border-color: rgba(138, 75, 6, .18); color: #1c1203;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(138, 75, 6, .2), 0 8px 20px -6px rgba(245, 158, 11, .55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 4px rgba(138, 75, 6, .2), 0 14px 28px -8px rgba(245, 158, 11, .65); }
.btn-primary:active { transform: translateY(0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(138, 75, 6, .2); }
.btn-ghost { border-color: var(--line); box-shadow: 0 1px 2px rgba(24, 24, 27, .05); }
.btn-ghost:hover { background: var(--panel); border-color: #d4d4d8; }
.btn-dark { background: var(--ink); box-shadow: 0 8px 20px -8px rgba(24, 24, 27, .5); }
.menu-btn { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }

/* nav: floating glass bar */
.nav { background: transparent; backdrop-filter: none; border-bottom: 0; padding-top: 12px; }
.nav .wrap { height: 60px; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid rgba(235, 234, 230, .9); border-radius: 999px; max-width: calc(var(--wrap) - 24px); padding: 0 10px 0 22px; transition: box-shadow .2s; }
.nav.scrolled .wrap { box-shadow: 0 10px 30px -12px rgba(24, 24, 27, .18); }
.nav.scrolled { border-bottom-color: transparent; }
.mobile-menu.open { margin: 8px 16px 0; border: 1px solid var(--line) !important; border-radius: 20px; box-shadow: var(--pop); }

/* hero: soft gradient light and a faded dot grid */
.hero { overflow: hidden; margin-top: -72px; padding-top: 144px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 420px at 78% 30%, rgba(245, 158, 11, .22), transparent 70%),
              radial-gradient(520px 400px at 92% 72%, rgba(190, 24, 93, .14), transparent 70%),
              radial-gradient(500px 360px at 8% 10%, rgba(251, 191, 36, .12), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(24, 24, 27, .09) 1px, transparent 1px);
  background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 75%); }
.hero h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-note span::before { content: ""; display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px; margin-right: 7px;
  background: var(--pos-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }

/* cards: soft borders, layered shadows, gentle float in the hero */
.card { border: 1px solid rgba(24, 24, 27, .08); border-radius: var(--r); box-shadow: var(--pop); }
.hero-art .card, .hero-art .h-sync { animation: float 7s ease-in-out infinite; }
.hero-art .h-form { animation-delay: -2s; }
.hero-art .h-quote { animation-delay: -4s; }
.hero-art .h-sync { animation-delay: -1s; border: 1px solid rgba(24, 24, 27, .08); border-radius: 999px; box-shadow: var(--lift); padding: 8px 14px 8px 8px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); }
.hero-art .h-sync .pill { border-radius: 50%; width: 24px; height: 24px; justify-content: center; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-art .card, .hero-art .h-sync { animation: none; } }
.pill { border-radius: 999px; padding: 6px 10px; }
.kpi, .q, .resp-row, .temp-row div, .types span, .styles-strip span, .layouts span, .builder aside span, .actions span, .flow div, .funnel-row div, .themes span { border-radius: var(--r-sm); }
.scale span, .email-scale span { border-radius: 8px; }
.score { border-radius: 8px; }
.scale span.on { background: var(--grad); border-color: transparent; box-shadow: 0 4px 10px -3px rgba(249, 115, 22, .6); }
.builder aside span.on { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.temp-row div.on { border: 1px solid var(--amber); box-shadow: 0 0 0 4px var(--amber-soft), 0 10px 20px -10px rgba(245, 158, 11, .7); }
.q.on { box-shadow: inset 3px 0 0 var(--amber), 0 0 0 3px var(--amber-soft); }
.fab { background: var(--grad); box-shadow: 0 8px 18px -6px rgba(190, 24, 93, .5); }
.funnel-row div b { border-radius: 999px; background: var(--ink); }
.funnel-row:nth-child(3) div b { background: linear-gradient(90deg, #f97316, #f59e0b); }
.funnel-row:nth-child(4) div b { background: var(--grad); }
.funnel-row div { border-radius: 999px; }
.split i { border-radius: 999px; }
.thermo-bar { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); }
.thermo-bar i { background: #fff; border: 2px solid var(--ink); width: 22px; height: 22px; top: -5px; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.ticks li::before { border-radius: 50%; }

/* positioning strip */
.replace-box { border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--pop); }
.replace-out { border-radius: var(--r); background: linear-gradient(120deg, #fff7e6, #fdeef3); }
.replace-out img { border-radius: 12px; }

/* pillars: bento cards */
.pillars { border: 0; background: none; gap: 16px; overflow: visible; }
.pillar { border: 1px solid var(--line) !important; border-radius: 20px; background: var(--panel); box-shadow: 0 1px 2px rgba(24, 24, 27, .04); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.pillar::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, .16), transparent 70%); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--lift); }
.pillar .ico { border-radius: 14px; background: linear-gradient(140deg, #fff3d6, #fde2ea); }
.pillar .ico svg { stroke: var(--maroon); }

/* feature rows */
.feature + .feature { border-top: 0; }
.feature { padding: 64px 0; }
#testimonials .feature { border-top: 0 !important; }

/* wall */
.wall { border: 0; border-radius: 22px; background: radial-gradient(400px 260px at 90% 0%, rgba(245, 158, 11, .28), transparent 70%), linear-gradient(160deg, #5a1238, #2e0820); box-shadow: var(--lift); }
.masonry > div { border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.inbox { margin-bottom: 16px; }

/* CRM: deep night with warm glow */
.crm { background: radial-gradient(700px 420px at 85% 20%, rgba(245, 158, 11, .18), transparent 70%), radial-gradient(600px 420px at 0% 100%, rgba(190, 24, 93, .25), transparent 70%), #160811; position: relative; }
.crm .eyebrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; color: #fcd34d; }
.crm .eyebrow::before { box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }
.contact { border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 255, 255, .04); }
.ticket { border-radius: 12px; }
.logos div { border-radius: 14px; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); transition: background .2s; }
.logos div:hover { background: rgba(255, 255, 255, .08); }
.logos div.hl { background: linear-gradient(140deg, rgba(245, 158, 11, .22), rgba(190, 24, 93, .18)); border-color: rgba(245, 158, 11, .6); }

/* automations + API */
.panel { border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--pop); }
.flow div { background: var(--panel-2); border-color: transparent; }
.flow .k { border-radius: 999px; }
.code { border-radius: 14px; background: linear-gradient(180deg, #18181b, #0f0f11); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

/* steps */
.step { border-top: 0; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(24, 24, 27, .04); }
.step::before { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* suite */
.suite-box { border: 1px solid rgba(245, 158, 11, .35); border-radius: 24px; background: linear-gradient(120deg, #fff7e6, #fdeef3); }
.suite-box img { border-radius: 16px; box-shadow: 0 8px 20px -8px rgba(74, 14, 46, .5); }

/* pricing */
.pricing { background: linear-gradient(180deg, var(--bg), #fff 30%, #fff 70%, var(--bg)); border: 0; }
.toggle { border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--panel); box-shadow: 0 1px 2px rgba(24, 24, 27, .05); }
.toggle button { border-radius: 999px; }
.plan { border: 1px solid var(--line); border-radius: 24px; background: var(--panel); box-shadow: 0 1px 2px rgba(24, 24, 27, .04); }
.plan.featured { border: 1px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; box-shadow: var(--lift); }
.plan .badge { border: 0; border-radius: 999px; background: var(--grad); color: #fff; padding: 7px 12px; box-shadow: 0 6px 14px -6px rgba(190, 24, 93, .6); }
.plan li::before { content: ""; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--pos-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.price-note { border: 1px solid var(--line); border-style: solid; border-radius: 20px; background: var(--panel); }
.price-note .plus, .price-note img { border-radius: 12px; }

/* faq: soft cards */
.faq details { border: 1px solid var(--line) !important; border-radius: 16px; padding: 18px 22px; background: var(--panel); margin-bottom: 10px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--pop); }
.faq summary::after { width: 28px; height: 28px; border-radius: 50%; background: var(--amber-soft); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }

/* final CTA */
.final-box { border-radius: 32px; background: radial-gradient(500px 300px at 15% 0%, rgba(245, 158, 11, .35), transparent 70%), radial-gradient(500px 320px at 90% 100%, rgba(190, 24, 93, .4), transparent 70%), #160811; }
.final-box h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final-box .btn-primary { border-color: rgba(138, 75, 6, .18); box-shadow: 0 10px 30px -8px rgba(245, 158, 11, .7); }
.final-box .btn-ghost { border-color: rgba(255, 255, 255, .25); box-shadow: none; }

@media (max-width: 900px) {
  .nav .wrap { margin: 0 12px; padding: 0 8px 0 18px; }
  .hero { padding-top: 120px; }
}
@media (max-width: 560px) {
  .nav { padding-top: 8px; }
  .nav .wrap { margin: 0 8px; height: 56px; padding: 0 7px 0 14px; }
  .hero { padding-top: 104px; }
  .pillars { gap: 12px; }
}

/* Tighter rhythm: sections, feature rows and headings sit closer together */
section { padding: 64px 0; }
.sec-head { margin-bottom: 36px; }
.hero { padding-bottom: 24px; }
.replace { padding: 24px 0 48px; }
.feature { padding: 40px 0; gap: 56px; }
.crm-grid, .faq-grid { gap: 48px; }
.logos { margin-top: 40px; }
.suite, .final { padding-bottom: 64px; }
.final-box { padding: 60px 48px; }
footer { padding: 40px 0 32px; }
.foot-base { margin-top: 32px; }
@media (max-width: 900px) {
  section { padding: 48px 0; }
  .hero-grid, .feature, .crm-grid, .faq-grid { gap: 32px; }
  .feature { padding: 28px 0; }
  .sec-head { margin-bottom: 28px; }
  .suite, .final { padding-bottom: 48px; }
}
@media (max-width: 560px) {
  .final-box { padding: 48px 20px; }
}
