/* ===== Minimal Alternating Gray Blocks ===== */

:root{
--text:#222;
--muted:#555;
--link:#0d47a1; /* understated, still monochrome-friendly */
--bg:#ffffff; /* page base */
--g10:#f7f7f8; /* light gray */
--g20:#f1f2f4; /* slightly deeper gray */
--rule:#dadde1; /* divider rule */
--card:#ffffff;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
margin:0;
color:var(--text);
background:var(--bg);
font:16px/1.65 "Segoe UI", Roboto, Arial, sans-serif;
}

/* Header */
.site-header{
background:#111; /* monochrome */
color:#fff;
padding:2.25rem 1rem;
}

/* Tagline Section */
.tagline-section {
background: linear-gradient(135deg, #3a3a3a 0%, #555555 100%);
color: #fff;
padding: 3rem 1rem;
text-align: center;
}

.tagline {
font-size: 2rem;
font-weight: 600;
margin: 0 0 1rem 0;
line-height: 1.3;
border: none;
padding: 0;
}

.tagline-subtext {
font-size: 1.15rem;
margin: 0;
opacity: 0.95;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

/* Trust Badges */
.trust-badges {
background: #fff;
padding: 2rem 1rem;
border-bottom: 1px solid var(--rule);
}

.badges-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
max-width: 1000px;
margin: 0 auto;
}

.badge-item {
text-align: center;
padding: 1rem;
}

.badge-icon {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}

.badge-text {
font-size: 0.95rem;
font-weight: 600;
color: var(--text);
}

/* CTA Section */
.cta-section {
background: #fff;
padding: 3rem 1rem;
border-top: 3px solid #555;
border-bottom: 3px solid #555;
}

.cta-box {
max-width: 700px;
margin: 0 auto;
text-align: center;
}

.cta-box h3 {
font-size: 1.75rem;
margin: 0 0 1rem 0;
color: var(--text);
}

.cta-box p {
font-size: 1.05rem;
margin: 0 0 1.5rem 0;
color: var(--muted);
}

.cta-button {
display: inline-block;
background: #3a3a3a;
color: #fff;
padding: 0.875rem 2rem;
border-radius: 6px;
font-weight: 600;
font-size: 1.05rem;
text-decoration: none;
transition: background 0.3s ease, transform 0.2s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
background: #222;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
text-decoration: none;
}

/* Section Icons */
.section-icon {
margin-right: 0.5rem;
font-size: 1.25rem;
vertical-align: middle;
}
.brand{
max-width:1080px;
margin:0 auto;
display:flex;
align-items:center;
gap:1rem;
}
.brand .logo{
width: auto;
max-height: 60px;
border-radius: 8px !important; /* force a rounded-rectangle */
background: #fff;
border: 2px solid #fff;
padding: 4px;
object-fit: contain;
}
.brand .profile {
max-height: 72px;
border-radius: 50%; /* circular profile photo */
border: 2px solid #fff;
background: #fff;
object-fit: cover;
}
.brand-text h1{
margin:.1rem 0 .2rem 0;
font-size:1.55rem;
line-height:1.25;
}
.brand-text p{
margin:0;
color:#e7e7e7;
font-size:1rem;
}

/* Alternating blocks */
.content{
display:block;
}
.block{
/* alternating minimal gray backgrounds */
background:var(--g10);
}
.block:nth-of-type(even){
background:var(--g20);
}

/* Inner container keeps text readable */
.container{
max-width:980px;
margin:0 auto;
padding:2.25rem 1.25rem;
}

/* Headings */
h2{
margin:0 0 .75rem 0;
font-size:1.35rem;
border-left:5px solid var(--rule);
padding-left:.75rem;
}

/* Type & lists */
p{ margin:.75rem 0; }
ul{ padding-left:1.2rem; margin:.5rem 0; }
li+li{ margin-top:.25rem; }

a{
color:var(--link);
text-decoration:none;
font-weight:500;
}
a:hover{ text-decoration:underline; }

/* "Doc list" and notes */
.doc-list{ margin:0 0 1rem 0; }
.hint{
font-size:.95rem;
color:var(--muted);
}
.note{
background:#fffdf2;
border:1px solid #f2e3a6;
border-left:4px solid #e6c552;
padding:.75rem 1rem;
border-radius:8px;
margin-top:1rem;
}

/* Optional: soft separators inside a block */
.container > * + *{
border-top:1px solid transparent; /* placeholder for rhythm if needed */
}

/* Table of Contents */
.toc-nav ul {
list-style: none;
padding-left: 0;
margin: 1rem 0;
}

.toc-nav li {
margin: 0.5rem 0;
padding-left: 1.5rem;
position: relative;
}

.toc-nav li::before {
content: "→";
position: absolute;
left: 0;
color: var(--link);
font-weight: bold;
}

.toc-nav a {
display: inline-block;
padding: 0.25rem 0;
transition: padding-left 0.2s ease;
}

.toc-nav a:hover {
padding-left: 0.5rem;
}

/* Footer */
.site-footer{
border-top:1px solid var(--rule);
text-align:center;
color:#666;
padding:2rem 1rem 3rem;
background:#fff;
}

/* Sticky Home Button */
.sticky-home {
position: fixed;
bottom: 2rem;
right: 2rem;
width: 50px;
height: 50px;
background: var(--link);
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 1.5rem;
font-weight: bold;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
transition: background 0.3s ease, transform 0.2s ease;
z-index: 1000;
}

.sticky-home:hover {
background: #0a3a7a;
transform: scale(1.1);
text-decoration: none;
}

.sticky-home span {
line-height: 1;
}
/* === Contact Section === */
.contact-icons a {
display: inline-flex;
align-items: center;
margin-right: 12px;
text-decoration: none;
color: inherit;
font-size: 0.95rem;
}

.contact-icons .icon {
width: 18px;
height: 18px;
margin-right: 6px;
vertical-align: middle;
filter: grayscale(100%) brightness(0.8);
opacity: 0.8;
transition: filter 0.3s ease, opacity 0.3s ease;
}

.contact-icons a:hover .icon {
filter: grayscale(0%) brightness(1);
opacity: 1;
}
/* Enforce small icon size */
img.icon,
.contact-icons img.icon,
.contact-block img.icon {
width: 18px !important;
height: 18px !important;
display: inline-block;
vertical-align: middle;
}

/* ===== Responsive header layout ===== */
@media (max-width: 768px) {
.brand {
flex-direction: column;
text-align: center;
gap: 0.75rem;
}

.brand .profile {
max-height: 64px;
}

.brand .logo {
max-height: 52px;
}

.brand-text h1 {
font-size: 1.25rem;
}

.brand-text p {
font-size: 0.95rem;
}

.sticky-home {
bottom: 1rem;
right: 1rem;
width: 45px;
height: 45px;
font-size: 1.25rem;
}

.tagline {
font-size: 1.5rem;
}

.tagline-subtext {
font-size: 1rem;
}

.badges-grid {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}

.cta-box h3 {
font-size: 1.4rem;
}

.cta-button {
padding: 0.75rem 1.5rem;
font-size: 1rem;
}
}
/* End of file */
