/* Direction E: marketing-only. The supplied token and component sheets load first. */

.brand-home{margin:0;font-family:"Source Sans 3",system-ui,sans-serif;color:#14101A;background:#FAF8FF}
.brand-home a{color:#14101A;text-decoration:none}.brand-home a:hover{text-decoration:underline;text-underline-offset:4px}
.brand-home h1, .brand-home h2, .brand-home h3, .brand-home blockquote, .brand-home .bal{text-wrap:balance}
.brand-home p, .brand-home li{text-wrap:pretty}
.brand-home .h{font-family:Outfit,sans-serif;font-weight:900;letter-spacing:-0.045em;line-height:1}
.brand-home .hand{font-family:Caveat,cursive;font-weight:700;line-height:1;text-transform:lowercase}
.brand-home .nw{white-space:nowrap}
.brand-home .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.brand-home .btn{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:0 32px;border-radius:6px;font-family:Outfit,sans-serif;font-weight:800;font-size:20px;border:0;cursor:pointer;white-space:nowrap;text-decoration:none!important}
.brand-home .btn-pink{background:#FF8FCB;color:#14101A}.brand-home .btn-pink:hover{background:#FFA6D6}
.brand-home .btn-ink{background:#14101A;color:#FFFFFF}.brand-home .btn-ink:hover{background:#2E2838}
.brand-home .btn-lime{background:#C6F135;color:#14101A}.brand-home .btn-lime:hover{background:#D4F55E}
.brand-home .ui{background:#FFFFFF;border-radius:14px;color:#14101A}
.brand-home .mono{font-variant-numeric:tabular-nums}
.brand-home .wrap{max-width:1180px;margin:0 auto;padding:0 48px;position:relative}
.brand-home .body{font-size:20px;line-height:1.45;margin:0}
.brand-home .tear{display:block;width:100%;height:44px}
.brand-home .frame{position:relative;overflow:hidden;padding:0 0 110px}
.brand-home .tape{position:absolute;left:50%;top:-11px;width:58px;height:20px;transform:translateX(-50%) rotate(-3deg);background:rgba(244,238,226,0.92);clip-path:polygon(0 8%,6% 0,12% 10%,18% 0,24% 8%,76% 4%,82% 0,88% 10%,94% 0,100% 6%,100% 92%,94% 100%,88% 90%,82% 100%,76% 92%,24% 96%,18% 100%,12% 90%,6% 100%,0 94%)}
.brand-home .sys{position:relative;display:inline-block;background:#14101A;color:#FAF8FF;font-family:Outfit,sans-serif;font-weight:800;font-size:clamp(17px,1.6vw,21px);padding:14px 16px 12px;border-radius:10px}
.brand-home .plus{font-family:Outfit,sans-serif;font-weight:900;font-size:24px;color:#FFFFFF}
.brand-home .ticket{position:relative;background:#FFFFFF;border-radius:8px;padding:16px 18px 14px;font-family:Outfit,sans-serif;font-weight:900;font-size:22px;box-shadow:0 12px 20px rgba(20,16,26,0.16)}
.brand-home .pipe{display:flex;align-items:center;justify-content:center;gap:clamp(6px,2vw,24px);max-width:900px;margin:0 auto;width:100%}
.brand-home .pipe>div{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 1 190px;min-width:0}
.brand-home .pipe-ic{width:100%;max-width:160px;height:auto;aspect-ratio:200/180;overflow:visible}
.brand-home .dot{width:14px;height:14px;border-radius:50%;border:2px solid #14101A;padding:0;cursor:pointer}
.brand-home .arrow-btn{width:52px;height:52px;border-radius:8px;border:2px solid #14101A;background:#FFFFFF;color:#14101A;font-family:Outfit,sans-serif;font-weight:900;font-size:22px;cursor:pointer}
.brand-home .arrow-btn:hover{background:#14101A;color:#FFFFFF}
.brand-home .doo{position:absolute;pointer-events:none;overflow:visible}
@keyframes rafiki-tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.brand-home .track{animation:rafiki-tick 40s linear infinite}
@media (hover:hover){.brand-home .frame-ticker:hover .track{animation-play-state:paused}}
@media (prefers-reduced-motion:reduce){.brand-home .track{animation:none}}
@media (max-width:1200px){.brand-home .hide-md{display:none!important}}
@media (max-width:1000px) and (min-width:440px){.brand-home .cards{max-width:470px}}
@media (max-width:900px){
.brand-home .foot{grid-template-columns:minmax(0,1fr)!important}.brand-home .foot>*{grid-column:1/-1!important}
.brand-home .frame{padding-bottom:80px!important}
.brand-home .wrap{padding:0 20px}
.brand-home .navlinks{display:none!important}
.brand-home .body{font-size:18px}
.brand-home .hide-sm{display:none!important}
.brand-home .frame{padding-bottom:80px}
}

/* Shared marketing shell; none of these assets are loaded by the product. */
.rafiki-brand { --blue:var(--purple); --coral:var(--pink); --aqua:var(--teal); --mist:var(--lavender); --cream:var(--paper); margin:0; color:var(--ink); background:var(--paper); font:var(--text-body); }
.rafiki-brand *, .rafiki-brand *::before, .rafiki-brand *::after { box-sizing:border-box; }
.rafiki-brand [hidden] { display:none !important; }
.rafiki-brand a { text-underline-offset:4px; }
.rafiki-brand :focus-visible { outline:3px solid var(--purple); outline-offset:5px; }
.rafiki-brand main:focus { outline:none; }
.rafiki-brand .announcement { margin:0; padding:10px 20px; border:0; background:var(--ink); color:var(--white); font:var(--text-small); text-align:center; }
.rafiki-brand .announcement a { color:var(--lime); margin-left:12px; }
.rafiki-brand .site-header { position:relative; top:auto; z-index:20; display:flex; justify-content:space-between; gap:24px; max-width:none; min-height:90px; padding:16px max(var(--space-gutter),calc((100% - 1084px)/2)); border:0; box-shadow:none; background:var(--purple); color:var(--white); }
.rafiki-brand .brand { width:auto; flex-shrink:0; font:900 28px/1 var(--font-display); letter-spacing:-.03em; color:var(--white); text-decoration:none; }
.rafiki-brand .primary-nav { margin:0; gap:28px; }
.rafiki-brand .primary-nav > a,.rafiki-brand .nav-group > summary { color:var(--white); font:600 17px/1.3 var(--font-body); }
.rafiki-brand .primary-nav > a:hover { color:var(--white); text-decoration:underline; }
.rafiki-brand .nav-group > summary { gap:10px; text-decoration:none; }
.rafiki-brand .nav-group > summary .nav-label { color:inherit; font:inherit; transform:none; transition:none; }
.rafiki-brand .nav-group > summary:hover .nav-label,.rafiki-brand .nav-group[open] > summary .nav-label { text-decoration:underline; text-underline-offset:4px; }
.rafiki-brand .nav-group > summary .nav-chevron { width:7px; height:7px; flex:0 0 7px; color:inherit; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); }
.rafiki-brand .nav-group[open] > summary .nav-chevron { transform:translateY(2px) rotate(225deg); }
.rafiki-brand .header-cta { min-height:60px; padding-inline:24px; }
.rafiki-brand .nav-mega { border:1px solid var(--hairline); border-radius:var(--radius-card); background:var(--white); color:var(--ink); box-shadow:var(--shadow-device); }
.rafiki-brand .nav-mega a,.rafiki-brand .nav-subgroup summary { color:var(--ink); }
.rafiki-brand .nav-mega a:hover,.rafiki-brand .nav-subgroup[open] > summary { color:var(--ink); background:var(--lavender); }
.rafiki-brand .nav-mega p,.rafiki-brand .nav-mega small { color:var(--muted); }
.rafiki-brand .nav-mega em { background:var(--lavender); color:var(--purple); }
.rafiki-brand .nav-mega-platform { width:min(1120px,calc(100vw - 40px)); grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; padding:28px 24px 0; }
.rafiki-brand .platform-column { min-width:0; }
.rafiki-brand .platform-column h2 { margin:0 8px 14px; color:var(--purple); font:800 17px/1.2 var(--font-display); letter-spacing:-.02em; }
.rafiki-brand .platform-links { display:grid; gap:2px; }
.rafiki-brand .platform-links a { display:block; padding:9px 8px; border:0; border-radius:var(--radius-button); white-space:normal; }
.rafiki-brand .platform-links a b { display:block; color:var(--ink); font:700 15px/1.3 var(--font-display); }
.rafiki-brand .platform-links a small { display:block; margin-top:3px; color:var(--muted); font:400 13px/1.3 var(--font-body); }
.rafiki-brand .platform-links em { vertical-align:middle; }
.rafiki-brand .platform-menu-footer { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:20px; margin-inline:-24px; padding:14px 32px; border-top:1px solid var(--hairline); background:var(--paper); }
.rafiki-brand .platform-menu-footer a { margin:0; padding:8px 0; color:var(--purple); font:800 15px/1.3 var(--font-display); }
.rafiki-brand .platform-menu-footer a:hover { background:transparent; text-decoration:underline; }
.rafiki-brand .primary-nav .nav-mega :focus-visible { outline-color:var(--purple); outline-offset:2px; }
.rafiki-brand .nav-toggle { background:var(--purple); border:1px solid var(--white); border-radius:var(--radius-button); color:var(--white); font:700 16px var(--font-display); padding:10px 14px; }
.rafiki-brand .site-header :focus-visible,.brand-home .frame-hero :focus-visible,.brand-home .frame-expo :focus-visible,.brand-home .frame-closing :focus-visible { outline-color:var(--white); }
.rafiki-brand .site-footer { position:relative; background:var(--ink); color:var(--paper); padding:100px max(var(--space-gutter),calc((100% - 1084px)/2)) 36px; overflow:visible; }
.rafiki-brand .footer-grid { padding:0; gap:40px; grid-template-columns:1.6fr 1fr 1.2fr .8fr; }
.rafiki-brand .footer-grid .brand { color:var(--paper); }
.rafiki-brand .footer-grid p { color:var(--paper); font-size:17px; line-height:1.5; }
.rafiki-brand .footer-grid h2 { color:var(--lime); font:var(--text-label); text-transform:lowercase; letter-spacing:0; }
.rafiki-brand .footer-grid a { color:var(--paper); font-size:16px; }
.rafiki-brand .footer-grid a.brand { font-size:28px; }
.rafiki-brand .footer-bottom { border-color:var(--ink-raised); margin-top:40px; padding-top:24px; color:var(--paper); font:var(--text-small); }
.footer-tear { position:absolute; top:-1px; left:0; width:100%; height:var(--space-tear); fill:var(--paper); transform:scaleY(-1); }
.rafiki-home .footer-tear { fill:var(--purple); }

/* Editorial homepage, ported from the supplied direction E reference. */
.brand-home { background:var(--paper); color:var(--ink); font:var(--text-body); overflow:clip; }
.brand-home section { max-width:none; margin:0; border:0; padding:0; }
.brand-home .wrap { max-width:var(--wrap-max); padding-inline:var(--space-gutter); }
.brand-home .frame { padding-bottom:var(--space-frame-end); }
.brand-home .h { font-family:var(--font-display); font-weight:900; }
.brand-home .hand { font-family:var(--font-script); }
.brand-home .frame .wrap > div:first-child > .body { max-width:800px; }
.brand-home .tear { height:var(--space-tear); }
.brand-home .frame-hero { padding-bottom:0; }
.brand-home .frame-hero h1 { letter-spacing:-.045em; line-height:1; }
.brand-home .hero-title { display:flex; flex-direction:column; align-items:center; gap:clamp(4px,.6vw,8px); margin:0; color:var(--white); }
.brand-home .hero-title-print { font-size:clamp(46px,8.8vw,124px); }
.brand-home .hero-title-hand { position:relative; display:block; width:min(100%,5.705em); padding:0 .2em; font-size:clamp(40px,8.8vw,124px); }
.brand-home .hero-title-swash { position:absolute; left:0; top:20%; width:100%; height:62%; }
.brand-home .hero-title-lettering { position:relative; display:block; width:100%; height:auto; }
.brand-home .frame-hero .hand { margin-bottom:22px; }
.brand-home .frame-hero .tn-tags .nw:nth-child(even) .tn-tag { transform:rotate(2deg); }
.brand-home .frame-hero .tn-tags .nw:nth-child(odd) .tn-tag { transform:rotate(-2deg); }
.brand-home .frame-hero .body { max-width:640px; }
.brand-home .tn-btn { color:var(--ink); }
.brand-home .tn-btn--ink { color:var(--white); }
.brand-home .tn-btn:hover { text-decoration:none; }
.brand-home .frame-ticker { padding-bottom:18px !important; text-align:center; }
.brand-home .ticker-dot { width:16px; height:16px; border-radius:50%; background:var(--lime); flex-shrink:0; }
.brand-home .frame-ticker.is-paused .track,.brand-home .frame-ticker:focus-visible .track { animation-play-state:paused; }
.brand-home .tn-quote figure { margin:0; }
.brand-home .tn-quote__text { min-height:3em; }
.brand-home .tn-quote__who { margin-top:28px; }
.brand-home .quote-controls { display:flex; justify-content:center; align-items:center; gap:18px; margin-top:24px; }
.brand-home .quote-dots { display:flex; gap:4px; }
.brand-home .dot { width:24px; height:24px; border:0; background:transparent; position:relative; }
.brand-home .dot::before { content:""; position:absolute; inset:5px; border:2px solid var(--ink); border-radius:50%; }
.brand-home .dot[aria-pressed="true"]::before { background:var(--ink); }
.brand-home .arrow-btn { background:var(--white); color:var(--ink); border-color:var(--ink); }
.brand-home .arrow-btn:hover { background:var(--ink); color:var(--white); }
.brand-home .example-caption { width:100%; margin:24px auto 0; text-align:center; font:var(--text-small); color:inherit; }
.brand-home .frame-expo .expo-example-answer { display:block; font:900 40px/1 var(--font-display); color:var(--lime); }
.brand-home .frame-closing h2 { max-width:1180px; margin-inline:auto !important; }
.brand-home .frame-closing .tn-btn { min-height:60px !important; }
.brand-home .pipe > div { min-width:0; }
.brand-home .frame-inventory .pipe { margin-top:20px; }
.brand-home .frame-inventory .pipe img { object-fit:contain; }
.brand-home .frame-people .wrap > div:last-child { width:100%; }
.brand-home .ui { font:var(--text-ui); }
.brand-home .ui { border-radius:var(--radius-card) !important; }

/* Carry the same system into existing product-marketing, pricing, demo and editorial pages. */
.rafiki-brand .button { min-height:60px; border:0; border-radius:var(--radius-button); background:var(--pink); color:var(--ink); box-shadow:none; transform:none; font:var(--text-button); text-decoration:none; }
.rafiki-brand .button:hover { background:var(--pink-hover); transform:none; }
.rafiki-brand .text-link { font:800 19px/1.2 var(--font-display); color:var(--purple); }
.rafiki-brand .deep-hero { max-width:none; padding:80px max(var(--space-gutter),calc((100% - 1084px)/2)) 110px; min-height:0; background:var(--purple); color:var(--white); gap:48px; }
.rafiki-brand .deep-hero-copy h1,.rafiki-brand .page-hero h1,.rafiki-brand .article-shell h1 { font:900 clamp(40px,4.8vw,64px)/1 var(--font-display); letter-spacing:-.045em; text-wrap:balance; }
.rafiki-brand .deep-hero .deep-lede { color:var(--white); font:var(--text-body); }
.rafiki-brand .deep-hero .text-link { color:var(--white); }
.rafiki-brand .deep-hero .button-row { flex-wrap:wrap; }
.rafiki-brand .deep-hero .eyebrow,.rafiki-brand .deep-content .eyebrow,.rafiki-brand .page-hero .eyebrow,.rafiki-brand .article-shell .eyebrow,.rafiki-brand .pricing-builder .eyebrow,.rafiki-brand .pricing-addons .eyebrow { display:none; }
.rafiki-brand .deep-hero::before,.rafiki-brand .deep-hero::after,.rafiki-brand .deep-hero-visual::before,.rafiki-brand .deep-hero-visual::after,.rafiki-brand .pricing-builder::before,.rafiki-brand .deep-cta::before,.rafiki-brand .deep-cta::after { display:none !important; }
.rafiki-brand .product-hero-art { width:100%; max-width:680px; margin:0 auto; }
.rafiki-brand .product-hero-art img { display:block; width:100%; height:auto; }
@media (min-width:901px) {
 .rafiki-brand .deep-page--product .deep-hero { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); padding-inline:max(32px,calc((100% - 1180px)/2)); }
}
.rafiki-brand .ui-sticker,.rafiki-brand .deep-stamp,.rafiki-brand .deep-doodle,.rafiki-brand .deep-visual-note { display:none; }
.rafiki-brand .inner-ui { background:var(--white); color:var(--ink); border:1px solid var(--hairline); border-radius:var(--radius-card); box-shadow:var(--shadow-device-dark); }
.rafiki-brand .deep-content { padding:90px var(--space-gutter); color:var(--ink); }
.rafiki-brand .deep-prose h2,.rafiki-brand .prose h2 { font:900 clamp(32px,4vw,48px)/1.05 var(--font-display); letter-spacing:-.035em; }
.rafiki-brand .deep-prose,.rafiki-brand .prose { font:var(--text-body); color:var(--ink); }
.rafiki-brand .deep-prose li::marker,.rafiki-brand .prose li::marker { color:var(--purple); }
.rafiki-brand .deep-cta { margin:0; padding:80px max(var(--space-gutter),calc((100% - 1084px)/2)); border:0; box-shadow:none; border-radius:0; background:var(--purple); color:var(--white); }
.rafiki-brand .deep-cta .script { font:700 27px var(--font-script); color:var(--white); text-transform:lowercase; }
.rafiki-brand .deep-cta h2 { font:900 clamp(32px,4.8vw,64px)/1 var(--font-display); letter-spacing:-.045em; }
.rafiki-brand .deep-cta .button { background:var(--lime); }
.rafiki-brand .deep-cta .button:hover { background:var(--lime-hover); }
.rafiki-brand .pricing-builder { background:var(--lavender); }
.rafiki-brand .plan-card { background:var(--white); border:1px solid var(--hairline); border-radius:var(--radius-card); box-shadow:var(--shadow-device); transform:none; }
.rafiki-brand .plan-featured { border:3px solid var(--purple); }
.rafiki-brand .plan-flag,.rafiki-brand .pricing-tabs .is-active { background:var(--purple); color:var(--white); }
.rafiki-brand .pricing-tabs { background:var(--white); border:1px solid var(--ink); border-radius:var(--radius-button); }
.rafiki-brand .pricing-tabs button { color:var(--ink); border-radius:var(--radius-button); }
.rafiki-brand .plan-card .button { background:var(--ink); color:var(--white); }
.rafiki-brand .plan-featured .button { background:var(--pink); color:var(--ink); }
.rafiki-brand .pricing-builder h2,.rafiki-brand .pricing-comparison h2,.rafiki-brand .pricing-addons h2 { font-weight:900; }
.rafiki-brand .pricing-addons { background:var(--ink); color:var(--white); }
.rafiki-brand .pricing-addons a,.rafiki-brand .pricing-addons small { color:var(--lime); }
.rafiki-brand .pricing-addons article { border-color:var(--ink-raised); }
.rafiki-brand .pricing-addons .addon-featured { background:var(--purple); }
.rafiki-brand .demo-conversion { background:var(--lavender); color:var(--ink); }
.rafiki-brand .demo-promise p,.rafiki-brand .demo-promise li { color:var(--ink); }
.rafiki-brand .demo-form { border-radius:var(--radius-card); box-shadow:var(--shadow-device); border:1px solid var(--hairline); }
.rafiki-brand .demo-form input,.rafiki-brand .demo-form select,.rafiki-brand .demo-form textarea { border:1px solid var(--muted); border-radius:var(--radius-button); font-family:var(--font-body); }
.rafiki-brand .blog-index,.rafiki-brand .article-shell { max-width:var(--wrap-max); padding:72px var(--space-gutter) 110px; }
.rafiki-brand .post-grid article { background:var(--white); border:1px solid var(--hairline); border-radius:var(--radius-card); box-shadow:none; }
.rafiki-brand .post-grid h2 { font-weight:900; }
.rafiki-brand .meta { color:var(--muted); }
.rafiki-brand .search-form { display:flex; gap:18px; flex-wrap:wrap; margin-bottom:48px; }
.rafiki-brand .search-form input { flex:1; min-width:180px; padding:18px; border:1px solid var(--muted); border-radius:var(--radius-button); font:var(--text-body); }

@media (max-width:1100px) and (min-width:901px) {
 .rafiki-brand .site-header { padding-inline:32px; gap:18px; }
 .rafiki-brand .primary-nav { gap:18px; }
 .rafiki-brand .deep-hero { grid-template-columns:1fr 1fr; gap:32px; padding-inline:32px; }
}
@media (max-width:900px) {
 .rafiki-brand { font-size:18px; }
 .rafiki-brand .site-header { min-height:80px; padding:14px 20px; gap:12px; flex-wrap:wrap; }
 .rafiki-brand .brand { font-size:26px; }
 .rafiki-brand .nav-toggle { margin-left:auto; }
 .rafiki-brand .header-cta { display:none; }
 .rafiki-brand .primary-nav { background:var(--purple); width:100%; padding:16px 0; border:0; order:4; }
 .rafiki-brand .nav-mega { box-shadow:none; }
 .rafiki-brand .primary-nav > a { display:block; padding:12px 0; }
 .rafiki-brand .nav-group > summary { display:flex; padding:12px 0; }
 .rafiki-brand .nav-group { width:100%; }
 .rafiki-brand .nav-mega a { white-space:normal; }
 .rafiki-brand .nav-mega-platform { width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; padding:22px 14px 0; }
 .rafiki-brand .platform-column h2 { margin-inline:4px; }
 .rafiki-brand .platform-links a { padding:10px 4px; }
 .rafiki-brand .platform-menu-footer { margin-inline:-14px; padding:12px 18px; flex-wrap:wrap; }
 .rafiki-brand .site-footer { padding:80px 20px 28px; }
 .rafiki-brand .footer-grid { grid-template-columns:1fr 1fr; gap:32px 24px; }
 .rafiki-brand .footer-grid > div:first-child { grid-column:1/-1; }
 .rafiki-brand .footer-bottom { gap:10px; flex-wrap:wrap; }
 .brand-home .wrap { padding-inline:var(--space-gutter-phone); }
 .brand-home .body { font-size:18px; }
 .brand-home .frame { padding-bottom:var(--space-frame-end-phone,80px) !important; }
 .brand-home .frame-ticker { padding-bottom:18px !important; }
 .brand-home .frame-hero .tn-tag { font-size:17px; }
 .brand-home .tn-quote { padding-inline:24px; }
 .brand-home .tn-quote__text { min-height:4em; }
 .brand-home .frame-closing .wrap .tn-btn { white-space:normal; text-align:center; }
 .rafiki-brand .deep-hero { display:flex; flex-direction:column; padding:56px 20px 80px; }
 .rafiki-brand .deep-hero-copy { width:100%; }
 .rafiki-brand .deep-hero-visual { width:100%; min-width:0; }
 .rafiki-brand .deep-hero .deep-lede { font-size:18px; }
 .rafiki-brand .deep-content,.rafiki-brand .deep-cta,.rafiki-brand .blog-index,.rafiki-brand .article-shell { padding:60px 20px 80px; }
 .rafiki-brand .deep-cta { display:flex; flex-direction:column; gap:32px; }
}
@media (max-width:480px) {
 .rafiki-brand .nav-mega-platform { grid-template-columns:1fr; }
 .rafiki-brand .platform-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 12px; }
 .rafiki-brand .platform-links a small { display:none; }
 .rafiki-brand .platform-column h2 { margin-bottom:8px; }
 .rafiki-brand .platform-links a b { font-size:14px; }
 .brand-home .frame-hero .wrap { padding-top:36px !important; }
 .brand-home .hero-title-hand { font-size:clamp(40px,10.8vw,46px); }
 .brand-home .frame-hero .cards { gap:16px 8px !important; }
 .brand-home .tn-tag { padding:12px 10px; }
 .brand-home .tn-plus { font-size:20px; }
 .brand-home .tn-btn { padding-inline:22px; font-size:18px; }
 .brand-home .tn-quote__text { min-height:5em; }
 .brand-home .quote-controls { gap:8px; }
 .brand-home .quote-dots { gap:0; }
 .brand-home .frame-inventory .ui { padding:18px 14px !important; }
 .brand-home .frame-inventory .ui > div:first-child { flex-wrap:wrap; }
 .brand-home .frame-expo .wrap > div:last-of-type { padding-inline:8px; }
 .brand-home .frame-expo .ui { width:100% !important; }
 .brand-home .frame-expo .wrap > div:last-of-type > div:first-of-type { width:92% !important; }
 .brand-home .frame-closing h2 img { min-height:100px; object-fit:contain; }
 .brand-home .frame-closing .wrap:last-child .h { line-height:1.05 !important; }
 .rafiki-brand .footer-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
 .rafiki-brand *, .rafiki-brand *::before, .rafiki-brand *::after { animation:none !important; scroll-behavior:auto !important; transition:none !important; }
}

/* Explicit component boundaries keep the legacy page layouts out of the new posters. */
.brand-home .tn-ticket { width:auto; transform:none; }
.brand-home .frame-orders .tn-ticket { font-size:22px; }
.rafiki-brand .pricing-visual > div { color:var(--ink); border:0; border-radius:var(--radius-card); box-shadow:var(--shadow-device-dark); }
.rafiki-brand .pricing-visual > div:first-child { background:var(--lavender); }
.rafiki-brand .pricing-visual > div:nth-of-type(2) { background:var(--white); }
.rafiki-brand .pricing-visual > i { color:var(--ink); background:var(--pink); border:0; border-radius:var(--radius-button); }
.rafiki-brand .pricing-switch { border-radius:var(--radius-button); }
.rafiki-brand .pricing-switch button { border-radius:var(--radius-button); }
.rafiki-brand .pricing-switch button.is-active { background:var(--purple); color:var(--white); }
.rafiki-brand .plan-flag { border:0; box-shadow:none; transform:none; border-radius:var(--radius-button); }
.rafiki-brand .plan-card > a { box-shadow:none; background:var(--ink); color:var(--white); border:0; border-radius:var(--radius-button); }
.rafiki-brand .plan-featured > a { background:var(--pink); color:var(--ink); }
.rafiki-brand .demo-promise li::before { content:"✓"; color:var(--purple); }
.rafiki-brand .demo-promise .eyebrow { display:none; }
.rafiki-brand .demo-promise li { border-color:var(--hairline); }
.rafiki-brand .page-jump { position:relative; padding:62px 20px 22px; background:var(--ink); color:var(--white); border:0; }
.rafiki-brand .page-jump a { color:var(--white); }
.rafiki-brand .page-jump span { color:var(--lime); }
.rafiki-brand .embedded-demo { background:var(--lavender); color:var(--ink); }
.rafiki-brand .embedded-demo h2 { color:var(--ink); font:900 clamp(40px,5.6vw,72px)/1.02 var(--font-display); letter-spacing:-.045em; }
.rafiki-brand .embedded-demo > header > p { color:var(--muted); font:600 20px/1.5 var(--font-body); max-width:520px; }
.rafiki-brand .embedded-demo .eyebrow,.rafiki-brand .demo-invite,.rafiki-brand .demo-frame-label { display:none; }
.rafiki-brand .demo-frame-wrap { padding:10px; border:1px solid var(--purple); background:var(--white); box-shadow:var(--shadow-device); border-radius:var(--radius-card); }
.rafiki-brand .demo-frame-wrap iframe { border-radius:6px; background:var(--paper); }
.rafiki-brand .demo-assurance { color:var(--ink); }
.rafiki-brand .demo-assurance button { min-height:44px; padding:12px 18px; font:700 16px/1.2 var(--font-display); }
.rafiki-brand .demo-assurance button { background:var(--ink); color:var(--white); border:0; border-radius:var(--radius-button); }
.rafiki-brand .page-jump,.rafiki-brand .embedded-demo,.rafiki-brand .pricing-builder,.rafiki-brand .pricing-comparison,.rafiki-brand .pricing-addons,.rafiki-brand .demo-conversion,.rafiki-brand .deep-cta { position:relative; }
.rafiki-brand .page-jump::after,.rafiki-brand .embedded-demo::after,.rafiki-brand .pricing-builder::after,.rafiki-brand .pricing-comparison::after,.rafiki-brand .pricing-addons::after,.rafiki-brand .demo-conversion::after,.rafiki-brand .deep-cta::after {
 content:""; display:block !important; position:absolute; left:0; top:-1px; width:100%; height:var(--space-tear); background:var(--frame-above,var(--paper)); transform:scaleY(-1); mask:url('brand/torn-edge.svg') center / 100% 100% no-repeat; pointer-events:none;
}
.rafiki-brand .page-jump { --frame-above:var(--purple); }
.rafiki-brand .embedded-demo,.rafiki-brand .pricing-builder { --frame-above:var(--ink); }
.rafiki-brand .pricing-comparison { --frame-above:var(--lavender); }
.rafiki-brand .demo-conversion { --frame-above:var(--purple); }
.rafiki-brand:has(.deep-cta) .footer-tear { fill:var(--purple); }
@media (max-width:900px) {
 .rafiki-brand .primary-nav { position:static; max-height:calc(100dvh - 170px); box-shadow:none; border-radius:0; }
 .brand-home .frame-orders .tn-ticket { font-size:18px; padding-inline:14px; }
}
.rafiki-brand .deep-page:not(.deep-page--product) .deep-hero { display:block; text-align:center; }
.rafiki-brand .deep-page:not(.deep-page--product) .deep-hero-copy { max-width:800px; margin-inline:auto; }
.rafiki-brand .deep-page:not(.deep-page--product) .deep-hero h1 { max-width:none; }
.rafiki-brand .deep-page:not(.deep-page--product) .deep-lede { margin:var(--space-tight) auto 0; }
.rafiki-brand .demo-form::before,.rafiki-brand .deep-prose h2::after { display:none; }
