/* Codegenify Reframe 2026.2
   A structural redesign: editorial public site, horizontal workspaces and command-bar administration. */
:root {
  --rf-paper: #f1f2ee;
  --rf-paper-2: #e6e8e2;
  --rf-ink: #11151a;
  --rf-subtle: #66707c;
  --rf-blue: #246bfd;
  --rf-blue-dark: #1747b8;
  --rf-acid: #d9ff57;
  --rf-white: #ffffff;
  --rf-rule: rgba(17, 21, 26, .16);
  --rf-dark-rule: rgba(255, 255, 255, .18);
  --rf-max: 1320px;
}
[data-theme="dark"] {
  --rf-paper: #0d1117;
  --rf-paper-2: #151b24;
  --rf-ink: #f2f5f8;
  --rf-subtle: #a8b2bf;
  --rf-rule: rgba(255, 255, 255, .17);
  --rf-white: #111821;
}
body { background: var(--rf-paper); color: var(--rf-ink); }
.container { width: min(var(--rf-max), calc(100% - 64px)); max-width: var(--rf-max); }

/* Public masthead */
.cg-header { display: none !important; }
.re-utility { background: #0b0e12; color: #aeb6c1; font-size: 12px; letter-spacing: .04em; }
.re-utility__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.re-utility nav { display: flex; gap: 24px; }
.re-utility a { color: #d9dfe7; }
.re-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--rf-paper) 92%, transparent); border-bottom: 1px solid var(--rf-rule); backdrop-filter: blur(18px); }
.re-nav { min-height: 78px; display: grid; grid-template-columns: 190px minmax(0,1fr) auto; align-items: center; gap: 30px; }
.re-brand { display: inline-flex; width: 166px; }
.re-brand img { width: 164px; height: auto; object-fit: contain; }
.re-nav__links { display: flex; justify-content: center; align-items: center; gap: 4px; }
.re-nav__links a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 13px; border-bottom: 2px solid transparent; color: var(--rf-subtle); font-size: 14px; font-weight: 680; }
.re-nav__links a:hover, .re-nav__links a[aria-current="page"] { color: var(--rf-ink); border-bottom-color: var(--rf-blue); }
.re-nav__actions { display: flex; align-items: center; gap: 8px; }
.re-login, .re-project { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid var(--rf-rule); font-size: 14px; font-weight: 760; }
.re-login { color: var(--rf-ink); }
.re-project { gap: 18px; background: var(--rf-ink); border-color: var(--rf-ink); color: var(--rf-paper); }
[data-theme="dark"] .re-project { background: var(--rf-blue); color: #fff; border-color: var(--rf-blue); }
.re-menu { display: none; border-radius: 0; background: transparent; }
.re-overline { display: flex; gap: 10px; align-items: center; color: var(--rf-blue); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.re-drawer { border-radius: 0; top: 0; right: 0; bottom: 0; width: min(520px,100vw); padding: 34px; }
.re-drawer__nav { border-top: 1px solid var(--rf-rule); }
.re-drawer__nav a { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--rf-rule); }
.re-drawer__nav a > span { color: var(--rf-blue); font-size: 12px; }
.re-drawer__nav a > b { font-size: 18px; }
.re-drawer__nav a > small { grid-column: 2/4; color: var(--rf-subtle); }
.re-drawer__footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.re-drawer__footer a { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--rf-rule); font-weight: 750; }
.re-drawer__footer a:first-child { background: var(--rf-blue); color: #fff; border-color: var(--rf-blue); }

/* Editorial home */
.re-home { overflow: clip; background: var(--rf-paper); }
.re-hero { background: #0d1117; color: #f5f7fa; }
.re-hero__grid { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .72fr); align-items: stretch; gap: 0; }
.re-hero__statement { min-width: 0; padding: 84px 72px 76px 0; border-right: 1px solid var(--rf-dark-rule); }
.re-hero .re-overline { justify-content: space-between; max-width: 680px; color: #9eabb9; }
.re-hero__statement h1 { max-width: 900px; margin: 38px 0 28px; font-size: clamp(4rem, 7.3vw, 8rem); line-height: .87; letter-spacing: -.078em; font-weight: 830; }
.re-hero__statement h1 em { display: block; color: var(--rf-acid); font-style: normal; }
.re-hero__statement > p { max-width: 680px; margin: 0; color: #b6c0cc; font-size: 18px; line-height: 1.7; }
.re-hero__actions { display: flex; gap: 10px; margin-top: 38px; }
.re-arrow-link { min-width: 210px; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 18px; border: 1px solid rgba(255,255,255,.24); color: #fff; font-weight: 760; }
.re-arrow-link b { font-size: 20px; }
.re-arrow-link--solid { background: var(--rf-blue); border-color: var(--rf-blue); }
.re-hero__index { display: grid; grid-template-rows: auto repeat(4,1fr) auto; min-width: 0; }
.re-index__head, .re-index__foot { display: flex; justify-content: space-between; gap: 16px; padding: 20px 28px; color: #7f8b98; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.re-hero__index > a { min-width: 0; display: grid; grid-template-columns: 34px minmax(0,1fr) 24px; align-items: center; gap: 12px; padding: 22px 28px; border-top: 1px solid var(--rf-dark-rule); color: #fff; }
.re-hero__index > a:last-of-type { border-bottom: 1px solid var(--rf-dark-rule); }
.re-hero__index > a > span { color: #7f8b98; font-size: 12px; }
.re-hero__index > a > b { font-size: clamp(1.15rem, 1.6vw, 1.6rem); line-height: 1.15; }
.re-hero__index > a > i { font-style: normal; color: var(--rf-acid); }
.re-hero__index > a:hover { background: var(--rf-blue); }
.re-hero__marquee { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--rf-dark-rule); color: #9faab7; font-size: 12px; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.re-hero__marquee i { width: 4px; height: 4px; background: var(--rf-acid); border-radius: 50%; }

.re-intro { padding: 118px 0; }
.re-intro__grid { display: grid; grid-template-columns: 160px minmax(0,1.35fr) minmax(280px,.65fr); gap: 46px; align-items: start; }
.re-section-number { color: var(--rf-blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.re-kicker { margin: 0 0 20px; color: var(--rf-subtle); font-size: 15px; }
.re-intro h2, .re-services h2, .re-products h2, .re-ecosystem h2, .re-process h2, .re-final h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .97; letter-spacing: -.06em; }
.re-intro__copy { padding-top: 32px; }
.re-intro__copy p { color: var(--rf-subtle); font-size: 17px; line-height: 1.75; }
.re-intro__copy a, .re-text-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--rf-ink); font-weight: 760; }

.re-services { padding: 100px 0; border-top: 1px solid var(--rf-rule); background: var(--rf-white); }
.re-services__layout { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: 80px; }
.re-services__title { position: sticky; top: 130px; align-self: start; }
.re-services__title h2 { margin: 26px 0; font-size: clamp(2.7rem, 4.6vw, 4.8rem); }
.re-service-list { border-top: 1px solid var(--rf-rule); }
.re-service-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 30px; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--rf-rule); }
.re-service-row > span { color: var(--rf-blue); font-size: 12px; }
.re-service-row h3 { margin: 0 0 10px; font-size: clamp(1.55rem,2.3vw,2.4rem); }
.re-service-row p { max-width: 690px; margin: 0; color: var(--rf-subtle); }
.re-service-row > b { font-size: 22px; }
.re-service-row:hover h3, .re-service-row:hover > b { color: var(--rf-blue); }

.re-products { padding: 110px 0; background: var(--rf-paper-2); }
.re-products__head { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.55fr); gap: 60px; align-items: end; margin-bottom: 52px; }
.re-products__head h2 { margin-top: 24px; }
.re-products__head > p { margin: 0; color: var(--rf-subtle); font-size: 17px; line-height: 1.75; }
.re-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; background: var(--rf-rule); border: 1px solid var(--rf-rule); }
.re-product-card { min-height: 580px; padding: 34px; display: flex; flex-direction: column; overflow: hidden; }
.re-product-card--dark { background: #121820; color: #f5f7fa; }
.re-product-card--light { background: var(--rf-white); color: var(--rf-ink); }
.re-product-card__meta { display: flex; justify-content: space-between; gap: 16px; color: #8e9aa8; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.re-product-card h3 { max-width: 620px; margin: 38px 0 12px; font-size: clamp(2.4rem,4vw,4.8rem); line-height: .95; }
.re-product-card > p { max-width: 620px; margin: 0; color: #96a2af; font-size: 16px; line-height: 1.65; }
.re-product-card--light > p { color: var(--rf-subtle); }
.re-product-card > a { margin-top: auto; align-self: flex-start; display: flex; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-weight: 760; }
.re-product-card__window { width: 78%; margin: 36px 0 -54px auto; border: 1px solid rgba(255,255,255,.15); background: #1a2430; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.re-product-card--light .re-product-card__window { background: #eff3f8; border-color: var(--rf-rule); }
.re-window__bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.13); color: #8d9aab; font-size: 10px; }
.re-window__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--rf-blue); }
.re-window__bar span { margin-left: auto; }
.re-window__body { height: 180px; display: grid; grid-template-columns: 56px 1fr; }
.re-window__body aside { display: grid; align-content: start; gap: 10px; padding: 18px 13px; border-right: 1px solid rgba(255,255,255,.12); }
.re-window__body aside i { height: 28px; background: color-mix(in srgb,var(--rf-blue) 28%,transparent); }
.re-window__body > div { display: grid; grid-template-columns: repeat(3,1fr); align-content: start; gap: 10px; padding: 20px; }
.re-window__body > div span { height: 52px; background: color-mix(in srgb,var(--rf-blue) 15%,transparent); }
.re-window__body > div b { grid-column: 1/-1; height: 54px; background: linear-gradient(90deg,var(--rf-blue),transparent); opacity: .65; }

.re-ecosystem { padding: 118px 0; background: var(--rf-blue); color: #fff; }
.re-ecosystem .re-section-number { color: var(--rf-acid); }
.re-ecosystem__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 90px; }
.re-ecosystem__statement h2 { margin: 28px 0; }
.re-ecosystem__statement > p { max-width: 570px; color: #d9e4ff; font-size: 17px; line-height: 1.7; }
.re-ecosystem__statement .re-arrow-link { margin-top: 30px; background: #fff; border-color: #fff; color: #10151c; }
.re-role-map { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid rgba(255,255,255,.3); border-left: 1px solid rgba(255,255,255,.3); }
.re-role-map > div { min-height: 160px; padding: 24px; display: grid; align-content: space-between; border-right: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); }
.re-role-map span { color: var(--rf-acid); font-size: 11px; }
.re-role-map b { font-size: 24px; }
.re-role-map small { color: #d9e4ff; }

.re-process { padding: 110px 0; }
.re-process header { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 46px; }
.re-process ol { list-style: none; margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--rf-rule); border-left: 1px solid var(--rf-rule); }
.re-process li { min-height: 230px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--rf-rule); border-bottom: 1px solid var(--rf-rule); }
.re-process li > span { color: var(--rf-blue); font-size: 12px; }
.re-process li b { display: block; margin-bottom: 10px; font-size: 28px; }
.re-process li p { margin: 0; color: var(--rf-subtle); }

.re-final { padding: 40px 0 110px; }
.re-final__grid { min-height: 360px; padding: 48px; display: grid; grid-template-columns: 180px minmax(0,1fr) 240px; gap: 46px; align-items: center; background: #11161d; color: #fff; }
.re-final__mark { font-size: 60px; font-weight: 850; color: var(--rf-acid); letter-spacing: -.08em; }
.re-final__grid p { color: #9faab7; }
.re-final__grid > a { min-height: 160px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: var(--rf-acid); color: #11161d; font-weight: 780; }
.re-final__grid > a b { align-self: flex-end; font-size: 28px; }

/* Rebuilt footer */
.footer { display: none; }
.re-footer { padding: 90px 0 28px; background: #090c10; color: #fff; }
.re-footer__lead { display: grid; grid-template-columns: 180px minmax(0,1fr) 300px; gap: 46px; align-items: end; padding-bottom: 68px; border-bottom: 1px solid rgba(255,255,255,.17); }
.re-footer__lead > span { color: #7f8b99; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.re-footer__lead h2 { margin: 0; font-size: clamp(3rem,5.8vw,6.4rem); line-height: .9; letter-spacing: -.07em; }
.re-footer__lead > a { min-height: 58px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; background: var(--rf-blue); color: #fff; font-weight: 760; }
.re-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3,.7fr); gap: 54px; padding: 58px 0; }
.re-footer__brand img { filter: brightness(0) invert(1); }
.re-footer__brand p { max-width: 360px; color: #8f9aa7; }
.re-footer__grid nav { display: grid; align-content: start; gap: 10px; }
.re-footer__grid nav b { margin-bottom: 8px; color: #fff; }
.re-footer__grid nav a { color: #8f9aa7; }
.re-footer__grid nav a:hover { color: #fff; }
.re-footer__base { min-height: 52px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.17); color: #687381; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

/* Public inner pages: editorial headers and list-based content, not card galleries */
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) > .page-hero-tight:first-child,
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) > .section:first-child {
  padding: 92px 0;
  background: #0d1117;
  color: #f5f7fa;
}
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) > .section:first-child .section-head {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(220px,.45fr);
  gap: 70px;
  align-items: end;
}
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) > .section:first-child .h1 {
  max-width: 980px;
  margin: 22px 0;
  color: #fff;
  font-size: clamp(3.5rem,6.5vw,7rem);
  line-height: .9;
  letter-spacing: -.07em;
}
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) > .section:first-child .lead { color: #aeb9c6; font-size: 17px; }
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) > .section:not(:first-child) { padding: 86px 0; }
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) .grid-3 {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  padding: 1px;
  background: var(--rf-rule);
}
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) .grid-3 > .feature,
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) .grid-3 > .card {
  min-height: 260px;
  padding: 30px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--rf-white);
}
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) .premium-service-card .icon-3d { width: 68px; right: 20px; top: 20px; opacity: .65; }
body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) .premium-product-card { border-radius: 0; }

/* Portal reframe: no persistent left dashboard rail */
.nav { position: sticky; top: 0; background: var(--rf-paper); border-bottom-color: var(--rf-rule); }
.nav-inner { min-height: 76px; }
.nav-links a { border-radius: 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.is-active { border-bottom-color: var(--rf-blue); background: transparent; }
.dash { display: block; min-height: auto; }
.dash .side { position: sticky; top: 76px; z-index: 50; width: 100%; height: auto; display: flex; align-items: center; gap: 4px; padding: 10px max(24px,calc((100% - min(var(--rf-max),calc(100% - 64px)))/2)); border: 0; border-bottom: 1px solid var(--rf-rule); background: color-mix(in srgb,var(--rf-white) 94%,transparent); overflow-x: auto; }
.dash .side .profile-chip { min-width: 220px; margin: 0 22px 0 0; }
.dash .side .side-title, .dash .side .hr, .dash .side > small { display: none; }
.dash .side a { flex: 0 0 auto; border-radius: 0; }
.dash .main { padding: 46px 0 90px; }
.portal-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; padding: 36px !important; border-radius: 0; box-shadow: none; border-left: 5px solid var(--rf-blue); }
.portal-kpi, .kpi, .intern-profile-form, .intern-side-panel .card { border-radius: 0; box-shadow: none; }
.portal-kpi-row, .kpis { gap: 1px; background: var(--rf-rule); }
.portal-kpi, .kpi { border: 0; }

/* Client workspace becomes top-nav workspace */
.cw-shell { display: block !important; }
.cw-sidebar { position: sticky !important; top: 76px !important; z-index: 45; width: 100% !important; height: auto !important; min-height: 0 !important; padding: 10px 24px !important; display: flex; align-items: center; gap: 28px; background: #10151c !important; }
.cw-brand-card { flex: 0 0 auto; min-width: 220px; }
.cw-nav { flex: 1; display: flex !important; gap: 4px; overflow-x: auto; }
.cw-nav a { flex: 0 0 auto; min-height: 44px; border-radius: 0 !important; }
.cw-main { max-width: var(--rf-max); margin-inline: auto; padding: 38px 32px 90px !important; }
.cw-card, .cw-hero { border-radius: 0 !important; box-shadow: none !important; }

/* Admin command bar instead of dark sidebar */
.admin-shell { display: block; min-height: 100vh; padding-top: 82px; }
.admin-side { position: fixed; inset: 0 0 auto 0; z-index: 100; width: 100%; height: 82px; padding: 0 22px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--rf-rule); background: color-mix(in srgb,var(--rf-white) 95%,transparent); color: var(--rf-ink); backdrop-filter: blur(18px); overflow: visible; }
.admin-brand { position: static; flex: 0 0 auto; min-width: 180px; margin: 0; padding: 0; border: 0; background: transparent; }
.admin-brand small { color: var(--rf-subtle) !important; }
.admin-logo { width: 36px; height: 36px; }
.admin-burger:not(.admin-mobile-burger) { display: none; }
.admin-nav { flex: 1; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav a { flex: 0 0 auto; min-height: 42px; margin: 0; padding: 9px 11px; border-radius: 0; color: var(--rf-subtle); border-bottom: 2px solid transparent; }
.admin-nav a:hover, .admin-nav a.is-active { background: transparent; color: var(--rf-ink); border-bottom-color: var(--rf-blue); }
.admin-sep, .admin-label { display: none; }
.admin-main { max-width: var(--rf-max); margin-inline: auto; padding: 48px 32px 100px; }
.admin-main .card { border-radius: 0; box-shadow: none; }
.admin-main .grid-3 { gap: 0; background: transparent; border-top: 1px solid var(--rf-rule); border-left: 1px solid var(--rf-rule); }
.admin-main .grid-3 > .card { border: 0; border-right: 1px solid var(--rf-rule); border-bottom: 1px solid var(--rf-rule); }
.theme-pull--fixed { top: 98px !important; right: 18px !important; }

@media (max-width: 1160px) {
  .re-nav { grid-template-columns: 170px 1fr auto; }
  .re-nav__links { display: none; }
  .re-menu { display: grid; }
  .re-project { display: none; }
  .re-hero__grid { grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); }
  .re-hero__statement h1 { font-size: clamp(3.8rem,7.2vw,6.5rem); }
  .re-intro__grid { grid-template-columns: 110px 1fr; }
  .re-intro__copy { grid-column: 2; padding-top: 0; }
  .re-footer__lead { grid-template-columns: 130px 1fr; }
  .re-footer__lead > a { grid-column: 2; width: 300px; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 36px,var(--rf-max)); }
  .re-utility { display: none; }
  .re-nav { min-height: 70px; }
  .re-login { display: none; }
  .re-hero__grid { min-height: 0; grid-template-columns: 1fr; }
  .re-hero__statement { padding: 70px 0 58px; border-right: 0; }
  .re-hero__index { border-top: 1px solid var(--rf-dark-rule); }
  .re-hero__marquee { overflow: hidden; justify-content: flex-start; white-space: nowrap; }
  .re-intro { padding: 80px 0; }
  .re-services__layout, .re-products__head, .re-ecosystem__grid { grid-template-columns: 1fr; gap: 46px; }
  .re-services__title { position: static; }
  .re-product-card { min-height: 520px; }
  .re-process header { grid-template-columns: 1fr; }
  .re-process ol { grid-template-columns: repeat(2,1fr); }
  .re-final__grid { grid-template-columns: 100px 1fr; }
  .re-final__grid > a { grid-column: 2; min-height: 100px; }
  .re-footer__grid { grid-template-columns: 1.3fr repeat(2,1fr); }
  .re-footer__grid nav:last-child { grid-column: 2; }
  .admin-side { inset: 0 auto 0 0; width: min(310px,88vw); height: 100dvh; padding: 18px 12px; display: block; transform: translateX(-105%); background: var(--rf-white); overflow-y: auto; }
  body.admin-open .admin-side { transform: none; }
  .admin-brand { margin-bottom: 16px; }
  .admin-burger:not(.admin-mobile-burger) { display: inline-grid; }
  .admin-nav { display: grid; overflow: visible; }
  .admin-nav a { width: 100%; border-bottom: 0; border-left: 3px solid transparent; }
  .admin-nav a:hover, .admin-nav a.is-active { border-left-color: var(--rf-blue); background: color-mix(in srgb,var(--rf-blue) 7%,transparent); }
  .admin-mobile-burger { display: grid; z-index: 108; }
  .admin-shell { padding-top: 0; }
  .admin-main { padding-top: 82px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px,var(--rf-max)); }
  .re-brand, .re-brand img { width: 132px; }
  .re-nav { grid-template-columns: 140px 1fr auto; gap: 8px; }
  .re-nav__actions .theme-pull { display: none; }
  .re-hero__statement h1 { margin-top: 28px; font-size: clamp(3.2rem,15vw,4.7rem); line-height: .89; }
  .re-hero__statement > p { font-size: 16px; }
  .re-hero__actions { display: grid; }
  .re-arrow-link { width: 100%; min-width: 0; }
  .re-index__head, .re-index__foot, .re-hero__index > a { padding-inline: 16px; }
  .re-hero__marquee span:nth-of-type(n+4), .re-hero__marquee i:nth-of-type(n+4) { display: none; }
  .re-intro__grid { grid-template-columns: 1fr; gap: 24px; }
  .re-intro__copy { grid-column: auto; }
  .re-intro h2, .re-services h2, .re-products h2, .re-ecosystem h2, .re-process h2, .re-final h2 { font-size: clamp(2.5rem,12vw,3.7rem); }
  .re-services, .re-products, .re-ecosystem, .re-process { padding: 72px 0; }
  .re-service-row { grid-template-columns: 30px minmax(0,1fr); padding: 24px 0; }
  .re-service-row > b { display: none; }
  .re-product-grid { grid-template-columns: 1fr; }
  .re-product-card { min-height: 480px; padding: 24px; }
  .re-product-card h3 { font-size: 2.8rem; }
  .re-product-card__window { width: 95%; }
  .re-role-map { grid-template-columns: 1fr; }
  .re-role-map > div { min-height: 120px; }
  .re-process ol { grid-template-columns: 1fr; }
  .re-process li { min-height: 150px; }
  .re-final { padding-bottom: 70px; }
  .re-final__grid { min-height: 0; padding: 28px; grid-template-columns: 1fr; gap: 28px; }
  .re-final__grid > a { grid-column: auto; }
  .re-final__mark { font-size: 46px; }
  .re-footer { padding-top: 64px; }
  .re-footer__lead { grid-template-columns: 1fr; gap: 28px; }
  .re-footer__lead > a { grid-column: auto; width: 100%; }
  .re-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .re-footer__brand { grid-column: 1/-1; }
  .re-footer__grid nav:last-child { grid-column: auto; }
  .re-footer__base { align-items: flex-start; flex-direction: column; padding-top: 22px; }
  body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) > .section:first-child .section-head { grid-template-columns: 1fr; gap: 28px; }
  body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) > .section:first-child .h1 { font-size: clamp(3rem,14vw,4.8rem); }
  body > main:not(.re-home):not(.dash):not(.cw-shell):not(.auth-v3-wrap):not(.auth-admin-shell) .grid-3 { grid-template-columns: 1fr; }
  .dash .side { top: 66px; padding-inline: 14px; }
  .dash .side .profile-chip { display: none; }
  .portal-hero { grid-template-columns: 1fr; padding: 24px !important; }
  .cw-sidebar { top: 66px !important; padding: 8px 14px !important; }
  .cw-brand-card { display: none; }
  .cw-main { padding: 24px 14px 70px !important; }
}

@media print {
  .re-utility, .re-header, .re-footer { display: none !important; }
}
