/**
 * Inner pages (default + legal) — same shell as contact-html.css.
 */

body.oc365-html-inner{
--oc365-inner-font-heading:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--oc365-inner-font-body:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.oc365-html-inner .inner-page-hero{
padding:60px 0 100px;
background:var(--oc365-color-bg, #fafafa);
min-height:50vh;
}

body.oc365-html-inner .inner-page-hero > .container{
max-width:1280px;
padding-left:24px;
padding-right:24px;
margin-left:auto;
margin-right:auto;
box-sizing:border-box;
}

body.oc365-html-inner .inner-page-header{
max-width:100%;
margin:0 0 40px;
text-align:left;
}

body.oc365-html-inner .inner-page-title{
font-family:var(--oc365-inner-font-heading);
font-size:2.5rem;
font-weight:800;
letter-spacing:-0.02em;
line-height:1.25;
color:var(--oc365-color-text, #111827);
margin:0 0 12px;
}

body.oc365-html-inner .inner-page-subtitle{
font-family:var(--oc365-inner-font-body);
font-size:1.1rem;
font-weight:400;
letter-spacing:normal;
line-height:1.6;
color:var(--oc365-color-text-muted, #6b7280);
margin:0 0 0;
max-width:600px;
}

body.oc365-html-inner .inner-page-header .inner-page-subtitle{
margin-bottom:0;
}

body.oc365-html-inner .inner-page-meta{
font-family:var(--oc365-inner-font-body);
font-size:0.85rem;
font-weight:400;
line-height:1.5;
color:var(--oc365-color-text-muted, #9ca3af);
margin:12px 0 0;
}

body.oc365-html-inner .inner-page-body{
width:100%;
}

body.oc365-html-inner .inner-page-body--with-aside{
display:grid;
grid-template-columns:220px minmax(0, 1fr);
gap:48px;
align-items:start;
}

body.oc365-html-inner .inner-page-main{
min-width:0;
}

body.oc365-html-inner .inner-page-aside{
position:sticky;
top:calc(24px + var(--oc365-sticky-offset, 0px));
}

body.oc365-html-inner .inner-page-legal-nav{
background-color:var(--oc365-color-card, #fff);
border:1px solid var(--oc365-color-border, #e5e7eb);
border-radius:10px;
padding:24px;
box-shadow:0 1px 2px rgba(0, 0, 0, 0.04);
}

body.oc365-html-inner .inner-page-legal-nav__label{
font-family:var(--oc365-inner-font-heading);
font-size:0.75rem;
font-weight:600;
letter-spacing:0.06em;
text-transform:uppercase;
color:var(--oc365-color-text-muted, #6b7280);
margin:0 0 12px;
}

body.oc365-html-inner .inner-page-legal-nav__list{
list-style:none;
margin:0;
padding:0;
display:flex;
flex-direction:column;
gap:4px;
}

body.oc365-html-inner .inner-page-legal-nav__list a{
display:block;
padding:10px 12px;
font-family:var(--oc365-inner-font-body);
font-size:0.95rem;
font-weight:500;
line-height:1.35;
color:var(--oc365-color-text, #111827);
text-decoration:none;
border-radius:6px;
transition:0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.oc365-html-inner .inner-page-legal-nav__list a:hover{
background-color:var(--oc365-color-bg, #fafafa);
color:var(--oc365-color-text, #111827);
}

body.oc365-html-inner .inner-page-legal-nav__list a[aria-current="page"]{
background-color:#0f172a;
color:#fff;
}

/* Content card — matches .contact-form-card */
body.oc365-html-inner .inner-page-card{
background-color:var(--oc365-color-card, #fff);
border:1px solid var(--oc365-color-border, #e5e7eb);
border-radius:10px;
padding:40px;
box-shadow:0 1px 2px rgba(0, 0, 0, 0.04);
}

body.oc365-html-inner .inner-page-featured-image{
display:block;
width:100%;
height:auto;
border-radius:6px;
margin:0 0 24px;
}

body.oc365-html-inner .inner-page-card.oc365-prose{
font-family:var(--oc365-inner-font-body);
font-size:0.95rem;
font-weight:400;
line-height:1.75;
letter-spacing:normal;
color:var(--oc365-color-text, #111827);
}

body.oc365-html-inner .legal-section{
scroll-margin-top:120px;
}

body.oc365-html-inner .legal-section + .legal-section{
margin-top:3rem;
padding-top:3rem;
border-top:1px solid var(--oc365-color-border, #e5e7eb);
}

body.oc365-html-inner .legal-section .legal-updated{
margin-top:-0.25rem;
margin-bottom:1.25rem;
color:var(--oc365-color-text-muted, #6b7280);
}

body.oc365-html-inner .inner-page-card.oc365-prose > :first-child{
margin-top:0;
}

body.oc365-html-inner .inner-page-card.oc365-prose h2{
font-family:var(--oc365-inner-font-heading);
font-size:1.25rem;
font-weight:700;
letter-spacing:-0.02em;
line-height:1.3;
color:var(--oc365-color-text, #111827);
margin:2em 0 0.75em;
}

body.oc365-html-inner .inner-page-card.oc365-prose h2:first-child{
margin-top:0;
}

body.oc365-html-inner .inner-page-card.oc365-prose h3{
font-family:var(--oc365-inner-font-heading);
font-size:1.1rem;
font-weight:600;
line-height:1.35;
margin:1.5em 0 0.5em;
}

body.oc365-html-inner .inner-page-card.oc365-prose h4,
body.oc365-html-inner .inner-page-card.oc365-prose h5,
body.oc365-html-inner .inner-page-card.oc365-prose h6{
font-family:var(--oc365-inner-font-heading);
font-weight:600;
margin:1.25em 0 0.5em;
}

body.oc365-html-inner .inner-page-card.oc365-prose p{
margin:0 0 1.25em;
}

body.oc365-html-inner .inner-page-card.oc365-prose p:last-child{
margin-bottom:0;
}

body.oc365-html-inner .inner-page-card.oc365-prose ul,
body.oc365-html-inner .inner-page-card.oc365-prose ol{
margin:0 0 1.25em;
padding-left:1.5em;
}

body.oc365-html-inner .inner-page-card.oc365-prose li{
margin-bottom:0.35em;
}

body.oc365-html-inner .inner-page-card.oc365-prose a{
color:var(--oc365-color-text, #111827);
font-weight:500;
text-decoration:underline;
text-underline-offset:2px;
}

body.oc365-html-inner .inner-page-card.oc365-prose a:hover{
color:var(--oc365-color-text-muted, #374151);
}

body.oc365-html-inner .inner-page-card.oc365-prose blockquote{
margin:1.5em 0;
padding:1em 1.25em;
border-left:3px solid var(--oc365-color-border, #e5e7eb);
background:var(--oc365-color-bg, #fafafa);
border-radius:0 6px 6px 0;
}

body.oc365-html-inner .inner-page-card .page-links{
margin-top:2rem;
padding-top:1.25rem;
border-top:1px solid var(--oc365-color-border, #e5e7eb);
font-family:var(--oc365-inner-font-body);
font-size:0.9rem;
}

/* Reveal (home-html-effects.js) */
body.oc365-html-inner .reveal{
opacity:0;
transform:translateY(24px);
transition:opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
will-change:transform, opacity;
}

body.oc365-html-inner .reveal.active{
opacity:1;
transform:translateY(0);
}

body.oc365-html-inner .inner-page-aside.reveal{
transition-delay:0.08s;
}

body.oc365-html-inner .inner-page-card.reveal{
transition-delay:0.12s;
}

body.admin-bar{
--oc365-sticky-offset:32px;
}

@media (max-width:782px){
body.admin-bar{
--oc365-sticky-offset:46px;
}
}

@media (max-width:1024px){
body.oc365-html-inner .inner-page-body--with-aside{
grid-template-columns:1fr;
gap:32px;
}

body.oc365-html-inner .inner-page-aside{
position:static;
order:-1;
}

body.oc365-html-inner .inner-page-legal-nav__list{
flex-direction:row;
flex-wrap:wrap;
gap:8px;
}

body.oc365-html-inner .inner-page-legal-nav__list a{
padding:8px 14px;
border:1px solid var(--oc365-color-border, #e5e7eb);
}

body.oc365-html-inner .inner-page-legal-nav__list a[aria-current="page"]{
border-color:#0f172a;
}
}

@media (max-width:768px){
body.oc365-html-inner .inner-page-hero{
padding:48px 0 72px;
}

body.oc365-html-inner .inner-page-title{
font-size:2rem;
}

body.oc365-html-inner .inner-page-header{
margin-bottom:32px;
}

body.oc365-html-inner .inner-page-card{
padding:28px 24px;
}

body.oc365-html-inner .inner-page-card.oc365-prose{
font-size:16px;
}
}


/**
 * Inner page typography — wins over typography-html (literal contact stacks).
 */

body.oc365-html-inner.oc365-html-typography .inner-page-title{
font-family:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-size:2.5rem !important;
font-weight:800 !important;
letter-spacing:-0.02em !important;
line-height:1.25 !important;
}

body.oc365-html-inner.oc365-html-typography .inner-page-subtitle{
font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-size:1.1rem !important;
font-weight:400 !important;
letter-spacing:normal !important;
line-height:1.6 !important;
}

body.oc365-html-inner.oc365-html-typography .inner-page-meta{
font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-size:0.85rem !important;
}

body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose,
body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose p,
body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose li{
font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-size:0.95rem !important;
font-weight:400 !important;
letter-spacing:normal !important;
line-height:1.75 !important;
}

body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose h2,
body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose h3,
body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose h4{
font-family:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body.oc365-html-inner.oc365-html-typography .inner-page-legal-nav__label,
body.oc365-html-inner.oc365-html-typography .inner-page-legal-nav__list a{
font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

@media (max-width:768px){
body.oc365-html-inner.oc365-html-typography .inner-page-title{
font-size:2rem !important;
}

body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose,
body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose p,
body.oc365-html-inner.oc365-html-typography .inner-page-card.oc365-prose li{
font-size:16px !important;
}
}
