/* Dhivehi Font Studio — Public UI v6
   Consistent product-site design system. */
:root{
  --bg:#07111b;--bg-soft:#0a1722;--surface:#0e1e2d;--surface-2:#112535;
  --line:#213746;--line-soft:#182c39;--heading:#f8fbfc;--text:#b7c8d0;--muted:#7f949e;
  --accent:#b8ff31;--accent-2:#19d7bd;--light:#eef3f4;--light-surface:#f8fbfb;--ink:#12212b;
  --container:1180px;--container-wide:1280px;--radius:14px;--radius-sm:9px;
  --shadow:0 24px 70px rgba(0,0,0,.26);--section:86px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--heading);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.wrap{width:min(var(--content-width, var(--container)),calc(100% - 48px));margin-inline:auto}

/* Navigation */
.nav{height:74px;display:flex;align-items:center;position:sticky;top:0;z-index:50;background:rgba(7,17,27,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.navin{width:min(var(--container-wide),calc(100% - 48px));margin:auto;display:grid;grid-template-columns:auto 1fr auto auto;gap:28px;align-items:center}
.brand{display:inline-flex;align-items:center;gap:11px;min-width:max-content}.brand img{width:auto;height:auto;max-width:280px;max-height:50px;object-fit:contain;display:block}.brand b{font-size:17px;color:var(--heading);letter-spacing:-.02em}
.menu{display:flex;justify-content:center;align-items:center;gap:28px;font-size:13px;color:#a9bbc4}.menu a{position:relative;padding:27px 0 25px}.menu a:after{content:"";position:absolute;height:2px;left:50%;right:50%;bottom:0;background:var(--accent);transition:.2s}.menu a:hover,.menu a.active{color:var(--heading)}.menu a.active:after,.menu a:hover:after{left:0;right:0}
.pill,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);color:#102000;border:1px solid var(--accent);padding:11px 17px;border-radius:8px;font-weight:800;font-size:13px;line-height:1.2;transition:transform .2s,filter .2s,border-color .2s}.pill:hover,.btn:hover{transform:translateY(-1px);filter:brightness(1.03)}.ghost{background:transparent;color:var(--heading);border-color:#385060}.ghost:hover{border-color:#6d8793}.mode-toggle{width:36px;height:36px;display:grid;place-items:center;padding:0!important;border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--text)!important;border-radius:8px}

/* Core type + rhythm */
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-weight:900}
h1,h2,h3,h4,p{overflow-wrap:break-word}.hero h1,.pageHero h1{font-size:clamp(48px,5.1vw,68px);line-height:1.08;letter-spacing:-.018em;margin:15px 0 20px;max-width:850px}.head h2,.sectionIntro h2,.splitFeature h2{font-size:clamp(34px,3.5vw,46px);line-height:1.12;letter-spacing:-.015em;margin:10px 0 16px}.card h3,.templateCard h3,.lightPanel h3{font-size:20px;line-height:1.25;margin:0 0 9px}.lead{font-size:17px;line-height:1.7;color:var(--text);max-width:730px}.section{padding:var(--section) 0}.alt{background:var(--bg-soft);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.light{background:var(--light);color:var(--ink)}

/* Hero */
.hero{padding:78px 0 72px;background:radial-gradient(circle at 82% 18%,rgba(184,255,49,.09),transparent 31%),linear-gradient(145deg,#07111b,#0a1b28)}
.heroGrid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);gap:58px;align-items:center}.heroGrid>div{min-width:0}.hero .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:27px}.heroTags{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.heroTags span{display:inline-flex!important;align-items:center;border:1px solid #2c4352;background:#0a1721;padding:7px 10px;border-radius:999px;color:#9fb3bd;font-size:11px;line-height:1.2}.heroTags span:before{content:"";width:5px;height:5px;background:var(--accent);border-radius:50%;margin-right:7px}
.shot{background:#dfe6e9;padding:7px;border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.shot img{display:block;width:100%;border-radius:10px}.productShot{background:#dce3e6}

/* Proof / capability strip */
.proofStrip{padding:24px 0;background:#08141e;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.proofItems{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.proofItems>div{min-width:0;padding:16px 17px;border:1px solid var(--line);border-radius:10px;background:rgba(14,30,45,.6)}.proofItems strong{display:block;color:var(--heading);font-size:13px;line-height:1.3}.proofItems span{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:5px}

/* Section heading */
.head{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(280px,.75fr);gap:56px;align-items:end;margin-bottom:34px}.head>div,.head>p{min-width:0}.head p{color:var(--muted);max-width:510px;margin:0 0 3px;font-size:15px}.sectionIntro{max-width:820px;margin-bottom:34px}.sectionIntro>p{font-size:16px;color:var(--text);max-width:720px;margin:0}

/* Cards / grids */
.grid3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{min-width:0;border:1px solid var(--line);background:linear-gradient(180deg,rgba(16,35,50,.93),rgba(12,27,39,.93));border-radius:var(--radius);padding:24px;transition:transform .22s,border-color .22s,background .22s}.card:hover{transform:translateY(-3px);border-color:#345365;background:linear-gradient(180deg,#112737,#0e202e)}.card p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}.card .icon{font-family:"Noto Sans Thaana","Segoe UI",sans-serif;font-size:31px;color:var(--accent);margin-bottom:18px}.featureGrid .featureCard{position:relative;padding-top:50px}.featureMark{position:absolute;left:24px;top:21px;color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.14em}

/* Split feature */
.splitFeature{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:52px;align-items:center}.splitFeature>div{min-width:0}.featureBullets{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:24px 0 20px}.featureBullets span{display:flex!important;align-items:flex-start;gap:9px;min-width:0;padding:10px 0;border-top:1px solid var(--line);color:var(--text);font-size:12px;line-height:1.5}.featureBullets span:before{content:"";flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-top:6px}.textLink{display:inline-flex;margin-top:4px;color:var(--accent);font-size:13px;font-weight:800}

/* Page hero */
.pageHero{padding:72px 0 56px;background:radial-gradient(circle at 82% 0,rgba(184,255,49,.08),transparent 30%),#081521;border-bottom:1px solid var(--line-soft)}.pageHero .wrap{max-width:1180px}.pageHero .lead{max-width:790px;margin-bottom:0}

/* Feature matrix */
.featureMatrix{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0!important}.featureMatrix article{min-width:0;min-height:0!important;padding:22px!important;border:1px solid var(--line)!important;border-radius:12px;background:var(--surface)}.featureMatrix h3{font-size:18px;margin:0 0 8px}.featureMatrix p{font-size:13px;line-height:1.65;color:var(--muted);margin:0}

/* Project templates */
.templateGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.templateCard{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px}.templateCard.featured{border-color:#4d6d2a;box-shadow:inset 0 2px 0 var(--accent)}.templateCard p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}.mutedCard{opacity:.92}.status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 7px;border-radius:999px;font-size:9px;text-transform:uppercase;letter-spacing:.09em;font-weight:900}.status.live{background:#1c3417;color:var(--accent)}.status.preview{background:#13323a;color:#63dcc7}.status.soon{background:#30351a;color:#d7e876}

/* Workspace cards */
.workspaceGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;border:0!important}.workspaceGrid>div{min-width:0;min-height:0!important;padding:18px!important;border:1px solid var(--line)!important;border-radius:11px;background:var(--surface)}.workspaceGrid b{display:flex!important;align-items:center;gap:7px;color:var(--heading);font-size:15px}.workspaceGrid small{color:var(--accent);font-size:9px}.workspaceGrid span{display:block;color:var(--muted);font-size:11px;line-height:1.55;margin-top:6px}

/* Light sections / export */
.light .eyebrow{color:#6b9a19}.light .head p,.light .lead,.light p{color:#5d727c}.light .textLink{color:#567c12}.exportFeature{align-items:center}.exportFeature .shot{box-shadow:0 22px 58px rgba(40,61,70,.18)}.specRows{display:grid!important;margin-top:22px;border-top:1px solid #c7d4d8}.specRows>div{display:grid!important;grid-template-columns:145px minmax(0,1fr);gap:18px;padding:11px 0;border-bottom:1px solid #c7d4d8;align-items:start}.specRows b{color:#12212b;font-size:13px}.specRows span{color:#5d717b;font-size:13px;line-height:1.55}.screens{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px;align-items:stretch}.stack{display:grid!important;gap:12px}.lightPanel{background:rgba(255,255,255,.75);border:1px solid #d3dfe2;border-radius:12px;padding:21px}.lightPanel p{margin:0;font-size:13px;line-height:1.65;color:#60737c!important}

/* Font library / story / contact */
.fontgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fontcard{background:#fff;border:1px solid #d6e1e4;border-radius:12px;padding:24px}.fontcard h3{color:var(--ink);font-size:20px;margin:0 0 8px}.fontcard p{color:#657984;margin:0;font-size:13px}.sample{font-family:"Noto Sans Thaana","Segoe UI",sans-serif;font-size:48px;direction:rtl;margin:20px 0;color:#11222b}.story{display:grid!important;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:64px}.story p{font-size:16px;line-height:1.75;color:var(--text);margin-top:0}.contact{display:grid!important;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:60px}.form{display:grid;gap:11px}.form input,.form textarea{width:100%;padding:13px 14px;border:1px solid #c8d5d9;border-radius:8px;background:white;color:#13232c;font:inherit}.form textarea{min-height:150px}

/* Footer */
footer{padding:44px 0 0;background:#040b11;border-top:1px solid var(--line)}.foot{display:grid!important;grid-template-columns:minmax(280px,1.5fr) repeat(3,minmax(130px,.7fr));gap:42px;padding-bottom:32px}.foot h4{margin:0 0 13px;font-size:10px;letter-spacing:.1em;color:#e3ebee}.foot a,.foot p{display:block;margin:7px 0;color:#748e9a;font-size:12px;line-height:1.55}.foot .brand{margin-bottom:10px}

/* Theme light mode — v10.1 */
html[data-theme="light"]{
  --bg:#f4f7f8;--bg-soft:#e9eff1;--surface:#ffffff;--surface-2:#f0f4f5;
  --line:#d6e0e3;--line-soft:#e1e8ea;--heading:#12212b;--text:#455b66;--muted:#667b85;
  --light:#eef3f4;--light-surface:#ffffff;--ink:#12212b;--shadow:0 20px 55px rgba(43,62,70,.13);
}
html[data-theme="light"] body{background:var(--bg);color:var(--heading)}
html[data-theme="light"] #dfsPageContent{color:var(--heading)}
html[data-theme="light"] #dfsPageContent .section{background:#f2f5f6;color:#12212b}
html[data-theme="light"] #dfsPageContent .section.alt{background:#e7edef}
html[data-theme="light"] #dfsPageContent .section.light{background:#eef3f4;color:#12212b}
html[data-theme="light"] #dfsPageContent h1,html[data-theme="light"] #dfsPageContent h2,html[data-theme="light"] #dfsPageContent h3,html[data-theme="light"] #dfsPageContent h4{color:#12212b}
html[data-theme="light"] #dfsPageContent p,html[data-theme="light"] #dfsPageContent .lead,html[data-theme="light"] #dfsPageContent .head p,html[data-theme="light"] #dfsPageContent .sectionIntro>p{color:#536a75}
html[data-theme="light"] .nav,html[data-theme="light"] .cms-nav{background:rgba(247,250,250,.95);border-color:#dbe5e7}
html[data-theme="light"] .brand b,html[data-theme="light"] .menu a:hover,html[data-theme="light"] .menu a.active{color:#12212b}
html[data-theme="light"] .menu,html[data-theme="light"] .menu>.menu-node>a{color:#526974}
html[data-theme="light"] .mode-toggle{background:#edf2f3!important;border-color:#cfdbde!important;color:#334b56!important}
html[data-theme="light"] .hero,html[data-theme="light"] .pageHero{background:linear-gradient(145deg,#f5f8f8,#e8eff1);color:#12212b;border-color:#dbe4e6}
html[data-theme="light"] .lead{color:#536b76}
html[data-theme="light"] .ghost{color:#12212b;border-color:#bdcdd2}
html[data-theme="light"] .proofStrip{background:#e8eef0;border-color:#d6e0e3}
html[data-theme="light"] .proofItems>div{background:#fff;border-color:#d5e0e3}
html[data-theme="light"] .proofItems strong{color:#12212b}
html[data-theme="light"] .proofItems span{color:#607782}
html[data-theme="light"] .card,html[data-theme="light"] .templateCard,html[data-theme="light"] .workspaceGrid>div,html[data-theme="light"] .featureMatrix article,html[data-theme="light"] .cms-cta{background:#fff;border-color:#d5e0e3;color:#12212b;box-shadow:0 8px 24px rgba(43,62,70,.05)}
html[data-theme="light"] .card:hover{background:#fbfdfd;border-color:#bdcdd2}
html[data-theme="light"] .card p,html[data-theme="light"] .templateCard p,html[data-theme="light"] .workspaceGrid span,html[data-theme="light"] .featureMatrix p{color:#607782}
html[data-theme="light"] .workspaceGrid b{color:#12212b}
html[data-theme="light"] .featureBullets span{color:#536b76;border-color:#d5e0e3}
html[data-theme="light"] .heroTags span{background:#eef3f4;border-color:#d2dde0;color:#536b76}
html[data-theme="light"] .shot,html[data-theme="light"] .productShot{background:#dfe7e9;box-shadow:0 20px 50px rgba(39,58,66,.15)}
html[data-theme="light"] .submenu{background:#fff;border-color:#d3dfe2;box-shadow:0 18px 45px rgba(39,58,66,.16)}
html[data-theme="light"] .submenu a{color:#526974}
html[data-theme="light"] .submenu a:hover,html[data-theme="light"] .submenu .active>a{background:#edf3f4;color:#476c10}
html[data-theme="light"] .cms-topbar{background:#e8eef0;border-color:#d5dfe2}
html[data-theme="light"] .topbar-menu>.menu-node>a{color:#526974}
html[data-theme="light"] .status.live{background:#e6f3dd;color:#557f12}
html[data-theme="light"] .status.preview{background:#ddf1ee;color:#137d6d}
html[data-theme="light"] .status.soon{background:#f1f0d9;color:#77781c}
html[data-theme="light"] footer{background:#e5ecee;border-color:#d1dcdf;color:#12212b}
html[data-theme="light"] .foot h4{color:#233943}
html[data-theme="light"] .foot a,html[data-theme="light"] .foot p{color:#5e747f}
html[data-theme="light"] .footer-menu .menu-node>a{color:#5e747f}
html[data-theme="light"] .light .eyebrow{color:#6b9a19}
html[data-theme="light"] .light .head p,html[data-theme="light"] .light .lead,html[data-theme="light"] .light p{color:#5d727c}
html[data-theme="light"] .light .textLink{color:#567c12}

/* CMS free blocks */
.cms-block{padding:30px 0!important}.cms-block>.wrap{max-width:var(--container)}.cms-container{width:min(var(--container),calc(100% - 48px));margin:auto}.cms-image{display:block;max-width:100%;height:auto;border-radius:12px}.cms-cta{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:30px}

/* Responsive */
@media(max-width:1040px){
  .menu{gap:19px}.heroGrid{grid-template-columns:1fr 1fr;gap:36px}.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}.featureMatrix,.templateGrid,.workspaceGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.proofItems{grid-template-columns:repeat(2,minmax(0,1fr))}.screens{grid-template-columns:1fr}.head{grid-template-columns:1fr;gap:8px}.head p{max-width:720px}
}
@media(max-width:820px){
  .navin{grid-template-columns:1fr auto auto}.menu{display:none}.hero{padding:60px 0}.heroGrid,.splitFeature,.story,.contact{grid-template-columns:1fr}.heroGrid{gap:34px}.heroGrid .shot{max-width:620px}.featureBullets{grid-template-columns:1fr}.foot{grid-template-columns:1.3fr 1fr 1fr}.foot>div:last-child{grid-column:2/4}
}
@media(max-width:620px){
  :root{--section:64px}.wrap,.navin{width:min(100% - 30px,var(--container))!important}.brand b{font-size:15px}.pill{display:none}.hero h1,.pageHero h1{font-size:clamp(39px,12vw,54px)}.head h2,.sectionIntro h2,.splitFeature h2{font-size:34px}.grid3,.featureMatrix,.templateGrid,.workspaceGrid,.proofItems,.fontgrid{grid-template-columns:1fr}.specRows>div{grid-template-columns:1fr;gap:3px}.foot{grid-template-columns:1fr 1fr}.foot>div:first-child,.foot>div:last-child{grid-column:1/-1}.sectionIntro{margin-bottom:26px}
}


/* v7 editor-safe overrides: saved inline styles are intentional author overrides. */
.dfs-hide-desktop,.dfs-hide-tablet,.dfs-hide-mobile{ }
@media (min-width:1025px){.dfs-hide-desktop{display:none!important}}
@media (min-width:768px) and (max-width:1024px){.dfs-hide-tablet{display:none!important}}
@media (max-width:767px){.dfs-hide-mobile{display:none!important}}
.dfs-hover-grow{transition:transform .25s ease}.dfs-hover-grow:hover{transform:scale(1.04)!important}
.dfs-hover-float{transition:transform .25s ease}.dfs-hover-float:hover{transform:translateY(-6px)!important}
.dfs-hover-shrink{transition:transform .25s ease}.dfs-hover-shrink:hover{transform:scale(.96)!important}
.dfs-hover-pulse:hover{animation:dfsPulse .8s ease-in-out infinite alternate}@keyframes dfsPulse{to{transform:scale(1.035)}}

/* v8 page-layout integration */
#dfsPageContent{min-height:30vh}.page-layout-canvas .nav,.page-layout-canvas footer{display:none}.page-layout-canvas #dfsPageContent{min-height:100vh}.page-width-full #dfsPageContent>.section>.wrap{max-width:none}.dfs-hide-desktop{display:none!important}@media(max-width:1024px){.dfs-hide-desktop{display:revert!important}.dfs-hide-tablet{display:none!important}}@media(max-width:767px){.dfs-hide-tablet{display:revert!important}.dfs-hide-mobile{display:none!important}}


/* v9.4 dynamic navigation */
.cms-topbar{background:#050c12;border-bottom:1px solid var(--line);min-height:34px;display:flex;align-items:center}.cms-topbar .navin{min-height:34px;justify-content:flex-end}.topbar-menu{display:flex;align-items:center;gap:14px}.topbar-menu>.menu-node>a{font-size:11px;color:var(--text);text-decoration:none}.menu{display:flex;align-items:center;gap:4px}.menu>.menu-node{position:relative;display:inline-flex}.menu-node>a{display:flex;align-items:center;gap:5px;text-decoration:none}.menu>.menu-node>a{padding:10px 9px;color:#aebfc7;font-size:13px;border-radius:5px}.menu>.menu-node.active>a,.menu>.menu-node>a:hover{color:var(--accent)}.menu-badge{font-size:8px;line-height:1;background:var(--accent);color:#102000;padding:3px 5px;border-radius:999px;font-weight:900}.menu-icon{opacity:.8}.menu-caret{font-size:9px;opacity:.7;margin-left:2px}.submenu{position:absolute;top:100%;left:0;min-width:220px;margin:0;padding:7px;list-style:none;background:#0b1822;border:1px solid #294452;border-radius:8px;box-shadow:0 20px 50px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(7px);transition:.15s;z-index:200}.menu-node:hover>.submenu,.menu-node:focus-within>.submenu{opacity:1;visibility:visible;transform:translateY(0)}.submenu li{position:relative}.submenu a{color:#afc0c8;padding:9px 10px;border-radius:5px;font-size:12px}.submenu a:hover,.submenu .active>a{background:#102633;color:var(--accent)}.submenu .submenu{left:100%;top:0}.footer-menu{display:grid;gap:7px}.footer-menu>.menu-node{display:block}.footer-menu .menu-node>a{color:var(--text);font-size:12px}.footer-menu .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:transparent;border:0;padding:4px 0 0 12px;min-width:0}.footer-menu .menu-caret{display:none}.footer-menu-column nav{margin-top:4px}
html[dir="rtl"] .submenu{left:auto;right:0}html[dir="rtl"] .submenu .submenu{right:100%;left:auto}
@media(max-width:900px){.menu{gap:0;overflow-x:auto;max-width:62vw}.menu>.menu-node>a{white-space:nowrap;padding-inline:7px}.submenu{display:none}.cms-topbar{display:none}}

.hero h1,.pageHero h1,.cms-block h1,.head h2,.sectionIntro h2,.splitFeature h2,.cms-block h2{text-wrap:balance}

/* v10 connected global builders */
.cms-nav{position:sticky;top:0;z-index:1000;background:var(--bg);border-bottom:1px solid var(--line);transition:transform .25s,background .25s,box-shadow .25s}.cms-nav.is-transparent:not(.is-scrolled){background:transparent}.cms-nav.has-shadow,.cms-nav.is-scrolled{box-shadow:0 10px 30px rgba(0,0,0,.18)}.cms-nav.hide-on-scroll{transform:translateY(-110%)}.cms-header-row{border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent)}.cms-header-row:last-of-type{border-bottom:0}.header-row-main .header-slots{min-height:var(--header-height)}.cms-nav.is-scrolled .header-row-main .header-slots{min-height:var(--sticky-height)}.header-row-top .header-slots,.header-row-bottom .header-slots{min-height:34px}.header-slots{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px}.header-slot{display:flex;align-items:center;gap:12px;min-width:0}.header-slot-1{justify-content:center}.header-slot-2{justify-content:flex-end}.header-search{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--panel)}.header-search input{width:130px;padding:8px 9px;border:0;background:transparent;color:var(--text);outline:0}.header-search button{border:0;background:transparent;color:var(--text);padding:8px}.header-social,.footer-social{display:flex;gap:9px;flex-wrap:wrap}.header-social a,.footer-social a,.header-categories a{color:var(--text);font-size:12px;text-decoration:none}.header-announcement,.header-ticker{color:var(--text);font-size:12px}.header-categories{display:flex;gap:12px;flex-wrap:wrap}.header-language,.header-cart{font-size:12px;color:var(--text)}.mobile-toggle{border:1px solid var(--line);background:var(--panel);color:var(--white);border-radius:7px;padding:8px 10px;cursor:pointer}.mobile-auto-toggle{display:none;position:absolute;right:18px;top:50%;transform:translateY(-50%)}.floating-mode-toggle{position:absolute;right:12px;bottom:-38px}.cms-topbar{background:#050c12;border-bottom:1px solid var(--line);min-height:34px;display:flex;align-items:center}.cms-topbar .navin{justify-content:flex-end}.menu{display:flex;align-items:center;gap:3px}.menu>.menu-node{position:relative;display:inline-flex}.menu-node>a{display:flex;align-items:center;gap:5px;text-decoration:none}.menu>.menu-node>a{padding:9px;color:var(--text);font-size:13px;border-radius:5px}.menu>.menu-node.active>a,.menu>.menu-node>a:hover{color:var(--accent)}.submenu{position:absolute;top:100%;left:0;min-width:220px;margin:0;padding:7px;list-style:none;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 50px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(6px);transition:.15s;z-index:250}.menu-node:hover>.submenu,.menu-node:focus-within>.submenu{opacity:1;visibility:visible;transform:none}.submenu a{padding:9px 10px;color:var(--text);font-size:12px}.submenu .submenu{left:100%;top:0}.menu-badge{font-size:8px;background:var(--accent);color:#102000;padding:3px 5px;border-radius:999px;font-weight:900}
.footer-top-cta{background:var(--panel);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0}.footer-top-cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:22px}.footer-top-cta h3{margin:0 0 5px;color:var(--white)}.cms-footer{border-top:1px solid var(--line);position:relative}.footer-grid{display:grid;grid-template-columns:repeat(var(--footer-cols),minmax(0,1fr));gap:34px;padding-top:48px;padding-bottom:34px}.footer-col{min-width:0}.footer-col h4{font-size:11px;letter-spacing:.06em;color:var(--white);margin:0 0 12px;text-transform:uppercase}.footer-brand{display:flex;align-items:center;gap:10px;color:var(--footer-heading-dark);margin-bottom:12px}.footer-brand img{width:auto;height:auto;max-width:280px;max-height:58px;object-fit:contain;display:block}.footer-menu{display:grid;gap:7px}.footer-menu>.menu-node{display:block}.footer-menu .menu-node>a{color:var(--text);font-size:12px;padding:0}.footer-menu .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:transparent;border:0;padding:5px 0 0 12px;min-width:0}.footer-newsletter p,.footer-col p{color:var(--text);font-size:13px}.footer-downloads{display:grid;gap:7px}.footer-downloads a{color:var(--text);font-size:12px;text-decoration:none}.footer-bottom{border-top:1px solid var(--line);padding-top:18px;padding-bottom:22px;color:var(--text);font-size:12px}.footer-sticky{position:sticky;bottom:0;z-index:0}.footer-reveal{z-index:0}.dynamic-section{border-top:1px solid var(--line)}.dynamic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--default-gap)}.dynamic-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--global-radius);padding:20px;min-width:0}.dynamic-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:calc(var(--global-radius) - 5px);margin-bottom:14px}.dynamic-card h3{margin:8px 0}.dynamic-card h3 a{color:var(--white);text-decoration:none}.dynamic-card p{color:var(--text)}.dynamic-meta{font-size:11px;color:var(--text);opacity:.78}.font-preview{font-family:var(--dfs-font-thaana);font-size:34px;color:var(--white);padding:18px 0;overflow:hidden}.font-preview.giant{font-size:clamp(42px,8vw,100px);line-height:1.2;padding:30px 0}.single-entry{padding:var(--section) 0}.wrap.narrow{max-width:820px}.entry-meta{color:var(--text);font-size:12px;margin:10px 0 24px}.entry-featured{width:100%;border-radius:var(--global-radius);margin-bottom:24px}.entry-content{color:var(--text);font-size:17px;line-height:1.75}.search-results{display:grid;gap:8px}.search-hit{display:flex;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;text-decoration:none;color:var(--white);background:var(--panel)}.search-hit span{color:var(--text);font-size:12px}.contact-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--global-radius);padding:26px}.cms-contact-form{display:grid;gap:14px}.cms-contact-form label{display:grid;gap:6px;color:var(--white);font-size:12px}.cms-contact-form input,.cms-contact-form textarea{padding:11px 12px}.cms-contact-form .hp{position:absolute;left:-9999px}.form-message{padding:10px 12px;background:color-mix(in srgb,var(--accent) 12%,transparent);border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));border-radius:7px;margin-bottom:14px}
@media(max-width:900px){.header-slots{grid-template-columns:1fr auto}.header-slot-1{display:none}.header-slot-2 .menu,.header-slot-2 .header-search,.header-slot-2 .header-social{display:none}.mobile-auto-toggle{display:block}.mobile-menu-open .header-slot-1{display:flex;position:absolute;left:12px;right:12px;top:100%;background:var(--panel);border:1px solid var(--line);padding:12px;justify-content:flex-start}.mobile-menu-open .header-slot-1 .menu{display:grid;width:100%}.mobile-menu-open .header-slot-1 .menu-node{display:block}.footer-grid{grid-template-columns:repeat(min(var(--footer-cols),2),minmax(0,1fr))}.dynamic-grid{grid-template-columns:1fr 1fr}.footer-top-cta .wrap{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.footer-grid,.dynamic-grid{grid-template-columns:1fr}.header-slot-2 .pill{display:none}.brand b{font-size:13px}}
/* Connected blog archive settings */
.dynamic-grid{grid-template-columns:repeat(var(--dynamic-cols,3),minmax(0,1fr))}
.news-layout-list{grid-template-columns:1fr!important}.news-layout-list .news-card{display:grid;grid-template-columns:minmax(180px,30%) 1fr;column-gap:20px}.news-layout-list .news-card img{grid-row:1/6;height:100%;margin:0}.news-pagination{display:flex;gap:7px;justify-content:center;margin-top:28px}.news-pagination a{min-width:34px;padding:8px 10px;text-align:center;border:1px solid var(--line);border-radius:6px;color:var(--text);text-decoration:none}.news-pagination a.active{background:var(--accent);color:#102000;border-color:var(--accent)}

/* v10.2 identity / logo / footer mode system */
.footer-logo-light{display:none!important}
html[data-theme="light"] .footer-logo-dark{display:none!important}
html[data-theme="light"] .footer-logo-light{display:block!important}
.cms-footer{background:var(--footer-bg-dark,#040b11)!important;color:var(--footer-text-dark,#b8c8d0)}
.cms-footer .footer-col h4,.cms-footer .footer-brand,.cms-footer .footer-brand b,.cms-footer .footer-newsletter h4{color:var(--footer-heading-dark,#fff)}
.cms-footer .footer-col p,.cms-footer .footer-menu .menu-node>a,.cms-footer .footer-downloads a,.cms-footer .footer-bottom,.cms-footer .footer-social a,.cms-footer .footer-custom{color:var(--footer-text-dark,#b8c8d0)}
html[data-theme="light"] .cms-footer{background:var(--footer-bg-light,#e9eff1)!important;color:var(--footer-text-light,#455b66);border-top-color:var(--line)}
html[data-theme="light"] .cms-footer .footer-col h4,
html[data-theme="light"] .cms-footer .footer-brand,
html[data-theme="light"] .cms-footer .footer-brand b,
html[data-theme="light"] .cms-footer .footer-newsletter h4{color:var(--footer-heading-light,#12212b)}
html[data-theme="light"] .cms-footer .footer-col p,
html[data-theme="light"] .cms-footer .footer-menu .menu-node>a,
html[data-theme="light"] .cms-footer .footer-downloads a,
html[data-theme="light"] .cms-footer .footer-bottom,
html[data-theme="light"] .cms-footer .footer-social a,
html[data-theme="light"] .cms-footer .footer-custom{color:var(--footer-text-light,#455b66)}
html[data-theme="light"] .cms-footer .footer-bottom{border-top-color:color-mix(in srgb,var(--footer-text-light,#455b66) 18%,transparent)}
@media(max-width:600px){.brand img{max-width:min(220px,72vw)}.footer-brand img{max-width:min(250px,82vw)}}
\n/* v10.3.2 decorative overlay — additive, does not change content typography/layout */
.dfs-decorative-overlay{position:relative;isolation:isolate}
.dfs-decorative-overlay::before{content:"";position:absolute;left:var(--dfs-overlay-x,82%);top:var(--dfs-overlay-y,50%);width:var(--dfs-overlay-width,55%);height:var(--dfs-overlay-height,85%);pointer-events:none;z-index:var(--dfs-overlay-z,0);background-image:var(--dfs-overlay-image,none);background-repeat:var(--dfs-overlay-repeat,no-repeat);background-position:center;background-size:var(--dfs-overlay-fit,contain);opacity:var(--dfs-overlay-opacity,.12);mix-blend-mode:var(--dfs-overlay-blend,normal);transform:translate(-50%,-50%) rotate(var(--dfs-overlay-rotate,0deg)) scaleX(var(--dfs-overlay-flip-x,1)) scaleY(var(--dfs-overlay-flip-y,1));transform-origin:center center}
.dfs-decorative-overlay>*{position:relative;z-index:1}

/* v10.3.5 route-safe mobile image resilience */
img{height:auto}
@media(max-width:767px){
  #dfsPageContent img:not(.logo-dark):not(.logo-light):not(.footer-logo-dark):not(.footer-logo-light){
    max-width:100%;
    height:auto;
  }
  .shot img,.cms-image,.entry-featured,.dynamic-card img{display:block}
}

/* ==========================================================
   v10.9.6 — Dark Mode Compatibility Repair
   - Dark mode owns the public page background.
   - Light-only sections/cards become dark-safe in dark mode.
   - Header shows exactly the correct light/dark logo.
   - Light mode remains unchanged.
   ========================================================== */

/* Header logo mode: never allow both logo variants to render together. */
.brand .logo-light{display:none!important}
html:not([data-theme="light"]) .brand .logo-light,
html[data-theme="dark"] .brand .logo-light{display:none!important}
html:not([data-theme="light"]) .brand .logo-dark,
html[data-theme="dark"] .brand .logo-dark{display:block!important}
html[data-theme="light"] .brand .logo-dark{display:none!important}
html[data-theme="light"] .brand .logo-light{display:block!important}

/* If the Header Builder accidentally contains the logo component twice
   in the same slot, render only the first brand instead of a repeated logo. */
.cms-header-row .header-slot>.brand~.brand{display:none!important}

/* Saved page background colors such as #fff must not make dark mode unreadable. */
html[data-theme="dark"] #dfsPageContent{
  background:var(--bg)!important;
  color:var(--heading)!important;
}

/* Standard content sections inherit a readable dark palette. */
html[data-theme="dark"] #dfsPageContent .section{
  color:var(--heading);
}
html[data-theme="dark"] #dfsPageContent .section h1,
html[data-theme="dark"] #dfsPageContent .section h2,
html[data-theme="dark"] #dfsPageContent .section h3,
html[data-theme="dark"] #dfsPageContent .section h4,
html[data-theme="dark"] #dfsPageContent .section h5,
html[data-theme="dark"] #dfsPageContent .section h6{
  color:var(--heading);
}
html[data-theme="dark"] #dfsPageContent .section p,
html[data-theme="dark"] #dfsPageContent .section .lead,
html[data-theme="dark"] #dfsPageContent .section .head p,
html[data-theme="dark"] #dfsPageContent .section .sectionIntro>p{
  color:var(--text);
}

/* Sections designed as "light" must also respond to the global dark toggle. */
html[data-theme="dark"] #dfsPageContent .section.light,
html[data-theme="dark"] #dfsPageContent .light{
  background:var(--bg-soft)!important;
  color:var(--heading)!important;
  border-color:var(--line)!important;
}
html[data-theme="dark"] #dfsPageContent .light h1,
html[data-theme="dark"] #dfsPageContent .light h2,
html[data-theme="dark"] #dfsPageContent .light h3,
html[data-theme="dark"] #dfsPageContent .light h4,
html[data-theme="dark"] #dfsPageContent .light h5,
html[data-theme="dark"] #dfsPageContent .light h6,
html[data-theme="dark"] #dfsPageContent .light .specRows b{
  color:var(--heading)!important;
}
html[data-theme="dark"] #dfsPageContent .light p,
html[data-theme="dark"] #dfsPageContent .light .lead,
html[data-theme="dark"] #dfsPageContent .light .head p,
html[data-theme="dark"] #dfsPageContent .light .specRows span{
  color:var(--text)!important;
}
html[data-theme="dark"] #dfsPageContent .light .eyebrow,
html[data-theme="dark"] #dfsPageContent .light .textLink{
  color:var(--accent)!important;
}
html[data-theme="dark"] #dfsPageContent .light .specRows,
html[data-theme="dark"] #dfsPageContent .light .specRows>div{
  border-color:var(--line)!important;
}

/* Light panels and library cards. */
html[data-theme="dark"] #dfsPageContent .lightPanel,
html[data-theme="dark"] #dfsPageContent .fontcard{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--heading)!important;
  box-shadow:none;
}
html[data-theme="dark"] #dfsPageContent .lightPanel h1,
html[data-theme="dark"] #dfsPageContent .lightPanel h2,
html[data-theme="dark"] #dfsPageContent .lightPanel h3,
html[data-theme="dark"] #dfsPageContent .fontcard h1,
html[data-theme="dark"] #dfsPageContent .fontcard h2,
html[data-theme="dark"] #dfsPageContent .fontcard h3,
html[data-theme="dark"] #dfsPageContent .fontcard .sample{
  color:var(--heading)!important;
}
html[data-theme="dark"] #dfsPageContent .lightPanel p,
html[data-theme="dark"] #dfsPageContent .fontcard p{
  color:var(--text)!important;
}

/* Forms should not remain bright white in dark mode. */
html[data-theme="dark"] #dfsPageContent .form input,
html[data-theme="dark"] #dfsPageContent .form textarea,
html[data-theme="dark"] #dfsPageContent .form select,
html[data-theme="dark"] #dfsPageContent .cms-contact-form input,
html[data-theme="dark"] #dfsPageContent .cms-contact-form textarea,
html[data-theme="dark"] #dfsPageContent .cms-contact-form select{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--heading)!important;
}
html[data-theme="dark"] #dfsPageContent input::placeholder,
html[data-theme="dark"] #dfsPageContent textarea::placeholder{
  color:var(--muted)!important;
}

/* Builder-created sections sometimes have an explicit white background.
   Convert only section-level white backgrounds in dark mode; cards/images are untouched. */
html[data-theme="dark"] #dfsPageContent .section[style*="background:#fff"],
html[data-theme="dark"] #dfsPageContent .section[style*="background: #fff"],
html[data-theme="dark"] #dfsPageContent .section[style*="background:#ffffff"],
html[data-theme="dark"] #dfsPageContent .section[style*="background: #ffffff"],
html[data-theme="dark"] #dfsPageContent .section[style*="background:white"],
html[data-theme="dark"] #dfsPageContent .section[style*="background: white"],
html[data-theme="dark"] #dfsPageContent .section[style*="background-color:#fff"],
html[data-theme="dark"] #dfsPageContent .section[style*="background-color: #fff"],
html[data-theme="dark"] #dfsPageContent .section[style*="background-color:#ffffff"],
html[data-theme="dark"] #dfsPageContent .section[style*="background-color: #ffffff"]{
  background:var(--bg-soft)!important;
}

/* Keep common white cards from looking disconnected when they live inside a dark section. */
html[data-theme="dark"] #dfsPageContent .section .cms-widget-box{
  background:var(--surface);
  border-color:var(--line);
  color:var(--heading);
}

/* Make the theme transition clean without changing page geometry. */
html[data-theme="dark"] #dfsPageContent,
html[data-theme="dark"] #dfsPageContent .section,
html[data-theme="dark"] .cms-nav,
html[data-theme="dark"] .cms-footer{
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}

