/* Landing-page-only layout. Natural overflow is allowed when content cannot fit. */
body.ukp-single-screen {
  --header-h: 76px; --mobile-header-h: 58px;
  --screen-gutter: clamp(16px, 4vw, 72px);
  --screen-gap: clamp(8px, 1.8svh, 20px);
  --screen-bg: #071521; --screen-panel: #102638; --screen-text: #f3f8fc;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh;
  margin: 0; padding: 0 !important; overflow-x: clip; color: var(--screen-text);
  background: radial-gradient(ellipse at 85% 10%, #16354b, transparent 58%), var(--screen-bg);
}
body.ukp-single-screen::before { display:none; }
body.ukp-single-screen.admin-bar { min-height: calc(100svh - 32px); }
body.ukp-single-screen .site-header { position: relative !important; inset: auto !important; flex: 0 0 auto; height: var(--header-h) !important; background: #071521; }
body.ukp-single-screen .site-header .header-inner { min-height: 0 !important; height: 100%; padding: 0 var(--screen-gutter) !important; margin: 0 auto; width: min(100%, 1520px) !important; max-width: none !important; gap: 12px; }
body.ukp-single-screen .ukp-progress { display:none; }
body.ukp-single-screen.admin-bar .nav-overlay { top: calc(var(--header-h) + 32px); max-height: calc(100dvh - var(--header-h) - 32px); }
.ukp-single-screen .ukp-screen-home { width: min(100%, 1440px); margin: 0 auto; padding: var(--screen-gap) var(--screen-gutter) 8px !important; flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; gap: var(--screen-gap); min-width:0; box-sizing:border-box; }
.ukp-screen-home h1,.ukp-screen-home h2,.ukp-screen-home p { margin:0; letter-spacing:normal; }
.ukp-screen-intro { position:relative; padding:0; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:24px; row-gap:8px; }
.ukp-screen-intro h1 { font-size:clamp(32px,4.25vw,66px); line-height:1.06; font-weight:800; letter-spacing:-.045em; color:#f5faff; grid-column:1; }
.ukp-screen-intro p { font-size:clamp(15px,1.45vw,21px); line-height:1.4; color:#c4d6e3; grid-column:1; max-width:760px; }
.ukp-screen-cta { grid-column:2; grid-row:1/3; display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:13px 22px; min-height:44px; border-radius:9px; background:#64e0ca; color:#071e26 !important; font-weight:800; font-size:16px; text-decoration:none; white-space:nowrap; }
.ukp-screen-services { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.ukp-screen-service { position:relative; display:flex; flex-direction:column; justify-content:center; gap:9px; min-width:0; min-height:clamp(104px,19svh,178px); padding:clamp(13px,2vw,27px); padding-right:42px; background:var(--screen-panel); color:var(--screen-text); border:1px solid #284153; border-radius:14px; text-decoration:none; transition:background .2s ease,border-color .2s ease; }
.ukp-screen-service h2 { font-size:clamp(19px,2vw,29px); font-weight:750; line-height:1.13; color:#f5faff; letter-spacing:-.025em; }
.ukp-screen-service p { font-size:clamp(13px,1.18vw,17px); line-height:1.38; color:#bcd0de; }
.ukp-screen-arrow { position:absolute; right:15px; top:16px; color:#64e0ca; font-size:20px; }
.ukp-screen-platforms { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ukp-screen-platform { min-width:0; min-height:72px; display:flex; flex-direction:row; align-items:center; justify-content:center; gap:clamp(8px,2vw,24px); padding:9px 15px; background:#f6f9fc; color:#20394b !important; border-radius:12px; text-decoration:none; transition:background .2s ease; }
.ukp-screen-platform img { display:block; width:auto; height:auto; max-width:48%; max-height:clamp(38px,7svh,68px); object-fit:contain; }
.ukp-screen-platform span { font-size:clamp(13px,1.2vw,17px); line-height:1.25; font-weight:700; }
.ukp-screen-network { display:flex; justify-content:space-between; align-items:center; gap:10px 20px; padding:5px 0; }
.ukp-screen-network h2 { font-weight:750; font-size:clamp(15px,1.55vw,22px); line-height:1.2; color:#f5faff; }
.ukp-screen-network p { font-size:clamp(12px,1.1vw,15px); line-height:1.4; color:#bcd0de; }
.ukp-screen-network-link { color:#7de4d5 !important; font-size:14px; font-weight:700; white-space:nowrap; text-decoration:none; }
.ukp-screen-fee { font-size:clamp(12px,1.05vw,14px); line-height:1.4; color:#c4d6e3; }
.ukp-screen-fee a { color:#7de4d5; text-decoration:underline; white-space:nowrap; }
.ukp-screen-footer { width:min(100%,1440px); margin:0 auto; padding:10px var(--screen-gutter) max(10px,env(safe-area-inset-bottom)); display:flex; align-items:center; justify-content:space-between; gap:5px 15px; flex:0 0 auto; font-size:12px; line-height:1.4; color:#bcd0de; }
.ukp-screen-footer nav { display:flex; gap:6px 16px; flex-wrap:wrap; }
.ukp-screen-footer a { color:#e3eef5; text-decoration:none; }
.ukp-screen-home a:focus-visible,.ukp-screen-footer a:focus-visible { outline:2px solid #64e0ca; outline-offset:3px; }
@media(hover:hover) { .ukp-screen-service:hover { background:#19384b; border-color:#64e0ca; } .ukp-screen-platform:hover { background:#dceef1; } .ukp-screen-cta:hover { background:#a0f3e3; } .ukp-screen-footer a:hover,.ukp-screen-network-link:hover { text-decoration:underline; } }
@media(max-width:760px) {
  body.ukp-single-screen { --header-h:58px; --screen-gutter:clamp(12px,4vw,24px); --screen-gap:clamp(6px,1.4svh,13px); }
  body.ukp-single-screen .header-primary-tabs { display:none !important; }
  body.ukp-single-screen.admin-bar { min-height:calc(100svh - 46px); }
  body.ukp-single-screen.admin-bar .nav-overlay { top:calc(var(--header-h) + 46px); max-height:calc(100dvh - var(--header-h) - 46px); }
  .ukp-screen-intro { grid-template-columns:1fr; gap:7px; }
  .ukp-screen-intro h1 { font-size:clamp(27px,7vw,40px); }
  .ukp-screen-intro p { font-size:clamp(13px,3.6vw,17px); }
  .ukp-screen-cta { grid-column:1; grid-row:auto; justify-self:start; font-size:14px; padding:7px 14px; min-height:40px; }
  .ukp-screen-services { grid-template-columns:1fr; gap:6px; }
  .ukp-screen-service { min-height:0; padding:9px 34px 9px 12px; gap:3px; border-radius:10px; }
  .ukp-screen-service h2 { font-size:clamp(16px,4.4vw,21px); }
  .ukp-screen-service p { font-size:12px; line-height:1.3; }
  .ukp-screen-arrow { top:50%; transform:translateY(-50%); right:12px; font-size:17px; }
  .ukp-screen-platforms { gap:6px; }
  .ukp-screen-platform { min-height:60px; flex-direction:column; gap:4px; padding:6px 5px; border-radius:9px; text-align:center; }
  .ukp-screen-platform img { max-width:88%; max-height:33px; }
  .ukp-screen-platform span { font-size:11px; }
  .ukp-screen-network { flex-wrap:wrap; gap:3px; padding:0; }
  .ukp-screen-network h2 { font-size:14px; }
  .ukp-screen-network p,.ukp-screen-network-link,.ukp-screen-fee { font-size:11px; }
  .ukp-screen-footer { justify-content:center; flex-wrap:wrap; padding-top:5px; padding-bottom:max(5px,env(safe-area-inset-bottom)); font-size:11px; gap:3px 12px; }
  .ukp-screen-footer nav { gap:4px 12px; justify-content:center; }
}
@media(max-width:760px) and (max-height:650px) {
  body.ukp-single-screen { --screen-gap:5px; }
  .ukp-screen-intro h1 { font-size:26px; }
  .ukp-screen-intro { gap:5px; }
  .ukp-screen-intro p { font-size:13px; }
  .ukp-screen-service { padding-block:7px; }
  .ukp-screen-service p { display:none; } /* Short-screen titles remain direct links to full service descriptions. */
  .ukp-screen-platform { min-height:52px; }
  .ukp-screen-platform img { max-height:27px; }
}
@media(min-width:761px) and (max-height:600px) {
  body.ukp-single-screen { --header-h:60px; --screen-gap:7px; }
  .ukp-screen-intro h1 { font-size:clamp(27px,4vw,44px); }
  .ukp-screen-intro p { font-size:14px; }
  .ukp-screen-service { min-height:75px; padding:10px 30px 10px 12px; gap:4px; }
  .ukp-screen-service h2 { font-size:clamp(16px,1.8vw,22px); }
  .ukp-screen-service p { font-size:12px; }
  .ukp-screen-platform { min-height:50px; padding-block:4px; }
  .ukp-screen-platform img { max-height:37px; }
  .ukp-screen-footer { padding-block:5px; }
}
@media(prefers-reduced-motion:reduce) { .ukp-screen-home a { transition:none; } }
.ukp-screen-network p a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
@media(orientation:landscape) and (max-height:500px) and (min-width:600px) {
  body.ukp-single-screen { --header-h:52px; --screen-gap:5px; --screen-gutter:clamp(12px,3vw,25px); }
  body.ukp-single-screen .header-primary-tabs { display:none !important; }
  .ukp-single-screen .ukp-screen-home { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-content:center; align-items:center; column-gap:12px; }
  .ukp-screen-intro { grid-column:1; grid-row:1; grid-template-columns:1fr; gap:4px; }
  .ukp-screen-intro h1 { font-size:clamp(22px,3.4vw,32px); }
  .ukp-screen-intro p { font-size:13px; line-height:1.25; }
  .ukp-screen-cta { grid-column:1; grid-row:auto; justify-self:start; min-height:36px; font-size:13px; padding:5px 11px; }
  .ukp-screen-services { grid-column:2; grid-row:1/3; grid-template-columns:1fr; gap:5px; }
  .ukp-screen-service { min-height:45px; padding:8px 29px 8px 11px; border-radius:9px; }
  .ukp-screen-service h2 { font-size:16px; }
  .ukp-screen-service p { display:none; }
  .ukp-screen-arrow { top:50%; transform:translateY(-50%); right:10px; font-size:16px; }
  .ukp-screen-platforms { grid-column:1; grid-row:2; gap:6px; }
  .ukp-screen-platform { min-height:46px; flex-direction:column; gap:2px; padding:4px; }
  .ukp-screen-platform img { max-width:90%; max-height:25px; }
  .ukp-screen-platform span { font-size:10px; text-align:center; }
  .ukp-screen-network { grid-column:1/-1; grid-row:3; padding:3px 0; }
  .ukp-screen-network h2 { font-size:14px; }
  .ukp-screen-network p,.ukp-screen-network-link,.ukp-screen-fee { font-size:11px; }
  .ukp-screen-fee { grid-column:1/-1; grid-row:4; }
  .ukp-screen-footer { padding-block:4px; font-size:11px; }
}
@media (max-width:782px) { body.ukp-single-screen.admin-bar { min-height:calc(100svh - 46px); } body.ukp-single-screen.admin-bar .nav-overlay { top:calc(var(--header-h) + 46px); max-height:calc(100dvh - var(--header-h) - 46px); } }
