.app-guide {
  --guide-grid-gap: clamp(1.5rem, 5vw, 4.5rem);
  --guide-stack-gap: clamp(1.5rem, 4vw, 3rem);
  --guide-action: #252a27;
  --guide-action-text: #f4f2ec;
  --guide-action-hover: #254df1;
  --guide-focus: #254df1;
  font: 16px/1.7 var(--site-nav-font);
  -webkit-font-smoothing: antialiased;
}

.guide-section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  padding-inline: max(5%, calc((100% - 1200px) / 2));
}
.guide-section--hero { padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.guide-hero-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--guide-grid-gap);
}

.app-guide :is(h1, h2, h3) {
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.app-guide h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5.4vw, 4.5rem); line-height: 1.16; letter-spacing: -.055em; }
.app-guide h2 { margin: 0 0 1.25rem; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.23; letter-spacing: -.045em; }
.app-guide h3 { margin: 0 0 .625rem; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.32; letter-spacing: -.025em; }
:is(html[lang="ja"], html[lang="zh-Hans"]) .app-guide :is(h1, h2, h3) { word-break: normal; }

.guide-identity { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; line-height: 1.45; }
.guide-identity img { display: block; }
.guide-identity strong, .guide-identity small { display: block; }
.guide-identity strong { font-size: 1.125rem; }
.guide-identity small { margin-top: .2rem; font-size: .8125rem; }
.guide-lead { max-width: 32rem; margin: 0 0 1.25rem; font-size: clamp(1rem, 1.5vw, 1.1875rem); }
.guide-intro { max-width: 43rem; margin-bottom: var(--guide-stack-gap); }
.guide-intro h2 { margin-bottom: .625rem; }

.guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  max-width: 100%;
  min-height: 48px;
  padding: .625rem 1rem;
  border: 1px solid var(--guide-action);
  border-radius: .5rem;
  background: var(--guide-action);
  color: var(--guide-action-text);
  font: 600 .9375rem/1.4 var(--site-nav-font);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.guide-button:hover { border-color: var(--guide-action-hover); background: var(--guide-action-hover); }
.guide-button[hidden] { display: none; }
.guide-button--secondary, .guide-button--secondary:hover {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}
.guide-button--secondary:hover { box-shadow: inset 0 0 0 1px currentColor; }
.guide-button:focus-visible, .guide-promo video:focus-visible {
  outline: 3px solid var(--guide-focus);
  outline-offset: 4px;
}

.guide-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
  align-items: center;
  gap: var(--guide-grid-gap);
  margin-bottom: var(--guide-stack-gap);
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid transparent;
  border-radius: 1rem;
}
.guide-promo p { max-width: 30rem; margin: 0 0 1.125rem; }
.guide-promo video {
  display: block;
  justify-self: center;
  width: min(100%, 15rem);
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: .75rem;
  background: #252a27;
}

@media (max-width: 760px) {
  .guide-section { padding-inline: 6%; }
  .guide-hero-layout, .guide-promo { grid-template-columns: minmax(0, 1fr); }
  .guide-promo video { width: min(100%, 14.25rem); }
}
