/* Shared styles for the static legal pages (/privacy/, /terms/).
   Tokens mirror the landing page's :root in index.html. */
@font-face{font-family:"IRANSansX";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/IRANSansXFaNum-Regular.woff2) format("woff2");}
@font-face{font-family:"IRANSansX";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/IRANSansXFaNum-Medium.woff2) format("woff2");}
@font-face{font-family:"IRANSansX";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/IRANSansXFaNum-DemiBold.woff2) format("woff2");}
@font-face{font-family:"IRANSansX";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/IRANSansXFaNum-Bold.woff2) format("woff2");}
@font-face{font-family:"IRANSansX";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/IRANSansXFaNum-ExtraBold.woff2) format("woff2");}

:root{
  --bg:#FBF8F4;
  --surface-alt:#F4F1EC;
  --border:#EDE6DA;
  --primary:#0E4A46;
  --primary-hover:#12645F;
  --text-dark:#14201D;
  --text-body:#5C574F;
  --text-medium:#3A352F;
  --text-faintest:#A69E93;
  --radius-sm:12px;
}
*{box-sizing:border-box;}
html{background:var(--bg);}
body{margin:0;background:var(--bg);color:var(--text-body);
  font-family:"IRANSansX",Tahoma,Arial,sans-serif;-webkit-font-smoothing:antialiased;}
h1,h2,p,ul{margin:0;}
a{color:inherit;text-decoration:none;}

.container{max-width:1120px;margin:0 auto;padding:0 20px;}
.container.narrow{max-width:760px;}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,248,244,.92);
  backdrop-filter:blur(6px);border-bottom:1px solid var(--border);}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;}
.brand{display:flex;align-items:center;gap:10px;}
.brand span{font-weight:800;font-size:26px;color:var(--text-dark);}

/* document */
.doc{padding-top:48px;padding-bottom:48px;}
.doc h1{font-weight:800;font-size:30px;line-height:1.5;color:var(--text-dark);margin-bottom:28px;}
.doc h2{font-weight:800;font-size:19px;line-height:1.6;color:var(--text-dark);margin:30px 0 10px;}
.doc p{font-size:15px;line-height:1.9;margin-bottom:12px;}
.doc p.emphasis{font-weight:700;}
.doc ul{list-style:none;padding:0;margin-bottom:12px;}
.doc li{position:relative;padding-inline-start:20px;font-size:15px;line-height:1.9;margin-bottom:8px;}
.doc li::before{content:"";position:absolute;inset-inline-start:2px;top:.85em;width:6px;height:6px;
  border-radius:50%;background:var(--primary);}

.table-wrap{overflow-x:auto;margin-bottom:12px;border:1px solid var(--border);border-radius:var(--radius-sm);}
.doc table{width:100%;border-collapse:collapse;font-size:13.5px;line-height:1.8;}
.doc th,.doc td{padding:12px 16px;text-align:start;vertical-align:top;border-bottom:1px solid var(--border);}
.doc tr:last-child>th,.doc tr:last-child>td{border-bottom:none;}
.doc th{font-weight:700;color:var(--text-body);}
.doc thead th{background:var(--surface-alt);}
.doc .empty{color:var(--text-faintest);}

/* footer */
.site-footer{border-top:1px solid var(--border);}
.site-footer .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:32px 20px;}
.footer-links{display:flex;gap:22px;}
.footer-links a{font-weight:500;font-size:13px;color:var(--text-body);}
.footer-links a:hover{color:var(--primary);}
.footer-copy{font-size:12px;color:var(--text-faintest);}
