/* Shared visual finish; keep the established deep teal and warm gold identity. */
@media screen {
 :root{--ipv-header-height:88px}
 html{scroll-padding-top:calc(var(--ipv-header-height) + 24px)}
 body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
 body .shell,body.home-refreshed .shell{max-width:1440px;margin-inline:auto;padding-inline:clamp(18px,3vw,48px)}
 header.ipv-site-header.topbar{background:rgba(9,23,26,.97);border-bottom-color:#2c4143;min-height:86px!important;gap:12px 20px!important}
 .ipv-site-brand strong{font:650 22px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.055em}
 .ipv-site-brand small{font-size:9px;letter-spacing:.09em;margin-top:6px}
 .ipv-site-seal{width:43px;height:43px;border-radius:12px;border-color:#a18a5f;background:linear-gradient(145deg,#2e4038,#132327);box-shadow:inset 0 0 0 4px #0a181b;font:600 15px/1 system-ui;letter-spacing:-.05em}
 .ipv-primary-nav>a,.ipv-explore>summary{font-size:13px;font-weight:550;border-radius:7px;padding-inline:12px}
 .ipv-primary-nav>a[aria-current=page],.ipv-explore>summary.is-current{background:#1a302f;border-color:#3f5550;color:#f1d39b}
 .ipv-explore>nav>a[aria-current=page]{background:#203a36;color:#f4d599}
 .ipv-site-header .language-switch{border-color:#2d4647;border-radius:7px}
 .ipv-site-header .language-switch a[aria-current]{background:#28413b;color:#f2d49e}
 .home-hero{gap:clamp(32px,5vw,76px);padding:64px 0 52px;grid-template-columns:1.15fr 1fr}
 .home-copy h1{font:550 clamp(40px,4.8vw,68px)/1.07 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.055em;max-width:690px;text-wrap:balance}
 .home-lead{font-size:17px;line-height:1.75;max-width:540px}
 .home-preview{border-color:#3c5551;border-radius:14px;background:radial-gradient(ellipse at top right,#27453f,transparent 75%),#102427;box-shadow:0 20px 50px #0002}
 .home-preview h2{font:500 clamp(24px,2.3vw,31px)/1.25 system-ui;letter-spacing:-.035em;max-width:380px}
 .home-number{font:500 12px system-ui;background:#142c2b}
 .home-preview-row{padding:19px 0}
 .home-pillar strong{font:500 18px/1.35 system-ui;letter-spacing:-.025em}
 .home-pillar{padding:26px 22px;transition:background .18s}
 .home-pillar strong,.home-pillar span{padding-right:20px}
 .home-primary,.home-secondary,.run,.print,.workspace-continue{border-radius:7px;min-height:46px;line-height:1.45;transition:background .18s,border-color .18s,box-shadow .18s}
 .home-primary,.run{box-shadow:0 2px 3px #0002}
 button:disabled{opacity:.45;cursor:not-allowed}
 :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid #e1b86f;outline-offset:4px}
 .intro{padding-top:44px;padding-bottom:28px}
 .intro h1{letter-spacing:-.035em;line-height:1.12;text-wrap:balance}
 .intro p{line-height:1.7;max-width:78ch}
 .card,.asset-card,.specialist-card{border-radius:10px}
 .layout{gap:24px}
 .layout>.setup,.layout>.map{padding:26px}
 .preflight-notice{border:0;border-bottom:1px solid #2c4143;background:transparent;padding:13px 0;margin:0;color:#aabfba;font-size:12px;line-height:1.65}
 .ip-plan{scroll-margin-top:24px}
 .ip-plan-nav{position:static;flex-wrap:wrap}
 #workspaceTitle,#specialister{scroll-margin-top:24px}
 .footer{line-height:1.7;padding-top:24px;margin-top:36px}
 @media(max-width:1100px){.home-hero{gap:30px}.ipv-site-header .ipv-primary-nav{justify-content:flex-start!important}}
 @media(max-width:760px){
  header.ipv-site-header.topbar{min-height:0!important}
  .ipv-site-brand strong{font-size:20px}.ipv-site-brand small{font-size:8px;letter-spacing:.025em}
  .ipv-site-seal{width:35px;height:35px;border-radius:10px;font-size:12px}
  .ipv-primary-nav>a,.ipv-explore>summary{font-size:12px;padding-inline:6px}
  .ipv-site-header .ipv-primary-nav{justify-content:space-between!important}
  .home-hero{grid-template-columns:1fr;padding:36px 0 28px;gap:28px}
  .home-copy h1{font-size:clamp(36px,9vw,52px);line-height:1.1}
  .home-lead{font-size:16px}.home-preview{padding:24px}.home-preview h2{font-size:26px}
  .home-pillar{padding:20px 4px}.home-pillar strong{font-size:18px}
  .intro{padding-top:28px}.layout>.setup,.layout>.map{padding:20px}
  .ip-plan-nav a{flex:1 1 auto;font-size:12px;padding:9px}
 }
 @media(max-width:420px){.home-actions a{flex-basis:100%}}
@media(max-width:390px){.ipv-site-brand small{display:none}.ipv-site-brand{gap:8px}.ipv-site-brand strong{font-size:18px}.ipv-primary-nav>a,.ipv-explore>summary{font-size:11px}}
 @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{transition:none!important}}
}

.video-frame .play.thumbnail-unavailable{background:radial-gradient(ellipse at 30% 20%,#35574c,transparent 70%),#102427}

/* Explicit placement prevents added fields and example copy entering the swap column. */
@media screen {
 .home-refreshed .home-hero{padding-block:48px 40px;gap:clamp(28px,4vw,56px)}
 .home-refreshed .home-preview-row{padding-block:15px}
 .home-refreshed .workspace{min-height:0;align-items:start}
 .home-refreshed .controls{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:18px 14px;align-items:start;overflow:visible;padding:24px}
 .home-refreshed .controls h1,.home-refreshed .controls .evo-context{grid-column:1/-1;grid-row:auto;margin:0}
 .home-refreshed .controls .field{grid-column:auto;grid-row:auto;min-width:0;margin:0}
 .home-refreshed .controls .field:has(#origin){grid-column:1;grid-row:2}
 .home-refreshed .controls .swap{grid-column:2;grid-row:2;align-self:start;margin:28px 0 0}
 .home-refreshed .controls .field:has(#target){grid-column:3;grid-row:2}
 .home-refreshed .controls .rights-field{grid-column:1/-1;grid-row:3}
 .home-refreshed .controls .field:has(#planTask){grid-column:1/3;grid-row:4}
 .home-refreshed .controls .run{grid-column:3;grid-row:4;align-self:end;margin:0;width:100%}
 .home-refreshed .controls .primary-types{grid-template-columns:repeat(4,minmax(0,1fr))}
 .home-refreshed .controls .secondary-types{grid-template-columns:repeat(3,minmax(0,1fr))}
 .home-refreshed .controls .evo-context{font-size:13px;line-height:1.65;padding:14px 16px;background:#172e2d;border-left:2px solid #d7aa5b;overflow-wrap:break-word}
 .home-refreshed .controls select{min-height:46px}
 @media(max-width:760px){
  .home-refreshed .home-hero{padding-block:30px 28px}
  .home-refreshed .controls{display:flex;flex-direction:column;align-items:stretch;padding:20px;gap:18px}
  .home-refreshed .controls .swap{align-self:center;margin:-8px 0}
  .home-refreshed .controls .primary-types,.home-refreshed .controls .secondary-types{grid-template-columns:repeat(2,minmax(0,1fr))}
 }
}

@media screen{#ipPlan,#workspaceTitle,#specialister,#mapSteps,#planFiling,#ipNotes,#planSpecialists,#planUpdates{scroll-margin-top:calc(var(--ipv-header-height,88px) + 28px)}}

/* Fluid viewport system: use the available screen on desktop without horizontal overflow on small devices. */
html,body{width:100%;min-width:0;overflow-x:clip}
body.home-refreshed .shell{width:100%;max-width:none;margin-inline:0;padding-inline:clamp(18px,3vw,72px)}
body.home-refreshed .shell>*{min-width:0}
body.home-refreshed :is(.home-hero,.workspace,.home-news-grid,.home-pillars){width:100%;min-width:0}

@media(min-width:1600px){
 body.home-refreshed .shell{padding-inline:clamp(52px,4vw,96px)}
 .home-refreshed .home-hero{grid-template-columns:minmax(0,1.12fr) minmax(480px,.88fr);gap:clamp(64px,6vw,130px)}
 .home-refreshed .home-copy h1{font-size:clamp(64px,4.2vw,82px);max-width:820px}
 .home-refreshed .home-lead{max-width:680px;font-size:18px}
 .home-refreshed .home-preview{padding:clamp(32px,2.2vw,46px)}
 .home-refreshed .home-preview h2{max-width:520px;font-size:clamp(30px,1.8vw,38px)}
 .home-refreshed .home-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:760px){
 body.home-refreshed .shell{padding-inline:clamp(14px,4.5vw,20px)}
 body.home-refreshed :is(.home-hero,.workspace,.home-news-grid,.home-pillars){max-width:100%}
}

@media(max-width:420px){
 body.home-refreshed .shell{padding-inline:14px}
 .home-refreshed .home-copy h1{font-size:clamp(36px,11vw,44px)}
}
