/* The hero is one grid: message/mark above, proof/contact below. */
@property --cf-sheen-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.clearframe-home .concept-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); grid-template-areas: "copy mark" "proof owner"; gap: 28px 48px; align-items: center !important; }
.clearframe-home .concept-hero-copy { grid-area: copy; min-width: 0; }
.clearframe-home .cf-ribbon { grid-area: mark; position: relative; width: 100%; max-width: 500px; margin: 0; justify-self: center; }
.clearframe-home .concept-hero .hero-sub { font-size: 24px; line-height: 1.4; }
.clearframe-home .concept-hero .hero-pitch { font-size: 18px; line-height: 1.5; }
.clearframe-home .cf-hero-proof { grid-area: proof; width: 100%; min-width: 0; }
.clearframe-home .cf-hero-proof .hero-search-demo { width: min(100%,440px); height: auto; aspect-ratio: 1118 / 770; margin: 0; }
.clearframe-home .cf-hero-proof .cmd-ops-signin { border-radius: 8px; box-shadow: none; object-fit: contain; }
.clearframe-home .cf-hero-proof .hero-demo-window { display: grid; grid-template-rows: 38px minmax(0,1fr); overflow: hidden; border: 1px solid rgba(106,184,255,.3); border-radius: 12px; background: #0b0c0c; box-shadow: 0 24px 70px rgba(0,0,0,.28),0 0 34px rgba(106,184,255,.08); }
.clearframe-home .hero-demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 0 12px; border-bottom: 1px solid rgba(106,184,255,.2); background: #0b1721; color: #d5e6e9; font: 700 11px/1 Inter,sans-serif; }
.clearframe-home .hero-demo-toolbar > span { display: inline-flex; min-width: 0; align-items: center; gap: 8px; white-space: nowrap; }
.clearframe-home .hero-demo-toolbar i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #29c7be; box-shadow: 0 0 12px rgba(41,199,190,.72); }
.clearframe-home .hero-demo-toolbar a { display: inline-flex; align-items: center; gap: 6px; color: #9ed3ff; text-decoration: none; white-space: nowrap; }
.clearframe-home .hero-demo-toolbar a:hover { color: #fff; }
.clearframe-home .hero-demo-toolbar a:focus-visible { outline: 2px solid #6ab8ff; outline-offset: 3px; }
.clearframe-home .cmd-ops-demo-frame { display: block; width: 250%; height: 250%; border: 0; background: #0b0c0c; transform: scale(.4); transform-origin: 0 0; }
.clearframe-home .cf-hero-contact > .concept-hero-owner {  width: 100%; max-width: none; margin: 0; padding: 24px; grid-template-columns: 112px minmax(0,1fr); gap: 24px; border: 1px solid rgba(106,184,255,.22); border-radius: 14px; }
.clearframe-home .cf-hero-contact > .concept-hero-owner > img { width: 112px; height: 112px; }
.clearframe-home .cf-hero-contact > .concept-hero-owner > span { padding: 0; }
.clearframe-home .cf-ribbon-stage { position: relative; width: 100%; aspect-ratio: 1; isolation: isolate; }
.clearframe-home .cf-ribbon-layer { position: absolute; inset: 7%; transform-origin: center; }
.clearframe-home .cf-ribbon-layer img { position: absolute; width: 114%; max-width: none; height: 114%; left: -7%; top: -7%; object-fit: contain; user-select: none; pointer-events: none; }
.clearframe-home .cf-ribbon-back { transform: translate(10.5%,-10.5%) scale(.97); opacity: .83; filter: saturate(.9) brightness(.92); z-index: 1; }
.clearframe-home .cf-ribbon-front { transform: translate(-10.5%,10.5%); z-index: 2; }
.clearframe-home .cf-ribbon-sheen { position: absolute; inset: -7%; opacity: 0; background: conic-gradient(from var(--cf-sheen-angle) at 50% 50%, transparent 0deg 270deg, rgba(153,248,255,.06) 288deg, rgba(224,255,251,.32) 315deg, rgba(109,224,255,.09) 338deg, transparent 360deg); -webkit-mask: url('/assets/img/homepage/clear-frameworks-ribbon.webp') center / contain no-repeat; mask: url('/assets/img/homepage/clear-frameworks-ribbon.webp') center / contain no-repeat; mix-blend-mode: screen; pointer-events: none; }
.clearframe-home .cf-ribbon.is-building .cf-ribbon-back { animation: cf-ribbon-separate-back 4.8s cubic-bezier(.35,0,.18,1) both; }
.clearframe-home .cf-ribbon.is-building .cf-ribbon-front { animation: cf-ribbon-separate-front 4.8s cubic-bezier(.35,0,.18,1) both; }
.clearframe-home .cf-ribbon.is-building .cf-ribbon-sheen { animation: cf-ribbon-surface 10s linear 1.2s infinite; }
.clearframe-home .cf-ribbon.is-building .cf-ribbon-back .cf-ribbon-sheen { animation-delay: 3.2s; }
.clearframe-home .cf-ribbon.is-paused * { animation-play-state: paused !important; }
@keyframes cf-ribbon-separate-back { 0%, 14% { transform: translate(0,0) scale(1); opacity: 0; } 25% { opacity: .83; } 100% { transform: translate(10.5%,-10.5%) scale(.97); opacity: .83; } }
@keyframes cf-ribbon-separate-front { 0%, 14% { transform: translate(0,0); } 100% { transform: translate(-10.5%,10.5%); } }
@keyframes cf-ribbon-surface { from { --cf-sheen-angle: 0deg; opacity: 1; } to { --cf-sheen-angle: 360deg; opacity: 1; } }

@media (max-width: 1080px) and (min-width: 721px) {
  .clearframe-home .concept-hero-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 24px; }
  .clearframe-home .concept-hero h1 { font-size: clamp(42px,5.5vw,58px); }
  .clearframe-home .concept-hero .hero-sub { font-size: 20px; }
  .clearframe-home .concept-hero .hero-pitch { font-size: 16px; }
  .clearframe-home .cf-hero-contact > .concept-hero-owner { grid-template-columns: 76px minmax(0,1fr); padding: 16px; gap: 16px; }
  .clearframe-home .cf-hero-contact > .concept-hero-owner > img { width: 76px; height: 76px; }
  .clearframe-home .cf-hero-contact > .concept-hero-owner strong { font-size: 22px; }
  .clearframe-home .cf-hero-contact > .concept-hero-owner span span { font-size: 13px; }
  .clearframe-home .cf-hero-proof { padding: 14px; gap: 16px; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
}
@media (max-width: 720px) {
  .clearframe-home .concept-hero-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "proof" "mark" "owner"; gap: 24px; }
  .clearframe-home .cf-ribbon { max-width: 310px; }
  .clearframe-home .concept-hero .hero-sub { font-size: 20px; }
  .clearframe-home .concept-hero .hero-pitch { font-size: 17px; }
  .clearframe-home .cf-hero-proof { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); padding: 14px; gap: 16px; }
  .clearframe-home .cf-hero-contact > .concept-hero-owner { grid-template-columns: 84px minmax(0,1fr); padding: 18px; gap: 18px; }
  .clearframe-home .cf-hero-contact > .concept-hero-owner > img { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .clearframe-home .cf-ribbon.is-building .cf-ribbon-layer,
  .clearframe-home .cf-ribbon.is-building .cf-ribbon-sheen { animation: none; }
}

.clearframe-home .cf-hero-contact { grid-area: owner; align-self: stretch; align-items: center; display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; width: 100%; min-width: 0; }
.clearframe-home .cf-hero-contact .hero-design-note { margin: 0; color: #9b7cff; font-size: 19px; line-height: 1.4; letter-spacing: .1em; text-align: center; }
.clearframe-home .cf-hero-contact > .concept-hero-owner { min-height: 0; max-width: 380px; padding: 18px; grid-template-columns: 88px minmax(0,1fr); gap: 18px; }
.clearframe-home .cf-hero-contact > .concept-hero-owner > img { width: 88px; height: 88px; }
.clearframe-home .cmd-ops-cursor { top: 79.5%; left: 65%; }
@media (max-width: 1080px) and (min-width: 721px) {
  .clearframe-home .cf-hero-proof { padding: 0; }
  .clearframe-home .cf-hero-contact { gap: 18px; }
  .clearframe-home .cf-hero-contact .hero-design-note { font-size: 15px; letter-spacing: .06em; }
}
@media (max-width: 720px) {
  .clearframe-home .cf-hero-proof { padding: 0; }
  .clearframe-home .cf-hero-contact { gap: 18px; }
  .clearframe-home .cf-hero-contact .hero-design-note { font-size: 17px; }
}
