/* Yura showcase V14 — clearer typography without changing the visual identity. */
@media screen {
  body.y9-body{font-size:16px;line-height:1.65}
  body.y9-body .y9-brand strong{font-size:15px}
  body.y9-body .y9-brand small{font-size:13px!important}
  body.y9-body nav a,body.y9-body .y9-nav-actions a{font-size:14px}
  body.y9-body .y9-hero-copy>p,body.y9-body .y9-section-head p,body.y9-body .y9-context-copy>p,body.y9-body .y9-live-copy>p,body.y9-body .y9-security-copy>p,body.y9-body .y9-cta p{font-size:16px;line-height:1.72}
  body.y9-body .y9-kicker{font-size:13px;line-height:1.45}
  body.y9-body .y9-trust b,body.y9-body .y9-trust small,body.y9-body .y12-intelligence-band span,body.y9-body .y121-proof small,body.y9-body .y121-proof span,body.y9-body .y121-creator small,body.y9-body .y121-creator span{font-size:13.5px!important;line-height:1.55}
  body.y9-body .y9-window-bar,body.y9-body .y9-ai-mark small,body.y9-body .y9-context-card small,body.y9-body .y9-context-card em,body.y9-body .y9-signal,body.y9-body .y9-chat-head small,body.y9-body .y9-compose,body.y9-body .y9-thinking em{font-size:13px!important;line-height:1.5}
  body.y9-body .y9-bubble,body.y9-body .y9-live-message,body.y9-body .y9-live-intro p{font-size:15px!important;line-height:1.65}
  body.y9-body .y9-cap-card h3{font-size:20px}
  body.y9-body .y9-cap-card p{font-size:14.5px;line-height:1.65}
  body.y9-body .y9-cap-card>span,body.y9-body .y9-prompt-chip{font-size:13px!important}
  body.y9-body .y9-node small,body.y9-body .y9-context-list small,body.y9-body .y9-flow-step small,body.y9-body .y13-flow-modules small,body.y9-body .y9-live-card-head small,body.y9-body .y9-live-note,body.y9-body .y11-security-grid small,body.y9-body .y9-footer p,body.y9-body .y9-footer small{font-size:13.5px!important;line-height:1.55}
  body.y9-body textarea{font-size:15px!important}
  body.y9-body .y9-live-form textarea{min-height:48px}
  .og-v14-message-enter{animation:yuraV14MessageIn .42s ease both}
  @keyframes yuraV14MessageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
  @media(max-width:720px){body.y9-body .y9-hero-copy>p,body.y9-body .y9-section-head p,body.y9-body .y9-context-copy>p,body.y9-body .y9-live-copy>p,body.y9-body .y9-security-copy>p{font-size:15px}}
}
@media screen {
  body.y9-body .y13-flow-select>span,
  body.y9-body .y13-flow-modules>small,
  body.y9-body .y13-flow-modules span,
  body.y9-body .y13-flow-ask{font-size:13px!important;line-height:1.45}
}

/* V14 Yura concept refinement — visual workbench, readable chat and calmer density. */
@media screen {
  body.y9-body{--y14-border:rgba(104,145,224,.18);--y14-panel:rgba(6,22,48,.84)}
  body.y9-body .y9-hero.y121-hero{width:min(1500px,calc(100% - 44px));max-width:1500px!important;grid-template-columns:minmax(0,.82fr) minmax(650px,1.18fr)!important;gap:48px!important}
  body.y9-body .y121-hero .y9-hero-copy>p{font-size:17px!important;line-height:1.72!important;max-width:680px!important}
  body.y9-body .y121-hero .y9-kicker{font-size:12px!important}
  body.y9-body .y121-hero .y9-btn{font-size:14px!important;min-height:48px!important}
  body.y9-body .y121-hero .y9-trust{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:23px!important}
  body.y9-body .y121-hero .y9-trust span{min-height:68px;padding:11px 12px;border:1px solid var(--y14-border);border-radius:13px;background:rgba(6,22,48,.55);align-items:flex-start!important}
  body.y9-body .y121-hero .y9-trust i{margin-top:2px;color:#75a7ff;font-size:18px}
  body.y9-body .y121-hero .y9-trust b{font-size:14px!important;color:#edf5ff}.y121-hero .y9-trust small{font-size:13px!important;line-height:1.5!important;color:#8fa5c3}
  body.y9-body .y12-intelligence-band strong{font-size:15px}.y12-intelligence-band span{font-size:13.5px!important}

  body.y9-body .y121-hero .y9-demo-body{height:600px!important;grid-template-columns:210px minmax(0,1fr)!important}
  body.y9-body .y121-hero .y9-demo-side{padding:18px 14px!important}
  body.y9-body .y9-ai-mark strong{font-size:14px!important}.y9-ai-mark small{font-size:12px!important;line-height:1.4!important}
  body.y9-body .y9-context-card>small{font-size:11px!important}.y9-context-card b{font-size:12.5px!important}.y9-context-card em{font-size:11px!important}
  body.y9-body .y9-signal{font-size:11.5px!important}
  body.y9-body .y9-chat-head{height:70px!important}.y9-chat-head strong{font-size:14px!important}.y9-chat-head small{font-size:12px!important}
  body.y9-body .y9-chat-scroll{padding:22px 20px 15px!important;gap:15px!important}
  body.y9-body .y9-msg .avatar{width:31px;height:31px;flex-basis:31px;font-size:11px}
  body.y9-body .y9-bubble{font-size:14px!important;line-height:1.62!important;padding:12px 14px!important;max-width:100%}
  body.y9-body .y9-thinking{font-size:12px!important;margin-left:58px!important}.y9-thinking em{font-size:12px!important}
  body.y9-body .y9-compose{height:58px!important;font-size:13px!important;color:#7f96b8!important}.y9-compose i{width:31px;height:31px}
  body.y9-body .y12-relevant{font-size:11px!important}.y12-relevant>span,.y12-relevant b{font-size:11px!important}

  .y14-capability .y9-section-head{max-width:900px}.y14-visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .y14-visual-card{overflow:hidden;border:1px solid var(--y14-border);border-radius:22px;background:linear-gradient(150deg,rgba(8,29,60,.93),rgba(5,18,40,.86));box-shadow:0 20px 50px rgba(0,0,0,.13);transition:.28s ease}
  .y14-visual-card:hover{transform:translateY(-4px);border-color:rgba(106,137,255,.42);box-shadow:0 24px 60px rgba(0,0,0,.22)}
  .y14-visual-frame{aspect-ratio:16/8.7;overflow:hidden;border-bottom:1px solid var(--y14-border);background:#071a37}.y14-visual-frame img{width:100%;height:100%;object-fit:cover;display:block}
  .y14-visual-copy{position:relative;padding:20px 21px 21px}.y14-visual-copy>span{position:absolute;right:20px;top:19px;color:#627b9f;font-size:12px;font-weight:800}.y14-visual-copy h3{margin:0 54px 8px 0;font-size:21px;line-height:1.25}.y14-visual-copy p{margin:0 0 15px;color:#91a7c6;font-size:14.5px;line-height:1.65}
  .y14-visual-copy .y9-prompt-chip{font-size:13px!important}
  .y14-thinking-strip{margin-top:18px;padding:18px 20px;display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:14px;align-items:center;border:1px solid var(--y14-border);border-radius:18px;background:rgba(6,22,48,.62)}
  .y14-thinking-strip>span{display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center}.y14-thinking-strip b{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#397df8,#7259f4);font-size:11px}.y14-thinking-strip strong{font-size:14px}.y14-thinking-strip small{font-size:12.5px!important;color:#8299ba}.y14-thinking-strip>i{color:#536f99;font-style:normal}

  body.y9-body .y9-context-copy>p,body.y9-body .y9-section-head p,body.y9-body .y9-live-copy>p,body.y9-body .y9-security-copy>p{font-size:16px!important;line-height:1.72!important}
  body.y9-body .y9-context-list b{font-size:15px}.y9-context-list small{font-size:13px!important}
  body.y9-body .y9-flow-step b{font-size:13.5px}.y9-flow-step small{font-size:12px!important}.y13-flow-modules span{font-size:12.5px!important}.y9-flow-help p{font-size:13.5px!important;line-height:1.55}.y13-flow-select span,.y13-flow-select select{font-size:13px!important}
  body.y9-body .y9-live-message{font-size:14px!important;line-height:1.65!important}.y9-live-form textarea{font-size:14px!important}.y9-live-note{font-size:12.5px!important}.y11-starter-prompts button,.y9-suggestion-list button{font-size:13px!important}
  body.y9-body .y11-security-grid b{font-size:14px}.y11-security-grid small{font-size:12.5px!important}

  @media(max-width:1150px){body.y9-body .y9-hero.y121-hero{grid-template-columns:1fr!important}.y14-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media(max-width:760px){body.y9-body .y121-hero .y9-trust{grid-template-columns:1fr!important}.y14-visual-grid{grid-template-columns:1fr}.y14-thinking-strip{grid-template-columns:1fr}.y14-thinking-strip>i{display:none}}
  @media(max-width:520px){body.y9-body .y9-hero.y121-hero{width:calc(100% - 20px)}body.y9-body .y121-hero .y9-demo-body{height:540px!important;display:block!important}.y14-visual-copy{padding:16px}.y14-visual-copy h3{font-size:19px}.y14-thinking-strip{padding:15px}}
}

/* ===== V14.1 enterprise layout repair ===== */
@media screen {
  body.y9-body{overflow-x:hidden;font-size:16px;line-height:1.6}
  body.y9-body .y9-nav,body.y9-body main,body.y9-body section,body.y9-body footer{max-width:100%}
  body.y9-body .y121-nav-inner,body.y9-body .y9-hero,body.y9-body .y9-section{min-width:0}
  body.y9-body .y9-brand,body.y9-body .y9-brand span,body.y9-body .y9-hero-copy,body.y9-body .y9-demo-shell,body.y9-body .y9-demo-body,body.y9-body .y9-chat-stage,body.y9-body .y9-chat-scroll{min-width:0}
  body.y9-body .y9-brand strong{font-size:15px!important;white-space:nowrap}
  body.y9-body .y9-brand small{font-size:11px!important;white-space:nowrap;letter-spacing:.04em}
  body.y9-body .y9-nav nav a,body.y9-body .y9-nav-actions a{font-size:13px!important;white-space:nowrap}

  body.y9-body .y9-hero.y121-hero{width:min(1440px,calc(100% - 40px));grid-template-columns:minmax(0,.9fr) minmax(560px,1.1fr)!important;gap:36px!important;padding-top:42px!important}
  body.y9-body .y121-hero .y9-hero-copy h1{margin:17px 0 18px;font-size:clamp(42px,4.15vw,68px)!important;line-height:1.02!important;letter-spacing:-.045em;overflow-wrap:normal}
  body.y9-body .y121-hero .y9-hero-copy h1 span{display:inline;color:#6e8dff;background:linear-gradient(90deg,#41b8ff,#6e78ff 52%,#aa63ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
  body.y9-body .y121-hero .y9-hero-copy>p{font-size:16px!important;line-height:1.7!important;max-width:650px!important;color:#a9bbd5}
  body.y9-body .y121-hero .y9-kicker{font-size:11px!important;letter-spacing:.1em;max-width:100%;white-space:normal}
  body.y9-body .y12-intelligence-band{min-width:0}
  body.y9-body .y12-intelligence-band strong{font-size:14px!important;line-height:1.4}
  body.y9-body .y12-intelligence-band span{font-size:12.5px!important;line-height:1.5}
  body.y9-body .y121-hero .y9-trust span{min-width:0;overflow:hidden}
  body.y9-body .y121-hero .y9-trust b{font-size:13px!important;line-height:1.35}
  body.y9-body .y121-hero .y9-trust small{font-size:11.5px!important;line-height:1.48!important;overflow-wrap:anywhere}

  body.y9-body .y9-demo-shell{width:100%;overflow:hidden;border-radius:22px}
  body.y9-body .y121-hero .y9-demo-body{height:590px!important;grid-template-columns:190px minmax(0,1fr)!important;overflow:hidden}
  body.y9-body .y9-demo-side{min-width:0;overflow:hidden}
  body.y9-body .y9-context-card>div{min-width:0}
  body.y9-body .y9-context-card b,body.y9-body .y9-context-card em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.y9-body .y9-chat-stage{overflow:hidden}
  body.y9-body .y9-chat-head{padding-left:16px;padding-right:16px;min-width:0}
  body.y9-body .y9-chat-head>div{min-width:0}
  body.y9-body .y9-chat-head strong{font-size:13px!important}
  body.y9-body .y9-chat-head small{font-size:11px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:360px}
  body.y9-body .y9-chat-scroll{padding:18px 16px 14px!important;overflow-x:hidden!important}
  body.y9-body .y9-msg{min-width:0;max-width:100%}
  body.y9-body .y9-msg .avatar{flex:0 0 30px}
  body.y9-body .y9-bubble{min-width:0;max-width:min(86%,610px)!important;font-size:13px!important;line-height:1.58!important;overflow-wrap:anywhere;word-break:normal;white-space:pre-wrap}
  body.y9-body .y9-msg.user .y9-bubble{max-width:min(78%,520px)!important}
  body.y9-body .y12-relevant{max-width:100%;display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding-left:42px!important}
  body.y9-body .y12-relevant>span,body.y9-body .y12-relevant b{font-size:10px!important;white-space:nowrap}
  body.y9-body .y9-thinking{margin-left:46px!important;max-width:calc(100% - 58px);font-size:11px!important}
  body.y9-body .y9-compose{padding-left:14px;padding-right:10px;min-width:0;gap:8px}
  body.y9-body .y9-compose span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px!important}

  body.y9-body .y121-hero-footer{min-width:0}
  body.y9-body .y121-proof,body.y9-body .y121-creator{min-width:0}
  body.y9-body .y121-proof small,body.y9-body .y121-proof span,body.y9-body .y121-creator small,body.y9-body .y121-creator span{font-size:11.5px!important;line-height:1.45!important;overflow-wrap:anywhere}
  body.y9-body .y121-proof strong{font-size:20px!important;line-height:1.2}
  body.y9-body .y121-creator strong{font-size:13px!important;line-height:1.35;overflow-wrap:anywhere}

  body.y9-body .y9-section-head h2{font-size:clamp(32px,3.5vw,48px)!important;line-height:1.08!important;letter-spacing:-.035em}
  body.y9-body .y9-section-head p,body.y9-body .y9-context-copy>p,body.y9-body .y9-live-copy>p,body.y9-body .y9-security-copy>p{font-size:15px!important;line-height:1.68!important}
  body.y9-body .y14-visual-card,body.y9-body .y14-visual-copy{min-width:0}
  body.y9-body .y14-visual-copy h3{font-size:19px!important;overflow-wrap:anywhere}
  body.y9-body .y14-visual-copy p{font-size:13.5px!important;line-height:1.6}
  body.y9-body .y14-thinking-strip span{min-width:0}
  body.y9-body .y14-thinking-strip strong{font-size:13px!important}
  body.y9-body .y14-thinking-strip small{font-size:11.5px!important;line-height:1.45!important;overflow-wrap:anywhere}

  body.y9-body .y9-live-message{max-width:88%;overflow-wrap:anywhere;white-space:pre-wrap}
  body.y9-body .y9-live-message.user{max-width:82%}
  body.y9-body .y9-live-form textarea{resize:vertical;min-height:54px;max-height:180px}
}
@media(max-width:1260px){
  body.y9-body .y9-hero.y121-hero{grid-template-columns:1fr!important;width:min(1060px,calc(100% - 34px));gap:28px!important}
  body.y9-body .y9-hero-copy{max-width:820px}
  body.y9-body .y9-demo-shell{max-width:1000px}
  body.y9-body .y121-hero-footer{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:920px){
  body.y9-body .y121-nav-inner{width:calc(100% - 24px)!important}
  body.y9-body .y9-brand small{display:none}
  body.y9-body .y121-hero .y9-hero-copy h1{font-size:clamp(38px,8vw,56px)!important}
  body.y9-body .y121-hero .y9-trust{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.y9-body .y121-hero .y9-demo-body{grid-template-columns:168px minmax(0,1fr)!important}
  body.y9-body .y121-hero-footer{grid-template-columns:1fr 1fr!important}
}
@media(max-width:680px){
  body.y9-body .y9-hero.y121-hero{width:calc(100% - 18px)!important;padding-top:24px!important}
  body.y9-body .y121-hero .y9-hero-copy h1{font-size:clamp(34px,10.5vw,46px)!important;line-height:1.05!important}
  body.y9-body .y121-hero .y9-hero-copy>p{font-size:15px!important;line-height:1.65!important}
  body.y9-body .y121-hero .y9-trust{grid-template-columns:1fr!important}
  body.y9-body .y121-hero .y9-demo-body{height:545px!important;display:block!important}
  body.y9-body .y9-demo-side{display:none!important}
  body.y9-body .y9-chat-stage{height:100%!important}
  body.y9-body .y9-window-bar{padding:0 12px!important}
  body.y9-body .y9-window-bar>span{font-size:10.5px!important}
  body.y9-body .y9-bubble{max-width:88%!important;font-size:12.5px!important}
  body.y9-body .y9-msg.user .y9-bubble{max-width:86%!important}
  body.y9-body .y12-relevant{padding-left:38px!important}
  body.y9-body .y121-hero-footer{grid-template-columns:1fr!important}
  body.y9-body .y14-visual-frame{aspect-ratio:16/9.3}
  body.y9-body .y9-section-head h2{font-size:clamp(29px,8vw,40px)!important}
}
@media(max-width:420px){
  body.y9-body .y121-hero .y9-hero-copy h1{font-size:32px!important}
  body.y9-body .y9-hero-actions{display:grid!important;grid-template-columns:1fr!important}
  body.y9-body .y9-btn{width:100%;justify-content:center}
  body.y9-body .y9-window-bar .y9-dots{display:none}
  body.y9-body .y9-chat-scroll{padding-left:11px!important;padding-right:11px!important}
  body.y9-body .y9-msg .avatar{width:27px;height:27px;flex-basis:27px}
  body.y9-body .y9-bubble{font-size:12px!important;padding:10px 11px!important}
  body.y9-body .y9-compose span{font-size:11.5px!important}
}


/* V14.1.1 final typography balance — clear, compact, and overflow-safe. */
@media screen {
  body.y9-body .y121-hero .y9-hero-copy h1{font-size:clamp(40px,3.75vw,60px)!important;line-height:1.04!important;max-width:760px}
  body.y9-body .y121-hero .y9-hero-copy>p{font-size:16px!important;line-height:1.68!important}
  body.y9-body .y9-nav nav a,body.y9-body .y9-nav-actions a{font-size:13.5px!important}
  body.y9-body .y9-bubble{font-size:13.5px!important;line-height:1.6!important}
  body.y9-body .y9-compose span{font-size:12.5px!important}
  body.y9-body .y12-relevant>span,body.y9-body .y12-relevant b{font-size:11.5px!important}
  body.y9-body .y9-window-bar>span,body.y9-body .y9-chat-head small,body.y9-body .y9-context-card>small,body.y9-body .y9-signal{font-size:11.5px!important}
}
@media(max-width:680px){
  body.y9-body .y121-hero .y9-hero-copy h1{font-size:clamp(34px,9vw,44px)!important}
  body.y9-body .y9-bubble{font-size:13.5px!important;max-width:90%!important}
  body.y9-body .y9-msg.user .y9-bubble{max-width:88%!important}
  body.y9-body .y9-compose span{font-size:12.5px!important}
}
@media(max-width:420px){
  body.y9-body .y121-hero .y9-hero-copy h1{font-size:32px!important;letter-spacing:-.035em}
  body.y9-body .y9-bubble{font-size:13px!important;line-height:1.58!important}
}
