/* Vamsi's Corner — original Legal & Trust Center.
 * Editorial glass-card hierarchy inspired by modern compliance policy hubs,
 * but independently authored. Public, accessible, responsive and print-ready.
 */
body.corner-comfort.corner-legal{
 --legal-ink:#292426;--legal-text:#544d4a;--legal-muted:#7c7271;
 --legal-line:#e8dfda;--legal-accent:#b3694c;--legal-lilac:#d5cdea;
 background:
  radial-gradient(ellipse 48% 31% at 19% 5%,rgba(247,196,162,.22),transparent 86%),
  radial-gradient(ellipse 44% 30% at 84% 12%,rgba(206,198,236,.18),transparent 89%),
  linear-gradient(170deg,#fffaf6 0%,#faf9f8 47%,#fcfaf8 100%);
 color:var(--legal-ink);overflow-x:clip;
}
body.corner-comfort.corner-legal .corner-orbit-dock {display:none!important}
body.corner-comfort.corner-legal .shell.legal-shell{min-width:0;max-width:1490px}
body.corner-comfort.corner-legal .legal-shell *{box-sizing:border-box}
body.corner-comfort.corner-legal .legal-shell :is(button,a,summary):focus-visible{
 outline:3px solid #4c75c3;outline-offset:3px;
}
.legal-shell .legal-breadcrumb {
 display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:21px 0 0;
 font-size:.71rem;line-height:1.5;color:#867b78;
}
.legal-shell .legal-breadcrumb a{color:#675957;text-decoration:none}
.legal-shell .legal-breadcrumb a:hover{text-decoration:underline}
.legal-shell .legal-hero{position:relative;margin:0;padding:clamp(24px,3.3vw,51px) 0 clamp(24px,3vw,42px);
 border-bottom:1px solid #e1d8d2}
.legal-shell .legal-eyebrow {
 margin:0 0 9px!important;color:#a2644b;font:740 .69rem/1.5 var(--mono,monospace);
 letter-spacing:.095em;
}
.legal-shell .legal-hero h1 {
 margin:0 0 12px!important;font-family:Georgia,"Iowan Old Style","Baskerville",serif!important;
 color:#211d1e;font-size:clamp(2.05rem,4.3vw,3.75rem)!important;
 letter-spacing:-.063em!important;font-weight:520!important;line-height:1.14!important;
 max-width:22ch;text-wrap:balance;
}
.legal-shell .legal-hero h1 span{color:#b97656}
.legal-shell .legal-hero .legal-lede{max-width:64ch;margin:0!important;
 font-size:clamp(.94rem,1.1vw,1.05rem);line-height:1.7;color:#625856}
.legal-shell .legal-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:19px;color:#776b69;font-size:.7rem;line-height:1.5}
.legal-shell .legal-meta-dot{color:#bba79e}
.legal-shell .legal-content-grid{
 display:grid;grid-template-columns:minmax(190px,.72fr) minmax(0,2.55fr) minmax(170px,.74fr);
 align-items:start;gap:clamp(14px,2vw,30px);padding:clamp(21px,3vw,39px) 0;
}
.legal-shell .legal-sidebar{
 position:sticky;top:28px;display:grid;gap:13px;padding:16px;
 border:1px solid var(--legal-line);border-radius:20px;
 background:rgba(255,255,255,.87);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
 box-shadow:0 12px 37px -35px #6048408c;max-height:calc(100dvh - 50px);overflow-y:auto;
}
.legal-shell .legal-sidebar-heading{display:grid;grid-template-columns:37px minmax(0,1fr);gap:2px 9px;align-items:center}
.legal-shell .legal-sidebar-symbol{grid-row:span 2;display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#181719;color:#fff;font-size:1.2rem}
.legal-shell .legal-sidebar-heading strong{min-width:0;font-size:.83rem;line-height:1.25;letter-spacing:-.025em}
.legal-shell .legal-sidebar-heading small{font-size:.61rem;color:var(--legal-muted)}
.legal-shell .legal-all-link {display:flex;align-items:center;min-height:39px;padding:8px 10px;border-radius:9px;
 color:#945d44;background:#fbf3ed;text-decoration:none;font-size:.71rem;font-weight:720}
.legal-shell .legal-group {display:grid;gap:6px;margin:0;padding:0 0 12px;border-bottom:1px solid var(--legal-line)}
.legal-shell .legal-group h3 {margin:0 0 3px!important;font:770 .61rem/1.4 var(--mono,monospace)!important;letter-spacing:.07em!important;color:#8f8582}
.legal-shell .legal-links{display:grid;gap:3px}
.legal-shell .legal-links a {
 display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:36px;padding:7px 9px;
 border:1px solid transparent;border-radius:9px;color:#51494b;text-decoration:none;
 font-size:.68rem;line-height:1.4;font-weight:650;
}
.legal-shell .legal-links a:hover{background:#f8f2ee;color:#292023}
.legal-shell .legal-links a.is-active{border-color:#ead9cd;background:#fff1e8;color:#92563d}
.legal-shell .legal-links a span:first-child{flex:1;min-width:0}
.legal-shell .legal-links a span:last-child{font-size:.9rem;color:#a68b7a}
.legal-shell .legal-sidebar-contact{display:grid;gap:5px}
.legal-shell .legal-sidebar-contact p{margin:0;font-size:.7rem;color:#615958}
.legal-shell .legal-sidebar-contact a{font-size:.7rem;font-weight:700;color:#955b43;text-decoration:underline;text-underline-offset:3px}
.legal-shell .legal-onpage {position:sticky;top:30px;display:grid;gap:12px;max-height:calc(100dvh - 50px);overflow-y:auto}
.legal-shell .legal-onpage-title{font:750 .63rem/1.5 var(--mono,monospace);letter-spacing:.09em;color:#857674}
.legal-shell .legal-onpage nav{display:grid;gap:2px;border-left:1px solid #dfd5cf}
.legal-shell .legal-onpage nav a {
 display:block;min-height:32px;padding:7px 9px;color:#6f6663;text-decoration:none;
 border-left:2px solid transparent;margin-left:-1px;font-size:.68rem;line-height:1.42;
}
.legal-shell .legal-onpage nav a:hover,.legal-shell .legal-onpage nav a:focus-visible{
 border-left-color:#ba7556;color:#8d4e3b;background:#fdf4ed;
}
.legal-shell .legal-onpage-note{
 display:grid;gap:5px;padding:14px;border:1px solid #ece2db;border-radius:12px;background:#fffdfb;
}
.legal-shell .legal-onpage-note span{color:#b77857;font-size:1.3rem}
.legal-shell .legal-onpage-note p{margin:0;font-size:.67rem;color:#665956}
.legal-shell .legal-onpage-note a{font-size:.69rem;font-weight:720;color:#9b5a3d}
.legal-shell .legal-article{min-width:0;padding:clamp(20px,2.4vw,34px);
 border:1px solid #e7ded7;border-radius:22px;background:rgba(255,255,255,.96);
 box-shadow:0 17px 39px -36px #37282d8c}
.legal-shell .legal-overview {
 display:grid;gap:13px;margin:0 0 23px;padding:clamp(15px,2vw,24px);
 border:1px solid #eadcd4;border-radius:16px;
 background:linear-gradient(122deg,#fff2e9,#faf4f7 75%,#f3f0fa);
}
.legal-shell .legal-overview-label{display:flex;align-items:center;gap:8px;color:#a15d42;font:770 .65rem/1.5 var(--mono,monospace);letter-spacing:.09em}
.legal-shell .legal-overview-label span{font-size:1.2rem}
.legal-shell .legal-points{display:grid;gap:9px;margin:0!important;padding:0 0 0 19px!important}
.legal-shell .legal-points li{padding-left:1px;color:#4c4545;font-size:.78rem;line-height:1.67;overflow-wrap:anywhere}
.legal-shell .legal-section{min-width:0;scroll-margin-top:35px;margin:0 0 23px;padding:0 0 23px;border-bottom:1px solid #eee5df}
.legal-shell .legal-section:last-of-type{border-bottom:0;margin-bottom:0}
.legal-shell .legal-section h2{
 margin:0 0 14px!important;font-family:var(--sans,system-ui);
 font-size:clamp(1.08rem,1.4vw,1.28rem)!important;line-height:1.38!important;
 font-weight:760!important;letter-spacing:-.04em!important;color:#2b2527;
}
.legal-shell .legal-section p{
 margin:0 0 13px!important;color:var(--legal-text);font-size:.79rem;
 line-height:1.82;overflow-wrap:anywhere;text-wrap:pretty;
}
.legal-shell .legal-section p:last-child{margin-bottom:0!important}
.legal-shell .legal-section p a{color:#9c593f;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.legal-shell .legal-section .legal-points{margin:8px 0 14px!important}
.legal-shell .legal-table-scroll{
 display:block;max-width:100%;overflow:auto;overscroll-behavior-x:contain;
 border:1px solid #e5dfd7;border-radius:12px;
 margin:15px 0 19px;background:#fff;
 scrollbar-width:thin;
}
.legal-shell .legal-data-table{width:100%;min-width:595px;border-collapse:collapse}
.legal-shell .legal-data-table :is(th,td){
 vertical-align:top;padding:13px 12px;border-bottom:1px solid #eee9e4;
 text-align:left;font-size:.73rem;line-height:1.55;color:#554e4e;overflow-wrap:anywhere;
}
.legal-shell .legal-data-table thead th {
 background:#f8f5f2;color:#524646;font-size:.66rem;font-weight:750;letter-spacing:.035em;
}
.legal-shell .legal-data-table tbody th{
 min-width:130px;color:#30282b;font-size:.71rem;font-weight:740;
}
.legal-shell .legal-data-table tbody tr:last-child>*{border-bottom:0}
.legal-shell .legal-choice-panel{
 display:grid;grid-template-columns:46px minmax(0,1fr);align-items:start;gap:16px;
 padding:20px;margin:25px 0;
 border:1px solid #e5dad2;border-radius:17px;background:linear-gradient(128deg,#fff9f4,#f8f5fc);
 scroll-margin-top:20px;
}
.legal-shell .legal-choice-icon{
 display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eddfd5;color:#97543d;font-size:1.5rem;
}
.legal-shell .legal-choice-panel h2{
 margin:0 0 7px!important;font-size:1.17rem!important;line-height:1.35!important;font-weight:750!important;
}
.legal-shell .legal-choice-panel p:not(.legal-eyebrow){margin:0 0 13px;color:#625958;font-size:.76rem;line-height:1.66}
.legal-shell .legal-choice-actions{display:flex;flex-wrap:wrap;gap:9px}
.legal-shell .legal-choice-actions a{
 display:inline-flex;align-items:center;min-height:43px;padding:9px 13px;
 border:1px solid #dfc6b9;border-radius:10px;background:#fff;color:#874d39;
 text-decoration:none;font-size:.73rem;font-weight:730;
}
.legal-shell .legal-choice-actions a:first-child{background:#201c1f;color:#fff;border-color:#201c1f}
.legal-shell .legal-backtop {
 display:inline-flex;justify-content:space-between;gap:10px;align-items:center;min-height:39px;
 padding:8px 13px;border:1px solid #e5d6ca;border-radius:11px;color:#88533f;
 text-decoration:none;font-size:.72rem;font-weight:730;
}
.legal-shell .legal-mobile-index{display:none}
.legal-shell .legal-related{margin:18px 0 clamp(25px,4vw,48px)}
.legal-shell .legal-related-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
.legal-shell .legal-related-heading h2{margin:0!important;font-size:1.15rem!important;font-weight:740!important;line-height:1.3!important}
.legal-shell .legal-related-heading a{color:#915039;font-size:.75rem;text-decoration:none;font-weight:700}
.legal-shell .legal-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.legal-shell .legal-related-item {
 position:relative;display:grid;gap:6px;min-width:0;min-height:144px;padding:18px;
 border:1px solid #e9dfd8;border-radius:16px;
 background:rgba(255,255,255,.95);color:#272122;text-decoration:none;
}
.legal-shell .legal-related-item:hover{border-color:#d8ae95;box-shadow:0 12px 28px -24px #0006}
.legal-shell .legal-related-item strong{font-size:.84rem;line-height:1.4}
.legal-shell .legal-related-item>span:not(.legal-related-arrow){font-size:.72rem;line-height:1.55;color:#776b67}
.legal-shell .legal-related-arrow{justify-self:end;color:#a9684b}
/* Hub */
.legal-shell .legal-hub-hero{padding-bottom:35px}
.legal-shell .legal-hub-hero h1{max-width:none}
.legal-shell .legal-hub-hero h1 em{color:#b16c4e;font-weight:400}
.legal-shell .legal-hub-star{padding-left:.2em;color:#ab7ba2;font-size:1.7rem;vertical-align:top}
.legal-shell .legal-hub-note {
 display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:25px 0;
 padding:17px 20px;border:1px solid #e7dbd3;border-radius:17px;
 background:linear-gradient(112deg,#fdf2ea,#f9f5fb 80%);
}
.legal-shell .legal-hub-note-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#fff8f1;color:#ae7150;font-size:1.5rem}
.legal-shell .legal-hub-note>div{flex:1 1 240px}
.legal-shell .legal-hub-note strong{font-size:.86rem;color:#30272a}
.legal-shell .legal-hub-note p{margin:4px 0 0;color:#6c5f5c;font-size:.76rem;line-height:1.55}
.legal-shell .legal-hub-note>a{
 display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:44px;
 padding:10px 14px;border-radius:11px;background:#222;color:#fff;
 text-decoration:none;font-size:.75rem;font-weight:735;
}
.legal-shell .legal-hub-section{margin:30px 0 40px}
.legal-shell .legal-hub-section-heading{
 display:flex;align-items:center;gap:13px;margin:0 0 16px;
}
.legal-shell .legal-hub-icon{display:grid;place-items:center;width:47px;height:47px;border:1px solid #ebdfd8;
 border-radius:13px;background:#fff;color:#a9634a;font-size:1.4rem}
.legal-shell .legal-hub-section-heading h2{
 margin:0 0 3px!important;font-size:1.32rem!important;line-height:1.28!important;font-weight:740!important;
}
.legal-shell .legal-hub-section-heading p:not(.legal-eyebrow){margin:0;font-size:.76rem;color:#6c6662}
.legal-shell .legal-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.legal-shell .legal-card{
 display:flex;flex-direction:column;gap:9px;min-height:200px;min-width:0;padding:19px;
 border:1px solid #e8dfd9;border-radius:17px;background:rgba(255,255,255,.92);
 color:#282225;text-decoration:none;box-shadow:0 11px 25px -27px #2820206b;
 transition:border-color .18s,transform .18s;
}
.legal-shell .legal-card:hover{transform:translateY(-2px);border-color:#d9b39d}
.legal-shell .legal-card-top{display:flex;justify-content:space-between;align-items:center;color:#997662;font:730 .62rem/1.5 var(--mono,monospace);letter-spacing:.04em}
.legal-shell .legal-card-top span:last-child{font-family:system-ui;font-size:1rem}
.legal-shell .legal-card h3{
 margin:0!important;font-size:.99rem!important;font-weight:755!important;line-height:1.35!important;letter-spacing:-.03em!important;
}
.legal-shell .legal-card p{margin:0!important;color:#706461;font-size:.73rem;line-height:1.6}
.legal-shell .legal-card-footer{margin-top:auto;padding-top:13px;border-top:1px solid #eee8e4;color:#92847d;font-size:.64rem}
.legal-shell .legal-hub-contact{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;
 margin:35px 0 60px;padding:clamp(23px,3vw,34px);border:1px solid #ead9cd;
 border-radius:19px;background:linear-gradient(120deg,#faede5,#f6f0fa);
}
.legal-shell .legal-hub-contact h2{
 margin:0 0 5px!important;font-family:Georgia,serif;font-size:clamp(1.25rem,2.3vw,1.65rem)!important;
 font-weight:550!important;line-height:1.25!important;letter-spacing:-.045em!important;
}
.legal-shell .legal-hub-contact p:not(.legal-eyebrow){margin:0;color:#776a66;font-size:.79rem}
.legal-shell .legal-hub-contact>a{
 display:inline-flex;align-items:center;gap:9px;max-width:100%;
 min-height:45px;padding:10px 15px;border-radius:12px;
 background:#201c1d;color:white;text-decoration:none;
 font-size:.75rem;font-weight:720;overflow-wrap:anywhere;
}
body.corner-comfort.corner-legal .reading-preferences{
 max-width:min(950px,calc(100vw - 28px));margin:22px auto!important;
 border-radius:15px;
}
@media(max-width:1280px){
 .legal-shell .legal-content-grid{grid-template-columns:minmax(185px,.66fr) minmax(0,2.3fr)}
 .legal-shell .legal-onpage{display:none}
 .legal-shell .legal-mobile-index{
  display:block;margin:0 0 23px;padding:12px 16px;border:1px solid #eae0da;border-radius:13px;background:#fdfaf8;
 }
 .legal-shell .legal-mobile-index summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:32px;color:#453a39;font-size:.78rem;font-weight:730}
 .legal-shell .legal-mobile-index summary::-webkit-details-marker{display:none}
 .legal-shell .legal-mobile-index nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:11px}
 .legal-shell .legal-mobile-index nav a{font-size:.7rem;padding:8px;text-decoration:none;color:#915c47;background:white;border-radius:7px}
 .legal-shell .legal-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 .legal-shell .legal-content-grid{grid-template-columns:minmax(0,1fr)}
 .legal-shell .legal-sidebar{
  position:static;max-height:none;padding:13px;grid-template-columns:1fr;
 }
 .legal-shell .legal-sidebar-heading,.legal-shell .legal-all-link{display:none}
 .legal-shell .legal-sidebar .legal-group{display:none}
 .legal-shell .legal-sidebar-contact{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
 .legal-shell .legal-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .legal-shell .legal-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 body.corner-comfort.corner-legal .legal-shell{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
 .legal-shell .legal-breadcrumb{margin:17px 0 0;font-size:.69rem;gap:6px}
 .legal-shell .legal-hero{padding:22px 0 23px}
 .legal-shell .legal-hero h1{font-size:clamp(2rem,8.1vw,2.55rem)!important;line-height:1.18!important}
 .legal-shell .legal-hero .legal-lede{font-size:.88rem;line-height:1.61}
 .legal-shell .legal-meta{margin-top:12px;gap:6px;font-size:.67rem}
 .legal-shell .legal-content-grid{padding:15px 0;gap:11px}
 .legal-shell .legal-article{padding:clamp(13px,4.2vw,20px);border-radius:17px}
 .legal-shell .legal-section{margin-bottom:18px;padding-bottom:18px}
 .legal-shell .legal-section h2{font-size:1.03rem!important}
 .legal-shell .legal-section p{font-size:.81rem;line-height:1.77}
 .legal-shell .legal-section .legal-points li{font-size:.77rem}
 .legal-shell .legal-overview{padding:14px}
 .legal-shell .legal-choice-panel{grid-template-columns:minmax(0,1fr);padding:15px;gap:9px}
 .legal-shell .legal-choice-icon{width:37px;height:37px}
 .legal-shell .legal-choice-actions a{width:100%;justify-content:center}
 .legal-shell .legal-mobile-index nav{grid-template-columns:minmax(0,1fr)}
 .legal-shell .legal-related-grid{grid-template-columns:minmax(0,1fr);gap:9px}
 .legal-shell .legal-related-item{min-height:105px;padding:14px}
 .legal-shell .legal-card-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .legal-shell .legal-card{min-height:145px;padding:15px}
 .legal-shell .legal-hub-note{padding:14px}
 .legal-shell .legal-hub-contact{padding:17px;margin-bottom:35px}
 .legal-shell .legal-hub-contact>a{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
 .legal-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media(forced-colors:active){
 body.corner-comfort.corner-legal{background:Canvas;color:CanvasText}
 .legal-shell .legal-article,.legal-shell .legal-sidebar,.legal-shell .legal-card{border:2px solid CanvasText;background:Canvas;color:CanvasText}
 .legal-shell .legal-links a.is-active{background:Highlight;color:HighlightText}
}
@media print{
 body.corner-comfort.corner-legal{background:white!important;color:#000!important}
 .legal-shell .legal-sidebar,.legal-shell .legal-onpage,.legal-shell .legal-hub-note,
 .legal-shell .legal-backtop,.legal-shell .legal-choice-panel,
 body.corner-legal .corner-rail,body.corner-legal .corner-orbit-dock{display:none!important}
 .legal-shell .legal-content-grid{display:block}
 .legal-shell .legal-article{border:0;box-shadow:none;padding:0}
 .legal-shell .legal-section{break-inside:avoid}
 .legal-shell .legal-hero{padding:12px 0}
 .legal-shell .legal-hero h1{font-size:26pt!important}
 .legal-shell .legal-data-table{min-width:0}
}
