/* DhiRise · the shared page frame (spec 0009): the 404, privacy, terms and the two team pages.
   The look of the question pages: dark ink, translucent glass panels with blur and a thin border, gold as the accent, Mukta text.
   No photo (an ink gradient only) and no animation, so nothing here moves and the page stays light on mobile data.
   Fonts are our own files (public/dhiinterviews/fonts, see the README there); a changed font file gets a new name.
   Text is 16px or more everywhere, buttons and links are at least 44px tall, and the glass has a solid fallback. */

@font-face{font-family:"Mukta";font-weight:400;font-style:normal;font-display:swap;
  src:local("Mukta Regular"),local("Mukta-Regular"),url("/dhiinterviews/fonts/mukta-400.v1.woff2") format("woff2");
  unicode-range:U+0020-007E,U+00A0-00FF,U+2013,U+2014,U+2018,U+2019,U+201C,U+201D,U+2022,U+2026,U+2190,U+20B9}
@font-face{font-family:"Mukta";font-weight:600;font-style:normal;font-display:swap;
  src:local("Mukta SemiBold"),local("Mukta-SemiBold"),url("/dhiinterviews/fonts/mukta-600.v1.woff2") format("woff2");
  unicode-range:U+0020-007E,U+00A0-00FF,U+2013,U+2014,U+2018,U+2019,U+201C,U+201D,U+2022,U+2026,U+2190,U+20B9}
@font-face{font-family:"Mukta";font-weight:700;font-style:normal;font-display:swap;
  src:local("Mukta Bold"),local("Mukta-Bold"),url("/dhiinterviews/fonts/mukta-700.v1.woff2") format("woff2");
  unicode-range:U+0020-007E,U+00A0-00FF,U+2013,U+2014,U+2018,U+2019,U+201C,U+201D,U+2022,U+2026,U+2190,U+20B9}

:root{
  /* the ink gradient: lightest stop first, because the contrast test lays the glass over it */
  --ink-top:#1b1e3d; --ink-mid:#121429; --ink-base:#0b0c18;
  --text:#ffffff; --muted:#b4b8cc; --gold:#e9b95c; --on-gold:#1a1405;
  --glass:rgba(20,15,42,.62);          /* the translucent fill of every glass panel */
  --glass-solid:#14122b;               /* used when the browser cannot blur: no lighter than the glass over --ink-top */
  --line:rgba(255,255,255,.22); --line-gold:rgba(233,185,92,.45);
  --f:"Mukta",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --w:680px;
  color-scheme:dark;
}
.fr-wide{--w:760px}

*{box-sizing:border-box}
html,body{margin:0}
[hidden]{display:none !important}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;font-family:var(--f);font-size:16px;line-height:1.6;color:var(--text);
  -webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;
  background:var(--ink-base) radial-gradient(130% 60% at 50% 0%,var(--ink-top) 0%,var(--ink-mid) 45%,var(--ink-base) 100%) no-repeat}

/* ---------- glass ---------- */
.fr-glass{background:var(--glass);border:1px solid var(--line);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.fr-glass{background:var(--glass-solid)}}

/* ---------- header: a slim glass pill with the logo ---------- */
.fr-top{width:100%;max-width:var(--w);margin:0 auto;padding:calc(14px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left))}
.fr-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 16px 0 8px;border-radius:999px}
.fr-brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--text);text-decoration:none;font-weight:600}
.fr-brand img{display:block;width:32px;height:32px}
.fr-back{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-weight:600;text-decoration:none}
.fr-back:hover{color:var(--text)}

/* ---------- the page ---------- */
.fr-main{flex:1 0 auto;width:100%;max-width:var(--w);margin:0 auto;padding:24px calc(16px + env(safe-area-inset-right)) 24px calc(16px + env(safe-area-inset-left))}
.fr-main a{color:var(--gold)}
.fr-card{padding:20px 22px 24px;border-radius:24px;background:var(--glass);border:1px solid var(--line-gold);box-shadow:0 0 24px rgba(233,185,92,.18);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.fr-card{background:var(--glass-solid)}}
.fr-center{text-align:center;padding:32px 22px 36px}

/* reading text: privacy and terms */
.fr-prose h1{margin:0 0 16px;font-weight:700;font-size:26px;line-height:1.25;color:var(--gold);overflow-wrap:anywhere}
.fr-prose .fr-lead{margin:0 0 24px;padding:16px 18px;border-radius:16px;background:rgba(233,185,92,.08);border:1px solid rgba(233,185,92,.25)}
.fr-prose section{padding:18px 0;border-top:1px solid var(--line)}
.fr-prose h2{margin:0 0 8px;font-weight:700;font-size:18px;line-height:1.3;color:var(--text)}
.fr-prose p,.fr-prose li{font-size:16px;line-height:1.65;color:var(--muted)}
.fr-prose p{margin:0 0 10px}
.fr-prose ul{margin:0 0 10px;padding-left:20px}
.fr-prose li{margin-bottom:4px}
.fr-prose b{color:var(--text)}
.fr-card h1{overflow-wrap:anywhere}
.fr-center h1{margin:0 0 12px;font-weight:700;font-size:26px;line-height:1.25;color:var(--gold)}
.fr-center p{margin:0 0 20px;color:var(--muted)}

/* ---------- buttons ---------- */
.fr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 24px;border-radius:14px;font:600 16px/1.3 var(--f);
  text-decoration:none;color:var(--on-gold) !important;background:var(--gold);border:1px solid var(--gold);cursor:pointer}

/* ---------- footer: a glass bar ---------- */
.fr-foot{width:100%;max-width:var(--w);margin:0 auto;padding:8px calc(16px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left))}
.fr-foot-bar{display:flex;flex-direction:column;gap:2px;padding:12px 18px;border-radius:20px}
.fr-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 20px}
.fr-links a,.fr-foot-bar a{display:inline-flex;align-items:center;min-height:44px;color:var(--gold);font-weight:600;text-decoration:none}
.fr-foot-bar a:hover{text-decoration:underline}
.fr-contact,.fr-copy{margin:0;font-size:16px;line-height:1.5;color:var(--muted)}
.fr-contact a{font-weight:400;text-decoration:underline;min-height:44px}
.fr-copy{padding-bottom:4px}

/* ---------- focus: always visible, never removed ---------- */
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--text);outline-offset:3px;border-radius:6px}

/* wider screens: a little more air, same layout */
@media (min-width:900px){
  .fr-card{padding:28px 32px 32px}
  .fr-foot-bar{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px}
}
