:root {
  --ink: #061424;
  --ink-2: #0a2035;
  --panel: rgba(4, 17, 30, 0.82);
  --panel-2: rgba(5, 24, 39, 0.72);
  --gold: #e9bd48;
  --gold-2: #b77f1f;
  --cream: #fff7df;
  --muted: #c5d0d4;
  --line: rgba(233, 189, 72, 0.38);
  --green: #004c3d;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background:
    radial-gradient(circle at 74% 18%, rgba(233, 189, 72, 0.12), transparent 24%),
    radial-gradient(circle at 18% 96%, rgba(0, 76, 61, 0.24), transparent 32%),
    linear-gradient(180deg, #05111f 0%, #061424 48%, #020912 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 12, 22, 0.78), rgba(5, 18, 31, 0.42), rgba(3, 12, 22, 0.92)),
    radial-gradient(circle at 86% 58%, rgba(233, 189, 72, 0.08), transparent 30%);
  pointer-events: none;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--gold);
  color: #071019;
  padding: 10px 14px;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 22px 0 0;
  background: linear-gradient(180deg, rgba(5, 17, 31, 0.92), rgba(5, 17, 31, 0));
}

.brand-frame {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1px 120px 1px minmax(260px, 1fr);
  align-items: center;
  gap: 0;
  width: min(640px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(6, 23, 38, 0.9), rgba(3, 13, 24, 0.82)),
    radial-gradient(circle at 78% 30%, rgba(233, 189, 72, 0.1), transparent 38%);
  box-shadow: 0 0 0 1px rgba(233, 189, 72, 0.28), var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-agent,
.brand-crush,
.brand-hp {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 88px;
  padding: 12px 22px;
}

.brand-agent {
  flex-direction: column;
  align-items: flex-start;
}

.brand-agent span {
  color: var(--cream);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.brand-agent strong,
.subline,
.section-kicker,
.kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-hp img {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  object-fit: cover;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.brand-crush {
  justify-content: flex-start;
  gap: 14px;
}

.brand-crush img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(193, 63, 255, 0.28);
}

.brand-crush span {
  color: #fff;
  font-size: 25px;
  font-weight: 950;
  letter-spacing: 0;
}

.frame-rule {
  width: 1px;
  height: 46px;
  background: var(--gold);
  opacity: 0.9;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(430px, 1fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  width: min(1320px, calc(100% - 72px));
  min-height: 780px;
  margin: 0 auto;
  padding: 74px 0 42px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 12, 22, 0.02) 0%, rgba(3, 12, 22, 0.12) 38%, rgba(4, 17, 30, 0.64) 58%, rgba(4, 17, 30, 0.96) 100%),
    linear-gradient(180deg, rgba(3, 12, 22, 0.06), rgba(3, 12, 22, 0.1)),
    url("assets/hp-team-creator-hero.png") left center / min(760px, 56vw) auto no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(620px, 48vw);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 17, 30, 0.18), rgba(4, 17, 30, 0.78) 40%, rgba(4, 17, 30, 0.94)),
    url("assets/hp-team-creator-title-pattern.png") right center / auto 100% no-repeat;
  opacity: 0.88;
}

.hero-media {
  min-height: 640px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.kicker {
  margin: 0 0 50px;
}

.hero h1 {
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 6.5vw, 94px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--gold);
  font-size: 1.2em;
}

.subline {
  margin: 8px 0 28px;
  color: #fff7df;
  font-size: 21px;
  letter-spacing: 0.22em;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 34px;
  color: #e8eff1;
  font-size: 24px;
  font-weight: 300;
}

.hero-actions,
.role-labels {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 244px));
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0 28px;
  font-size: 20px;
  font-weight: 500;
}

.btn-primary {
  color: #071019;
  background: linear-gradient(180deg, #f2cc5f, #dfad35);
  box-shadow: 0 20px 42px rgba(233, 189, 72, 0.18);
}

.btn[aria-disabled="true"] {
  cursor: not-allowed;
}

.role-labels {
  margin-top: 12px;
  color: #fff2c2;
  font-size: 14px;
}

.language-tabs {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(112px, 132px);
  gap: 14px;
  margin-top: 22px;
}

.language-tabs button {
  min-height: 50px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(0, 76, 61, 0.76);
  color: #fffce9;
  font-size: 18px;
}

.language-tabs button.is-active {
  color: #071019;
  background: linear-gradient(180deg, #f2cc5f, #dfad35);
}

.signal-strip,
.content-section,
.faq-section {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto 58px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.signal-strip article {
  display: grid;
  gap: 10px;
  min-height: 160px;
  background: rgba(4, 16, 29, 0.9);
  padding: 28px;
}

.signal-strip span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 900;
}

.signal-strip strong,
.path-grid strong,
.support-grid strong {
  color: #fff8e7;
  font-size: 20px;
}

.signal-strip p,
.content-section p,
.flow-list span,
.support-grid span,
.faq-grid p,
footer span {
  color: var(--muted);
}

.content-section,
.faq-section {
  border: 1px solid rgba(233, 189, 72, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 18%, rgba(233, 189, 72, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(6, 22, 38, 0.88), rgba(3, 13, 24, 0.82));
  padding: 44px;
  box-shadow: var(--shadow);
}

.content-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.section-kicker {
  margin: 0 0 12px;
}

.content-section h2,
.faq-section h2 {
  margin: 0 0 16px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
}

.path-grid,
.support-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

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

.path-grid article,
.support-grid article,
.faq-grid details,
.flow-list li {
  border: 1px solid rgba(233, 189, 72, 0.18);
  border-radius: 18px;
  background: rgba(2, 10, 18, 0.48);
  padding: 24px;
}

.flow-section {
  grid-template-columns: 0.72fr 1.28fr;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  gap: 10px;
  counter-increment: step;
}

.flow-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--gold);
  color: #071019;
  font-weight: 900;
}

.support-section {
  grid-template-columns: 0.95fr 1.05fr;
}

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

.support-grid article {
  display: grid;
  gap: 10px;
}

.faq-section {
  display: block;
}

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

.faq-grid summary {
  cursor: pointer;
  color: #fffaf0;
  font-weight: 800;
}

.faq-grid p {
  margin: 12px 0 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 13px;
}

footer strong {
  color: var(--gold);
}

@media (max-width: 1120px) {
  .brand-frame {
    width: min(760px, calc(100% - 32px));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
    overflow: visible;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-media {
    order: 2;
    min-height: 520px;
    border-radius: 34px;
    background: #020910;
    box-shadow: var(--shadow);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-copy {
    order: 1;
  }

  .content-section,
  .flow-section,
  .support-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding-top: 12px;
  }

  .brand-frame {
    grid-template-columns: minmax(112px, 1fr) 1px 72px 1px minmax(112px, 1fr);
    min-height: 62px;
    border-radius: 18px;
    width: calc(100% - 20px);
  }

  .brand-agent,
  .brand-crush,
  .brand-hp {
    min-height: 62px;
    padding: 8px 10px;
  }

  .brand-agent span {
    font-size: 13px;
  }

  .brand-agent strong {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .brand-hp img {
    width: 42px;
    height: 42px;
  }

  .brand-crush {
    gap: 8px;
  }

  .brand-crush img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .brand-crush span {
    font-size: 0;
  }

  .brand-crush span::after {
    content: "Crush Live";
    font-size: 13px;
  }

  .frame-rule {
    height: 34px;
  }

  .hero,
  .signal-strip,
  .content-section,
  .faq-section,
  footer {
    width: calc(100% - 20px);
  }

  .hero {
    gap: 28px;
    padding: 38px 0 28px;
  }

  .hero::after {
    display: none;
  }

  .kicker {
    margin-bottom: 32px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .subline {
    font-size: 15px;
  }

  .hero-text {
    margin-bottom: 26px;
    font-size: 18px;
  }

  .hero-actions,
  .role-labels {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .role-labels {
    display: none;
  }

  .btn {
    width: 100%;
    min-height: 56px;
  }

  .language-tabs {
    width: 100%;
    grid-template-columns: 1fr 0.74fr;
  }

  .hero-media {
    min-height: 470px;
    border-radius: 24px;
  }

  .hero-media img {
    min-height: 470px;
    object-position: 42% center;
  }

  .signal-strip,
  .path-grid,
  .flow-list,
  .support-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip article {
    min-height: auto;
    padding: 22px;
  }

  .content-section,
  .faq-section {
    border-radius: 22px;
    padding: 26px;
  }

  footer {
    display: grid;
  }
}
