.page-home{
  --ph-orange:#ff5400;
  --ph-lava:#c61c00;
  --ph-night:#0b1020;
  --ph-navy:#131a30;
  --ph-gold:#d4af37;
  --ph-cyber:#1d9bf0;
  --ph-pearl:#f5f7fa;
  --ph-dark:#1c2130;
  --ph-smoke:#5a6068;
  --ph-success:#21c55e;
  position:relative;
  overflow-x:hidden;
  background:var(--ph-night);
  color:var(--ph-pearl);
}

.page-home img{
  max-width:100%;
  height:auto;
}

.page-home .home-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 20px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  color:var(--ph-gold);
  text-transform:uppercase;
}

.page-home .home-kicker::before{
  content:"";
  width:32px;
  height:3px;
  background:linear-gradient(90deg, var(--ph-orange), var(--ph-gold));
  transform:skewX(-20deg);
  flex-shrink:0;
}

.page-home .home-kicker--dark{
  color:var(--ph-orange);
}

.page-home .home-kicker--dark::before{
  background:linear-gradient(90deg, var(--ph-orange), var(--ph-lava));
}

/* ===== Hero ===== */
.page-home .home-hero{
  position:relative;
  padding:56px 0 72px;
  background:
    radial-gradient(900px 520px at 86% 16%, rgba(255,84,0,.32) 0%, transparent 60%),
    radial-gradient(680px 400px at 10% 84%, rgba(29,155,240,.12) 0%, transparent 52%),
    linear-gradient(148deg, var(--ph-night) 0%, var(--ph-navy) 68%, #20273c 100%);
}

.page-home .home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 55%, rgba(0,0,0,.7) 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 55%, rgba(0,0,0,.7) 100%);
}

.page-home .home-hero__container{
  position:relative;
  display:grid;
  gap:40px;
  align-items:center;
}

.page-home .home-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 28px;
  font-size:13px;
  letter-spacing:.08em;
  color:rgba(245,247,250,.6);
}

.page-home .home-breadcrumb__sep{
  color:var(--ph-orange);
}

.page-home .home-breadcrumb__item--current{
  color:var(--ph-gold);
  font-weight:700;
}

.page-home .home-hero__title{
  margin:0 0 24px;
  font-size:clamp(44px, 8vw, 88px);
  line-height:1.06;
  letter-spacing:-.03em;
  font-weight:900;
  color:var(--ph-pearl);
}

.page-home .home-hero__lead{
  margin:0 0 32px;
  max-width:560px;
  font-size:17px;
  line-height:1.75;
  color:rgba(245,247,250,.84);
}

.page-home .home-hero__actions{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-bottom:32px;
  max-width:560px;
}

.page-home .home-hero__btn{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  min-height:76px;
  padding:13px 24px;
  text-decoration:none;
  clip-path:polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.page-home .home-hero__btn--primary{
  background:linear-gradient(135deg, var(--ph-orange), var(--ph-lava));
  color:#fff;
  box-shadow:0 10px 28px rgba(255,84,0,.28);
}

.page-home .home-hero__btn--primary:hover{
  transform:translate(-2px,-2px);
  box-shadow:0 14px 32px rgba(255,84,0,.42);
}

.page-home .home-hero__btn--ghost{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(212,175,55,.5);
  border-right:0;
  color:var(--ph-pearl);
}

.page-home .home-hero__btn--ghost:hover{
  background:rgba(255,84,0,.14);
}

.page-home .home-hero__btn-label{
  font-size:20px;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.2;
}

.page-home .home-hero__btn-desc{
  font-size:13px;
  opacity:.72;
  line-height:1.3;
}

.page-home .home-hero__quick{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin:0;
  padding:0;
  list-style:none;
  font-size:13px;
  color:rgba(245,247,250,.66);
}

.page-home .home-hero__quick li::before{
  content:"//";
  margin-right:6px;
  color:var(--ph-orange);
  font-family:var(--font-mono);
}

.page-home .home-hero__media{
  position:relative;
  min-height:260px;
  aspect-ratio:16/10;
  clip-path:polygon(8% 0, 100% 0, 100% 82%, 92% 100%, 0 100%, 0 18%);
  overflow:hidden;
  background:var(--ph-navy);
}

.page-home .home-hero__media .home-hero__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  max-width:100%;
}

.page-home .home-hero__media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg, rgba(11,16,32,.18) 0%, rgba(11,16,32,.04) 45%, rgba(11,16,32,.72) 100%);
}

.page-home .home-hero__phoenix{
  position:absolute;
  z-index:2;
  right:10%;
  bottom:16%;
  font-weight:900;
  font-size:clamp(28px, 5vw, 52px);
  letter-spacing:.22em;
  color:transparent;
  -webkit-text-stroke:1px rgba(212,175,55,.42);
  transform:rotate(-6deg);
  white-space:nowrap;
  pointer-events:none;
}

.page-home .home-hero__index{
  position:absolute;
  z-index:2;
  left:13%;
  top:12%;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.16em;
  color:rgba(245,247,250,.72);
}

.page-home .home-hero__totem{
  position:absolute;
  z-index:1;
  right:-14px;
  bottom:-18px;
  width:180px;
  height:180px;
  color:var(--ph-orange);
  opacity:.18;
  fill:currentColor;
  pointer-events:none;
}

/* ===== Dashboard ===== */
.page-home .home-dashboard{
  padding:64px 0 24px;
  background:var(--ph-night);
}

.page-home .home-dashboard__head{
  margin-bottom:24px;
}

.page-home .home-dashboard .section-title{
  color:var(--ph-pearl);
}

.page-home .home-dashboard .section-more{
  color:var(--ph-cyber);
}

.page-home .home-dash-card{
  position:relative;
  padding:28px 22px 24px;
  background:linear-gradient(150deg, rgba(255,84,0,.10) 0%, rgba(11,16,32,.94) 56%);
  border:1px solid rgba(212,175,55,.28);
  border-left:4px solid var(--ph-orange);
  color:var(--ph-pearl);
}

.page-home .home-dash-card::before{
  content:"";
  position:absolute;
  right:0;
  top:0;
  width:34px;
  height:34px;
  background:rgba(255,84,0,.18);
  clip-path:polygon(100% 0, 100% 100%, 0 0);
}

.page-home .home-dash-card--primary{
  background:linear-gradient(150deg, rgba(255,84,0,.22) 0%, rgba(11,16,32,.96) 62%);
  border-color:rgba(255,84,0,.55);
}

.page-home .home-dash-card__num{
  display:block;
  font-size:44px;
  line-height:1;
  color:var(--ph-gold);
  font-family:var(--font-mono);
  font-weight:800;
  margin-bottom:14px;
}

.page-home .home-dash-card__label{
  display:block;
  font-size:16px;
  font-weight:700;
  color:#fff;
}

.page-home .home-dash-card__note{
  margin:6px 0 0;
  font-size:13px;
  line-height:1.5;
  color:rgba(245,247,250,.6);
}

/* ===== Reports ===== */
.page-home .home-reports{
  padding:64px 0;
  background:var(--ph-pearl);
  color:var(--ph-dark);
}

.page-home .home-reports .section-title{
  color:var(--ph-dark);
}

.page-home .home-reports .section-more{
  color:var(--ph-cyber);
}

.page-home .home-reports__bento{
  display:grid;
  gap:24px;
  margin-top:32px;
}

.page-home .home-report-main{
  position:relative;
  display:flex;
  flex-direction:column;
  padding:24px;
  background:#fff;
  border:1px solid rgba(28,33,48,.1);
  box-shadow:var(--shadow-md);
}

.page-home .home-report-main__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:22px;
  flex-wrap:wrap;
}

.page-home .home-report-main__scorebox{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:12px;
  align-items:center;
  margin-bottom:20px;
}

.page-home .home-report-main__team{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.page-home .home-report-main__team:last-child{
  text-align:right;
}

.page-home .home-report-main__team-name{
  font-size:18px;
  font-weight:800;
  color:var(--ph-dark);
}

.page-home .home-report-main__team-rank{
  font-size:12px;
  color:var(--ph-smoke);
}

.page-home .home-report-main__score{
  font-size:40px;
  font-weight:800;
  color:var(--ph-orange);
  font-family:var(--font-mono);
  line-height:1;
}

.page-home .home-report-main__text{
  font-size:15px;
  line-height:1.7;
  color:var(--ph-smoke);
  margin:0 0 18px;
}

.page-home .home-report-main__chart{
  width:100%;
  height:auto;
  display:block;
  margin-bottom:16px;
  border:1px solid rgba(28,33,48,.1);
}

.page-home .home-report-main__more{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--ph-cyber);
  font-weight:700;
  font-size:15px;
  text-decoration:none;
}

.page-home .home-reports__side{
  display:grid;
  gap:14px;
  align-content:start;
}

.page-home .home-report-mini{
  padding:18px;
  background:#fff;
  border:1px solid rgba(28,33,48,.1);
  border-left:3px solid var(--ph-orange);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.page-home .home-report-mini__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}

.page-home .home-report-mini__league{
  font-size:14px;
  font-weight:700;
  color:var(--ph-dark);
}

.page-home .home-report-mini__score{
  display:flex;
  align-items:baseline;
  gap:12px;
}

.page-home .home-report-mini__score .score-display{
  font-size:24px;
  color:var(--ph-dark);
  font-family:var(--font-mono);
  font-weight:800;
}

.page-home .home-report-mini__state{
  font-size:12px;
  color:var(--ph-success);
  font-weight:700;
}

.page-home .home-report-mini__link{
  font-size:13px;
  color:var(--ph-cyber);
  text-decoration:none;
  font-weight:700;
}

.page-home .home-report-mini--notice{
  background:linear-gradient(135deg, rgba(255,84,0,.08), rgba(255,84,0,.02));
  border-left-color:var(--ph-gold);
}

.page-home .home-report-mini__tip{
  margin:0;
  font-size:14px;
  line-height:1.65;
  color:var(--ph-dark);
}

/* ===== Mobile ===== */
.page-home .home-mobile{
  position:relative;
  overflow:hidden;
  padding:64px 0;
  background:var(--ph-navy);
  color:var(--ph-pearl);
}

.page-home .home-mobile::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-140px;
  top:-140px;
  background:radial-gradient(circle, rgba(255,84,0,.2) 0%, transparent 60%);
  pointer-events:none;
}

.page-home .home-mobile__grid{
  display:grid;
  gap:40px;
  align-items:center;
}

.page-home .home-mobile .section-title{
  color:var(--ph-pearl);
}

.page-home .home-mobile__lead{
  font-size:17px;
  line-height:1.75;
  margin:0 0 28px;
  color:rgba(245,247,250,.78);
}

.page-home .filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:0 0 28px;
  padding:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}

.page-home .filter-bar__label{
  font-size:13px;
  color:rgba(245,247,250,.6);
  margin-right:8px;
  letter-spacing:.08em;
}

.page-home .filter-btn{
  border:1px solid rgba(255,255,255,.16);
  background:transparent;
  color:var(--ph-pearl);
  padding:8px 16px;
  font-size:14px;
  cursor:pointer;
  min-height:44px;
  text-decoration:none;
  clip-path:polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition:background .2s, color .2s, border-color .2s;
}

.page-home .filter-btn[aria-pressed="true"]{
  background:var(--ph-orange);
  color:#fff;
  border-color:var(--ph-orange);
  font-weight:700;
}

.page-home .home-mobile__tips{
  display:grid;
  gap:16px;
}

.page-home .home-mobile__tip{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-left:3px solid var(--ph-gold);
}

.page-home .home-mobile__tip-num{
  font-family:var(--font-mono);
  font-size:14px;
  font-weight:800;
  color:var(--ph-orange);
  flex-shrink:0;
}

.page-home .home-mobile__tip strong{
  display:block;
  font-size:16px;
  margin-bottom:4px;
}

.page-home .home-mobile__tip p{
  margin:0;
  font-size:14px;
  line-height:1.6;
  color:rgba(245,247,250,.68);
}

.page-home .home-mobile__visual{
  position:relative;
  max-width:460px;
  margin-inline:auto;
  width:100%;
}

.page-home .home-mobile__visual img{
  width:100%;
  height:auto;
  display:block;
  clip-path:polygon(5% 0, 100% 0, 100% 88%, 95% 100%, 0 100%, 0 12%);
}

.page-home .home-mobile__visual figcaption{
  margin-top:16px;
  font-size:13px;
  text-align:center;
  color:rgba(245,247,250,.52);
  letter-spacing:.06em;
}

/* ===== Trust ===== */
.page-home .home-trust{
  padding:64px 0;
  background:var(--ph-pearl);
  color:var(--ph-dark);
}

.page-home .home-trust .section-title{
  color:var(--ph-dark);
}

.page-home .home-trust .section-more{
  color:var(--ph-cyber);
}

.page-home .home-trust__grid{
  display:grid;
  gap:18px;
  margin-top:32px;
}

.page-home .home-trust__item{
  position:relative;
  padding:24px;
  background:#fff;
  border:1px solid rgba(28,33,48,.1);
  border-top:3px solid var(--ph-gold);
  display:flex;
  flex-direction:column;
  gap:12px;
}

.page-home .home-trust__item h3{
  margin:0;
  font-size:19px;
  font-weight:800;
  color:var(--ph-dark);
}

.page-home .home-trust__item p{
  margin:0;
  font-size:14px;
  line-height:1.7;
  color:var(--ph-smoke);
}

.page-home .home-trust__icon{
  margin:0;
}

.page-home .home-trust__icon img{
  width:100%;
  height:auto;
  display:block;
}

.page-home .home-trust__digits{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,84,0,.12);
  color:var(--ph-orange);
  font-family:var(--font-mono);
  font-size:26px;
  font-weight:800;
  clip-path:polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-home .home-trust__num{
  color:var(--ph-orange);
  font-size:38px;
  font-family:var(--font-mono);
  font-weight:800;
  line-height:1;
  margin:0 !important;
}

.page-home .home-trust__item--wide{
  grid-column:auto;
}

.page-home .home-trust__statement{
  font-size:15px !important;
  line-height:1.85 !important;
  color:var(--ph-dark) !important;
  border-left:3px solid rgba(212,175,55,.6);
  padding-left:16px;
}

/* ===== FAQ ===== */
.page-home .home-faq{
  padding:64px 0;
  background:var(--ph-pearl);
  color:var(--ph-dark);
  border-top:1px solid rgba(28,33,48,.08);
}

.page-home .home-faq .section-title{
  color:var(--ph-dark);
}

.page-home .home-faq__grid{
  display:grid;
  gap:36px;
}

.page-home .home-faq__intro p{
  color:var(--ph-smoke);
  line-height:1.7;
  margin:0 0 20px;
}

.page-home .home-faq__intro .btn{
  margin-top:4px;
}

.page-home .home-faq__acc{
  border:1px solid rgba(28,33,48,.1);
  background:#fff;
}

.page-home .home-faq__acc .acc-trigger{
  color:var(--ph-dark);
}

.page-home .home-faq__contact{
  margin-top:16px;
  padding:16px 18px;
  background:rgba(29,155,240,.06);
  border-left:3px solid var(--ph-cyber);
}

.page-home .home-faq__contact p{
  margin:0 0 8px;
  font-size:14px;
  color:var(--ph-smoke);
  line-height:1.6;
}

.page-home .home-faq__link{
  color:var(--ph-cyber);
  font-weight:700;
  text-decoration:none;
}

/* ===== Media queries ===== */
@media (min-width:640px){
  .page-home .home-hero__actions{
    grid-template-columns:1fr 1fr;
  }

  .page-home .home-trust__grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .page-home .home-faq__grid{
    grid-template-columns:1fr;
  }
}

@media (min-width:768px){
  .page-home .home-dashboard__grid{
    grid-template-columns:repeat(3, 1fr);
  }

  .page-home .home-trust__item--wide{
    grid-column:span 2;
  }
}

@media (min-width:960px){
  .page-home .home-hero{
    padding:80px 0 96px;
  }

  .page-home .home-hero__container{
    grid-template-columns:minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap:48px;
  }

  .page-home .home-hero__media{
    min-height:420px;
    aspect-ratio:16/11;
  }

  .page-home .home-reports__bento{
    grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr);
    align-items:stretch;
  }

  .page-home .home-mobile__grid{
    grid-template-columns:minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap:56px;
  }

  .page-home .home-faq__grid{
    grid-template-columns:minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap:56px;
  }
}

@media (min-width:1024px){
  .page-home .home-trust__grid{
    grid-template-columns:repeat(4, 1fr);
  }
}
