:root{--ink:#0F1B16;--muted:#66706a;--paper:#F5F6F2;--white:#fff;--green:#1E3A33;--green2:#355E4B;--lime:#C7E15A;--line:#dfe3de;--dark:#0F1B16}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}.site-header{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,6vw,92px);border-bottom:1px solid var(--line);background:rgba(245,245,240,.95);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center}.brand-logo img{display:block;width:360px;max-width:32vw;height:auto}nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:650}.nav-cta{background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px}.inline{display:inline}.link-button{border:0;background:none;font:inherit;cursor:pointer}.hero{min-height:690px;display:grid;grid-template-columns:1.25fr .75fr;gap:60px;align-items:center;padding:80px clamp(24px,6vw,92px);background:radial-gradient(circle at 75% 20%,rgba(216,245,109,.35),transparent 28%)}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:2px;font-weight:800;color:var(--green);margin-bottom:20px}.hero h1,.page-head h1,.auth-copy h1,.dashboard-head h1{font-size:clamp(48px,6vw,86px);line-height:.94;letter-spacing:-4px;margin:0 0 28px}.hero h1 em{color:var(--green);font-style:normal}.hero-copy>p,.page-head p,.auth-copy p{font-size:20px;line-height:1.55;color:var(--muted);max-width:720px}.hero-actions{display:flex;gap:12px;margin:36px 0}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:16px 24px;font-weight:800;border:1px solid transparent;cursor:pointer}.btn.primary{background:var(--green);color:#fff}.btn.secondary{border-color:#bac2bc;background:rgba(255,255,255,.55)}.btn.light{background:#fff;color:var(--dark)}.btn.full{width:100%}.trust-row{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;font-weight:700}.trust-row span:before{content:"✓";color:var(--green);margin-right:7px}.hero-panel{background:var(--dark);color:#fff;border-radius:28px;padding:30px;box-shadow:0 30px 70px rgba(12,35,27,.2)}.panel-label{font-size:13px;text-transform:uppercase;letter-spacing:1.5px;color:var(--lime);margin-bottom:28px}.chat-line{max-width:88%;padding:14px 16px;border-radius:15px;margin:10px 0;line-height:1.45}.chat-line.bot{background:#18382c}.chat-line.user{background:var(--lime);color:var(--ink);margin-left:auto}.chat-line.muted{color:#c8d3cd}.fake-input{margin-top:24px;width:100%;border:1px solid #315246;border-radius:14px;padding:16px;background:#102a21;color:#81968d;text-align:left;display:flex;justify-content:space-between}.numbers{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 clamp(24px,6vw,92px)}.numbers div{padding:34px;border-right:1px solid var(--line)}.numbers strong{font-size:30px;margin-right:12px}.numbers span{color:var(--muted)}.section{padding:100px clamp(24px,6vw,92px)}.section h2{font-size:52px;letter-spacing:-2.5px;margin:0 0 50px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.cards article{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;min-height:240px}.cards article>b{color:var(--green);font-size:12px}.cards h3{font-size:21px;margin-top:45px}.cards p{color:var(--muted);line-height:1.55}.cta-band{margin:0 clamp(24px,6vw,92px) 80px;background:var(--green);color:#fff;border-radius:28px;padding:52px;display:flex;justify-content:space-between;align-items:center}.cta-band span{color:var(--lime);font-weight:800}.cta-band h2{font-size:40px;letter-spacing:-1.5px;margin:8px 0}.site-footer{padding:42px clamp(24px,6vw,92px);color:var(--muted);border-top:1px solid var(--line);font-size:13px}.page-head{padding:100px clamp(24px,6vw,92px) 20px}.auth-wrap{min-height:720px;display:grid;grid-template-columns:1fr 560px;gap:70px;padding:70px clamp(24px,8vw,140px);align-items:start}.auth-copy h1{font-size:64px}.auth-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 20px 50px rgba(20,30,25,.08)}.auth-card>label:not(.check):not(.plan){display:block;font-size:13px;font-weight:800;margin:0 0 17px}.auth-card input:not([type=checkbox]):not([type=radio]){width:100%;margin-top:7px;border:1px solid #ccd3ce;border-radius:12px;padding:14px;font:inherit}.plans{display:grid;gap:8px;margin:22px 0}.plan{border:1px solid var(--line);border-radius:13px;padding:13px;display:flex;gap:12px;align-items:center}.plan span{display:flex;justify-content:space-between;align-items:center;flex:1}.plan small{color:var(--muted)}.check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.45;margin:15px 0}.fine{font-size:11px;color:var(--muted);line-height:1.5}.error-box,.flash{padding:14px;border-radius:12px;margin-bottom:18px;background:#fff1ef;color:#8b241c}.dashboard-head{padding:70px clamp(24px,6vw,92px) 35px;display:flex;justify-content:space-between;align-items:end}.dashboard-head h1{font-size:52px;letter-spacing:-2px}.member-badge{background:var(--dark);color:#fff;border-radius:18px;padding:20px 24px;min-width:240px}.member-badge span,.member-badge small{display:block;color:#a8b9b2;font-size:12px}.member-badge b{display:block;margin:7px 0}.flash{margin:0 clamp(24px,6vw,92px);background:#e8f6df;color:#285a31}.dashboard-grid{padding:20px clamp(24px,6vw,92px) 100px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dash-card{background:#fff;border:1px solid var(--line);padding:26px;border-radius:20px;min-height:190px}.dash-card.accent{background:var(--green);color:#fff}.dash-card span{font-size:12px;text-transform:uppercase;letter-spacing:1.3px;color:var(--muted)}.dash-card.accent span,.dash-card.accent p{color:#c6ddd4}.dash-card h3{font-size:22px;margin:32px 0 8px}.dash-card p{color:var(--muted);line-height:1.45}.dash-card>b{font-size:24px}@media(max-width:900px){nav a:not(.nav-cta),nav form{display:none}.hero,.auth-wrap{grid-template-columns:1fr}.hero{padding-top:55px}.hero h1,.page-head h1{letter-spacing:-2px}.numbers,.cards,.dashboard-grid{grid-template-columns:1fr}.numbers div{border-right:0;border-bottom:1px solid var(--line)}.cta-band,.dashboard-head{align-items:flex-start;flex-direction:column;gap:25px}.auth-wrap{padding:50px 20px}.auth-card{padding:22px}.dashboard-grid{grid-template-columns:1fr}.brand-logo img{width:215px;max-width:54vw}}

.site-footer{display:flex;align-items:center;gap:14px}.footer-icon{width:34px;height:34px}
.member-status-strip{margin:0 clamp(24px,6vw,92px) 8px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.member-status-strip>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between}
.member-status-strip span{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:1px}
.subpage-head{padding:70px clamp(24px,6vw,92px) 30px;display:flex;justify-content:space-between;align-items:end;gap:30px}
.subpage-head h1{font-size:clamp(44px,5vw,68px);letter-spacing:-3px;margin:0 0 15px}
.subpage-head p{max-width:760px;color:var(--muted);font-size:18px;line-height:1.5}
.text-link{font-weight:800;color:var(--green)}
.form-shell,.membership-shell{padding:10px clamp(24px,6vw,92px) 100px}
.profile-form{max-width:980px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px}
.form-section{padding:8px 0 28px;border-bottom:1px solid var(--line);margin-bottom:28px}.form-section:last-of-type{border-bottom:0}
.form-section h2{font-size:24px;margin:0 0 20px}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.form-grid label{font-size:13px;font-weight:800}
.form-grid input,.form-grid select{width:100%;margin-top:7px;border:1px solid #ccd3ce;border-radius:12px;padding:14px;font:inherit;background:#fff}
.form-grid input:disabled{background:#f0f2ef;color:#7b817d}
.form-actions{display:flex;justify-content:flex-end}
.membership-shell{display:grid;grid-template-columns:340px minmax(0,760px);gap:24px;align-items:start}
.current-membership{background:var(--dark);color:#fff;border-radius:24px;padding:28px;position:sticky;top:110px}
.current-membership>span,.plan-kicker{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--lime);font-weight:800}
.current-membership h2{font-size:30px;letter-spacing:-1px;margin:12px 0}
.status-pill{display:inline-flex;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800}.status-pill.active{background:#e3f3db;color:#24532d}.status-pill.pending{background:#fff2c8;color:#73530a}
.current-membership dl{margin:30px 0 0}.current-membership dl div{padding:13px 0;border-top:1px solid #29443a}.current-membership dt{color:#9cb0a8;font-size:12px}.current-membership dd{margin:5px 0 0;font-weight:800}
.membership-plans{display:grid;gap:12px}
.membership-plan{display:flex;gap:16px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;cursor:pointer}.membership-plan.current{border:2px solid var(--green)}
.membership-plan input{margin-top:5px}.membership-plan h3{font-size:23px;margin:7px 0}.membership-plan strong{font-size:20px}.membership-plan p{color:var(--muted);margin-bottom:0}
.plan-kicker{color:var(--green)}
@media(max-width:900px){
  .brand-logo img{width:215px;max-width:54vw}
  .member-status-strip,.form-grid,.membership-shell{grid-template-columns:1fr}
  .subpage-head{align-items:flex-start;flex-direction:column}
  .current-membership{position:static}
}


/* OOPK v0.4 UX foundation */
:root{--ink:#16362f;--ink2:#24473f;--lime:#c8ef58;--lime2:#e7f8b4;--paper:#f6f7f2;--white:#fff;--muted:#68736f;--line:#dfe5df;--soft:#eef2eb;--danger:#a63c3c}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.site-header{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px;padding:14px clamp(22px,5vw,72px);background:rgba(246,247,242,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(22,54,47,.08)}.brand-logo img{display:block;width:min(285px,30vw);height:auto}.desktop-nav{display:flex;align-items:center;gap:22px}.desktop-nav a,.link-button{color:var(--ink);font-size:14px;font-weight:750;text-decoration:none}.desktop-nav a:hover,.link-button:hover{opacity:.65}.nav-cta{padding:11px 16px!important;border-radius:9px;background:var(--ink)!important;color:#fff!important}.mobile-menu-toggle,.mobile-menu,.mobile-app-nav{display:none}
.service-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:clamp(30px,6vw,90px);align-items:center;max-width:1500px;margin:auto;padding:clamp(54px,8vw,115px) clamp(22px,6vw,90px)}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:900;color:#638035}.service-hero h1,.page-intro h1,.member-home-head h1{font-size:clamp(48px,7vw,104px);line-height:.91;letter-spacing:-.055em;margin:16px 0 24px}.hero-lead{max-width:780px;font-size:clamp(18px,2vw,25px);line-height:1.45;color:var(--ink2)}.ask-box{max-width:880px;margin-top:36px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px;box-shadow:0 18px 60px rgba(25,54,47,.08)}.ask-box textarea{width:100%;min-height:115px;border:0;outline:0;resize:vertical;padding:18px;font:inherit;font-size:17px;color:var(--ink);background:transparent}.ask-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px}.ask-actions span{font-size:12px;color:var(--muted);font-weight:700}.ask-actions button,.chat-compose button,.rights-search button{border:0;border-radius:10px;background:var(--ink);color:#fff;padding:13px 18px;font-weight:850;cursor:pointer}.quick-prompts{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.quick-prompts a{padding:8px 11px;border:1px solid #d7dfd6;border-radius:999px;color:var(--ink2);text-decoration:none;font-size:13px;background:#fff}.hero-trust{background:var(--ink);color:#fff;border-radius:24px;padding:clamp(28px,4vw,48px);box-shadow:0 28px 70px rgba(22,54,47,.18)}.hero-trust .trust-kicker{color:var(--lime);font-weight:900;letter-spacing:.15em}.hero-trust h2{font-size:clamp(34px,4vw,58px);line-height:.98;letter-spacing:-.04em;margin:18px 0 34px}.hero-trust ol{list-style:none;margin:0;padding:0}.hero-trust li{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:18px 0;border-top:1px solid rgba(255,255,255,.15)}.hero-trust li b{color:var(--lime)}
.section{max-width:1500px;margin:auto;padding:clamp(60px,8vw,110px) clamp(22px,6vw,90px)}.section.compact{padding-top:55px;padding-bottom:70px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section h2,.section-head h2{font-size:clamp(34px,4vw,58px);letter-spacing:-.04em;margin:8px 0}.text-link{color:var(--ink);font-weight:800}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.topic-card{position:relative;display:flex;min-height:165px;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-decoration:none;transition:.18s transform,.18s box-shadow}.topic-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(22,54,47,.08)}.topic-card span{font-size:22px;font-weight:900;letter-spacing:-.02em}.topic-card small{max-width:90%;margin-top:9px;color:var(--muted);font-size:14px;line-height:1.5}.topic-card b{margin-top:auto;align-self:flex-end}.split-value{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;border-top:1px solid var(--line)}.value-list article{display:grid;grid-template-columns:55px 1fr;gap:20px;padding:24px 0;border-top:1px solid var(--line)}.value-list article b{color:#789638}.value-list h3{margin:0 0 8px;font-size:22px}.value-list p{margin:0;color:var(--muted);line-height:1.65}.cta-band{max-width:1380px;margin:30px auto 70px;padding:42px clamp(25px,5vw,65px);display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:22px;background:var(--lime);color:var(--ink)}.cta-band span{font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.cta-band h2{max-width:850px;margin:8px 0;font-size:clamp(28px,4vw,48px);line-height:1.03;letter-spacing:-.04em}.btn.light{background:#fff;color:var(--ink);white-space:nowrap}
.page-intro{max-width:1500px;margin:auto;padding:clamp(60px,8vw,105px) clamp(22px,6vw,90px) 45px}.page-intro h1{font-size:clamp(50px,7vw,92px)}.page-intro p{max-width:850px;font-size:19px;line-height:1.6;color:var(--muted)}.advice-shell{display:grid;grid-template-columns:220px minmax(0,1fr) 290px;max-width:1500px;min-height:600px;margin:0 auto 80px;padding:0 clamp(22px,4vw,60px);gap:18px}.advice-sidebar,.source-panel,.advice-main{border:1px solid var(--line);border-radius:16px;background:#fff}.advice-sidebar{padding:22px;display:flex;flex-direction:column;gap:10px}.advice-sidebar a,.advice-sidebar span{padding:11px;border-radius:9px;color:var(--ink);text-decoration:none;font-size:14px}.advice-sidebar .active{background:var(--ink);color:#fff;font-weight:800}.advice-sidebar small{display:block;color:#8a928f}.advice-main{padding:28px;display:flex;flex-direction:column;gap:20px}.chat-user{align-self:flex-end;max-width:75%;padding:14px 16px;border-radius:16px 16px 3px 16px;background:var(--lime2)}.chat-answer{max-width:820px}.answer-label{font-size:11px;text-transform:uppercase;letter-spacing:.13em;font-weight:900;color:#789638}.chat-answer h2{font-size:32px;letter-spacing:-.03em}.chat-answer p{color:var(--muted);line-height:1.65}.answer-steps{display:flex;flex-direction:column;gap:9px;padding:18px;border-radius:12px;background:var(--soft)}.chat-compose{display:flex;gap:10px;margin-top:auto}.chat-compose textarea{flex:1;min-height:76px;border:1px solid var(--line);border-radius:12px;padding:14px;font:inherit}.source-panel{padding:24px}.source-panel h3{font-size:22px}.source-panel p{color:var(--muted);line-height:1.55}.source-placeholder{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:10px;font-weight:800}.source-placeholder small{color:var(--muted);font-weight:500}.rights-search{display:flex;max-width:760px;margin-top:30px;background:#fff;border:1px solid var(--line);padding:7px;border-radius:13px}.rights-search input{flex:1;border:0;outline:0;padding:11px;font:inherit}.kb-card p{color:var(--muted);line-height:1.5}.kb-card b{align-self:flex-start;font-size:13px;color:#789638}
.member-home-head{max-width:1500px;margin:auto;padding:70px clamp(22px,6vw,90px) 35px;display:flex;align-items:end;justify-content:space-between;gap:30px}.member-home-head h1{font-size:clamp(44px,6vw,78px);margin-bottom:12px}.member-home-head p{font-size:20px;color:var(--muted)}.member-chip{min-width:240px;padding:18px;border-radius:15px;background:#fff;border:1px solid var(--line);color:var(--ink);text-decoration:none;display:flex;flex-direction:column}.member-chip span,.overview-card span{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:800}.member-chip b{font-size:24px;margin:4px 0}.member-ask{max-width:1320px;margin:20px auto 35px;padding:32px 38px;border-radius:20px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.member-ask span{color:var(--lime);font-weight:850}.member-ask h2{font-size:34px;margin:8px 0}.member-ask p{margin:0;color:#c9d4d0}.member-ask a{padding:13px 17px;border-radius:10px;background:var(--lime);color:var(--ink);font-weight:900;text-decoration:none;white-space:nowrap}.member-overview{max-width:1320px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.overview-card{min-height:145px;padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-decoration:none;display:flex;flex-direction:column}.overview-card strong{font-size:24px;margin:10px 0}.overview-card small{color:var(--muted);line-height:1.45}.member-next{max-width:1500px;margin:auto;padding:65px clamp(22px,6vw,90px)}
.site-footer{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:35px;padding:34px clamp(22px,6vw,90px);border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.footer-brand{display:flex;align-items:center;gap:12px}.footer-icon{width:34px}.footer-links{display:flex;gap:20px}.footer-links a{color:var(--ink);text-decoration:none}
@media(max-width:950px){.desktop-nav{display:none}.mobile-menu-toggle{display:block;border:0;background:transparent;font-size:25px;color:var(--ink);cursor:pointer}.menu-open .mobile-menu{display:flex;position:fixed;z-index:39;top:76px;left:0;right:0;flex-direction:column;padding:18px 22px 26px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 20px 40px rgba(0,0,0,.08)}.mobile-menu a,.mobile-menu .link-button{display:block;padding:13px;color:var(--ink);text-decoration:none;font-weight:800}.service-hero{grid-template-columns:1fr}.hero-trust{display:none}.topic-grid{grid-template-columns:repeat(2,1fr)}.split-value{grid-template-columns:1fr;gap:20px}.advice-shell{grid-template-columns:1fr}.advice-sidebar{display:none}.source-panel{order:3}.member-overview{grid-template-columns:1fr 1fr}.site-footer{grid-template-columns:1fr}.footer-links{display:none}}
@media(max-width:650px){body{padding-bottom:72px}.site-header{min-height:70px;padding:11px 18px}.brand-logo img{width:225px;max-width:72vw}.service-hero{padding:44px 18px 55px}.service-hero h1{font-size:54px}.hero-lead{font-size:18px}.ask-box{margin-top:26px;border-radius:15px}.ask-box textarea{min-height:135px;padding:14px;font-size:16px}.ask-actions{align-items:stretch;flex-direction:column}.ask-actions button{width:100%;min-height:48px}.quick-prompts{display:grid;grid-template-columns:1fr 1fr}.quick-prompts a{text-align:center}.section,.section.compact,.page-intro{padding-left:18px;padding-right:18px}.section-head{align-items:flex-start;flex-direction:column}.topic-grid{grid-template-columns:1fr}.topic-card{min-height:135px}.cta-band{margin:15px 18px 45px;padding:28px;align-items:flex-start;flex-direction:column}.page-intro h1{font-size:50px}.advice-intro{padding-bottom:25px}.advice-shell{padding:0 12px;margin-bottom:35px}.advice-main{padding:18px;min-height:520px}.chat-user{max-width:90%}.chat-compose{flex-direction:column}.source-panel{padding:18px}.rights-search{flex-direction:column}.member-home-head{padding:42px 18px 22px;align-items:flex-start;flex-direction:column}.member-home-head h1{font-size:47px}.member-chip{width:100%}.member-ask{margin:12px 18px 25px;padding:25px;align-items:flex-start;flex-direction:column}.member-ask h2{font-size:29px}.member-ask a{width:100%;text-align:center}.member-overview{grid-template-columns:1fr;margin:0 18px}.member-next{padding:50px 18px}.mobile-app-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);z-index:50;left:0;right:0;bottom:0;min-height:67px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 30px rgba(22,54,47,.08)}.mobile-app-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;color:var(--ink);text-decoration:none;font-size:10px;font-weight:750}.mobile-app-nav span{font-size:19px}.site-footer{padding:28px 18px 95px}.footer-address{font-size:12px}}


/* OOPK v0.4.2 — desktop hero heading spacing fix */
@media (min-width: 951px) {
    .service-hero h1 {
        line-height: 0.98;
        margin-bottom: 30px;
    }
}


/* OOPK v0.4.3 — final desktop hero typography spacing */
@media (min-width: 951px) {
    .service-hero h1 {
        line-height: 1.08;
        margin-bottom: 38px;
    }

    .service-hero .hero-lead {
        margin-top: 0;
    }
}


/* OOPK v0.4.4 — more readable brand subtitle + simplified footer */
@media (min-width: 951px) {
    .brand-logo img {
        width: 330px;
        max-width: 34vw;
    }
}
@media (max-width: 650px) {
    .brand-logo img {
        width: 260px;
        max-width: 76vw;
    }
}
.site-footer {
    grid-template-columns: 1fr auto;
}
.footer-address {
    display: none !important;
}


/* OOPK v0.4.6 — desktop process-card typography refinement */
@media (min-width: 951px) {
    .process-card h2,
    .process-card h3,
    .process-card .process-title {
        font-size: clamp(42px, 3.15vw, 58px);
        line-height: 1.03;
        letter-spacing: -0.035em;
        max-width: 7.8em;
        margin-top: 28px;
        margin-bottom: 54px;
        text-wrap: balance;
    }

    .process-card .eyebrow,
    .process-card .kicker {
        font-size: 14px;
        letter-spacing: .18em;
        margin-bottom: 0;
    }
}


/* OOPK v0.4.7 — exact desktop hero-trust typography fix */
@media (min-width: 951px) {
    .hero-trust h2 {
        font-size: clamp(40px, 3vw, 56px);
        line-height: 1.02;
        letter-spacing: -0.035em;
        max-width: 8.2em;
        margin: 24px 0 46px;
        text-wrap: balance;
    }

    .hero-trust .trust-kicker {
        font-size: 13px;
        letter-spacing: .18em;
    }
}


/* OOPK v0.5.0 — Knowledge Base */
.kb-browser{padding-top:20px}.kb-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:45px}.kb-filters a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);text-decoration:none;font-size:13px;font-weight:750}.kb-filters a.active{background:var(--ink);border-color:var(--ink);color:#fff}.kb-filters small{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:rgba(120,150,56,.14);font-size:10px}.kb-results-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.kb-results-head h2{font-size:clamp(34px,4vw,58px);letter-spacing:-.04em;margin:8px 0}.kb-results-head>span{color:var(--muted);font-size:13px}.kb-live-card{min-height:210px}.kb-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.kb-card-meta .kb-topic,.kb-card-meta .kb-verified{font-size:10px!important;text-transform:uppercase;letter-spacing:.09em;font-weight:900}.kb-card-meta .kb-topic{color:#789638}.kb-card-meta .kb-verified{color:var(--ink2)}.kb-card-foot{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto}.kb-card-foot small{margin:0!important}.kb-card-foot b{margin:0!important}.kb-pagination{margin-top:35px}.kb-empty{max-width:850px;padding:50px;border:1px solid var(--line);border-radius:20px;background:#fff}.kb-empty h2{font-size:clamp(30px,4vw,52px);letter-spacing:-.04em;margin:8px 0}.kb-empty p{color:var(--muted);line-height:1.65}

.kb-article{max-width:1500px;margin:auto;padding:65px clamp(22px,6vw,90px) 90px}.kb-article-head{max-width:1050px}.kb-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:42px}.kb-breadcrumb a{color:var(--ink2);font-size:13px;font-weight:750}.kb-breadcrumb span{color:#9aa39f}.kb-article-head h1{font-size:clamp(48px,6.5vw,90px);line-height:.98;letter-spacing:-.055em;margin:15px 0 22px}.kb-article-lead{max-width:850px;color:var(--muted);font-size:21px;line-height:1.55}.kb-status-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.kb-status-row span{padding:7px 9px;border-radius:8px;background:#fff;border:1px solid var(--line);font-size:12px;color:var(--muted)}.kb-status-row .verified{background:#edf7e8;border-color:#b9dba9;color:#315c2e;font-weight:850}.kb-article-layout{display:grid;grid-template-columns:minmax(0,850px) minmax(240px,320px);gap:70px;margin-top:55px}.quick-answer{padding:30px;border-radius:18px;background:var(--lime2);margin-bottom:38px}.quick-answer p{font-size:21px;line-height:1.55;margin:9px 0 0;color:var(--ink)}.kb-rich-content{font-size:17px;line-height:1.75;color:#314b45}.kb-rich-content h2{font-size:34px;line-height:1.1;letter-spacing:-.035em;color:var(--ink);margin:46px 0 15px}.kb-rich-content h3{font-size:24px;color:var(--ink);margin:35px 0 12px}.kb-rich-content a{color:#4b762d;font-weight:750}.kb-rich-content ul,.kb-rich-content ol{padding-left:23px}.kb-rich-content blockquote{margin:28px 0;padding:18px 22px;border-left:4px solid var(--lime);background:#fff;border-radius:0 12px 12px 0}.kb-sources{margin-top:55px;padding-top:38px;border-top:1px solid var(--line)}.kb-sources h2{font-size:32px;margin:8px 0 20px}.kb-source-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-top:1px solid var(--line)}.kb-source-row>div{display:flex;flex-direction:column;gap:3px}.kb-source-row strong{font-size:15px}.kb-source-row span,.kb-source-row small{color:var(--muted);font-size:13px}.kb-source-row a{font-size:13px;font-weight:850;color:var(--ink)}.kb-help-box{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:55px;padding:30px;border-radius:18px;background:var(--ink);color:#fff}.kb-help-box h2{font-size:30px;margin:7px 0}.kb-help-box p{margin:0;color:#c7d3cf}.kb-help-box a{padding:12px 16px;border-radius:9px;background:var(--lime);color:var(--ink);text-decoration:none;font-weight:900;white-space:nowrap}.kb-article-aside{position:relative}.kb-aside-card{position:sticky;top:110px;padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.kb-aside-card span{color:var(--muted);font-size:12px}.kb-aside-card strong{font-size:13px;text-align:right}.kb-related{margin-top:18px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;gap:12px}.kb-related>span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:900}.kb-related a{color:var(--ink);font-size:14px;font-weight:750;text-decoration:none}

@media(max-width:950px){.kb-article-layout{grid-template-columns:1fr;gap:35px}.kb-article-aside{display:grid;grid-template-columns:1fr 1fr;gap:14px}.kb-aside-card{position:static}.kb-related{margin-top:0}}
@media(max-width:650px){.kb-results-head{align-items:flex-start;flex-direction:column}.kb-empty{padding:28px}.kb-article{padding:40px 18px 75px}.kb-breadcrumb{margin-bottom:28px}.kb-article-head h1{font-size:49px}.kb-article-lead{font-size:18px}.kb-article-layout{margin-top:35px}.quick-answer{padding:22px}.quick-answer p{font-size:18px}.kb-rich-content{font-size:16px}.kb-rich-content h2{font-size:29px}.kb-source-row{align-items:flex-start;flex-direction:column}.kb-help-box{align-items:flex-start;flex-direction:column;padding:25px}.kb-help-box a{width:100%;text-align:center}.kb-article-aside{grid-template-columns:1fr}}


/* OOPK v0.5.1 — Legal Knowledge Layer */
.legal-index{display:grid;gap:18px}.legal-act-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:35px;padding:30px;border:1px solid var(--line);border-radius:18px;background:#fff}.legal-act-card h2{font-size:34px;letter-spacing:-.035em;margin:8px 0}.legal-act-card p{color:var(--muted);line-height:1.55}.legal-version-summary{padding:21px;border-radius:14px;background:var(--soft);display:flex;flex-direction:column;align-items:flex-start}.legal-version-summary span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:900}.legal-version-summary strong{font-size:22px;margin:7px 0}.legal-version-summary small{color:var(--muted)}.legal-version-summary a{margin-top:auto;padding-top:18px;color:var(--ink);font-weight:900}.legal-version-head{padding-bottom:30px}.legal-version-body{padding-top:15px}.legal-import-notice{max-width:900px;padding:36px;border:1px solid var(--line);border-radius:18px;background:#fff}.legal-import-notice h2{font-size:36px;letter-spacing:-.04em;margin:8px 0}.legal-import-notice p{color:var(--muted);line-height:1.65}.legal-import-notice a{display:inline-flex;margin-top:13px;color:var(--ink);font-weight:900}.legal-source-warning{max-width:1050px;margin-top:35px;padding:18px;border-left:4px solid #d8b23e;background:#fff8dc;color:#68520c;font-size:13px;line-height:1.55}.legal-provision-list{max-width:900px}.legal-provision{padding:24px 0;border-top:1px solid var(--line)}.legal-provision-title{display:flex;gap:16px;align-items:baseline;margin-bottom:12px}.legal-provision-title strong{font-size:24px}.legal-provision-title span{font-size:18px;font-weight:800}.legal-provision-text{font-size:16px;line-height:1.72;color:#314b45}
@media(max-width:750px){.legal-act-card{grid-template-columns:1fr}.legal-version-summary{min-height:180px}.legal-import-notice{padding:25px}.legal-import-notice h2{font-size:29px}.legal-provision-title{align-items:flex-start;flex-direction:column;gap:4px}}

/* OOPK v1.2.0 — Cases Core */
.case-page{max-width:1500px;margin:auto;padding:65px clamp(22px,6vw,90px) 100px}.case-narrow{max-width:1050px}.case-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:40px}.case-page-head h1,.case-detail-head h1{font-size:clamp(48px,6vw,78px);line-height:.98;letter-spacing:-.05em;margin:8px 0 16px}.case-page-head p,.case-detail-head p{color:var(--muted);font-size:18px;line-height:1.6;margin:0;max-width:760px}.case-flash{margin:0 0 28px}.case-list{display:grid;gap:12px}.case-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;padding:25px 28px;border:1px solid var(--line);border-radius:18px;background:#fff;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.case-list-item:hover{transform:translateY(-1px);border-color:#b8c5be;box-shadow:0 12px 32px rgba(20,30,25,.06)}.case-number{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:var(--green2)}.case-list-item h2{font-size:24px;letter-spacing:-.025em;margin:7px 0}.case-list-item p{margin:0;color:var(--muted)}.case-list-meta{display:grid;justify-items:end;gap:9px;min-width:170px}.case-list-meta small{color:var(--muted);font-size:11px}.case-list-meta b{font-size:20px}.case-status{display:inline-flex;width:max-content;align-items:center;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900}.status-open{background:#eef5ff;color:#315f8b}.status-in_review{background:#eef7e8;color:#315c2e}.status-waiting_member{background:#fff6d8;color:#765d00}.status-resolved{background:#e8f6df;color:#285a31}.status-closed{background:#edf0ee;color:#5f6964}.case-empty{padding:45px;border:1px solid var(--line);border-radius:20px;background:#fff;max-width:920px}.case-empty>span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:900}.case-empty h2{font-size:42px;letter-spacing:-.04em;margin:9px 0}.case-empty p{color:var(--muted);line-height:1.7;max-width:720px;margin-bottom:25px}.case-form{display:grid;gap:20px;padding:32px;border:1px solid var(--line);border-radius:20px;background:#fff}.case-form label,.case-message-form label{display:grid;gap:8px;font-size:13px;font-weight:850}.case-form input,.case-form select,.case-form textarea,.case-message-form textarea{width:100%;border:1px solid #ccd3ce;border-radius:12px;padding:14px 15px;background:#fff;color:var(--ink);font:inherit}.case-form textarea,.case-message-form textarea{resize:vertical;line-height:1.55}.case-form-note{padding:15px;border-radius:12px;background:#f4f6f2;color:var(--muted);font-size:12px;line-height:1.55}.case-form .btn,.case-message-form .btn{justify-self:start}.case-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:28px;font-size:13px;color:var(--muted)}.case-breadcrumb a{font-weight:800;color:var(--ink)}.case-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;padding-bottom:35px;border-bottom:1px solid var(--line)}.case-detail-status{min-width:220px;padding:20px;border-radius:16px;background:var(--dark);color:#fff;display:grid;gap:8px}.case-detail-status>span,.case-detail-status>small{font-size:11px;color:#a8b9b2}.case-detail-status .case-status{background:#fff;color:var(--ink)}.case-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:50px;margin-top:42px}.case-description{padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff}.case-description>span,.case-section-title>span,.case-side-card>span{font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:var(--muted);font-weight:900}.case-description p{white-space:pre-wrap;font-size:17px;line-height:1.72;color:#314b45}.case-timeline{margin-top:42px}.case-section-title h2{font-size:36px;letter-spacing:-.04em;margin:7px 0 24px}.case-activity{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:15px;padding:0 0 24px}.case-activity:before{content:"";position:absolute;left:6px;top:14px;bottom:0;width:1px;background:var(--line)}.case-activity:last-child:before{display:none}.case-activity-dot{width:13px;height:13px;border-radius:50%;background:var(--green2);margin-top:4px;z-index:1;box-shadow:0 0 0 4px var(--paper)}.case-activity-meta{display:flex;align-items:center;justify-content:space-between;gap:15px}.case-activity-meta strong{font-size:13px}.case-activity-meta span{font-size:11px;color:var(--muted)}.case-activity p{white-space:pre-wrap;line-height:1.65;margin:7px 0 0;color:#314b45}.case-message-form{margin-top:25px;padding:25px;border:1px solid var(--line);border-radius:18px;background:#fff;display:grid;gap:16px}.case-side{display:grid;gap:12px;align-content:start}.case-side-card{padding:19px;border:1px solid var(--line);border-radius:15px;background:#fff;display:grid;gap:7px}.case-side-card strong{font-size:14px}.case-side-soon{background:#13261f;color:#fff}.case-side-soon>span,.case-side-soon p{color:#a8b9b2}.case-side-soon p{font-size:12px;line-height:1.55;margin:2px 0 0}.case-pagination{margin-top:28px}
@media(max-width:850px){.case-page-head,.case-detail-head{align-items:flex-start;flex-direction:column}.case-detail-grid{grid-template-columns:1fr}.case-side{grid-template-columns:repeat(3,1fr)}.case-side-soon{grid-column:1/-1}}
@media(max-width:650px){.case-page{padding:40px 18px 90px}.case-page-head h1,.case-detail-head h1{font-size:48px}.case-page-head .btn{width:100%}.case-list-item{grid-template-columns:1fr;padding:21px}.case-list-meta{justify-items:start;min-width:0}.case-empty{padding:27px}.case-empty h2{font-size:34px}.case-form{padding:22px}.case-detail-status{width:100%}.case-side{grid-template-columns:1fr}.case-section-title h2{font-size:31px}.case-activity-meta{align-items:flex-start;flex-direction:column;gap:3px}}

/* v1.3.0 — case files + document drafting */
.case-files-panel,.case-documents-panel{margin-top:26px;padding:24px;border:1px solid rgba(20,32,48,.1);border-radius:20px;background:#fff}.case-upload-form,.case-generate-form,.case-document-editor{display:grid;gap:14px}.case-upload-form{grid-template-columns:minmax(0,1fr) auto;align-items:center}.case-upload-form small,.case-generate-form small{grid-column:1/-1;color:#708090}.case-file-list,.case-document-list{display:grid;gap:8px;margin-top:16px}.case-file-row,.case-document-row{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid rgba(20,32,48,.08);border-radius:14px;text-decoration:none;color:inherit;background:#fafbfd}.case-file-row:hover,.case-document-row:hover{border-color:rgba(40,93,81,.3);background:#fff}.case-file-row div,.case-document-row div{display:grid;gap:3px;min-width:0;flex:1}.case-file-row strong,.case-document-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.case-file-row small,.case-document-row small{color:#718096}.case-file-row em,.case-document-row em{font-style:normal;font-weight:700;color:#285d51}.case-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.case-generate-form label,.case-document-editor label{display:grid;gap:7px;font-weight:700}.case-generate-form input,.case-generate-form select,.case-generate-form textarea,.case-document-editor input,.case-document-editor textarea{width:100%;border:1px solid rgba(20,32,48,.16);border-radius:12px;padding:12px 13px;background:#fff;font:inherit}.case-document-editor textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.6}.case-document-actions{display:flex;gap:10px;flex-wrap:wrap}.case-document-page{max-width:1050px;margin-inline:auto}
@media(max-width:720px){.case-upload-form,.case-form-grid{grid-template-columns:1fr}.case-upload-form .btn{width:100%}.case-file-row,.case-document-row{align-items:flex-start}.case-file-row em,.case-document-row em{display:none}}

/* v1.4.0 — case service desk */
.case-unread-badge,.dash-unread-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f0a51a;color:#16130e;font-size:.72rem;font-weight:800;line-height:1;padding:.38rem .55rem;margin-left:.45rem;vertical-align:middle}
.dash-unread-badge{font-style:normal;margin-left:.35rem}
.case-activity.from-oopk{background:rgba(240,165,26,.08);border-radius:14px;padding:14px 16px;margin-left:-16px}
.case-activity.from-oopk .case-activity-dot{background:#f0a51a;box-shadow:0 0 0 4px rgba(240,165,26,.14)}
