
:root{
  --navy:#064a78;
  --navy-dark:#07395f;
  --blue:#0f76bd;
  --green:#28bf4c;
  --text:#0b355c;
  --muted:#6f8296;
  --line:#d6e3ec;
  --soft:#f7fbfd;
  --white:#fff;
  --shadow:0 10px 28px rgba(9,62,94,.09);
  --max:1536px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:#fff;
}
a{color:inherit;text-decoration:none}
button{font:inherit}
.wrap{width:min(var(--max),calc(100% - 36px));margin:0 auto}

/* Top bar */
.topbar{
  background:linear-gradient(90deg,#08466f,#0a5887);
  color:#fff;
  font-size:13px;
}
.topbar-inner{
  height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:18px}
.topbar a{opacity:.95}
.topbar a:hover{opacity:1;text-decoration:underline}
.login-btn{
  border:0;
  border-radius:5px;
  color:#fff;
  background:#29b947;
  padding:5px 14px;
  font-weight:700;
  cursor:pointer;
}

/* Header */
.site-header{
  background:#fff;
  border-bottom:1px solid #e2ecf2;
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 3px 12px rgba(9,62,94,.05);
}
.header-inner{
  height:105px;
  display:flex;
  align-items:center;
  gap:22px;
}
.brand{
  width:590px;
  max-width:39vw;
  height:86px;
  display:flex;
  align-items:center;
  overflow:hidden;
  flex:0 1 auto;
}
.brand img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:left center;
}
.desktop-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:27px;
  height:100%;
  white-space:nowrap;
}
.desktop-nav a{
  height:100%;
  display:flex;
  align-items:center;
  font-size:14px;
  font-weight:800;
  border-bottom:3px solid transparent;
  padding-top:3px;
}
.desktop-nav a:hover,.desktop-nav a.active{
  border-bottom-color:#3aca54;
}
.search-btn{
  width:48px;height:48px;border:0;border-left:1px solid #d7e3eb;background:#fff;
  color:var(--navy);font-size:28px;cursor:pointer;
}
.menu-btn{
  display:none;width:44px;height:44px;border:0;background:#fff;cursor:pointer;padding:8px;
}
.menu-btn span{
  display:block;height:3px;background:var(--navy);border-radius:5px;margin:5px 0;
}
.mobile-nav{display:none}

/* Hero */
.hero{
  position:relative;
  min-height:408px;
  overflow:hidden;
  background:#f6fbfe;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-image:url("img/block.png");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.hero-content{
  position:relative;
  min-height:408px;
  display:flex;
  align-items:center;
}
.hero-copy{
  width:515px;
  padding:28px 0 22px 14px;
  z-index:2;
}
.eyebrow{
  color:#58728a;
  font-size:13px;
  letter-spacing:3px;
  margin-bottom:10px;
}
.hero h1{
  margin:0 0 10px;
  font-size:44px;
  line-height:1.03;
  letter-spacing:-1px;
  color:#0a3157;
}
.hero-copy>p{
  margin:0 0 18px;
  font-size:17px;
  line-height:1.38;
  color:#405b74;
}
.hero-actions{display:flex;gap:14px;margin-bottom:22px}
.btn{
  min-height:52px;
  padding:0 32px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-weight:800;
  font-size:16px;
}
.btn-primary{background:#25bd43;color:#fff}
.btn-primary:hover{background:#1eaa39}
.btn-secondary{
  background:rgba(255,255,255,.90);
  border:2px solid #0d4f82;
  color:#0d4f82;
}
.play{
  width:20px;height:20px;border-radius:50%;
  display:inline-grid;place-items:center;background:#0d4f82;color:#fff;font-size:10px;
}
.hero-benefits{
  display:flex;
  align-items:center;
  gap:34px;
}
.benefit{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  line-height:1.25;
  color:#153d63;
}
.benefit-icon{font-size:31px;line-height:1}

.hero-quote{
  position:absolute;
  right:12px;
  bottom:24px;
  width:290px;
  padding:16px 26px 18px;
  margin:0;
  border-radius:12px;
  background:rgba(255,255,255,.90);
  box-shadow:var(--shadow);
  color:#173f65;
  font-family:Georgia,serif;
  font-style:italic;
}
.quote-mark{font-size:42px;line-height:.7;font-weight:800}
.hero-quote p{margin:4px 0 0;font-size:17px;line-height:1.4}
.quote-line{display:block;width:64px;height:3px;background:#2ec653;margin-top:12px}

/* Journey */
.journey-area{
  padding:0 0 10px;
  background:linear-gradient(#f9fcfe,#fff);
}
.journey-card{
  transform:translateY(-1px);
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
  padding:15px 18px 20px;
  box-shadow:0 8px 24px rgba(18,64,92,.06);
}
.section-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:13px;
}
.section-topline h2,.section-heading h2{
  margin:0;color:#0b4b83;font-size:20px;
}
.section-topline p{
  margin:4px 0 0;
  color:#73859a;
  font-size:13px;
}
.flag{font-size:26px}
.section-link{
  color:#0e84d8;
  font-size:12px;
  white-space:nowrap;
  padding-top:6px;
}
.journey-scroll{overflow-x:hidden;padding-bottom:2px}
.steps{
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
}
.step{
  flex:1 1 0;
  min-width:0;
  height:118px;
  border-radius:12px;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#103961;
  padding:17px 9px 10px;
  transition:.18s ease;
}
.step:hover{transform:translateY(-3px);filter:saturate(1.08)}
.step-number{
  position:absolute;left:10px;top:9px;
  width:27px;height:27px;border-radius:50%;
  display:grid;place-items:center;color:#fff;
  font-size:13px;font-weight:900;
}
.step-icon{font-size:30px;margin-bottom:8px}
.step strong{font-size:13px;line-height:1.2}
.arrow{
  flex:0 0 18px;
  width:18px;text-align:center;color:#287fbc;font-size:18px;
}
.step-blue{background:#e8f4ff}.step-blue .step-number{background:#3093eb}
.step-green{background:#ebf8e8}.step-green .step-number{background:#55c96a}
.step-orange{background:#fff3df}.step-orange .step-number{background:#f0a53f}
.step-violet{background:#f0eaff}.step-violet .step-number{background:#8464e7}
.step-cyan{background:#e6f7fd}.step-cyan .step-number{background:#27a2d0}
.step-mint{background:#e8f9ef}.step-mint .step-number{background:#2bbb58}
.step-peach{background:#fff1dc}.step-peach .step-number{background:#f2a34b}
.step-lilac{background:#f0ebff}.step-lilac .step-number{background:#8164dc}


/* Quick access */
.quick-access{padding:3px 0 12px;background:#fff}
.quick-access-panel{
  border:1px solid var(--line);
  border-radius:17px;
  background:linear-gradient(135deg,#f7fbfd,#fff);
  padding:17px 18px 19px;
  box-shadow:0 8px 24px rgba(18,64,92,.05);
}
.quick-access-head{margin-bottom:13px}
.quick-access-head h2{margin:0;color:#0b4b83;font-size:20px}
.quick-access-head p{margin:4px 0 0;color:#73859a;font-size:13px}
.quick-access-icon{font-size:23px;margin-right:3px}
.quick-access-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.quick-card{
  min-height:122px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 22px;
  align-items:center;
  gap:11px;
  padding:16px;
  border:1px solid #d8e5ed;
  border-radius:12px;
  background:#fff;
  transition:.18s ease;
}
.quick-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:#bfd8e7;
}
.quick-card-primary{
  background:#fff;
  border-color:var(--line);
}
.quick-card-icon{font-size:34px;line-height:1;text-align:center}
.quick-card-copy{display:block;min-width:0}
.quick-card-copy strong{display:block;color:#0b365e;font-size:15px;line-height:1.25;margin-bottom:6px}
.quick-card-copy small{display:block;color:#77879a;font-size:12px;line-height:1.4}
.quick-card-arrow{font-size:22px;color:#0e84d8;font-weight:800;text-align:right}
.quick-card-primary .quick-card-arrow{color:#0e84d8}

/* Main cards */
.main-sections{padding:3px 0 14px}
.section-heading{
  display:flex;justify-content:space-between;align-items:center;
  gap:16px;margin:6px 5px 11px;
}
.grid-dot{font-size:19px}
.section-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
}
.section-card{
  min-height:173px;
  border:1px solid var(--line);
  border-radius:11px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:18px 16px;
  background:#fff;
  transition:.18s ease;
}
.section-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:#c7dbe8;
}
.section-icon{font-size:34px;margin-bottom:12px}
.section-card h3{font-size:15px;margin:0 0 8px;color:#0b365e}
.section-card p{font-size:13px;line-height:1.35;margin:0;color:#77879a}

/* Footer */
.footer{
  background:linear-gradient(90deg,#07486f,#0a5a86);
  color:#fff;
  padding:18px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.05fr 1.35fr 1.85fr 1fr;
  align-items:center;
  gap:28px;
}
.footer-logo img{
  width:250px;
  max-width:100%;
  height:84px;
  object-fit:contain;
  object-position:left center;
}
.footer-slogan{
  font-size:16px;line-height:1.4;
  border-left:1px solid rgba(255,255,255,.18);
  padding-left:28px;
}
.footer-slogan span{display:block;width:62px;height:3px;background:#4ed263;margin-top:10px}
.footer-center{font-size:12px;color:#dbe9f2}
.footer-links{display:flex;gap:13px;flex-wrap:wrap;margin-bottom:8px}
.footer-links a:hover{text-decoration:underline}
.footer-grow{
  display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.4
}
.leaf{font-size:30px}

/* Tablet */
@media (max-width: 1220px){
  .brand{width:430px}
  .desktop-nav{gap:18px}
  .desktop-nav a{font-size:13px}
  .hero-copy{width:470px}
  .hero h1{font-size:40px}
  .section-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}

/* Mobile navigation breakpoint */
@media (max-width: 980px){
  .topbar-right{display:none}
  .header-inner{height:86px}
  .brand{width:480px;max-width:72vw;height:72px}
  .desktop-nav,.search-btn{display:none}
  .menu-btn{display:block;margin-left:auto}
  .mobile-nav{
    display:none;
    padding:8px 18px 18px;
    background:#fff;
    border-top:1px solid #edf2f5;
  }
  .mobile-nav.open{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 16px}
  .mobile-nav a{
    padding:10px 12px;border-radius:8px;background:#f4f9fc;font-size:14px;font-weight:700
  }

  .hero{min-height:560px}
  .hero-bg{
    background-position:56% center;
  }
  .hero-content{
    min-height:560px;
    align-items:flex-start;
  }
  .hero-copy{
    width:min(520px,92%);
    margin-top:10px;
    padding:28px 22px 24px;
    background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.83),rgba(255,255,255,.35));
    border-radius:0 20px 20px 0;
  }
  .hero-quote{right:20px;bottom:18px}
  .section-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}

/* Phones */
@media (max-width: 640px){
  .wrap{width:min(100% - 20px,var(--max))}
  .topbar-inner{height:32px;font-size:11px}
  .topbar-sep,.topbar-left span:last-child{display:none}
  .header-inner{height:74px}
  .brand{width:330px;max-width:79vw;height:62px}
  .menu-btn{width:40px;height:40px}

  .mobile-nav.open{grid-template-columns:1fr}

  .hero{min-height:auto;background:#eef7fc}
  .hero-bg{
    position:relative;
    height:255px;
    background-size:cover;
    background-position:61% center;
  }
  .hero-content{
    min-height:0;
    display:block;
    padding:0;
  }
  .hero-copy{
    width:100%;
    margin:0;
    padding:22px 3px 20px;
    background:#fff;
    border-radius:0;
  }
  .eyebrow{font-size:11px;letter-spacing:2px}
  .hero h1{font-size:33px;line-height:1.05}
  .hero-copy>p{font-size:15px}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .btn{padding:0 15px;min-height:48px;font-size:14px}
  .hero-benefits{
    display:grid;grid-template-columns:repeat(3,1fr);gap:8px
  }
  .benefit{
    flex-direction:column;text-align:center;gap:4px;font-size:10px
  }
  .benefit-icon{font-size:26px}
  .hero-quote{display:none}

  .journey-area{padding-top:10px}
  .journey-card{padding:14px 10px 16px}
  .section-topline{display:block}
  .section-link{display:inline-block;margin-top:5px}
  .section-topline h2,.section-heading h2{font-size:18px}
  .section-topline p{font-size:12px}
  .journey-scroll{overflow-x:auto}
  .steps{width:max-content;min-width:0}
  .step{flex:0 0 145px;height:112px}
  .arrow{flex:0 0 16px;width:16px}

  .section-heading{align-items:flex-start}
  .quick-access-panel{padding:14px 10px 16px}
  .quick-access-head{display:block}
  .quick-access-head h2{font-size:18px}
  .quick-access-head p{font-size:12px}
  .quick-access-grid{grid-template-columns:1fr}
  .quick-card{min-height:96px;padding:13px 14px;grid-template-columns:42px minmax(0,1fr) 20px}
  .quick-card-icon{font-size:30px}
  .quick-card-copy strong{font-size:14px}
  .quick-card-copy small{font-size:11.5px}

  .section-grid{grid-template-columns:1fr}
  .section-card{
    min-height:102px;
    display:grid;
    grid-template-columns:52px 1fr;
    grid-template-rows:auto auto;
    text-align:left;
    justify-items:start;
    align-content:center;
    column-gap:8px;
    padding:14px 16px;
  }
  .section-icon{
    grid-row:1/3;
    align-self:center;
    margin:0;
    font-size:32px;
  }
  .section-card h3{margin:0 0 4px}
  .section-card p{font-size:12px}

  .footer{padding:22px 0}
  .footer-grid{grid-template-columns:1fr;gap:17px}
  .footer-logo img{width:260px;height:76px}
  .footer-slogan{border-left:0;padding-left:0}
  .footer-links{gap:8px}
}

/* Very small phones */
@media (max-width: 390px){
  .hero h1{font-size:29px}
  .hero-actions{grid-template-columns:1fr}
  .hero-benefits{grid-template-columns:1fr 1fr 1fr}
}

/* Risk page */
.risk-page{background:#f6fafc;padding:34px 0 60px}
.breadcrumbs{font-size:13px;color:#6f8296;margin-bottom:18px}.breadcrumbs a{color:#0f76bd}
.risk-hero{background:linear-gradient(135deg,#fff8ea,#fff);border:1px solid #f1d9aa;border-radius:18px;padding:30px 34px;box-shadow:var(--shadow);margin-bottom:22px}
.risk-kicker{display:inline-flex;align-items:center;gap:8px;background:#fff0cf;color:#8a5a00;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800;margin-bottom:12px}
.risk-hero h1{font-size:38px;line-height:1.08;margin:0 0 12px;color:#0a3157}.risk-lead{font-size:18px;line-height:1.55;color:#405b74;max-width:980px;margin:0}
.legal-note{margin-top:20px;background:#eef7ff;border-left:4px solid #1680c4;border-radius:10px;padding:15px 18px;color:#244d6d;line-height:1.5}
.risk-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.risk-content,.risk-side-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px rgba(9,62,94,.06)}
.risk-content{padding:28px 32px}.risk-content h2{margin:4px 0 18px;font-size:25px}.risk-intro{font-size:16px;line-height:1.6;color:#405b74;margin-bottom:24px}
.risk-list{display:grid;gap:14px}.risk-item{border:1px solid #dfeaf1;border-radius:13px;padding:18px 20px;background:#fff}.risk-item h3{margin:0 0 8px;font-size:18px;color:#0a3e68}.risk-item p{margin:0;color:#49647b;line-height:1.55}.risk-tag{display:inline-block;margin-top:10px;font-size:12px;font-weight:800;border-radius:999px;padding:5px 9px;background:#f2f7fa;color:#58728a}.risk-tag.law{background:#eaf6ff;color:#0968a7}.risk-tag.practice{background:#edf9ef;color:#23783a}
.risk-principle{margin-top:24px;border-radius:14px;padding:22px;background:#0b527f;color:#fff}.risk-principle h2{margin:0 0 10px;color:#fff}.risk-principle p{margin:0;line-height:1.6}.risk-principle strong{color:#bdf3c7}
.action-box{margin-top:18px;background:#f0fbf2;border:1px solid #c8ebcf;border-radius:13px;padding:19px}.action-box h3{margin:0 0 8px;color:#176b2c}.action-box p{margin:0;line-height:1.55;color:#355f42}
.risk-sidebar{display:grid;gap:16px;position:sticky;top:130px}.risk-side-card{padding:20px}.risk-side-card h3{margin:0 0 12px;font-size:17px}.risk-side-card p,.risk-side-card li{font-size:13px;line-height:1.5;color:#58728a}.risk-side-card ul{margin:0;padding-left:18px}.risk-side-card a{color:#0f76bd}.risk-side-card a:hover{text-decoration:underline}.verified{font-size:12px;color:#7890a4;margin-top:12px}.back-journey{display:inline-flex;margin-top:24px;color:#0f76bd;font-weight:800}
@media(max-width:900px){.risk-layout{grid-template-columns:1fr}.risk-sidebar{position:static}.risk-hero{padding:24px}.risk-hero h1{font-size:32px}.risk-content{padding:22px}}
@media(max-width:560px){.risk-page{padding-top:20px}.risk-hero{padding:20px 18px}.risk-hero h1{font-size:29px}.risk-lead{font-size:16px}.risk-content{padding:18px 14px}.risk-item{padding:16px}.risk-layout{gap:16px}}

/* Journey cycle navigation on stage pages */
.journey-cycle{background:#fff;border:1px solid #dce9f1;border-radius:16px;box-shadow:0 7px 22px rgba(9,62,94,.06);padding:14px 16px;margin:0 0 18px}
.journey-cycle-title{display:flex;align-items:center;gap:9px;color:#0a3e68;margin-bottom:11px}
.journey-cycle-title span{color:#187ac0;font-size:18px}.journey-cycle-title strong{font-size:15px}.journey-cycle-title small{margin-left:auto;color:#7890a4;font-size:12px;font-weight:700}
.journey-cycle-scroll{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:thin}
.journey-cycle-scroll>i{font-style:normal;color:#9fb3c2;font-weight:800;flex:0 0 auto}
.journey-cycle-step{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 10px;border:1px solid #dfeaf1;border-radius:10px;background:#f8fbfd;color:#36576f;transition:.18s ease}
.journey-cycle-step span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e7f0f6;color:#47677d;font-size:12px;font-weight:900}
.journey-cycle-step b{font-size:12px;white-space:nowrap}.journey-cycle-step:hover{border-color:#9bc9e8;background:#f0f8fd;transform:translateY(-1px)}
.journey-cycle-step.active{background:#e9f5ff;border-color:#57a8df;color:#075d98;box-shadow:inset 0 -2px 0 #22b954}.journey-cycle-step.active span{background:#187ac0;color:#fff}
.action-note{margin-top:12px!important;padding-top:12px;border-top:1px solid #dce9f1}
@media(max-width:560px){.journey-cycle{padding:12px 10px;border-radius:13px}.journey-cycle-title small{display:none}.journey-cycle-step{padding:7px 9px}.journey-cycle-step b{font-size:11px}}

/* Desktop hero: keep the embedded slogan away from the HTML headline */
@media (min-width: 981px){
  .hero-bg{
    background-size:auto 100%;
    background-position:right center;
    background-color:transparent;
    -webkit-mask-image:linear-gradient(to right, transparent 0%, transparent 27%, rgba(0,0,0,.12) 33%, rgba(0,0,0,.55) 40%, #000 49%, #000 100%);
    mask-image:linear-gradient(to right, transparent 0%, transparent 27%, rgba(0,0,0,.12) 33%, rgba(0,0,0,.55) 40%, #000 49%, #000 100%);
  }
}

/* Create OSI page */
.create-page{background:#f6fafc;padding:34px 0 60px}.create-hero{background:linear-gradient(135deg,#eefaf1,#fff);border:1px solid #cfe9d5;border-radius:18px;padding:30px 34px;box-shadow:var(--shadow);margin-bottom:22px}.create-kicker{display:inline-flex;align-items:center;gap:8px;background:#e9f8ed;color:#20733a;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800;margin-bottom:12px}.create-hero h1,.subpage-card h1{font-size:38px;line-height:1.08;margin:0 0 12px;color:#0a3157}.create-lead{font-size:18px;line-height:1.55;color:#405b74;max-width:980px;margin:0}.create-goal{margin-top:20px;background:#fff;border-left:4px solid #25a957;border-radius:10px;padding:15px 18px;color:#315d42;line-height:1.5}.create-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.create-content{display:grid;gap:16px}.plain-note,.create-step,.stage-check,.stage-risk,.next-stage,.legal-foundation,.create-side-card,.subpage-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px rgba(9,62,94,.06)}.plain-note{padding:16px 20px;color:#456279;line-height:1.5;border-left:4px solid #1680c4}.create-step{padding:25px 28px}.create-step-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:14px}.create-step-head>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#22a956;color:#fff;font-weight:900;font-size:17px}.create-step-head small{display:block;color:#7690a5;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.7px;margin:0 0 2px}.create-step h2,.stage-check h2,.stage-risk h2,.legal-foundation h2,.next-stage h2,.subpage-card h2{margin:0;color:#0a3e68;font-size:22px}.create-step>p{color:#49647b;line-height:1.62}.example-box,.tip-box,.warning-box,.agenda-box,.important-number{margin:14px 0;border-radius:12px;padding:15px 17px;line-height:1.55}.example-box{background:#f2f8ff;border:1px solid #cfe4f5;color:#355d7b}.tip-box{background:#f0faf2;border:1px solid #ccebd3;color:#356242}.warning-box{background:#fff8e9;border:1px solid #f0dbad;color:#6e5829}.agenda-box{background:#f7f9fb;border:1px solid #dde7ed;color:#456279}.agenda-box ul{margin:8px 0 0;padding-left:20px}.important-number{background:#eaf6ff;border-left:4px solid #1680c4;color:#285a7b}.example-box p,.tip-box p,.warning-box p{margin:5px 0 0}.do-line{padding-top:4px}.law-inline{display:flex;gap:12px;margin-top:17px;padding:14px 16px;background:#f7fbfe;border-top:1px solid #d8e8f2;border-radius:10px;color:#46647b}.law-inline>span{font-size:20px}.law-inline strong{color:#234f70}.law-inline p{margin:4px 0 7px;font-size:13px;line-height:1.45}.law-inline a{display:inline-block;margin:2px 14px 0 0;color:#0f76bd;font-size:13px;font-weight:800}.check-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.check-mini strong{grid-column:1/-1;color:#284f6c}.check-mini span:before{content:'✓';color:#21a552;font-weight:900;margin-right:7px}.check-mini span{font-size:14px;color:#4c687d}.doc-actions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.doc-btn{padding:9px 12px;border-radius:9px;background:#edf7ff;color:#0b6ca9;font-weight:800;font-size:13px}.doc-btn em{font-style:normal;font-weight:600;color:#7b91a3;margin-left:5px}.doc-btn.muted{cursor:default}.deep-link{display:inline-flex;margin:5px 0 2px;color:#0f76bd;font-weight:800}.stage-check,.stage-risk,.legal-foundation{padding:24px 28px}.stage-check{background:#f1fbf3;border-color:#c8eacf}.stage-check>p,.stage-risk>p,.legal-foundation>p{color:#506b80;line-height:1.55}.stage-check label{display:block;padding:9px 0;border-bottom:1px solid #dcecdf;color:#355e43}.stage-check input{margin-right:9px;accent-color:#21a552}.stage-check small{display:block;margin-top:12px;color:#7890a4}.stage-risk{background:#fff9ed;border-color:#efdbb5}.stage-risk a{color:#0f76bd;font-weight:800}.next-stage{display:flex;align-items:center;justify-content:space-between;padding:24px 28px;background:linear-gradient(135deg,#0b527f,#0875aa);color:#fff}.next-stage h2,.next-stage p{color:#fff}.next-stage small{color:#bde6fa;font-weight:800}.next-stage p{margin-bottom:0;opacity:.9}.next-stage>span{font-size:35px;font-weight:900;white-space:nowrap;margin-left:20px}.legal-links{display:grid;gap:9px;margin-top:15px}.legal-links a{display:flex;flex-direction:column;padding:12px 14px;border:1px solid #dfeaf1;border-radius:10px;background:#f9fbfc;color:#0f76bd}.legal-links small{color:#6f8496;margin-top:3px}.create-sidebar{display:grid;gap:16px;position:sticky;top:130px}.create-side-card{padding:20px}.create-side-card h3{margin:0 0 12px;color:#0a3e68;font-size:17px}.create-side-card p{font-size:13px;line-height:1.5;color:#58728a}.create-side-card>a{display:block;color:#0f76bd;font-size:13px;font-weight:800;margin-top:9px}.toc{display:grid;gap:3px}.toc a{padding:7px 8px;border-radius:7px;color:#4b667b;font-size:13px}.toc a:hover{background:#eef7fc;color:#0f76bd}.simple-subpage{min-height:100vh;background:#f6fafc;padding:35px 0 70px}.subpage-card{margin-top:18px;padding:32px;max-width:950px}.subpage-card>p{font-size:17px;line-height:1.6;color:#49647b}.draft-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:17px 0}.draft-grid span{padding:13px 15px;background:#f6fafc;border:1px solid #dfeaf1;border-radius:10px;color:#426177;font-weight:700}
@media(max-width:900px){.create-layout{grid-template-columns:1fr}.create-sidebar{position:static}.create-hero{padding:24px}.create-hero h1,.subpage-card h1{font-size:32px}.create-step{padding:22px}.create-sidebar{grid-template-columns:repeat(2,1fr)}.create-side-card:last-child{grid-column:1/-1}}
@media(max-width:560px){.create-page{padding-top:20px}.create-hero{padding:20px 18px}.create-hero h1,.subpage-card h1{font-size:29px}.create-lead{font-size:16px}.create-step,.stage-check,.stage-risk,.legal-foundation{padding:18px 15px}.create-step-head>span{flex-basis:34px;width:34px;height:34px}.create-step h2{font-size:19px}.check-mini,.draft-grid{grid-template-columns:1fr}.create-sidebar{grid-template-columns:1fr}.create-side-card:last-child{grid-column:auto}.next-stage{padding:20px 17px}.next-stage>span{font-size:28px}.subpage-card{padding:22px 17px}}

/* ===== Estimate explainer page ===== */
.estimate-page{padding:28px 0 54px;background:#f7fafc}.estimate-hero{margin:18px 0 22px;padding:30px 34px;border:1px solid #cfe0ec;border-radius:22px;background:linear-gradient(135deg,#eef8ff,#f5fff8)}
.estimate-kicker{font-weight:800;color:#0870b8;margin-bottom:8px}.estimate-hero h1{margin:0 0 10px;color:#173e61;font-size:clamp(30px,4vw,46px)}.estimate-lead{max-width:900px;font-size:18px;line-height:1.65;color:#41627e}.estimate-goal{margin-top:18px;padding:14px 17px;border-left:4px solid #2ca66f;background:#fff;border-radius:10px;color:#35556e}
.estimate-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.estimate-content{display:grid;gap:18px}.estimate-card{background:#fff;border:1px solid #dbe7ef;border-radius:18px;padding:24px;box-shadow:0 8px 24px rgba(20,61,93,.04)}.estimate-card h2{margin:0 0 12px;color:#174b73}.estimate-card h3{color:#225b84}.estimate-card p,.estimate-card li{line-height:1.65;color:#42627d}.estimate-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.estimate-flow div{padding:16px;border-radius:14px;background:#f4f8fb;border:1px solid #d9e6ef;text-align:center}.estimate-flow b{display:block;font-size:21px;color:#174b73;margin-bottom:5px}.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.split-box{padding:20px;border-radius:16px;border:1px solid #dbe7ef}.split-box.manage{background:#eef7ff}.split-box.maintain{background:#f2fbf5}.split-box strong{display:block;font-size:23px;color:#174b73;margin-bottom:8px}.money-table{width:100%;border-collapse:collapse;margin:14px 0}.money-table th,.money-table td{padding:12px 14px;border-bottom:1px solid #dfe8ee;text-align:left}.money-table th{background:#f3f7fa;color:#254f70}.money-table td:last-child,.money-table th:last-child{text-align:right}.scenario{border:1px solid #d8e6ef;border-radius:16px;overflow:hidden;margin-top:14px}.scenario-head{padding:15px 18px;background:#edf6fc;color:#174b73;font-weight:800}.scenario.self .scenario-head{background:#eef9f1}.scenario-body{padding:18px}.calc-result{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}.calc-result span{flex:1 1 190px;padding:15px;border-radius:13px;background:#f5f8fa;color:#355a75}.calc-result b{display:block;font-size:22px;color:#174b73}.estimate-warning{padding:16px 18px;border:1px solid #f0d39a;background:#fff8e9;border-radius:14px;color:#7b5818;line-height:1.6}.estimate-tip{padding:16px 18px;border:1px solid #bfe3cf;background:#f1fbf5;border-radius:14px;color:#315e48;line-height:1.6}.legal-point{margin-top:14px;padding:15px 17px;border-radius:14px;background:#f3f8fb;border-left:4px solid #1778b5}.legal-point a{font-weight:800;color:#0870b8;text-decoration:none}.estimate-sidebar{display:grid;gap:14px;position:sticky;top:92px}.estimate-side-card{background:#fff;border:1px solid #dbe7ef;border-radius:16px;padding:18px}.estimate-side-card h3{margin:0 0 10px;color:#174b73}.estimate-side-card a{display:block;padding:7px 0;color:#0870b8;text-decoration:none}.formula{font-size:20px;font-weight:800;color:#174b73;padding:16px;text-align:center;background:#f5f8fb;border-radius:14px;margin:12px 0}.small-muted{font-size:13px;color:#6b8294}.estimate-link-card{display:block;margin-top:15px;padding:15px 17px;border:1px solid #bcd9ea;border-radius:13px;background:#f3faff;color:#0870b8;font-weight:800;text-decoration:none}.estimate-link-card:hover{background:#eaf6fd}
@media(max-width:900px){.estimate-layout{grid-template-columns:1fr}.estimate-sidebar{position:static}.estimate-flow{grid-template-columns:1fr}.split-grid{grid-template-columns:1fr}}
@media(max-width:640px){.estimate-page{padding-top:16px}.estimate-hero,.estimate-card{padding:20px}.money-table{font-size:14px}.money-table th,.money-table td{padding:9px 8px}}

/* ===== OSIP: Create OSI additions 10.09.2026 ===== */

.agenda-group{
  margin:15px 0;
  border:1px solid #dce7ee;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.agenda-group.recommended{
  border-color:#cfe7d5;
  background:#fbfefc;
}

.agenda-title{
  padding:12px 16px;
  background:#eef9f1;
  color:#24663a;
  font-weight:900;
  font-size:14px;
}

.agenda-title.required{
  background:#eef7ff;
  color:#145f91;
}

.agenda-list{
  margin:0;
  padding:14px 22px 15px 42px;
  color:#456279;
}

.agenda-list li{
  padding:6px 0;
  line-height:1.55;
}

.inline-help-link{
  display:block;
  width:max-content;
  max-width:100%;
  margin-top:6px;
  color:#0f76bd;
  font-weight:800;
  font-size:13px;
}

.info-panel{
  display:flex;
  gap:14px;
  margin:16px 0;
  padding:18px;
  border:1px solid #cfe1ee;
  border-radius:14px;
  background:#f4faff;
  color:#426177;
  line-height:1.58;
}

.info-panel-icon{
  flex:0 0 auto;
  font-size:27px;
}

.info-panel p{
  margin:6px 0 10px;
}

.info-panel a{
  color:#0f76bd;
  font-weight:800;
  font-size:13px;
}

.practice-box{
  margin:14px 0;
  padding:16px 18px;
  border:1px solid #c7e8d0;
  border-radius:13px;
  background:#f1fbf4;
  color:#356044;
  line-height:1.58;
}

.practice-box p{
  margin:7px 0 0;
}

.ownership-box{
  display:flex;
  gap:15px;
  margin:17px 0;
  padding:19px;
  border:1px solid #efcf93;
  border-radius:15px;
  background:#fff9ed;
}

.ownership-icon{
  flex:0 0 auto;
  font-size:27px;
}

.ownership-box h3{
  margin:0 0 8px;
  color:#714f11;
  font-size:18px;
}

.ownership-box p,
.ownership-box li{
  color:#695936;
  line-height:1.55;
}

.ownership-box ol{
  margin:8px 0 10px;
  padding-left:22px;
}

.ownership-warning{
  margin-top:12px;
  padding:12px 14px;
  border-radius:10px;
  background:#fff;
  border-left:4px solid #efa328;
  color:#674f20;
  line-height:1.5;
}

.ownership-small{
  margin:14px 0;
  padding:14px 16px;
  border-radius:12px;
  background:#fff7e8;
  border:1px solid #efd8aa;
  color:#6d5629;
  line-height:1.55;
}

.protocol-alert{
  margin:15px 0;
  padding:16px 18px;
  border-radius:13px;
  background:#eef7ff;
  border:1px solid #cce2f2;
  color:#345e7c;
  line-height:1.55;
}

.protocol-alert p{
  margin:7px 0 0;
}

.risk-rule{
  margin:15px 0;
  padding:13px 15px;
  background:#fff;
  border-left:4px solid #e7a32d;
  border-radius:9px;
  color:#66502a;
  line-height:1.5;
}

@media(max-width:560px){

  .agenda-list{
    padding-left:34px;
  }

  .info-panel,
  .ownership-box{
    padding:15px;
  }

  .info-panel-icon,
  .ownership-icon{
    font-size:23px;
  }

  .ownership-box h3{
    font-size:17px;
  }

}

/* ===== OSIP: final UI fixes 10.09.2026 ===== */

/* Несколько абзацев внутри карточки риска не слипаются */
.risk-item p + p{
  margin-top:10px;
}


/* Текст внутри блоков повестки */
.agenda-group > p{
  margin:0;
  padding:14px 17px;
  color:#49647b;
  line-height:1.6;
}

.agenda-group > p + p{
  padding-top:0;
}


/* Ссылки и кнопки документов */
.doc-btn{
  transition:.18s ease;
}

.doc-btn:not(.muted):hover{
  background:#dff1fd;
  transform:translateY(-1px);
}

.doc-btn.muted{
  opacity:.72;
}


/* Блок правовой основы — ссылки немного заметнее */
.legal-foundation .legal-links a{
  transition:.18s ease;
}

.legal-foundation .legal-links a:hover{
  border-color:#acd2e9;
  background:#f1f9fd;
  transform:translateY(-1px);
}


/* Несколько ссылок внутри law-inline */
.law-inline a:hover{
  text-decoration:underline;
}


/* Sidebar сметы не должен заходить под sticky-header */
.estimate-sidebar{
  top:130px;
}


/* Чек-лист — удобнее нажимать по всей строке */
.stage-check label{
  cursor:pointer;
  line-height:1.45;
}

.stage-check label:hover{
  background:rgba(255,255,255,.45);
}


/* Таблица сметы */
.money-table{
  display:table;
}

.estimate-card{
  min-width:0;
}


/* Более аккуратные абзацы в дополнительных блоках */
.practice-box p + p,
.warning-box p + p,
.tip-box p + p,
.protocol-alert p + p{
  margin-top:9px;
}


/* Ссылки назад/вперёд */
.back-journey{
  transition:.18s ease;
}

.back-journey:hover{
  transform:translateX(-2px);
  text-decoration:underline;
}

.deep-link:hover{
  text-decoration:underline;
}


/* Сезонные пункты на странице рисков */
.action-box .action-note + .action-note{
  margin-top:11px !important;
}


/* На маленьких экранах длинные таблицы можно прокручивать */
@media(max-width:640px){

  .estimate-card{
    overflow-x:auto;
  }

  .money-table{
    min-width:520px;
  }

  .agenda-group > p{
    padding:13px 14px;
  }

  .risk-item p + p{
    margin-top:9px;
  }

}

/* ===== OSIP: justified text in content blocks 13.09.2026 ===== */
.create-step > p,
.plain-note,
.example-box,
.tip-box,
.warning-box,
.agenda-box,
.info-panel,
.practice-box,
.ownership-box,
.ownership-warning,
.ownership-small,
.protocol-alert,
.risk-rule,
.stage-check > p,
.stage-risk > p,
.legal-foundation > p,
.risk-item p,
.risk-intro,
.legal-note,
.action-box p,
.estimate-card p,
.estimate-card li,
.estimate-warning,
.estimate-tip,
.legal-point,
.agenda-group > p{
  text-align:justify;
}

