@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@700;800&display=swap");

:root { --bg:#fff; --surface-soft:#f7f5fb; --border:rgba(92,43,130,.14); --text:#1f2544; --muted:#4f5878; --primary:#5c2b82; --primary-dark:#3f1c62; --teal:#138b98; --blue:#2f4aa0; --shadow:0 18px 42px rgba(31,37,68,.09); --container:1280px; --gutter:48px; --heading:"Manrope","Avenir Next",sans-serif; --body:"Inter","Segoe UI",sans-serif; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:30px; }
body { margin:0; color:var(--text); background:var(--bg); font-family:var(--body); -webkit-font-smoothing:antialiased; }
h1,h2,h3,.eyebrow,.nav-links,.button,.clause-number,.procedure-label,.copy-button { font-family:var(--heading); }
h1,h2,h3,p { margin-top:0; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
.container { width:min(calc(100% - var(--gutter)),var(--container)); margin:0 auto; }
.site-shell { overflow:hidden; }
.topbar,.site-header { position:relative; z-index:20; padding:30px 0 18px; background:linear-gradient(180deg,rgba(255,255,255,.93),rgba(255,255,255,.42) 72%,rgba(255,255,255,0)); backdrop-filter:blur(8px); }
.nav { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:inline-flex; align-items:center; }
.brand img { width:90px; height:auto; }
.nav-links { display:flex; align-items:center; gap:30px; color:var(--text); font-size:.96rem; font-weight:600; letter-spacing:-.02em; }
.nav-actions { display:flex; align-items:center; gap:14px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 22px; border:1px solid transparent; border-radius:12px; font-weight:700; letter-spacing:-.02em; transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.button:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(31,37,68,.12); }
.button-primary { color:#fff; background:var(--primary); }
.button-primary:hover { background:var(--primary-dark); }

.clauses-hero { position:relative; min-height:535px; display:grid; align-items:center; overflow:hidden; background:#eee9f4; }
.clauses-hero::before { content:""; position:absolute; inset:0; background:url("../images/smc-banner-img.png") center/cover no-repeat; transform:scale(1.02); filter:saturate(.82); }
.clauses-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.96) 36%,rgba(255,255,255,.79) 52%,rgba(255,255,255,.18) 73%,rgba(255,255,255,.02) 100%),linear-gradient(0deg,rgba(38,18,75,.1),transparent 42%); }
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.08fr .92fr; padding:66px 0 80px; }
.breadcrumb { display:flex; align-items:center; gap:10px; margin-bottom:27px; color:var(--muted); font-size:.9rem; }
.breadcrumb a { color:var(--primary); font-weight:700; }
.eyebrow { display:inline-block; margin-bottom:15px; color:var(--primary); font-size:.78rem; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
h1 { max-width:760px; margin-bottom:22px; color:var(--primary); font-size:clamp(4rem,5vw,4.5rem); line-height:.98; letter-spacing:-.065em; }
.hero-copy>p { max-width:630px; margin-bottom:28px; color:var(--muted); font-size:1.12rem; line-height:1.78; }
.hero-links { display:flex; flex-wrap:wrap; gap:11px; }
.hero-links a { display:inline-flex; align-items:center; gap:9px; min-height:42px; padding:0 15px; border:1px solid rgba(92,43,130,.18); border-radius:999px; color:var(--primary); background:rgba(255,255,255,.78); font-size:.82rem; font-weight:800; transition:background .18s ease,border-color .18s ease; }
.hero-links a:hover { border-color:var(--primary); background:#fff; }

.intro-section { padding:86px 0; }
.intro-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:100px; align-items:start; }
.intro-heading h2 { margin-bottom:0; color:var(--primary); font-size:clamp(2.3rem,4vw,3.6rem); line-height:1.04; letter-spacing:-.055em; }
.intro-copy { max-width:720px; color:var(--muted); font-size:1.03rem; line-height:1.85; }
.intro-copy p:last-child { margin-bottom:0; }

.clauses-section { padding:100px 0 110px; background:linear-gradient(180deg,#f8f7fb 0%,#fff 100%); }
.clauses-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:72px; align-items:start; }
.clause-nav { position:sticky; top:30px; display:grid; gap:5px; padding:26px 22px; border:1px solid var(--border); border-radius:20px; background:#fff; box-shadow:0 10px 28px rgba(31,37,68,.055); }
.clause-nav .eyebrow { margin:0 0 9px 9px; }
.clause-nav a { display:grid; grid-template-columns:28px 1fr; gap:8px; padding:12px 9px; border-radius:10px; color:var(--muted); font-size:.86rem; font-weight:700; line-height:1.4; transition:color .18s ease,background .18s ease; }
.clause-nav a span { color:var(--teal); font-size:.7rem; letter-spacing:.06em; }
.clause-nav a:hover { color:var(--primary); background:var(--surface-soft); }
.clause-list { display:grid; gap:30px; min-width:0; }
.clause-card { scroll-margin-top:28px; overflow:hidden; padding:42px; border:1px solid var(--border); border-radius:24px; background:#fff; box-shadow:var(--shadow); }
.clause-heading,.procedure-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:30px; }
.clause-heading { margin-bottom:28px; }
.clause-heading>div,.procedure-heading>div { min-width:0; }
.clause-number,.procedure-label { display:block; margin-bottom:10px; color:var(--teal); font-size:.7rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.clause-heading h2 { margin-bottom:10px; color:var(--primary); font-size:clamp(1.75rem,3vw,2.45rem); line-height:1.12; letter-spacing:-.045em; }
.clause-heading p { max-width:700px; margin-bottom:0; color:var(--muted); line-height:1.68; }
.copy-button { flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0 14px; border:1px solid rgba(92,43,130,.22); border-radius:10px; color:var(--primary); background:#fff; font-size:.75rem; font-weight:800; cursor:pointer; transition:color .18s ease,background .18s ease,border-color .18s ease; }
.copy-button:hover { color:#fff; border-color:var(--primary); background:var(--primary); }
.clause-copy { padding:29px 30px; border-left:4px solid var(--primary); border-radius:0 16px 16px 0; color:#343c5d; background:var(--surface-soft); font-size:.94rem; line-height:1.8; }
.clause-copy p:last-child { margin-bottom:0; }
.clause-copy ol { margin:0; padding-left:20px; }
.clause-copy li { padding-left:8px; }
.clause-copy li+li { margin-top:16px; }
.clause-note { display:flex; align-items:flex-start; gap:12px; margin-top:18px; color:var(--muted); font-size:.8rem; line-height:1.5; }
.clause-note strong { flex:0 0 auto; color:var(--primary); }
.procedure-block { padding-top:34px; border-top:1px solid var(--border); }
.procedure-block+.procedure-block { margin-top:40px; }
.procedure-heading { margin-bottom:13px; }
.procedure-heading h3 { max-width:700px; margin-bottom:0; font-size:1.25rem; line-height:1.35; letter-spacing:-.025em; }
.procedure-intro { margin-bottom:20px; color:var(--muted); font-size:.88rem; font-style:italic; line-height:1.65; }
.procedure-intro strong { color:var(--primary); }
.guidance-section { padding:0 0 110px; }
.help-panel { display:flex; align-items:center; justify-content:space-between; gap:42px; padding:43px 48px; border-radius:24px; color:#fff; background:linear-gradient(120deg,#32155c,#5c2b82 55%,#2f4aa0); box-shadow:var(--shadow); }
.help-panel .eyebrow { color:#d8c3e8; }
.help-panel h2 { margin-bottom:10px; font-size:clamp(1.8rem,3vw,2.6rem); letter-spacing:-.045em; }
.help-panel p { max-width:650px; margin:0; color:rgba(255,255,255,.78); line-height:1.68; }
.help-panel .button { flex:0 0 auto; color:var(--primary); background:#fff; }

.site-footer { width:100%; padding:46px max(32px,calc((100vw - var(--container))/2)) 28px; color:rgba(255,255,255,.88); background:linear-gradient(90deg,#26124b 0%,#2e1960 45%,#341f72 100%); }
.footer-grid { display:grid; grid-template-columns:1.45fr 1fr 1fr 1fr 1.12fr; gap:28px; }
.footer-column { display:flex; flex-direction:column; gap:11px; }
.footer-brand img { width:122px; margin-bottom:13px; }
.footer-brand-copy { max-width:245px; color:rgba(255,255,255,.72); font-size:.9rem; line-height:1.65; }
.footer-title { margin-bottom:4px; color:#fff; font-size:.95rem; font-weight:800; }
.footer-links { display:grid; gap:9px; color:rgba(255,255,255,.77); font-size:.88rem; }
.footer-links a:hover { color:#fff; }
.footer-meta { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-top:34px; padding-top:24px; border-top:1px solid rgba(255,255,255,.13); color:rgba(255,255,255,.62); font-size:.84rem; }
.footer-meta-links { display:flex; flex-wrap:wrap; gap:14px; }
.reveal { opacity:0; transform:translateY(20px); transition:opacity .55s ease,transform .55s ease; }
.reveal.visible { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; } .reveal { opacity:1; transform:none; } }
@media (max-width:1100px) { .clauses-layout { grid-template-columns:220px minmax(0,1fr); gap:36px; } .footer-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:840px) { .nav { flex-wrap:wrap; gap:18px; } .nav-links { order:3; width:100%; } .nav-actions { margin-left:auto; } .hero-grid { grid-template-columns:1fr; } .intro-grid { grid-template-columns:1fr; gap:24px; } .clauses-layout { grid-template-columns:1fr; } .clause-nav { position:static; grid-template-columns:repeat(3,minmax(0,1fr)); } .clause-nav .eyebrow { grid-column:1/-1; } .clause-heading,.procedure-heading { flex-direction:column; gap:18px; } .help-panel { align-items:flex-start; flex-direction:column; } }
@media (max-width:680px) { :root { --gutter:28px; } .topbar { padding-top:16px; padding-bottom:12px; } .brand { width:100%; justify-content:center; } .brand img { width:82px; } .nav-actions { width:100%; margin-left:0; } .nav-actions .button { width:100%; } .clauses-hero { min-height:645px; } .clauses-hero::before { background-position:66% center; } .clauses-hero::after { background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(255,255,255,.94) 60%,rgba(255,255,255,.6)); } .hero-grid { padding:51px 0 74px; } .hero-copy>p { font-size:1rem; } .hero-links { align-items:stretch; flex-direction:column; } .hero-links a { justify-content:space-between; } .intro-section,.clauses-section { padding:72px 0 82px; } .clause-nav { grid-template-columns:1fr; } .clause-nav .eyebrow { grid-column:auto; } .clause-card { padding:28px 21px; border-radius:18px; } .copy-button { width:100%; justify-content:center; } .clause-copy { padding:24px 20px; font-size:.88rem; } .clause-note { flex-direction:column; gap:4px; } .guidance-section { padding-bottom:82px; } .help-panel { padding:34px 25px; } .help-panel .button { width:100%; } .footer-grid { grid-template-columns:1fr; } .site-footer { padding-right:22px; padding-left:22px; } .footer-meta { align-items:flex-start; flex-direction:column; } }
