.hero {
  padding-top: 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(470px, 1.06fr);
  gap: clamp(52px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - var(--header-offset) - 12px);
  padding-bottom: 8px;
}

.hero__content {
  max-width: 590px;
}

.hero__content h1 {
  margin-top: 24px;
  max-width: 10.5ch;
  font-size: clamp(3rem, 5.9vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero__subtitle {
  margin-top: 24px;
  max-width: 34rem;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.76;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__visual {
  position: relative;
  min-height: 650px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.32));
  box-shadow: 0 28px 70px rgba(26, 39, 71, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.hero__visual-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  min-height: 100%;
}

.hero__halo {
  position: absolute;
  inset: 10% 8% 8%;
  border-radius: 38px;
  background:
    radial-gradient(circle at 28% 28%, rgba(113, 157, 255, 0.44), transparent 32%),
    radial-gradient(circle at 72% 26%, rgba(255, 198, 149, 0.34), transparent 28%),
    radial-gradient(circle at 62% 78%, rgba(116, 211, 255, 0.28), transparent 26%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 255, 0.26));
  filter: blur(10px);
}

.hero__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.hero__orbit--outer {
  inset: 6% 8% 8% 8%;
}

.hero__orbit--inner {
  inset: 16% 15% 18% 16%;
}

.hero-floating {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 26px rgba(26, 39, 71, 0.08);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(16px);
}

.hero-floating--top {
  justify-self: end;
}

.hero-floating--bottom {
  align-self: start;
  justify-self: start;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 250px;
  padding: 34px 34px 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 48%);
  backdrop-filter: blur(26px);
  box-shadow: 0 22px 46px rgba(26, 39, 71, 0.1);
}

.hero-panel__heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
}

.hero-panel__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(20, 83, 255, 0.08);
  color: var(--color-accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-panel__title {
  margin-top: 18px;
  max-width: 10ch;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-panel__subtitle {
  margin-top: 14px;
  max-width: 30ch;
  color: var(--color-muted);
}

.hero__visual-lower {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.hero-panel__list {
  display: grid;
  gap: 16px;
}

.hero-panel__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 18px 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.hero-panel__index {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.05);
  color: var(--color-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.hero-panel__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-panel__copy strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-panel__copy span {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.guide-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}

.guide-intro {
  padding: 12px 10px 12px 10px;
}

.guide-intro h2 {
  margin-top: 18px;
  max-width: 11ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.guide-intro p {
  margin-top: 16px;
  max-width: 34rem;
  color: var(--color-muted);
}

.guide-list {
  display: grid;
  gap: var(--grid-gap);
}

@media (max-width: 1120px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__visual {
    min-height: 610px;
  }

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

  .guide-shell {
    grid-template-columns: 1fr;
  }

  .guide-intro h2 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 14px;
  }

  .hero__content h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 8vw, 4.3rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero__visual {
    min-height: 520px;
    padding: 22px;
    border-radius: 32px;
  }

  .hero-floating--top {
    justify-self: end;
  }

  .hero-floating--bottom {
    justify-self: start;
  }

  .hero-panel {
    padding: 26px;
    border-radius: 28px;
  }

  .hero-panel__title {
    max-width: none;
    font-size: clamp(1.9rem, 5vw, 2.6rem);
  }

  .hero__visual-lower {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-panel__item {
    min-height: 76px;
  }
}

@media (max-width: 760px) {
  .entry-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero__content h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero__pills {
    gap: 10px;
  }

  .hero__visual {
    min-height: 450px;
    padding: 18px;
  }

  .hero__halo {
    inset: 8%;
  }

  .hero__orbit--outer {
    inset: 5% 5% 8% 5%;
  }

  .hero__orbit--inner {
    inset: 18% 10% 18% 10%;
  }

  .hero-floating {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero-panel {
    padding: 20px;
  }

  .hero-panel__title {
    font-size: 1.84rem;
  }

  .hero-panel__subtitle {
    max-width: none;
    font-size: 0.95rem;
  }

  .hero-panel__item {
    min-height: 72px;
    padding: 16px;
    border-radius: 20px;
  }

  .guide-shell {
    padding: 20px;
    border-radius: 30px;
  }
}

.redirect-page {
  min-height: 100vh;
}

.redirect-main {
  display: flex;
  min-height: 100vh;
  padding: 34px 0 30px;
}

.redirect-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.redirect-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 24px rgba(26, 39, 71, 0.05);
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    transform var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.redirect-back::before {
  content: "←";
  color: var(--color-text);
}

.redirect-back:hover {
  transform: translateY(-2px);
  color: var(--color-text);
  border-color: rgba(20, 83, 255, 0.12);
  box-shadow: 0 14px 28px rgba(26, 39, 71, 0.08);
}

.redirect-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 72px) clamp(28px, 6vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.56)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 56%);
  box-shadow: 0 26px 64px rgba(26, 39, 71, 0.08);
  backdrop-filter: blur(20px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.redirect-stage__glow {
  position: absolute;
  inset: 16% 24% auto;
  height: 240px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(117, 162, 255, 0.3) 0%, rgba(117, 162, 255, 0) 72%);
  filter: blur(10px);
  opacity: 0.9;
  z-index: 0;
}

.redirect-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin-bottom: 26px;
}

.redirect-icon__mark {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(39, 64, 132, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 20px 34px rgba(20, 83, 255, 0.14);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.redirect-icon__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.redirect-icon__ring--outer {
  inset: 0;
}

.redirect-icon__ring--inner {
  inset: 18px;
}

.redirect-stage__eyebrow {
  position: relative;
  z-index: 1;
}

.redirect-stage__title {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  max-width: 12ch;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.redirect-stage__subtitle {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  max-width: 30rem;
  color: var(--color-muted);
  font-size: 1.04rem;
  line-height: 1.76;
  text-wrap: pretty;
}

.redirect-domain {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(26, 39, 71, 0.05);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.redirect-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 0.98rem;
  font-weight: 500;
}

.redirect-status strong {
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 1.06em;
}

.redirect-status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(20, 83, 255, 0.78);
  box-shadow: 0 0 0 6px rgba(20, 83, 255, 0.08);
  flex: 0 0 auto;
}

.redirect-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.redirect-actions .button {
  min-width: 168px;
}

.redirect-brand {
  justify-self: center;
  color: var(--color-soft);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .redirect-main {
    padding: 24px 0 22px;
  }

  .redirect-shell {
    gap: 18px;
  }

  .redirect-stage {
    width: 100%;
    border-radius: 30px;
  }

  .redirect-stage__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .redirect-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .redirect-actions .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .redirect-back {
    min-height: 40px;
    font-size: 0.88rem;
  }

  .redirect-stage {
    padding: 36px 20px 34px;
  }

  .redirect-icon {
    width: 116px;
    height: 116px;
    margin-bottom: 22px;
  }

  .redirect-icon__mark {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    font-size: 1.45rem;
  }

  .redirect-icon__ring--inner {
    inset: 16px;
  }

  .redirect-stage__subtitle {
    font-size: 0.98rem;
  }

  .redirect-domain {
    width: 100%;
    max-width: 280px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .redirect-status {
    font-size: 0.92rem;
  }
}
