/* R2R theme components. Tokens come from theme.json (var(--wp--preset--*)). */

:root {
	--r2r-radius: 14px;
	--r2r-radius-lg: 20px;
	--r2r-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks > main { margin-block-start: 0; }
/* Full-width sections sit flush against each other */
.wp-block-post-content > .alignfull, main > .alignfull + .alignfull, .wp-block-post-content + .alignfull { margin-block-start: 0 !important; }
.wp-site-blocks > div + div { margin-block-start: 0; }
:target { scroll-margin-top: 96px; }

/* Skip link and focus */
.skip-link.screen-reader-text:focus { background: #fff; color: var(--wp--preset--color--navy); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--wp--preset--color--cyan); outline-offset: 2px; }

/* ---------- Header ---------- */
.r2r-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 21, 52, .96); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.admin-bar .r2r-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .r2r-header { top: 0; } }
.r2r-header .wp-block-image img { width: auto; max-height: 40px; }
.r2r-header .wp-block-navigation a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.r2r-header .wp-block-navigation a:hover,
.r2r-header .wp-block-navigation .current-menu-item > a,
.r2r-header .wp-block-navigation a[aria-current="page"] { color: #fff; }
.r2r-header .wp-block-navigation .current-menu-item > a,
.r2r-header .wp-block-navigation a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--wp--preset--color--cyan); }
.r2r-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--navy-deep); color: #fff; padding: 1.5rem; }
.r2r-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.125rem; padding: .35rem 0; }
.r2r-header .wp-block-navigation__responsive-container-open svg,
.r2r-header .wp-block-navigation__responsive-container-close svg { fill: #fff; }
@media (max-width: 1080px) { .r2r-header .r2r-header__cta { display: none; } }
.r2r-header .wp-block-button__link { padding: .6rem 1.1rem; font-size: .875rem; }

/* ---------- Eyebrow, pills, status ---------- */
.is-style-eyebrow,
.r2r-eyebrow { font-size: .8125rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--teal); }
.is-style-section-hero .is-style-eyebrow,
.is-style-section-dark .is-style-eyebrow { color: var(--wp--preset--color--cyan-light); }
.is-style-lead { font-size: var(--wp--preset--font-size--lead) !important; color: var(--wp--preset--color--muted); }
.is-style-section-hero .is-style-lead,
.is-style-section-dark .is-style-lead { color: rgba(255, 255, 255, .82); }
.is-style-award-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px; font-size: .8125rem !important; font-weight: 600; background: rgba(232, 196, 106, .14); color: #f3dc9e; border: 1px solid rgba(232, 196, 106, .4); }
.is-style-award-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e8c46a; flex: none; }
.is-style-section-hero .is-style-award-pill, .is-style-section-dark .is-style-award-pill { color: #f3dc9e; }
:where(.is-style-surface, .is-style-section-surface, body) .is-style-award-pill { color: #6b5012; background: #fbf3dd; border-color: #e8c46a; }
.is-style-section-hero .is-style-award-pill, .is-style-section-dark .is-style-award-pill { color: #f3dc9e; background: rgba(232, 196, 106, .14); border-color: rgba(232, 196, 106, .4); }

.r2r-status { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; border: 1px solid transparent; }
.r2r-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.r2r-status--proven { color: #0d6b2c; background: #e5f7ec; border-color: #b7e6c8; }
.r2r-status--available { color: #075f6d; background: #e3f6f9; border-color: #b0e3ea; }
.r2r-status--roadmap { color: #6a4a00; background: #fff4d9; border-color: #f0d68f; }
.r2r-status--vision { color: #4b3a8f; background: #efecfb; border-color: #d4ccf3; }
.is-style-section-dark .r2r-status, .is-style-section-hero .r2r-status, .is-style-card-dark .r2r-status { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.is-style-section-dark .r2r-status--proven, .is-style-section-hero .r2r-status--proven { color: var(--wp--preset--color--mint); }
.is-style-section-dark .r2r-status--available, .is-style-section-hero .r2r-status--available { color: var(--wp--preset--color--cyan-light); }
.is-style-section-dark .r2r-status--roadmap, .is-style-section-hero .r2r-status--roadmap { color: #f3dc9e; }
.is-style-section-dark .r2r-status--vision, .is-style-section-hero .r2r-status--vision { color: #cfc6ff; }
.wp-block-r2r-status-badge { margin-block: 0; }

/* ---------- Lists ---------- */
.is-style-checklist { list-style: none; padding-left: 0; }
.is-style-checklist li { position: relative; padding-left: 1.75rem; margin-block: .45rem; }
.is-style-checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--wp--preset--color--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23001534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.is-style-proofline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; color: rgba(255, 255, 255, .8); }
.is-style-proofline li { display: inline-flex; align-items: center; gap: .5rem; }
.is-style-proofline li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--mint); }

/* ---------- Journey steps ---------- */
.r2r-steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
.r2r-steps > li { counter-increment: step; position: relative; padding: 3.25rem 1rem 1.25rem; border-radius: var(--r2r-radius); background: #fff; border: 1px solid var(--wp--preset--color--line); box-shadow: var(--wp--preset--shadow--card); font-size: .875rem; color: var(--wp--preset--color--muted); }
.r2r-steps > li strong { display: block; color: var(--wp--preset--color--ink); font-size: .9375rem; margin-bottom: .25rem; }
.r2r-steps > li::before { content: counter(step); position: absolute; top: 1rem; left: 1rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8125rem; background: var(--wp--preset--color--navy); color: #fff; }
.r2r-steps > li:not(:last-child)::after { content: ""; position: absolute; top: 1.875rem; left: 3.25rem; right: -1rem; height: 2px; background: linear-gradient(90deg, var(--wp--preset--color--cyan), rgba(34, 181, 201, .15)); }
@media (max-width: 1100px) { .r2r-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .r2r-steps > li::after { display: none; } }
@media (max-width: 700px) { .r2r-steps { grid-template-columns: 1fr; } .r2r-steps > li { padding: 1rem 1rem 1rem 3.5rem; } .r2r-steps > li::before { top: 1rem; } }

/* ---------- Media ---------- */
.is-style-media-frame img { border-radius: var(--r2r-radius-lg); box-shadow: var(--wp--preset--shadow--media); }
.is-style-section-hero .is-style-media-frame img, .is-style-section-dark .is-style-media-frame img { outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px; }
.r2r-hero-media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; width: 100%; }
@media (max-width: 781px) { .r2r-hero-media img { aspect-ratio: 16 / 10; } }
.wp-block-image figcaption, .wp-block-embed figcaption { margin-top: .6rem; }

/* YouTube facade */
.r2r-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r2r-radius-lg); overflow: hidden; background: #000; box-shadow: var(--wp--preset--shadow--media); }
.r2r-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.r2r-video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 21, 52, .55)); cursor: pointer; display: grid; place-items: center; }
.r2r-video__play svg { transition: transform .2s var(--r2r-ease); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .4)); }
.r2r-video__play:hover svg, .r2r-video__play:focus-visible svg { transform: scale(1.08); }
.r2r-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Cards ---------- */
.is-style-card, .is-style-card-dark { height: 100%; }
.wp-block-columns.r2r-cards > .wp-block-column { display: flex; flex-direction: column; }
.is-style-card h3, .is-style-card-dark h3 { margin-top: .75rem; }
.is-style-card p, .r2r-muted { color: var(--wp--preset--color--muted); }
.is-style-card-dark p { color: rgba(255, 255, 255, .78); }
.r2r-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 181, 201, .12); color: var(--wp--preset--color--navy); font-size: 1.25rem; }

/* Platform layer diagram (built from groups so writers can edit labels) */
.r2r-layer { border-radius: 12px; padding: 1rem 1.25rem; border: 1px solid var(--wp--preset--color--line); background: #fff; }
.r2r-layer--core { background: var(--wp--preset--color--navy); color: #fff; border-color: var(--wp--preset--color--navy); }
.r2r-layer--maker { background: var(--wp--preset--color--surface); border-style: dashed; }
.r2r-layer .r2r-layer__label { font-size: .75rem !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--wp--preset--color--muted); margin: 0 0 .5rem; }
.r2r-layer--core .r2r-layer__label { color: var(--wp--preset--color--cyan-light); }
.r2r-layer p { margin: 0; }
.r2r-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.r2r-chips li { padding: .35rem .7rem; border-radius: 8px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); font-size: .8125rem; font-weight: 500; }
.r2r-layer--core .r2r-chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }

/* Query loops */
.r2r-post-card { height: 100%; }
.r2r-post-card .wp-block-post-featured-image img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.r2r-post-card .wp-block-post-title { font-size: 1.1875rem; margin-top: .5rem; }
.r2r-post-card .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--ink); }
.r2r-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--navy-soft); text-decoration: underline; }
.wp-block-post-date, .wp-block-post-terms { font-size: .8125rem; color: var(--wp--preset--color--muted); }
.wp-block-post-terms a { text-decoration: none; }
.wp-block-query-pagination { gap: .75rem; }

/* Case study facts */
.r2r-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.r2r-facts > * { margin: 0 !important; }
.r2r-fact__label { font-size: .75rem !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--wp--preset--color--muted); margin: 0 !important; }
.r2r-fact__value { font-weight: 600; margin: .15rem 0 0 !important; }

/* FAQ */
.wp-block-details summary { cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: -.1rem; font-size: 1.5rem; line-height: 1; color: var(--wp--preset--color--cyan); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--muted); }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: inherit; border: 1.5px solid currentColor; padding: calc(.85rem - 1.5px) calc(1.5rem - 1.5px); }
.is-style-section-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.is-style-section-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.wp-block-button__link { transition: transform .15s var(--r2r-ease), background-color .15s; }
.wp-block-button__link:hover { transform: translateY(-1px); }

/* Footer */
.r2r-footer a:not(.wp-element-button) { color: rgba(255, 255, 255, .78); text-decoration: none; }
.r2r-footer a:not(.wp-element-button):hover { color: #fff; text-decoration: underline; }
.r2r-footer .wp-block-navigation { --navigation-layout-direction: column; }
.r2r-footer .r2r-footer__fine { font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.r2r-footer img { width: auto; }

/* Note / disclaimer */
.is-style-note { font-size: .8125rem !important; color: var(--wp--preset--color--muted); border-left: 3px solid var(--wp--preset--color--line); padding-left: .75rem; }
.is-style-section-dark .is-style-note, .is-style-section-hero .is-style-note { color: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .2); }

/* Restrained reveal animation; content is visible without JS or with reduced motion */
.r2r-js .r2r-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--r2r-ease), transform .6s var(--r2r-ease); }
.r2r-js .r2r-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .r2r-js .r2r-reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive helpers */
@media (max-width: 781px) {
	.r2r-stack-reverse { flex-direction: column-reverse; }
	.wp-block-columns { gap: 1.5rem; }
}

/* Editor: keep reveal content visible */
.editor-styles-wrapper .r2r-reveal { opacity: 1 !important; transform: none !important; }

/* Tablet: collapse the main navigation into the menu button below 1080px (core collapses only below 600px) */
@media (max-width: 1080px) {
	.r2r-header { backdrop-filter: none; background: var(--wp--preset--color--navy-deep); }
	.r2r-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.r2r-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.r2r-header .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; flex-direction: column; position: fixed !important; inset: 0; z-index: 100000; overflow: auto; background: var(--wp--preset--color--navy-deep) !important; color: #fff; padding: 1.5rem 2rem; }
	.r2r-header .is-menu-open .wp-block-navigation__responsive-close { width: 100%; max-width: none; }
	.r2r-header .is-menu-open .wp-block-navigation__responsive-dialog { margin-top: 0; }
	.r2r-header .is-menu-open .wp-block-navigation__responsive-container-content { display: flex !important; flex-direction: column; align-items: flex-start; gap: .75rem; padding-top: 3.5rem; }
	.r2r-header .is-menu-open .wp-block-navigation__container { display: flex; flex-direction: column; align-items: flex-start !important; gap: .75rem; }
	.r2r-header .is-menu-open a, .r2r-header .is-menu-open .wp-block-navigation-item__content { color: #fff !important; font-size: 1.25rem; }
	.r2r-header .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; justify-content: flex-start !important; }
	.r2r-header .wp-block-navigation__responsive-container-close { color: #fff; display: flex !important; position: absolute; top: 1.25rem; right: 1.5rem; }
}

/* =====================================================================
   Homepage v2: visual refinement
   ===================================================================== */

/* Hero */
.r2r-hero .wp-block-columns { align-items: center; }
.r2r-hero h1 { margin-top: .5rem; }
.r2r-hero .is-style-lead { max-width: 34rem; }
.r2r-hero .wp-block-buttons { margin-top: 2rem; }
.r2r-hero .wp-block-button__link { padding: 1rem 1.6rem; font-size: 1rem; }
.r2r-hero .is-style-proofline { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.r2r-hero-cover { border-radius: var(--r2r-radius-lg); overflow: hidden; box-shadow: var(--wp--preset--shadow--media); outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px; padding: 1.25rem !important; }
.r2r-hero-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 21, 52, .25) 0%, rgba(0, 21, 52, 0) 30%, rgba(0, 21, 52, 0) 55%, rgba(0, 21, 52, .82) 100%); pointer-events: none; z-index: 0; }
.r2r-hero-cover .wp-block-cover__inner-container { position: static; z-index: 1; width: 100%; color: #fff; }
.r2r-hero-cover .r2r-live-chip { position: absolute; z-index: 2; top: 1.25rem; left: 1.25rem; margin: 0; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: rgba(0, 21, 52, .72); backdrop-filter: blur(6px); }
.r2r-hero-cover .r2r-live-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--mint); box-shadow: 0 0 0 0 rgba(126, 224, 160, .7); animation: r2r-pulse 2.4s infinite; }
@keyframes r2r-pulse { 0% { box-shadow: 0 0 0 0 rgba(126, 224, 160, .6); } 70% { box-shadow: 0 0 0 9px rgba(126, 224, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 224, 160, 0); } }
@media (prefers-reduced-motion: reduce) { .r2r-hero-cover .r2r-live-chip::before { animation: none; } }
.r2r-flow { position: relative; z-index: 2; width: 100%; box-sizing: border-box; align-items: flex-start !important; gap: 1.75rem !important; justify-content: space-between; background: rgba(0, 21, 52, .7); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: .85rem 1rem; }
.r2r-flow__step { position: relative; flex: 1; margin: 0 !important; padding-left: 1.4rem; font-size: .8125rem; line-height: 1.35; color: rgba(255, 255, 255, .78); }
.r2r-flow__step strong { display: block; color: #fff; font-size: .9375rem; }
.r2r-flow__step::before { content: ""; position: absolute; left: 0; top: .3rem; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--wp--preset--color--cyan); background: var(--wp--preset--color--navy-deep); }
.r2r-flow__step:not(:last-child)::after { content: ""; position: absolute; right: -1.15rem; top: .45rem; width: .5rem; height: .5rem; border-top: 2px solid var(--wp--preset--color--cyan); border-right: 2px solid var(--wp--preset--color--cyan); transform: rotate(45deg); }
.r2r-hero-note { margin-top: .6rem !important; border: 0 !important; padding: 0 !important; }
@media (max-width: 781px) {
	.r2r-hero-cover { min-height: 420px !important; }
	.r2r-flow { gap: 1.25rem !important; }
	.r2r-flow__step:not(:last-child)::after { right: -.85rem; }
	.r2r-flow__step { font-size: .75rem; padding-left: 1.1rem; }
	.r2r-flow__step strong { font-size: .875rem; }
}

/* Video card with poster */
.r2r-video-card { position: relative; }
.r2r-video-card .r2r-video__poster { opacity: 1; }
.r2r-video-card .r2r-video__play { background: linear-gradient(180deg, rgba(0, 21, 52, 0) 40%, rgba(0, 21, 52, .65)); }
.r2r-video-card .r2r-video__play::after { content: "Watch the real deployment"; position: absolute; left: 1.25rem; bottom: 1.1rem; color: #fff; font-weight: 600; font-size: 1rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.r2r-video-card .r2r-video__play svg { width: 84px; height: 60px; }
.editor-styles-wrapper .r2r-video-card__poster img { border-radius: 14px; max-height: 160px; width: auto; }
.editor-styles-wrapper .r2r-video-card__poster::before { content: "Video poster image (shown before playback)"; display: block; font-size: 12px; color: #4f5d75; margin-bottom: 4px; }

/* Business value */
.r2r-value h3 { font-size: 1.375rem; line-height: 1.25; margin: .9rem 0 1rem; }
.r2r-value .is-style-checklist li { color: var(--wp--preset--color--muted); font-size: 1rem; }
.r2r-audience { display: inline-flex; align-items: center; gap: .6rem; margin: 0; font-size: .8125rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--teal); }
.r2r-audience::before { content: ""; width: 40px; height: 40px; border-radius: 12px; background: rgba(34, 181, 201, .12) center / 22px no-repeat; flex: none; }
.r2r-audience--residents::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9v11h14V9'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.r2r-audience--operators::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
.r2r-audience--developers::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l6-4v18'/%3E%3Cpath d='M11 21V9l8 3v9'/%3E%3C/svg%3E"); }

/* Platform diagram */
.r2r-diagram { display: flex; flex-direction: column; gap: 2.25rem; }
.r2r-tier { position: relative; border-radius: 14px; padding: 1.1rem 1.25rem 1.25rem; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.r2r-tier:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -2.25rem; width: 2px; height: 2.25rem; transform: translateX(-50%); background: linear-gradient(180deg, var(--wp--preset--color--cyan), rgba(34, 181, 201, .2)); }
.r2r-tier:not(:last-child)::before { content: ""; position: absolute; left: 50%; bottom: -2.3rem; width: 9px; height: 9px; transform: translate(-50%, 0) rotate(45deg); border-right: 2px solid var(--wp--preset--color--cyan); border-bottom: 2px solid var(--wp--preset--color--cyan); z-index: 1; }
.r2r-tier--core { background: linear-gradient(160deg, rgba(34, 181, 201, .18), rgba(34, 181, 201, .05)); border-color: rgba(34, 181, 201, .55); box-shadow: 0 0 0 6px rgba(34, 181, 201, .06); }
.r2r-tier__label { margin: 0 0 .75rem !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--cyan-light); }
.r2r-tier--core > .r2r-tier__label { font-size: .9375rem !important; letter-spacing: .02em; text-transform: none; color: #fff; }
.r2r-tier__sub { margin: 0 0 .5rem !important; font-size: .75rem !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.r2r-tier .r2r-chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; font-size: .8125rem; }
.r2r-tier .r2r-chips--ai li { border-style: dashed; }
.r2r-tier .r2r-chips em { font-style: normal; color: var(--wp--preset--color--cyan-light); font-weight: 600; }
.r2r-tier .wp-block-columns { margin: 0; gap: 1rem; }

/* Integrations */
.r2r-int-group { display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: 1.5rem; border-radius: var(--r2r-radius); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); }
.r2r-int-group__label { margin: 0 !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.r2r-tile { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 1rem 1.1rem; box-shadow: var(--wp--preset--shadow--card); margin: 0 !important; }
.r2r-tile > * { margin: 0 !important; }
.r2r-tile__name { font-size: 1.25rem !important; font-weight: 800; letter-spacing: -.01em; color: var(--wp--preset--color--navy); }
.r2r-tile__detail { font-size: .875rem !important; color: var(--wp--preset--color--muted); margin: .15rem 0 .6rem !important; }
.r2r-wordmarks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0 !important; }
.r2r-wordmarks > * { margin: 0 !important; }
.r2r-wordmark { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: .75rem .5rem; text-align: center; font-weight: 800; font-size: .9375rem !important; letter-spacing: .01em; color: #5b6880; }
.r2r-wordmark:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Proof */
.r2r-proof { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.r2r-proof__img { margin: 0 !important; }
.r2r-proof__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; display: block; }
.r2r-proof__body { padding: 1.1rem 1.25rem 1.35rem; }
.r2r-proof__body h3 { font-size: 1.0625rem; line-height: 1.3; margin: .5rem 0 .35rem; }
.r2r-proof__body p { margin: 0; font-size: .9375rem; color: var(--wp--preset--color--muted); }
.r2r-proof__body .is-style-eyebrow, .r2r-proof__body .wp-block-r2r-status-badge { margin: 0; }
.r2r-cert { margin: 0 !important; aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: .15rem; background: radial-gradient(circle at 50% 40%, #fff 0, #eef4fa 70%); border-bottom: 1px solid var(--wp--preset--color--line); position: relative; }
.r2r-cert::before { content: ""; position: absolute; inset: 12px; border: 1px solid #c9d6e6; border-radius: 6px; outline: 3px double #d8e2ee; outline-offset: -8px; }
.r2r-cert > * { margin: 0 !important; position: relative; }
.r2r-cert__brand { font-weight: 800; font-size: 1.375rem !important; letter-spacing: .12em; color: var(--wp--preset--color--navy); }
.r2r-cert__title { font-weight: 700; font-size: 1.0625rem !important; color: var(--wp--preset--color--ink); }
.r2r-cert__sub { font-size: .875rem !important; color: var(--wp--preset--color--muted); }
.r2r-cert__meta { margin-top: .5rem !important; font-size: .75rem !important; font-weight: 600; letter-spacing: .04em; color: var(--wp--preset--color--teal); }
@media (max-width: 1100px) and (min-width: 782px) {
	.r2r-proof-grid { flex-wrap: wrap !important; }
	.r2r-proof-grid > .wp-block-column { flex-basis: calc(50% - 1rem) !important; }
}

/* Vision: evolution track */
.r2r-evolution { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1rem; padding-top: 4.5rem; }
.r2r-evolution::before { content: ""; position: absolute; top: 1.95rem; left: 1rem; right: 1rem; height: 2px; background: linear-gradient(90deg, var(--wp--preset--color--mint), var(--wp--preset--color--cyan) 45%, rgba(207, 198, 255, .7)); }
.r2r-stage { position: relative; margin: 0 !important; padding: 1.5rem; border-radius: var(--r2r-radius); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.r2r-stage::before { content: ""; position: absolute; top: -2.95rem; left: 1.5rem; border-radius: 50%; transform: translateY(-50%); }
.r2r-stage--today::before { width: 18px; height: 18px; background: var(--wp--preset--color--mint); box-shadow: 0 0 0 6px rgba(126, 224, 160, .2); }
.r2r-stage--next::before { width: 26px; height: 26px; border: 2px solid var(--wp--preset--color--cyan); background: var(--wp--preset--color--navy-deep); box-shadow: 0 0 0 8px rgba(34, 181, 201, .1); }
.r2r-stage--vision::before { width: 36px; height: 36px; border: 2px dashed rgba(207, 198, 255, .8); background: var(--wp--preset--color--navy-deep); box-shadow: 0 0 0 10px rgba(207, 198, 255, .06), 0 0 0 22px rgba(207, 198, 255, .03); }
.r2r-stage--today { border-color: rgba(126, 224, 160, .45); background: linear-gradient(160deg, rgba(126, 224, 160, .12), rgba(255, 255, 255, .03)); }
.r2r-stage--vision { border-style: dashed; }
.r2r-stage__label { margin: .75rem 0 0 !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.r2r-stage h3 { font-size: 1.375rem; line-height: 1.25; margin: .35rem 0 .5rem; }
.r2r-stage p:last-child { margin: 0; color: rgba(255, 255, 255, .75); }
@media (max-width: 781px) {
	.r2r-evolution { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.75rem; gap: 1rem; }
	.r2r-evolution::before { top: .5rem; bottom: .5rem; left: 1rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--wp--preset--color--mint), var(--wp--preset--color--cyan) 45%, rgba(207, 198, 255, .7)); }
	.r2r-stage::before { top: 1.9rem; left: -1.75rem; transform: translate(-50%, -50%); }
}

/* Typography: fewer tiny captions */
.is-style-note { font-size: .875rem !important; }
.is-style-section-surface .is-style-checklist li, .r2r-cards .is-style-checklist li { line-height: 1.5; }

/* Tablet: stack two-column showcase sections so media and diagrams keep a usable width */
@media (max-width: 1100px) {
	.wp-block-columns.r2r-stack-tablet { flex-wrap: wrap !important; }
	.wp-block-columns.r2r-stack-tablet > .wp-block-column { flex-basis: 100% !important; }
	.r2r-hero .r2r-stack-tablet > .wp-block-column:first-child { max-width: 44rem; }
	.r2r-hero-cover { min-height: 480px !important; }
}
.r2r-flow__step { min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: manual; }
