:root{
  --bg: #05070b;
  --bg-soft: #0a0d14;
  --bg-panel: rgba(10, 14, 22, 0.74);
  --bg-panel-2: rgba(255, 255, 255, 0.04);

  --text: #f5f7fb;
  --text-soft: #b9c2d3;
  --text-muted: #8690a7;

  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);

  --accent: #de232e;
  --accent-strong: #b91722;
  --accent-soft: rgba(222, 35, 46, 0.18);
  --accent-glow: rgba(222, 35, 46, 0.34);

  --white-glow: rgba(255,255,255,0.08);
  --success: #3bd47c;

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-lg: 0 30px 80px rgba(0,0,0,0.45);
  --shadow-md: 0 20px 50px rgba(0,0,0,0.28);

  --container: 1260px;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(222,35,46,0.12), transparent 26%),
    linear-gradient(180deg, #04060a 0%, #070a10 100%);
  min-height: 100vh;
}

a{
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select{
  font: inherit;
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-shell{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.topbar{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(5,7,11,0.82), rgba(5,7,11,0.35));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-inner{
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon,
.footer-brand-icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1.15rem;
}

.brand-copy{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-title{
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-subtitle{
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1;
}

.nav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link{
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  transition: 0.18s ease;
}

.nav-link:hover,
.nav-link.active{
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 110px;
}

.hero-media{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4,6,10,0.4), rgba(4,6,10,0.72) 56%, rgba(4,6,10,0.95) 100%),
    linear-gradient(to right, rgba(4,6,10,0.82) 0%, rgba(4,6,10,0.48) 45%, rgba(4,6,10,0.72) 100%);
}

.hero-grid-overlay{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 88%);
  pointer-events: none;
}

.hero-glow{
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow-1{
  width: 420px;
  height: 420px;
  right: -90px;
  top: 80px;
  background: rgba(222,35,46,0.20);
}

.hero-glow-2{
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: 120px;
  background: rgba(255,255,255,0.06);
}

.hero-content{
  position: relative;
  z-index: 2;
  width: 90%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
  gap: 28px;
  align-items: end;
  padding-bottom: 72px;
}

.hero-copy{
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.stack-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff9aa0;
}

.hero h1{
  margin: 0 0 18px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 span{
  color: #ffffff;
  text-shadow: 0 0 26px rgba(255,255,255,0.08);
}

.hero-text{
  margin: 0;
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta-pill{
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-panel{
  background: linear-gradient(180deg, rgba(12,15,24,0.84), rgba(8,10,16,0.82));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.hero-panel-header{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 800;
  color: #fff;
}

.status-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(59,212,124,0.12);
}

.hero-stat-list{
  display: grid;
  gap: 12px;
}

.hero-stat-card{
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-card strong{
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-stat-card p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.94rem;
}

.hero-scroll{
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section{
  position: relative;
  padding: 88px 0;
}

.section-alt{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(222,35,46,0.03), rgba(222,35,46,0));
}

.section-heading{
  max-width: 840px;
  margin-bottom: 28px;
}

.section-heading h2{
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 1rem;
}

.path-grid,
.highlight-grid{
  display: grid;
  gap: 18px;
}

.path-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.highlight-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card,
.highlight-card,
.stack-card,
.cta-panel{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: var(--shadow-md);
}

.path-card,
.highlight-card,
.stack-card{
  padding: 24px;
}

.path-card::before,
.highlight-card::before,
.stack-card::before,
.cta-panel::before{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.22), transparent);
  pointer-events: none;
}

.path-icon{
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(222,35,46,0.18), rgba(222,35,46,0.06));
  border: 1px solid rgba(222,35,46,0.24);
  color: #fff;
  font-size: 1.1rem;
}

.path-card h3,
.highlight-card h3,
.stack-card h3{
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.path-card p,
.highlight-card p,
.stack-card p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.split-feature{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.split-copy p{
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 1rem;
}

.feature-list{
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.9;
}

.split-panel{
  display: grid;
  gap: 16px;
}

.highlight-top{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.highlight-top i{
  font-size: 1rem;
  color: #ff8a92;
}

.section-cta{
  padding-top: 48px;
  padding-bottom: 100px;
}

.cta-panel{
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at top right, rgba(222,35,46,0.16), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.cta-copy h2{
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.cta-copy p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 760px;
}

.cta-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer{
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}

.footer-inner{
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand p{
  margin: 6px 0 0;
  color: var(--text-muted);
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a{
  color: var(--text-soft);
  font-weight: 600;
}

.footer-links a:hover{
  color: #fff;
}

.btn{
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.16s ease, opacity 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:hover{
  transform: translateY(-1px);
}

.btn-sm{
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.btn-lg{
  min-height: 52px;
  padding: 0 22px;
}

.btn-primary{
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 34px rgba(222,35,46,0.28);
}

.btn-secondary{
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}

@media (max-width: 1180px){
  .hero-content,
  .split-feature{
    grid-template-columns: 1fr;
  }

  .hero-panel{
    max-width: 520px;
  }

  .path-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-grid{
    grid-template-columns: 1fr;
  }

  .cta-panel{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px){
  .container{
    width: min(var(--container), calc(100% - 24px));
  }

  .topbar-inner{
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav{
    width: 100%;
    justify-content: flex-start;
  }

  .hero{
    min-height: auto;
    padding-top: 118px;
  }

  .hero-content{
    padding-bottom: 68px;
  }

  .hero h1{
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-text{
    font-size: 1rem;
  }

  .path-grid{
    grid-template-columns: 1fr;
  }

  .section{
    padding: 72px 0;
  }

  .cta-copy h2,
  .section-heading h2{
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .brand-subtitle{
    display: none;
  }
}

.page-shell{
  padding-top: 110px;
  min-height: 100vh;
}

.page-title{
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* =========================
   Rules page
   ========================= */

.page-hero{
  position: relative;
  padding: 150px 0 56px;
  overflow: hidden;
}

.page-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(222,35,46,0.16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}

.page-hero-inner{
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.page-title{
  margin: 0 0 14px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.page-intro{
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.rules-layout{
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.rules-sidebar{
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.rules-sidebar-card,
.rules-panel{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: var(--shadow-md);
}

.rules-sidebar-card{
  padding: 20px;
}

.rules-sidebar-card::before,
.rules-panel::before{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
}

.rules-sidebar-label{
  display: block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff9aa0;
}

.rules-anchor-nav{
  display: grid;
  gap: 10px;
}

.rules-anchor-nav a{
  color: var(--text-soft);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  transition: 0.16s ease;
}

.rules-anchor-nav a:hover{
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.rules-sidebar-note p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.rules-main{
  display: grid;
  gap: 24px;
}

.rules-panel{
  padding: 28px;
}

.rules-panel-header{
  margin-bottom: 22px;
}

.rules-panel-header h2{
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.rules-panel-header p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.rules-alert{
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.rules-alert-error{
  background: rgba(222,35,46,0.14);
  border: 1px solid rgba(222,35,46,0.22);
  color: #ffd6d8;
}

.rules-empty{
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  color: var(--text-soft);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
}

.rule-list{
  display: grid;
  gap: 16px;
}

.rule-card{
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.rule-number{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 34px rgba(222,35,46,0.22);
}

.rule-content h3{
  margin: 2px 0 8px;
  font-size: 1.12rem;
  line-height: 1.4;
}

.rule-description{
  color: var(--text-soft);
  line-height: 1.85;
}

.rule-description p{
  margin: 0;
}

.content-flow{
  color: var(--text-soft);
  line-height: 1.9;
}

.content-flow > *:first-child{
  margin-top: 0;
}

.content-flow p{
  margin: 0 0 18px;
}

.content-flow h3{
  margin: 28px 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  color: #fff;
}

.rules-list{
  margin: 0 0 20px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.rules-list li{
  color: var(--text-soft);
  line-height: 1.8;
}

.rules-final-note{
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(222,35,46,0.10);
  border: 1px solid rgba(222,35,46,0.18);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1080px){
  .rules-layout{
    grid-template-columns: 1fr;
  }

  .rules-sidebar{
    position: static;
  }
}

@media (max-width: 780px){
  .page-hero{
    padding: 132px 0 42px;
  }

  .rules-panel{
    padding: 22px;
  }

  .rule-card{
    grid-template-columns: 1fr;
  }

  .rule-number{
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

/* =========================
   Ban appeal page
   ========================= */

.appeal-layout{
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.appeal-sidebar{
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.appeal-sidebar-card,
.appeal-panel{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: var(--shadow-md);
}

.appeal-sidebar-card{
  padding: 20px;
}

.appeal-sidebar-card::before,
.appeal-panel::before{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
}

.appeal-sidebar-card p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.appeal-checklist{
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.appeal-checklist li{
  color: var(--text-soft);
  line-height: 1.8;
}

.appeal-main{
  display: grid;
  gap: 24px;
}

.appeal-panel{
  padding: 28px;
}

.appeal-panel-header{
  margin-bottom: 22px;
}

.appeal-panel-header h2{
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.appeal-panel-header p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.appeal-info-banner{
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.appeal-info-banner p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.appeal-form{
  display: grid;
  gap: 20px;
}

.form-group{
  display: grid;
  gap: 8px;
}

.form-group label{
  font-weight: 800;
  color: #fff;
}

.form-help{
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-input{
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,11,17,0.84);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form-input:focus{
  border-color: rgba(222,35,46,0.55);
  box-shadow: 0 0 0 4px rgba(222,35,46,0.10);
  background: rgba(10,14,22,0.94);
}

.form-input::placeholder{
  color: #7f889b;
}

.form-textarea{
  resize: vertical;
  min-height: 130px;
}

.form-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.appeal-state{
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.appeal-state-icon{
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
}

.appeal-state-success .appeal-state-icon{
  background: linear-gradient(135deg, #1fa65b, #16824a);
  box-shadow: 0 16px 34px rgba(31,166,91,0.22);
}

.appeal-state-error .appeal-state-icon{
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 34px rgba(222,35,46,0.22);
}

.appeal-state-copy h2{
  margin: 2px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.appeal-state-copy p{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
}

.appeal-state-link{
  margin-top: 12px !important;
}

.appeal-state-link a{
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 1080px){
  .appeal-layout{
    grid-template-columns: 1fr;
  }

  .appeal-sidebar{
    position: static;
  }
}

@media (max-width: 780px){
  .appeal-panel{
    padding: 22px;
  }

  .appeal-state{
    grid-template-columns: 1fr;
  }

  .appeal-state-icon{
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
}

/* =========================
   Feedback page
   ========================= */

.page-hero-feedback::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(222,35,46,0.14), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}

/* =========================
   FAQ page
   ========================= */

.page-hero-faq::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(222,35,46,0.14), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}

.faq-layout{
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-sticky{
  position: sticky;
  top: 110px;
}

.faq-sidebar-card,
.faq-panel-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: var(--shadow-md);
}

.faq-sidebar-card{
  padding: 22px;
}

.faq-panel-card{
  padding: 24px;
}

.faq-sidebar-card::before,
.faq-panel-card::before{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
}

.faq-sidebar-header h2{
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.faq-sidebar-header p{
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 1.7;
}

.faq-search-form{
  margin-bottom: 18px;
}

.faq-search-label{
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: #fff;
}

.faq-search-row{
  display: block;
}

.faq-search-input{
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,11,17,0.84);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.faq-search-input:focus{
  border-color: rgba(222,35,46,0.55);
  box-shadow: 0 0 0 4px rgba(222,35,46,0.10);
  background: rgba(10,14,22,0.94);
}

.faq-search-hint{
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.faq-nav{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.faq-nav a{
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,11,17,0.66);
  padding: 13px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.faq-nav a:hover{
  transform: translateY(-1px);
  border-color: rgba(222,35,46,0.65);
  box-shadow: 0 18px 35px rgba(0,0,0,0.32);
}

.faq-nav a.is-active{
  border-color: rgba(222,35,46,0.95);
  box-shadow: 0 18px 35px rgba(0,0,0,0.32);
  background: rgba(222,35,46,0.10);
}

.faq-nav .label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.faq-nav .label i,
.faq-panel-card h2 i{
  color: #ff9aa0;
}

.pill{
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.faq-footnote{
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-content{
  min-width: 0;
}

.faq-panel{
  display: none;
}

.faq-panel.is-active{
  display: block;
}

.faq-panel-card h2{
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.faq-body{
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

.faq-body p{
  margin: 0 0 16px;
}

.faq-body ul,
.faq-body ol{
  margin: 0 0 16px;
  padding-left: 20px;
}

.faq-body li{
  margin: 6px 0;
}

.faq-muted{
  color: var(--text-muted);
}

.faq-highlight{
  font-weight: 800;
  color: #fff;
}

.faq-helper-box{
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.faq-helper-title{
  margin: 0 0 10px;
  font-weight: 800;
  color: #fff;
}

.faq-kbd-row{
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 10px 16px;
  margin: 12px 0 0;
}

.faq-kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(2,6,23,0.7);
  padding: 6px 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  white-space: nowrap;
  color: #fff;
}

.faq-kbd-inline{
  display: inline-flex;
  min-height: auto;
  padding: 2px 8px;
}

code.cmd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.82rem;
  border: 1px solid rgba(222,35,46,0.26);
  background: rgba(222,35,46,0.10);
  padding: 2px 8px;
  border-radius: 8px;
  color: #fff;
  white-space: nowrap;
}

.is-filtered-out{
  display: none !important;
}

.faq-figure{
  margin: 14px 0 0;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(2,6,23,0.35);
  border-radius: 16px;
  overflow: hidden;
}

.faq-figure img{
  display: block;
  width: 100%;
  height: auto;
}

.faq-figure figcaption{
  padding: 12px 14px;
  font-size: 0.82rem;
  color: rgba(229,231,235,0.75);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.faq-page-footer{
  margin-top: 18px;
  padding: 14px 4px 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

@media (max-width: 1080px){
  .faq-layout{
    grid-template-columns: 1fr;
  }

  .faq-sticky{
    position: static;
  }
}

@media (max-width: 780px){
  .faq-panel-card,
  .faq-sidebar-card{
    padding: 20px;
  }

  .faq-kbd-row{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Shared mobile header
   ========================= */

.nav-toggle{
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.nav-toggle:hover{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.nav-toggle:active{
  transform: scale(0.98);
}

.nav-toggle-lines{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-lines span{
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2){
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px){
  .topbar-inner{
    position: relative;
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
  }

  .nav-toggle{
    display: inline-flex;
  }

  .nav{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(10,14,22,0.96), rgba(8,10,16,0.96));
    box-shadow: 0 24px 50px rgba(0,0,0,0.35);
    backdrop-filter: blur(16px);
  }

  .nav.is-open{
    display: flex;
  }

  .nav-link{
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
  }

  .nav-cta{
    width: 100%;
    margin-top: 4px;
  }

  .brand-subtitle{
    display: none;
  }
}

@media (min-width: 901px){
  .nav{
    display: flex !important;
  }
}