/*
 * Front page only.
 * All selectors are scoped to .rf-home so the shared WordPress theme and
 * every other page remain unchanged.
 */

.rf-home {
    --rf-bg: #f7fbff;
    --rf-surface: #ffffff;
    --rf-surface-2: #f0f6ff;
    --rf-surface-3: #e7f3ff;
    --rf-ink: #172033;
    --rf-muted: #667085;
    --rf-soft: #98a2b3;
    --rf-brand: #1877f2;
    --rf-brand-dark: #0f5fd3;
    --rf-brand-light: #e7f3ff;
    --rf-green: #16845c;
    --rf-green-light: #e9f8f1;
    --rf-line: #dce6f2;
    --rf-shadow-sm: 0 10px 30px rgba(16, 66, 120, 0.08);
    --rf-shadow-lg: 0 28px 80px rgba(16, 74, 145, 0.16);
    color: var(--rf-ink);
    background: var(--rf-bg);
    overflow: hidden;
}

.rf-home,
.rf-home * {
    box-sizing: border-box;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rf-home a {
    color: inherit;
    text-decoration: none;
}

.rf-home img {
    display: block;
    max-width: 100%;
    height: auto;
}

.rf-home button {
    font: inherit;
}

.rf-home [id] {
    scroll-margin-top: 150px;
}

.rf-home h1,
.rf-home h2,
.rf-home h3,
.rf-home p {
    margin-top: 0;
}

.rf-home h2 {
    margin-bottom: 20px;
    color: var(--rf-ink);
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.rf-home h3 {
    margin-bottom: 10px;
    color: var(--rf-ink);
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.rf-home p {
    color: var(--rf-muted);
    line-height: 1.7;
}

.rf-container {
    width: min(calc(100% - 40px), 1180px);
    margin-inline: auto;
}

.rf-section {
    padding: 108px 0;
}

.rf-section-sm {
    padding: 76px 0;
}

.rf-center {
    text-align: center;
}

.rf-lead {
    max-width: 670px;
    font-size: clamp(18px, 2vw, 21px);
}

.rf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #bfd7ff;
    border-radius: 999px;
    color: var(--rf-brand-dark);
    background: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.rf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rf-btn:hover {
    transform: translateY(-2px);
}

.rf-btn-primary {
    color: #ffffff !important;
    background: var(--rf-brand);
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.25);
}

.rf-btn-primary:hover {
    background: var(--rf-brand-dark);
    box-shadow: 0 14px 32px rgba(24, 119, 242, 0.32);
}

.rf-btn-secondary {
    border-color: var(--rf-line);
    color: var(--rf-ink) !important;
    background: #ffffff;
}

.rf-btn-secondary:hover {
    box-shadow: var(--rf-shadow-sm);
}

.rf-btn-dark {
    color: #ffffff !important;
    background: var(--rf-ink);
}

.rf-btn-lg {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 14px;
    font-size: 16px;
}

.rf-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero */

.rf-hero {
    position: relative;
    overflow: hidden;
    padding: calc(134px + clamp(24px, 3vw, 44px)) 0 68px;
}

.rf-hero::before {
    position: absolute;
    top: -300px;
    right: -280px;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 119, 242, 0.18) 0, rgba(24, 119, 242, 0.06) 48%, transparent 70%);
    content: "";
    pointer-events: none;
}

.rf-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;
}

.rf-hero .rf-container {
    width: min(calc(100% - 40px), 1280px);
}

.rf-hero-copy {
    position: relative;
    z-index: 2;
}

.rf-uneed-badge {
    display: inline-block;
    margin-bottom: 16px;
    transition: transform 0.18s ease;
}

.rf-uneed-badge:hover {
    transform: translateY(-2px);
}

.rf-uneed-badge img {
    width: 132px;
    height: auto;
}

.rf-hero h1 {
    max-width: 680px;
    margin: 0 0 30px;
    color: var(--rf-ink);
    font-size: clamp(48px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.rf-hero h1 span {
    color: var(--rf-brand);
}

.rf-micro-proof {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 20px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

.rf-micro-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.rf-micro-proof i {
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    color: var(--rf-green);
    background: var(--rf-green-light);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.rf-review {
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 590px;
    margin-top: 25px;
    padding: 14px 16px;
    border: 1px solid var(--rf-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.76);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rf-review:hover {
    border-color: #afcfff;
    box-shadow: var(--rf-shadow-sm);
}

.rf-review img {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.rf-review q {
    display: block;
    color: var(--rf-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.rf-review small {
    display: block;
    margin-top: 4px;
    color: var(--rf-muted);
    font-size: 11px;
}

.rf-demo-shell {
    position: relative;
    z-index: 2;
}

.rf-demo-shell:focus-visible {
    border-radius: 30px;
    outline: 3px solid rgba(24, 119, 242, 0.48);
    outline-offset: 7px;
}

.rf-demo-glow {
    position: absolute;
    inset: 10% -8% -10%;
    border-radius: 50%;
    background: rgba(24, 119, 242, 0.16);
    filter: blur(55px);
}

.rf-demo-card {
    position: relative;
    overflow: hidden;
    min-height: 653px;
    border: 1px solid rgba(24, 119, 242, 0.18);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--rf-shadow-lg);
}

.rf-demo-top {
    display: flex;
    min-height: 53px;
    align-items: center;
    justify-content: space-between;
    padding: 0 19px;
    border-bottom: 1px solid var(--rf-line);
    background: #fcfeff;
}

.rf-window-dots {
    display: flex;
    gap: 6px;
}

.rf-window-dots i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0dceb;
}

.rf-demo-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 99px;
    color: var(--rf-green);
    background: var(--rf-green-light);
    font-size: 11px;
    font-weight: 800;
}

.rf-demo-live::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #20a96f;
    box-shadow: 0 0 0 4px rgba(32, 169, 111, 0.12);
    content: "";
}

.rf-demo-card iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: 0;
    background: #ffffff;
}

/* Builder showcase */

.rf-section-intro {
    max-width: 850px;
    margin: 0 auto 44px;
    text-align: center;
}

.rf-section-intro h2 {
    max-width: 760px;
    margin: 0 auto 16px;
}

.rf-section-intro .rf-eyebrow + h2 {
    margin-top: 18px;
}

.rf-section-intro .rf-lead {
    max-width: 620px;
    margin: 0 auto;
    text-wrap: pretty;
}

.rf-showcase {
    position: relative;
}

.rf-showcase-frame {
    padding: 12px;
    border-radius: 28px;
    background: #17233a;
    box-shadow: var(--rf-shadow-lg);
}

.rf-showcase-frame img {
    width: 100%;
    border-radius: 18px;
}

.rf-showcase-labels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.rf-showcase-labels > div {
    padding: 16px 18px;
    border: 1px solid var(--rf-line);
    border-radius: 15px;
    background: #ffffff;
}

.rf-showcase-labels strong,
.rf-showcase-labels span {
    display: block;
}

.rf-showcase-labels strong {
    margin-bottom: 4px;
    font-size: 15px;
}

.rf-showcase-labels span {
    color: var(--rf-muted);
    font-size: 13px;
}

/* Build methods */

.rf-build-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.rf-build-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 340px;
    padding: 30px;
    border: 1px solid var(--rf-line);
    border-radius: 24px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rf-build-card:hover {
    border-color: #afcfff;
    box-shadow: var(--rf-shadow-sm);
    transform: translateY(-5px);
}

.rf-card-icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 15px;
    color: var(--rf-brand);
    background: var(--rf-brand-light);
    font-size: 20px;
}

.rf-build-card p {
    margin-bottom: 24px;
    font-size: 15px;
}

.rf-build-visual {
    position: relative;
    overflow: hidden;
    height: 116px;
    margin-top: auto;
    padding: 14px;
    border: 1px solid #d5e5fb;
    border-radius: 15px;
    color: var(--rf-brand);
    background: var(--rf-surface-2);
}

.rf-prompt-visual i {
    display: block;
    width: 100%;
    height: 12px;
    margin-bottom: 9px;
    border-radius: 99px;
    background: #c8dcf8;
}

.rf-prompt-visual i:nth-child(2) {
    width: 78%;
}

.rf-prompt-visual i:nth-child(3) {
    width: 55%;
}

.rf-prompt-visual b {
    display: inline-flex;
    margin-top: 1px;
    padding: 7px 11px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--rf-brand);
    font-size: 10px;
    font-weight: 800;
}

.rf-template-stack i {
    position: absolute;
    inset: 18px 22px 5px 12px;
    border: 1px solid #cbdef7;
    border-radius: 12px;
    background: #ffffff;
    transform: rotate(-4deg);
}

.rf-template-stack i:nth-child(2) {
    inset: 23px 10px 2px 25px;
    background: #edf5ff;
    transform: rotate(4deg);
}

.rf-template-stack b {
    position: absolute;
    inset: 30px 22px 0;
    display: grid;
    place-items: center;
    border: 1px solid #cbdef7;
    border-radius: 12px 12px 0 0;
    background: #ffffff;
    font-size: 13px;
}

.rf-blank-visual {
    display: grid;
    place-items: center;
    border-style: dashed;
    border-color: #9dc3f7;
    font-size: 14px;
    font-weight: 800;
}

/* Feature stories */

.rf-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 74px;
    margin-bottom: 118px;
}

.rf-feature-row:last-child {
    margin-bottom: 0;
}

.rf-feature-row-reverse .rf-feature-copy {
    order: 2;
}

.rf-feature-row-reverse .rf-feature-visual {
    order: 1;
}

.rf-feature-copy h2 {
    margin-top: 18px;
    font-size: clamp(34px, 4vw, 50px);
}

.rf-check-list {
    display: grid;
    gap: 13px;
    margin: 25px 0 28px;
    padding: 0;
    list-style: none;
}

.rf-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #475467;
    line-height: 1.55;
}

.rf-check-list li::before {
    display: grid;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    place-items: center;
    border-radius: 50%;
    color: var(--rf-green);
    background: var(--rf-green-light);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.rf-feature-visual {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border: 1px solid var(--rf-line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--rf-shadow-sm);
}

.rf-feature-visual > img {
    width: 100%;
    border-radius: 16px;
}

.rf-logic-ui {
    min-height: 410px;
    padding: 26px;
    background: var(--rf-surface-2);
}

.rf-logic-node {
    max-width: 290px;
    padding: 17px;
    border: 1px solid #c5dcf9;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(24, 82, 150, 0.06);
}

.rf-logic-node > span,
.rf-logic-branches span {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 7px;
    border-radius: 6px;
    color: var(--rf-brand);
    background: var(--rf-brand-light);
    font-size: 9px;
    font-weight: 700;
}

.rf-logic-node strong {
    display: block;
    margin-bottom: 7px;
    color: var(--rf-ink);
    font-size: 14px;
}

.rf-logic-node small {
    color: var(--rf-muted);
    font-size: 12px;
}

.rf-logic-branches {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 58px 0 0 38px;
}

.rf-logic-branches::before {
    position: absolute;
    top: -42px;
    left: 112px;
    width: 1px;
    height: 34px;
    background: #90bdf4;
    content: "";
}

.rf-logic-branches::after {
    position: absolute;
    top: -9px;
    right: 112px;
    left: 112px;
    height: 1px;
    background: #90bdf4;
    content: "";
}

.rf-logic-branches > div {
    position: relative;
    padding: 14px;
    border: 1px solid #c5dcf9;
    border-radius: 12px;
    color: #475467;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.rf-logic-branches > div::before {
    position: absolute;
    top: -15px;
    left: 50%;
    width: 1px;
    height: 14px;
    background: #90bdf4;
    content: "";
}

.rf-logic-branches span {
    display: block;
    width: max-content;
}

.rf-branding-ui {
    display: grid;
    min-height: 420px;
    place-items: center;
    background: #f7f3ed;
}

.rf-branding-form {
    width: 72%;
    padding: 46px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--rf-shadow-sm);
    text-align: center;
}

.rf-branding-form h3 {
    color: #803a1a;
    font-size: 28px;
}

.rf-branding-form p {
    color: #7d5e4d;
    font-size: 13px;
}

.rf-branding-form > span {
    display: inline-flex;
    margin-top: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    color: #ffffff;
    background: #ff7417;
    font-weight: 800;
}

.rf-swatches {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--rf-line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--rf-shadow-sm);
}

.rf-swatches::after {
    position: absolute;
    top: 25px;
    left: 54px;
    z-index: 2;
    width: 22px;
    height: 28px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='28' viewBox='0 0 22 28'%3E%3Cpath d='M2 2v19l5.1-4.8 3.7 8.8 4-1.7-3.8-8.5h7.2L2 2Z' fill='white' stroke='%23172033' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
    content: "";
    filter: drop-shadow(0 3px 3px rgba(23, 32, 51, 0.22));
    pointer-events: none;
    transform: rotate(-7deg);
    transform-origin: 2px 2px;
}

.rf-swatches i {
    display: block;
    width: 23px;
    height: 23px;
    border-radius: 7px;
    background: #1877f2;
}

.rf-swatches i:nth-child(2) {
    background: #ff7417;
}

.rf-swatches i:nth-child(3) {
    background: #1d8a67;
}

.rf-swatches i:nth-child(4) {
    background: #172033;
}

/* Migration */

.rf-migration {
    position: relative;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    padding: 68px;
    border-radius: 34px;
    color: #ffffff;
    background: var(--rf-ink);
}

.rf-migration::after {
    position: absolute;
    top: -190px;
    right: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(24, 119, 242, 0.25);
    content: "";
}

.rf-migration-copy {
    position: relative;
    z-index: 1;
}

.rf-migration .rf-eyebrow {
    border-color: rgba(255, 255, 255, 0.18);
    color: #cfe3ff;
    background: rgba(255, 255, 255, 0.08);
}

.rf-migration h2 {
    margin-top: 18px;
    color: #ffffff;
}

.rf-migration p {
    color: #c8d5e5;
}

.rf-migration .rf-actions {
    margin-top: 26px;
}

.rf-migration-tools {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rf-migration-tools > div {
    min-height: 172px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.rf-migration-tools img {
    width: 38px;
    height: 38px;
    margin-bottom: 22px;
    border-radius: 9px;
    object-fit: contain;
}

.rf-migration-tools strong,
.rf-migration-tools span {
    display: block;
}

.rf-migration-tools strong {
    margin-bottom: 7px;
}

.rf-migration-tools span {
    color: #c8d5e5;
    font-size: 12px;
    line-height: 1.5;
}

/* Templates */

.rf-templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.rf-templates-grid figure {
    margin: 0;
}

.rf-templates-grid img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--rf-line);
    border-radius: 20px;
    object-fit: contain;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 82, 150, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rf-templates-grid figure:hover img {
    box-shadow: 0 18px 38px rgba(24, 82, 150, 0.13);
    transform: translateY(-4px);
}

.rf-templates-grid figcaption {
    padding: 13px 4px 0;
    color: var(--rf-ink);
    font-size: 14px;
    font-weight: 800;
}

.rf-section-action {
    margin-top: 34px;
}

/* Integrations */

.rf-integrations-wrap {
    padding: 48px;
    border: 1px solid var(--rf-line);
    border-radius: 30px;
    background: #ffffff;
}

.rf-integrations-wrap .rf-section-intro {
    margin-bottom: 34px;
}

.rf-integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 13px;
}

.rf-integrations-grid > div {
    display: grid;
    min-height: 104px;
    place-items: center;
    padding: 14px 8px;
    border: 1px solid var(--rf-line);
    border-radius: 16px;
    background: #fbfdff;
    text-align: center;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.rf-integrations-grid > div:hover {
    border-color: #9fc5f8;
    transform: translateY(-3px);
}

.rf-integration-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    place-items: center;
}

.rf-integration-icon svg,
.rf-ai-grid i svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.rf-integration-name {
    display: block;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
}

/* Security */

.rf-security-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 70px;
}

.rf-security-grid h2 {
    margin-top: 18px;
}

.rf-security-grid .rf-btn {
    margin-top: 24px;
}

.rf-security-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rf-security-list article {
    padding: 22px;
    border: 1px solid var(--rf-line);
    border-radius: 18px;
    background: #ffffff;
}

.rf-security-list i {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 15px;
    place-items: center;
    border-radius: 11px;
    color: var(--rf-green);
    background: var(--rf-green-light);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
}

.rf-security-list strong,
.rf-security-list span {
    display: block;
}

.rf-security-list strong {
    margin-bottom: 6px;
    font-size: 14px;
}

.rf-security-list span {
    color: var(--rf-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* Pricing */

.rf-pricing {
    background: #eef5ff;
}

.rf-pricing-intro {
    margin-bottom: 30px;
}

.rf-pricing-toggle {
    display: inline-flex;
    margin: 0 auto 42px;
    padding: 5px;
    border: 1px solid var(--rf-line);
    border-radius: 12px;
    background: #ffffff;
}

.rf-pricing-toggle button {
    padding: 9px 14px;
    border: 0;
    border-radius: 9px;
    color: var(--rf-muted);
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.rf-pricing-toggle button.is-active {
    color: #ffffff;
    background: var(--rf-ink);
}

.rf-pricing-toggle button span {
    color: #8fcfb7;
}

.rf-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 18px;
    text-align: left;
}

.rf-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 31px;
    border: 1px solid var(--rf-line);
    border-radius: 24px;
    background: #ffffff;
}

.rf-price-card.rf-price-featured {
    border: 2px solid var(--rf-brand);
    box-shadow: 0 20px 55px rgba(24, 119, 242, 0.14);
    transform: translateY(-8px);
}

.rf-popular {
    position: absolute;
    top: -14px;
    right: 22px;
    padding: 7px 11px;
    border-radius: 99px;
    color: #ffffff;
    background: var(--rf-brand);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.rf-price-name {
    margin-bottom: 15px;
    color: var(--rf-ink);
    font-size: 17px;
    font-weight: 800;
}

.rf-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.rf-price strong {
    color: var(--rf-ink);
    font-size: 44px;
    letter-spacing: -0.05em;
}

.rf-price span {
    color: var(--rf-muted);
    font-size: 13px;
}

.rf-price-card .rf-price-note {
    min-height: 62px;
    margin-bottom: 21px;
    color: var(--rf-muted);
    font-size: 12px;
}

.rf-price-card > .rf-btn {
    width: 100%;
}

.rf-price-card ul {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.rf-price-card li {
    display: flex;
    gap: 9px;
    color: #475467;
    font-size: 13px;
    line-height: 1.4;
}

.rf-price-card li::before {
    color: var(--rf-green);
    content: "✓";
    font-weight: 900;
}

/* Ask AI */

.rf-ask-ai {
    background: #ffffff;
}

.rf-ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.rf-ai-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--rf-line);
    border-radius: 20px;
    background: var(--rf-bg);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rf-ai-grid a:hover {
    border-color: #afcfff;
    box-shadow: var(--rf-shadow-sm);
    transform: translateY(-4px);
}

.rf-ai-grid i {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 15px;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: #10a37f;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
}

.rf-ai-grid a:nth-child(2) i {
    background: #d4a27f;
}

.rf-ai-grid a:nth-child(3) i {
    background: #1b1f23;
}

.rf-ai-grid strong {
    margin-bottom: 5px;
    color: var(--rf-ink);
}

.rf-ai-grid span {
    color: var(--rf-muted);
    font-size: 12px;
}

/* FAQ */

.rf-faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    border-top: 1px solid var(--rf-line);
    text-align: left;
}

.rf-faq-item {
    border-bottom: 1px solid var(--rf-line);
}

.rf-faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border: 0;
    color: var(--rf-ink);
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.rf-faq-question span {
    display: grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--rf-line);
    border-radius: 9px;
    transition: transform 0.2s ease;
}

.rf-faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.28s ease;
}

.rf-faq-answer p {
    margin: 0;
    padding: 0 48px 22px 0;
    font-size: 14px;
}

.rf-faq-item.is-open .rf-faq-answer {
    max-height: 260px;
}

.rf-faq-item.is-open .rf-faq-question span {
    transform: rotate(45deg);
}

/* Final CTA */

.rf-final-cta {
    position: relative;
    overflow: hidden;
    padding: 74px 30px;
    border-radius: 34px;
    color: #ffffff;
    background: var(--rf-brand);
    text-align: center;
}

.rf-final-cta::before,
.rf-final-cta::after {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    content: "";
}

.rf-final-cta::before {
    top: -260px;
    left: -200px;
    width: 430px;
    height: 430px;
}

.rf-final-cta::after {
    right: -120px;
    bottom: -180px;
    width: 280px;
    height: 280px;
}

.rf-final-cta h2 {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto 18px;
    color: #ffffff;
}

.rf-final-cta .rf-lead {
    position: relative;
    z-index: 1;
    max-width: 670px;
    margin: 0 auto 26px;
    color: #eaf3ff;
    text-wrap: pretty;
}

.rf-final-cta .rf-actions {
    position: relative;
    z-index: 1;
    justify-content: center;
}

.rf-final-cta .rf-btn-secondary {
    border: 0;
}

/* Responsive */

@media (max-width: 980px) {
    .rf-hero-grid,
    .rf-security-grid {
        grid-template-columns: 1fr;
    }

    .rf-hero-copy {
        text-align: center;
    }

    .rf-hero h1 {
        margin-inline: auto;
    }

    .rf-hero .rf-actions,
    .rf-micro-proof {
        justify-content: center;
    }

    .rf-review {
        margin-inline: auto;
        text-align: left;
    }

    .rf-demo-shell {
        width: 100%;
        max-width: 670px;
        margin-inline: auto;
    }

    .rf-build-grid,
    .rf-templates-grid,
    .rf-pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rf-feature-row {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .rf-feature-row-reverse .rf-feature-copy,
    .rf-feature-row-reverse .rf-feature-visual {
        order: initial;
    }

    .rf-feature-copy {
        text-align: center;
    }

    .rf-feature-copy h2 {
        max-width: 760px;
    }

    .rf-feature-copy h2,
    .rf-feature-copy .rf-lead {
        margin-inline: auto;
    }

    .rf-check-list {
        max-width: 560px;
        margin-inline: auto;
        text-align: left;
    }

    .rf-migration {
        grid-template-columns: 1fr;
        padding: 48px;
    }

    .rf-migration-copy,
    .rf-security-grid > div:first-child {
        text-align: center;
    }

    .rf-migration-copy .rf-lead,
    .rf-security-grid > div:first-child .rf-lead {
        margin-inline: auto;
    }

    .rf-migration .rf-actions {
        justify-content: center;
    }

    .rf-integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rf-security-grid {
        gap: 42px;
    }

    .rf-price-card.rf-price-featured {
        transform: none;
    }

    .rf-ai-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .rf-hero {
        padding-top: clamp(140px, 18vw, 150px);
    }
}

@media (min-width: 681px) and (max-width: 980px) {
    .rf-build-grid > :last-child,
    .rf-pricing-grid > :last-child {
        grid-column: 1 / -1;
        width: calc((100% - 18px) / 2);
        justify-self: center;
    }
}

@media (max-width: 680px) {
    .rf-home [id] {
        scroll-margin-top: 115px;
    }

    .rf-container {
        width: min(calc(100% - 28px), 1180px);
    }

    .rf-section {
        padding: 78px 0;
    }

    .rf-section-sm {
        padding: 58px 0;
    }

    .rf-hero {
        padding-top: 140px;
    }

    .rf-hero h1 {
        font-size: 48px;
    }

    .rf-uneed-badge img {
        width: 116px;
    }

    .rf-demo-card {
        min-height: 593px;
        border-radius: 24px;
    }

    .rf-demo-card iframe {
        height: 540px;
    }

    .rf-showcase-frame {
        padding: 7px;
        border-radius: 18px;
    }

    .rf-showcase-frame img {
        border-radius: 12px;
    }

    .rf-showcase-labels,
    .rf-build-grid,
    .rf-templates-grid,
    .rf-pricing-grid,
    .rf-security-list,
    .rf-ai-grid {
        grid-template-columns: 1fr;
    }

    .rf-build-card {
        min-height: 300px;
    }

    .rf-feature-row {
        margin-bottom: 86px;
    }

    .rf-logic-ui {
        min-height: 360px;
        padding: 20px;
    }

    .rf-logic-branches {
        margin-left: 0;
    }

    .rf-logic-branches::before {
        left: 50%;
    }

    .rf-logic-branches::after {
        right: 25%;
        left: 25%;
    }

    .rf-branding-form {
        width: 90%;
        padding: 32px 20px;
    }

    .rf-swatches {
        right: 18px;
        bottom: 18px;
    }

    .rf-migration {
        padding: 38px 24px;
        border-radius: 26px;
    }

    .rf-migration-tools {
        grid-template-columns: 1fr;
    }

    .rf-migration-tools > div {
        min-height: 120px;
    }

    .rf-integrations-wrap {
        padding: 32px 20px;
    }

    .rf-integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rf-pricing-grid {
        gap: 14px;
    }

    .rf-price-card .rf-price-note {
        min-height: 0;
    }

    .rf-final-cta {
        padding: 58px 20px;
    }

    .rf-micro-proof {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .rf-hero {
        padding-top: 128px;
    }

    .rf-hero h1 {
        font-size: 41px;
    }

    .rf-hero .rf-btn-lg {
        width: 100%;
    }

    .rf-review {
        align-items: flex-start;
    }

    .rf-demo-card iframe {
        height: 510px;
    }

    .rf-demo-card {
        min-height: 563px;
    }

    .rf-logic-branches {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .rf-logic-branches::after,
    .rf-logic-branches > div::before {
        display: none;
    }

    .rf-logic-branches::before {
        top: -34px;
        left: 20px;
        height: 27px;
    }

    .rf-pricing-toggle {
        width: 100%;
    }

    .rf-pricing-toggle button {
        flex: 1;
        padding-inline: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rf-home *,
    .rf-home *::before,
    .rf-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
