/* DecaWeb presentation theme — aligned with decaweb.ir, 2026-11-17 */
@font-face{font-family:Modam;src:url('./assets/fonts/Modam-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Modam;src:url('./assets/fonts/Modam-Medium.ttf') format('truetype');font-style:normal;font-weight:500 600;font-display:swap}
@font-face{font-family:Modam;src:url('./assets/fonts/Modam-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Modam;src:url('./assets/fonts/Modam-ExtraBold.ttf') format('truetype');font-style:normal;font-weight:800 900;font-display:swap}
:root{
 --ink:#f7f7f4;--muted:#a2a2a6;--paper:#0f0f10;--navy:#0f0f10;
 --line:#303034;--violet:#e45d1a;--mint:#f7f7f4;--teal:#f09a65;
 --dw-surface:#141416;--dw-panel:#171719;--dw-panel-hover:#202024;
 --dw-border:#303034;--dw-orange:#e45d1a;--dw-light:#f7f7f4;
 color-scheme:dark;
}
html,body{background:#0f0f10;color:#f7f7f4}
body,button,input,textarea,.h1,.h2,.h3,.lead,.section-tag,.pill,.brand,.data-placeholder,.risk-table{font-family:Modam,Tahoma,sans-serif}
button,input{font-family:inherit}
::selection{background:#e45d1a;color:#fff}
.stage{background:#0f0f10}
.slide,.slide.dark{background:#0f0f10;color:#f7f7f4;scrollbar-color:#434347 transparent}
.slide.dark{background:#141414}
.slide:before,.slide.dark:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
 background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);
 background-size:56px 56px;mask-image:linear-gradient(90deg,#0000,#000 70%,#0000);opacity:.85}
.slide>*{z-index:1}
.slide:after{content:"";position:absolute;right:0;top:19%;height:80px;width:3px;background:#e45d1a;z-index:2;opacity:.92}
.slide.cover:after{height:125px;top:24%}
.h1{font-weight:800;letter-spacing:-.025em;line-height:1.38;font-size:clamp(38px,5.15vw,80px)}
.h2{font-weight:800;letter-spacing:-.023em;line-height:1.47;font-size:clamp(31px,3.5vw,60px)}
.h3{font-weight:700;letter-spacing:-.01em;line-height:1.6}
.lead,.dark .lead{color:#a2a2a6;line-height:2}
.muted,.dark .muted,.panel p,.dark .panel p{color:#a2a2a6}
.eyebrow,.small,.micro{color:#a2a2a6}
.section-tag{font-size:12px;font-weight:600;letter-spacing:.08em;direction:ltr;display:inline-flex;color:#e45d1a}
.dark .section-tag{color:#e45d1a}
.section-tag:before{height:7px;width:7px;background:#e45d1a;transform:rotate(45deg);margin-inline-end:5px}
.accent,.lime{color:#e45d1a}
.footerline,.dark .footerline,.corner-source{color:#85858a}
.horizontal-rule,.dark .horizontal-rule{border-color:#303034}
.topbar,.topbar.light-on-dark{color:#f7f7f4;position:fixed;min-height:72px;padding:19px clamp(25px,4.2vw,66px);border-bottom:1px solid #29292c;background:rgba(15,15,16,.97);backdrop-filter:blur(14px)}
.topbar .brand{direction:rtl;font:600 13px/1.5 Modam,Tahoma,sans-serif;display:flex;align-items:center;gap:16px;color:#a2a2a6;letter-spacing:0}
.brand a{display:inline-flex;align-items:center;text-decoration:none;line-height:0}
.brand img{display:block;width:174px;max-width:30vw;height:auto}
.brand-divider{color:#434347;font-family:Arial,sans-serif;font-size:16px}
.brand-context{font-size:12px;white-space:nowrap}
.topmeta{color:#85858a;font-size:10px;letter-spacing:.12em;font-family:Arial,sans-serif}
.topmeta .top-separator{background:#434347}
.nav,.nav.light-on-dark{color:#f7f7f4}
.nav{bottom:16px;padding-top:13px;border-top:1px solid #29292c}
.iconbtn{border-radius:0;min-width:38px;height:38px;border:1px solid #343438;background:#141416;color:#f7f7f4}
.iconbtn:hover{transform:none;background:#202024;border-color:#e45d1a}
.iconbtn:focus-visible{outline-color:#e45d1a}
.progressbar{height:2px;background:#343438;border-radius:0}
.progressfill{background:#e45d1a}
.slidecount{font-family:Arial,sans-serif}
.panel,.dark .panel{background:#171719;border:1px solid #303034;border-radius:0;box-shadow:none;color:#f7f7f4}
.panel:hover{border-color:#434347}
.panel-header{border-bottom:1px solid #303034;padding-bottom:13px;margin-bottom:20px}
.panel-number{font-family:Arial,sans-serif;color:#e45d1a}
.pill,.pill.green,.pill.purple,.dark .pill.green,.dark .pill.purple{
 border-radius:0;border:1px solid #3a3a3e;background:#202024;color:#d5d5d6;font-size:11px;font-weight:500}
.pill.green{border-color:#4a3930;background:#2a1d18;color:#f09a65}
.pill.purple,.dark .pill.purple{border-color:#4a3930;background:#2a1d18;color:#f09a65}
.rule-list li{color:#f7f7f4}
.rule-list li:before,.dark .rule-list li:before{border-radius:0;background:#e45d1a}
.cover .main-content{max-width:920px}
.cover-art{position:absolute;left:5vw;right:auto;top:22%;width:34vw;height:51vh;transform:none;border:1px solid #343438;border-radius:0;
 background:linear-gradient(135deg,rgba(228,93,26,.09),transparent 55%),#141416;box-shadow:28px 28px 0 -1px #0f0f10,28px 28px 0 0 #343438;opacity:.72}
.cover-art:before{content:"";position:absolute;inset:15px;transform:none;border-radius:0;border:1px solid #343438;background:
 linear-gradient(90deg,#e45d1a 0 33%,transparent 33%) 20px 22px/66px 4px no-repeat,
 repeating-linear-gradient(180deg,transparent 0 40px,#303034 41px 42px,transparent 43px 80px);opacity:.95}
.cover-art:after{content:"";position:absolute;inset:22% 15%;background:linear-gradient(90deg,#e45d1a,#bb4a17);border:0;border-radius:0;transform:none;opacity:.12}
.cover-grid{bottom:18%;left:15%}
.cover-grid i{border-radius:0;background:#e45d1a;width:6px;height:6px}
.cover-meta{color:#a2a2a6}
.cover-meta span{background:#e45d1a;border-radius:0}
.thesis-index{width:145px;height:145px;border-radius:0;background:transparent;border:1px solid #e45d1a;
 color:#e45d1a;transform:none;font:700 37px Arial,sans-serif}
.thesis-three .panel:nth-child(2),.thesis-three .panel:nth-child(3){background:#171719}
.problem-node{border-radius:0;border-color:#303034;background:#171719}
.problem-node .num{color:#e45d1a}
.problem-node small{color:#a2a2a6}
.problem-arrow{border-right-color:#e45d1a}
.pipeline .step,.pipeline .step:nth-child(2),.pipeline .step:nth-child(4){border-radius:0;border-color:#303034;background:#171719;color:#f7f7f4}
.pipeline .step b{color:#e45d1a}
.pipeline .step h3{color:#f7f7f4}
.pipeline .step p{color:#a2a2a6}
.pipeline .step:not(:last-child):after{background:#e45d1a;color:#fff;border-radius:0}
.browser{background:#141416;border-color:#343438;border-radius:0;box-shadow:0 18px 45px #0007}
.browser-top{border-color:#303034}
.dot{background:#4b4b50}.dot:nth-child(1){background:#e45d1a}.dot:nth-child(2){background:#65656a}.dot:nth-child(3){background:#65656a}
.browser-url,.mock-caption{color:#a2a2a6}
.dashboard{background:#141416}
.dashside{border-color:#303034}.dashside i{background:#434347;border-radius:0}.dashside i:first-child{background:#e45d1a;border-radius:0}
.dashcard{background:#202024;border:1px solid #343438;border-radius:0;color:#a2a2a6}
.dashcard strong{color:#f7f7f4}
.chart-faux{border-color:#343438}
.chart-faux i{background:linear-gradient(180deg,#f08347,#e45d1a);border-radius:0;opacity:.94}
.seg-panels .panel .microline{background:#e45d1a}
.revenue-icon{background:#2a1d18;color:#e45d1a;border:1px solid #58321f;border-radius:0}
.funnel-row,.funnel-row:nth-child(2),.funnel-row:nth-child(3),.funnel-row:nth-child(4){
 background:#171719;color:#f7f7f4;border:1px solid #303034;border-radius:0;border-right:3px solid #e45d1a}
.funnel-row:nth-child(2){background:#1c1918}.funnel-row:nth-child(3){background:#201a17}.funnel-row:nth-child(4){background:#2b1e18}
.go-side{border-color:#303034}
.matrix{border-radius:0;border-color:#303034}
.matrix>div{background:#171719;border-color:#303034;color:#f7f7f4}
.matrix .matrix-head{background:#202024;color:#f7f7f4}
.matrix .matrix-deca{background:rgba(228,93,26,.11);color:#f7f7f4}
.matrix .matrix-dim{color:#a2a2a6}
.matrix .matrix-tick{color:#e45d1a}
.data-row{border-color:#303034}
.data-row small{color:#a2a2a6}
.data-placeholder{border:1px dashed #4b4b50;border-radius:0;background:#171719;color:#a2a2a6}
.big-fin{background:#171719;border-color:#4a3930;border-radius:0}
.fin-caption,.fin-unit{color:#a2a2a6}
.big-number{color:#e45d1a}
.fin-bottom{border-color:#343438}
.fin-stat{background:#171719;border-color:#303034;border-radius:0}
.fin-stat .value{color:#f7f7f4}
.formula .token{background:#202024;color:#f7f7f4;border:1px solid #343438;border-radius:0}
.formula .operator{color:#e45d1a}
.risk-table{border-color:#303034;border-radius:0}
.risk-table>div,.risk-table>div:nth-child(4n + 1),.risk-table>div:nth-child(4n + 2){background:#171719;color:#f7f7f4;border-color:#303034}
.risk-title{color:#f7f7f4}
.donut{background:conic-gradient(#e45d1a 0 40%,#f2a16d 40% 65%,#85858a 65% 85%,#343438 85% 100%)}
.donut:after{background:#0f0f10;color:#f7f7f4}
.alloc-item{border-color:#343438}
.alloc-item i{border-radius:0}
.alloc-item:nth-child(1) i{background:#e45d1a}.alloc-item:nth-child(2) i{background:#f2a16d}
.alloc-item:nth-child(3) i{background:#85858a}.alloc-item:nth-child(4) i{background:#343438}
.road-card,.road-card:nth-child(2){border-radius:0;border-color:#343438;background:#171719}
.road-card:nth-child(2){background:#271c17;border-color:#7d4327}
.road-card .road-time{color:#e45d1a}
.road-card p,.road-foot{color:#a2a2a6}
.ask-hero{background:#271c17;border:1px solid #714027;border-right:4px solid #e45d1a;border-radius:0}
.ask-hero .big-label,.ask-small{color:#b7b7ba}
.ask-big{color:#f7f7f4}
.ask-info .boxline{border-radius:0;background:#171719;border-color:#303034}
.boxline small{color:#a2a2a6}.boxline strong{color:#f7f7f4}
.final-ornament{border-radius:0;left:-5%;bottom:-20%;width:40vw;height:70vh;
 background:linear-gradient(140deg,rgba(228,93,26,.15),transparent 60%);border:1px solid #343438}
.closing-link a{border-color:#e45d1a}
.overlay{background:rgba(9,9,10,.92)}
.overlay h2{color:#f7f7f4}
.overlay-close{background:#202024;color:#f7f7f4;border:1px solid #343438;border-radius:0}
.overview-tile{border-radius:0;background:#171719;border-color:#343438;color:#f7f7f4}
.overview-tile:hover{border-color:#e45d1a;transform:translateY(-2px)}
.overview-tile span{color:#e45d1a}
.drawer-shade{background:rgba(0,0,0,.65)}
.drawer-pane{background:#141416;color:#f7f7f4;border-right:1px solid #303034}
.drawer-pane h2{color:#f7f7f4}
.drawer-pane p{color:#a2a2a6}
.fieldgrid label{color:#d5d5d6}
.fieldgrid input{background:#202024;border:1px solid #434347;border-radius:0;color:#f7f7f4}
.fieldgrid input:focus{border-color:#e45d1a;box-shadow:0 0 0 2px #e45d1a22}
.fieldgrid input::placeholder{color:#77777d}
.primary-btn,.secondary-btn{background:#e45d1a;border:1px solid #e45d1a;border-radius:0;color:#fff}
.secondary-btn{background:#202024;color:#f7f7f4;border-color:#434347}
.note-body{background:#202024;color:#f7f7f4;border:1px solid #343438;border-radius:0}
.note-indicator{color:#e45d1a}
.theme-switcher{position:fixed;z-index:19;bottom:67px;left:clamp(25px,4.2vw,66px);direction:ltr;display:flex;gap:4px;padding:4px;
 background:#141416eb;border:1px solid #343438;box-shadow:0 10px 36px #0005;backdrop-filter:blur(12px)}
.theme-switcher button{color:#85858a;background:transparent;width:34px;height:34px;border:0;display:grid;place-items:center}
.theme-switcher button:hover{color:#fff}
.theme-switcher button[aria-pressed="true"]{background:#e45d1a;color:#fff}
.theme-switcher button:focus-visible{outline:2px solid #e45d1a;outline-offset:2px}
.theme-switcher svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
html[data-theme="light"]{color-scheme:light;--ink:#202024;--muted:#626268;--paper:#f7f7f4;--line:#d9d8d3;--navy:#f7f7f4}
html[data-theme="light"] body,html[data-theme="light"] .stage{background:#f7f7f4;color:#202024}
html[data-theme="light"] .slide,html[data-theme="light"] .slide.dark{background:#f7f7f4;color:#202024}
html[data-theme="light"] .slide:nth-child(2n){background:#f2f1ed}
html[data-theme="light"] .slide:before,html[data-theme="light"] .slide.dark:before{background-image:linear-gradient(#0000000c 1px,transparent 1px),linear-gradient(90deg,#0000000c 1px,transparent 1px)}
html[data-theme="light"] .lead,html[data-theme="light"] .dark .lead,html[data-theme="light"] .muted,html[data-theme="light"] .dark .muted,
html[data-theme="light"] .panel p,html[data-theme="light"] .dark .panel p{color:#626268}
html[data-theme="light"] .topbar,html[data-theme="light"] .topbar.light-on-dark{color:#202024;background:#f7f7f4f2;border-color:#d9d8d3}
html[data-theme="light"] .topmeta,html[data-theme="light"] .footerline,html[data-theme="light"] .dark .footerline{color:#85858a}
html[data-theme="light"] .nav,html[data-theme="light"] .nav.light-on-dark{color:#202024;border-color:#d9d8d3}
html[data-theme="light"] .iconbtn{color:#202024;background:#fff;border-color:#d9d8d3}
html[data-theme="light"] .progressbar{background:#d9d8d3}
html[data-theme="light"] .panel,html[data-theme="light"] .dark .panel,html[data-theme="light"] .pipeline .step,
html[data-theme="light"] .pipeline .step:nth-child(2),html[data-theme="light"] .pipeline .step:nth-child(4),
html[data-theme="light"] .fin-stat,html[data-theme="light"] .ask-info .boxline{background:#fff;color:#202024;border-color:#d9d8d3}
html[data-theme="light"] .panel p,html[data-theme="light"] .pipeline .step p{color:#626268}
html[data-theme="light"] .thesis-three .panel:nth-child(2),html[data-theme="light"] .thesis-three .panel:nth-child(3){background:#fff}
html[data-theme="light"] .h3,html[data-theme="light"] .pipeline .step h3,html[data-theme="light"] .rule-list li{color:#202024}
html[data-theme="light"] .pill,html[data-theme="light"] .pill.green,html[data-theme="light"] .pill.purple{background:#f2f1ed;border-color:#d9d8d3;color:#4b4b50}
html[data-theme="light"] .problem-node,html[data-theme="light"] .funnel-row,html[data-theme="light"] .funnel-row:nth-child(2),
html[data-theme="light"] .funnel-row:nth-child(3),html[data-theme="light"] .funnel-row:nth-child(4){background:#fff;color:#202024;border-color:#d9d8d3}
html[data-theme="light"] .problem-node small{color:#626268}
html[data-theme="light"] .revenue-icon{background:#fbe8de}
html[data-theme="light"] .matrix>div{background:#fff;color:#202024;border-color:#d9d8d3}
html[data-theme="light"] .matrix .matrix-head{background:#e9e8e4;color:#202024}
html[data-theme="light"] .matrix .matrix-deca{background:#fbe8de;color:#202024}
html[data-theme="light"] .data-row,html[data-theme="light"] .alloc-item{border-color:#d9d8d3}
html[data-theme="light"] .data-placeholder,html[data-theme="light"] .formula .token{background:#fff;color:#626268;border-color:#cfcec9}
html[data-theme="light"] .big-fin{background:#fff;border-color:#e4bcaa}
html[data-theme="light"] .fin-caption,html[data-theme="light"] .fin-unit{color:#626268}
html[data-theme="light"] .fin-stat .value{color:#202024}
html[data-theme="light"] .fin-bottom{border-color:#d9d8d3}
html[data-theme="light"] .risk-table{border-color:#d9d8d3}
html[data-theme="light"] .risk-table>div,html[data-theme="light"] .risk-table>div:nth-child(4n + 1),html[data-theme="light"] .risk-table>div:nth-child(4n + 2){background:#fff;color:#202024;border-color:#d9d8d3}
html[data-theme="light"] .risk-title{color:#202024}
html[data-theme="light"] .donut:after{background:#f7f7f4;color:#202024}
html[data-theme="light"] .road-card,html[data-theme="light"] .road-card:nth-child(2){background:#fff;color:#202024;border-color:#d9d8d3}
html[data-theme="light"] .road-card:nth-child(2){background:#fbe8de}
html[data-theme="light"] .road-card p,html[data-theme="light"] .road-foot{color:#626268}
html[data-theme="light"] .ask-hero{background:#fbe8de;border-color:#e6b9a2}
html[data-theme="light"] .ask-hero .big-label,html[data-theme="light"] .ask-small{color:#626268}
html[data-theme="light"] .ask-big,html[data-theme="light"] .boxline strong{color:#202024}
html[data-theme="light"] .cover-art{background:#fff;box-shadow:25px 25px 0 -1px #f7f7f4,25px 25px 0 0 #cfcec9;border-color:#cfcec9}
html[data-theme="light"] .cover-art:before{border-color:#cfcec9;background:linear-gradient(90deg,#e45d1a 0 33%,transparent 33%) 20px 22px/66px 4px no-repeat,repeating-linear-gradient(180deg,transparent 0 40px,#deddd7 41px 42px,transparent 43px 80px)}
html[data-theme="light"] .final-ornament{border-color:#cfcec9}
html[data-theme="light"] .theme-switcher{background:#fff;border-color:#d9d8d3}
html[data-theme="light"] .theme-switcher button{color:#77777d}
html[data-theme="light"] .theme-switcher button[aria-pressed="true"]{color:#fff}
@media(max-width:900px){
 .topbar{padding:17px 26px}.brand img{width:146px}
 .cover-art{left:8vw;opacity:.32;width:43vw}
 .slide{padding-top:95px}
}
@media(max-width:600px){
 .topbar{padding:15px 20px;min-height:66px}
 .brand img{width:131px;max-width:38vw}
 .brand-context{font-size:10px}
 .slide,.slide.dark{padding-top:88px;padding-bottom:105px}
 .slide:after{height:42px}
 .cover-art{width:70vw;height:38vh;top:41%;left:-12vw;opacity:.13}
 .theme-switcher{left:20px;bottom:69px}
 .theme-switcher button{width:28px;height:28px}
 .nav{bottom:13px}
 .controls{gap:4px}
 .iconbtn{min-width:34px;height:34px;padding:0 6px}
 .slidecount{gap:7px}
 .progressbar{width:62px}
 .road-card{min-height:unset}
}
@media print{
 .slide,.slide.dark,html[data-theme="light"] .slide,html[data-theme="light"] .slide.dark{background:#0f0f10!important;color:#f7f7f4!important}
 .panel,.dark .panel{background:#171719!important;color:#f7f7f4!important}
 .theme-switcher{display:none!important}
 .slide{break-after:page;page-break-after:always}
}
.brand .logo-light{display:none}
html[data-theme="light"] .brand .logo-dark{display:none}
html[data-theme="light"] .brand .logo-light{display:block}
