/* Instruction-specific presentation. Loaded after the shared dark theme. */
body.radio-modern.max-theme .doc-card:not(.radio-page).instruction-page {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.radio-modern.max-theme .instruction-page::before,
body.radio-modern.max-theme .instruction-hero::after {
  display: none;
}

body.radio-modern.max-theme .instruction-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, .65fr);
  align-items: start;
  gap: clamp(24px, 3.5vw, 52px);
  min-height: 650px;
  margin: 34px 0 72px;
  padding: clamp(34px, 5vw, 64px);
  overflow: visible;
  border: 1px solid #292330;
  border-radius: 28px;
  background-color: #101013;
  background-image:
    radial-gradient(ellipse at 89% 48%, rgba(81, 44, 255, .17), transparent 43%);
  box-shadow: 0 26px 64px rgba(0, 0, 0, .24);
}

body.radio-modern.max-theme .instruction-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

body.radio-modern.max-theme .instruction-page .instruction-eyebrow,
body.radio-modern.max-theme .instruction-page .instruction-section-label {
  margin: 0 0 18px;
  color: var(--theme-info);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.radio-modern.max-theme .instruction-page .instruction-eyebrow {
  color: var(--theme-info);
}

body.radio-modern.max-theme .instruction-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--theme-warm);
  vertical-align: 1px;
}

body.radio-modern.max-theme .instruction-page .instruction-hero h1 {
  margin: 0 0 28px;
  color: #fff;
  background: none;
  font-size: var(--theme-hero-title-size);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.05em;
  animation: none;
  white-space: nowrap;
}

body.radio-modern.max-theme .instruction-hero h1 .instruction-title-line {
  display: block;
  white-space: nowrap;
}

body.radio-modern.max-theme .instruction-hero h1 .instruction-title-line + .instruction-title-line {
  margin-top: 12px;
}

body.radio-modern.max-theme .instruction-hero h1 .instruction-title-accent {
  color: var(--theme-info);
  background: var(--theme-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.radio-modern.max-theme .instruction-page .instruction-lead {
  max-width: 530px;
  margin: 0;
  color: var(--theme-navy-muted);
  font-size: 18px;
  line-height: 1.75;
}

body.radio-modern.max-theme .instruction-channel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: clamp(48px, 4.5vw, 64px) 0 0;
}

body.radio-modern.max-theme .instruction-page a.instruction-channel {
  display: inline-flex;
  flex: 1 1 190px;
  min-width: 0;
  min-height: 94px;
  max-width: 280px;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: none;
  text-decoration: none;
}

body.radio-modern.max-theme .instruction-channel-badge {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: currentColor;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

body.radio-modern.max-theme .instruction-page .instruction-channel strong {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
  color: currentColor;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -.02em;
}

body.radio-modern.max-theme .instruction-page .instruction-join-note {
  margin: 18px 0 0;
  color: var(--theme-navy-muted);
  font-size: 12px;
  line-height: 1.6;
}

body.radio-modern.max-theme .instruction-phone-demo {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 22px;
  margin: 0;
  padding: 14px 0 0;
}

body.radio-modern.max-theme .instruction-phone-demo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% -14% 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 35%, rgba(67, 214, 255, .13), transparent 62%), radial-gradient(ellipse at 72% 73%, rgba(112, 48, 255, .28), transparent 58%);
  filter: blur(26px);
  pointer-events: none;
}

body.radio-modern.max-theme .instruction-phone {
  position: relative;
  width: min(100%, 284px);
  aspect-ratio: 9 / 18.4;
  padding: 8px;
  border: 2px solid #65646C;
  border-radius: 44px;
  background: linear-gradient(145deg, #77777F 0%, #232329 18%, #070709 43%, #45454E 78%, #15151A 100%);
  box-shadow: 0 0 0 1px #111115, inset 0 0 0 1px rgba(255, 255, 255, .3), 0 30px 65px rgba(0, 0, 0, .55);
}

body.radio-modern.max-theme .instruction-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  width: 80px;
  height: 21px;
  border: 1px solid #24242C;
  border-radius: 20px;
  background: #050507;
  transform: translateX(-50%);
  pointer-events: none;
}

body.radio-modern.max-theme .instruction-phone::after {
  content: "";
  position: absolute;
  top: 115px;
  right: -5px;
  width: 3px;
  height: 54px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(#696971, #29292F);
}

body.radio-modern.max-theme .instruction-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid #060609;
  border-radius: 35px;
  background: var(--theme-surface);
}

body.radio-modern.max-theme .instruction-video,
body.radio-modern.max-theme .instruction-video-fallback {
  display: flex;
  width: 100%;
  height: 100%;
}

body.radio-modern.max-theme .instruction-video {
  object-fit: contain;
  background: var(--theme-surface-raised);
}

body.radio-modern.max-theme .instruction-phone [hidden] {
  display: none;
}

body.radio-modern.max-theme .instruction-video-fallback {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 62px 16px 42px;
  background: radial-gradient(ellipse at 20% 8%, rgba(67, 214, 255, .16), transparent 57%), radial-gradient(ellipse at 100% 95%, rgba(112, 48, 255, .3), transparent 64%), #111018;
  text-align: center;
}

body.radio-modern.max-theme .instruction-video-label {
  position: absolute;
  top: 58px;
  left: 12px;
  right: 12px;
  color: var(--theme-subtle);
  font-size: 10px;
  letter-spacing: .02em;
}

body.radio-modern.max-theme .instruction-video-art {
  display: grid;
  width: 124px;
  height: 124px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid #725BFF;
  border-radius: 36px;
  background: linear-gradient(135deg, #194EDF 0%, #572DFF 55%, #7E25DC 100%);
  color: #fff;
  box-shadow: 0 16px 38px rgba(67, 37, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}

body.radio-modern.max-theme .instruction-page .instruction-video-title {
  margin: 0 0 13px;
  color: var(--theme-text);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.035em;
}

body.radio-modern.max-theme .instruction-video-status {
  padding: 6px 12px;
  border: 1px solid #5B477C;
  border-radius: 999px;
  background: #281E3D;
  color: #D6C6FF;
  font-size: 12px;
  line-height: 1.5;
}

body.radio-modern.max-theme .instruction-page .instruction-video-description {
  margin: 18px 0 0;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.7;
}

body.radio-modern.max-theme .instruction-video-bottom {
  position: absolute;
  bottom: 11px;
  width: 92px;
  height: 4px;
  border-radius: 6px;
  background: #ECECF0;
}

body.radio-modern.max-theme .instruction-phone-demo figcaption {
  color: var(--theme-navy-muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

body.radio-modern.max-theme .instruction-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 38px 0 24px;
}

body.radio-modern.max-theme .instruction-section {
  margin: 0 0 86px;
}

body.radio-modern.max-theme .instruction-page .instruction-content h2 {
  margin: 0 0 30px;
  color: var(--theme-text);
  background: none;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -.04em;
  animation: none;
}

body.radio-modern.max-theme .instruction-steps {
  gap: 18px;
  margin: 0;
  padding: 0;
}

body.radio-modern.max-theme .instruction-steps li {
  min-height: 230px;
  padding: 100px 24px 26px;
  overflow: visible;
  border: 1px solid var(--theme-line);
  border-radius: 24px;
  background: linear-gradient(145deg, #21182E, #151219 80%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

body.radio-modern.max-theme .instruction-steps li::before {
  top: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  border: 1px solid #4A3685;
  border-radius: 18px;
  color: #FFFFFF;
  background: var(--theme-button-bg);
  font-size: 20px;
  box-shadow: none;
}

body.radio-modern.max-theme .instruction-steps li::after {
  display: none;
}

body.radio-modern.max-theme .instruction-page .instruction-steps strong {
  margin-bottom: 12px;
  color: var(--theme-text);
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -.025em;
}

body.radio-modern.max-theme .instruction-steps span {
  max-width: 310px;
  color: var(--theme-muted);
  font-size: 15px;
  line-height: 1.8;
}

body.radio-modern.max-theme .instruction-benefit {
  gap: 26px;
  margin: 0 0 90px;
  padding: 38px;
  border: 1px solid var(--theme-line);
  border-radius: 28px;
  background: var(--theme-surface);
  box-shadow: var(--theme-shadow);
}

body.radio-modern.max-theme .instruction-benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 21px;
  background: #2D1A51;
  color: #D7C7FF;
  font-size: 32px;
  box-shadow: none;
}

body.radio-modern.max-theme .instruction-page .instruction-benefit h2 {
  margin-bottom: 15px;
  font-size: clamp(26px, 3vw, 34px);
}

body.radio-modern.max-theme .instruction-page .instruction-benefit p {
  max-width: 780px;
  color: var(--theme-muted);
  font-size: 16px;
  line-height: 1.8;
}

body.radio-modern.max-theme .instruction-faq-section {
  width: 100%;
  max-width: none;
}

body.radio-modern.max-theme .instruction-faq {
  gap: 0;
  padding: 0 24px;
  border: 1px solid var(--theme-line);
  border-radius: 24px;
  background: var(--theme-surface);
  box-shadow: var(--theme-shadow);
}

body.radio-modern.max-theme .instruction-faq details,
body.radio-modern.max-theme .instruction-faq details[open] {
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--theme-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.radio-modern.max-theme .instruction-faq details:last-child {
  border-bottom: 0;
}

body.radio-modern.max-theme .instruction-faq summary {
  padding: 26px 46px 26px 0;
  color: var(--theme-text);
  font-size: 18px;
  font-weight: 600;
}

body.radio-modern.max-theme .instruction-faq summary::after {
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--theme-accent);
  color: #fff;
  font-size: 23px;
  transition: background-color .2s ease;
}

body.radio-modern.max-theme .instruction-faq summary:is(:hover, :focus-visible)::after {
  background: var(--theme-accent-hover);
}

body.radio-modern.max-theme .instruction-faq summary:is(:hover, :focus-visible) {
  color: var(--theme-hover);
}

body.radio-modern.max-theme .instruction-page .instruction-faq p {
  padding: 0 46px 26px 0;
  color: var(--theme-muted);
  font-size: 16px;
  line-height: 1.8;
}

body.radio-modern.max-theme .instruction-related {
  margin: 0;
  padding: 0;
  border: 0;
}

body.radio-modern.max-theme .instruction-page .instruction-related h2 {
  font-size: 26px;
}

body.radio-modern.max-theme .instruction-related-links {
  gap: 18px;
}

body.radio-modern.max-theme .instruction-page .instruction-related-links a {
  min-height: 96px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: none;
}

body.radio-modern.max-theme .instruction-footer-actions {
  width: 100%;
  margin: 24px 0 0;
  padding: 28px 0 0;
  border-color: var(--theme-line);
}

@media (min-width: 769px) {
  body.radio-modern.max-theme .instruction-hero-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(74px, 6vw, 86px);
  }

  body.radio-modern.max-theme .instruction-channel-grid {
    margin: auto 0 0;
    padding-top: 48px;
  }
}

body.radio-modern.max-theme .instruction-page :focus-visible,
body.radio-modern.max-theme .instruction-faq details:focus-within {
  outline: 3px solid var(--theme-info);
  outline-offset: 5px;
}

body.radio-modern.max-theme .instruction-page .instruction-hero :focus-visible {
  outline: 3px solid var(--theme-info);
  outline-offset: 4px;
  box-shadow: none !important;
}

body.radio-modern.max-theme .instruction-faq summary:focus-visible {
  outline: none;
}

@media (max-width: 1000px) {
  body.radio-modern.max-theme .instruction-hero {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  body.radio-modern.max-theme .instruction-channel-grid {
    gap: 10px;
  }

  body.radio-modern.max-theme .instruction-page a.instruction-channel {
    padding: 16px;
  }
}

@media (max-width: 768px) {
  body.radio-modern.max-theme .instruction-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
    margin-top: 14px;
    margin-bottom: 52px;
    padding: 34px 26px 42px;
    border-radius: 26px;
  }

  body.radio-modern.max-theme .instruction-page .instruction-hero h1 {
    font-size: var(--theme-hero-title-size);
    line-height: 1.08;
    white-space: normal;
  }

  body.radio-modern.max-theme .instruction-page .instruction-lead {
    max-width: 590px;
    font-size: 16px;
  }

  body.radio-modern.max-theme .instruction-page a.instruction-channel {
    flex-basis: 180px;
    max-width: none;
  }

  body.radio-modern.max-theme .instruction-channel-grid {
    margin-top: 42px;
  }

  body.radio-modern.max-theme .instruction-phone-demo {
    padding-top: 6px;
  }

  body.radio-modern.max-theme .instruction-phone-demo::before {
    inset: 0 0 12%;
  }

  body.radio-modern.max-theme .instruction-phone {
    width: min(100%, 268px);
  }

  body.radio-modern.max-theme .instruction-content {
    padding-top: 14px;
  }

  body.radio-modern.max-theme .instruction-section {
    margin-bottom: 56px;
  }

  body.radio-modern.max-theme .instruction-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.radio-modern.max-theme .instruction-steps li {
    min-height: 0;
    padding: 100px 24px 24px;
  }

  body.radio-modern.max-theme .instruction-steps span {
    max-width: 100%;
  }

  body.radio-modern.max-theme .instruction-benefit {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 56px;
    padding: 26px;
    border-radius: 24px;
  }

  body.radio-modern.max-theme .instruction-page .instruction-benefit p,
  body.radio-modern.max-theme .instruction-page .instruction-faq p {
    font-size: 15px;
  }

  body.radio-modern.max-theme .instruction-faq summary {
    font-size: 16px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  body.radio-modern.max-theme .instruction-related-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.radio-modern.max-theme .instruction-page .instruction-related-links a {
    min-height: 70px;
    padding: 18px;
  }
}

@media (max-width: 400px) {
  body.radio-modern.max-theme .instruction-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  body.radio-modern.max-theme .instruction-page .instruction-hero h1 {
    font-size: var(--theme-hero-title-size);
  }

  body.radio-modern.max-theme .instruction-hero h1 .instruction-title-line {
    white-space: normal;
  }

  body.radio-modern.max-theme .instruction-page a.instruction-channel {
    min-height: 82px;
    flex-basis: 100%;
  }

  body.radio-modern.max-theme .instruction-benefit {
    padding: 22px;
  }

  body.radio-modern.max-theme .instruction-page .instruction-steps strong {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.radio-modern.max-theme .instruction-page a.instruction-channel,
  body.radio-modern.max-theme .instruction-page .instruction-related-links a {
    transition: none;
  }
}
