.learning-section { padding-block: 76px; border-top: 1px solid #ded9d2; }
.learning-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.learning-heading h2 { max-width: 650px; font-size: clamp(28px, 3vw, 39px); line-height: 1.2; letter-spacing: -.035em; }
.learning-heading > a { flex-shrink: 0; font-size: 13px; color: #954126; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.guide-card { min-width: 0; padding-top: 24px; border-top: 1px solid #d7cec2; }
.guide-card h3 { margin: 0 0 16px; font-size: 23px; font-weight: 550; letter-spacing: -.035em; line-height: 1.3; }
.guide-card h3 a { color: #292b28; }
.guide-card h3 a:hover { color: #954126; text-decoration: underline; text-underline-offset: 4px; }
.guide-card p { margin: 0 0 20px; font-size: 14px; line-height: 1.75; color: #62645d; }
.guide-card .guide-read { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 13px; color: #954126; }
.guide-header-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; font-size: 13px; }
.guide-header-links a { padding-block: 10px; color: #4d514b; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 24px; font-size: 13px; color: #686b63; }
.guide-breadcrumb a { color: #686b63; }
.guide-page .guide-intro { font-size: 18px; line-height: 1.8; color: #4f534b; }
.guide-page .legal-document ol { padding-left: 24px; margin: 16px 0 24px; }
.guide-page .legal-document li { padding-left: 6px; margin-bottom: 14px; }
.guide-screenshot { margin: 32px 0 42px; }
.guide-screenshot img { display: block; width: 100%; height: auto; border: 1px solid #ded9d2; border-radius: 12px; background: #f0ede6; }
.guide-screenshot figcaption { margin-top: 12px; color: #686b63; font-size: 12px; line-height: 1.6; }
.guide-next { margin-top: 50px; padding-top: 28px; border-top: 1px solid #ded9d2; }
.guide-next h2 { margin-top: 0; font-size: 27px; }
.guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin: 22px 0; }
.guide-page .guide-actions .button { text-decoration: none; }
.guide-page .guide-next p { font-size: 13px; line-height: 1.75; color: #62645d; }
.guide-index { width: min(1140px, calc(100% - 64px)); min-height: 70svh; margin: 64px auto 90px; padding: 0; }
.guide-index h1 { max-width: 760px; font-size: clamp(38px, 5vw, 64px); font-weight: 550; line-height: 1.1; }
.guide-index-intro { max-width: 600px; margin: 26px 0 60px; color: #62645d; font-size: 18px; line-height: 1.7; }
.guide-index-help { margin-top: 56px; font-size: 14px; color: #62645d; }
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr; gap: 24px; }
  .learning-heading { display: block; }
  .learning-heading > a { display: inline-block; margin-top: 20px; }
  .guide-card h3 { max-width: 650px; }
  .guide-index { margin-top: 40px; }
}
@media (max-width: 520px) {
  .learning-section { padding-block: 56px; }
  .guide-header-links { gap: 0 14px; font-size: 11px; max-width: 170px; }
  .guide-page .legal-header-inner { gap: 12px; }
  .guide-page .guide-intro { font-size: 16px; }
  .guide-screenshot { margin: 28px 0; }
  .guide-index { width: calc(100% - 40px); margin-bottom: 60px; }
  .guide-index-intro { margin-bottom: 34px; font-size: 16px; }
  .guide-card h3 { font-size: 24px; }
  .guide-actions { align-items: flex-start; }
}
@media print { .guide-header-links, .guide-next, .guide-read { display: none; } }

.hero-guide-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
}
.hero-guide-note a {
  color: #803c28;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-group + .guide-group { margin-top: 48px; }
.guide-group h2 {
  margin-bottom: 18px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.guide-screenshot-pair {
  display: grid;
  gap: 20px;
  margin: 28px 0;
}
.guide-screenshot-pair .guide-screenshot { margin: 0; }
.guide-screenshot-pair .guide-screenshot:first-child { max-width: 620px; }
.guide-screenshot-pair .guide-screenshot:last-child { max-width: 540px; }
.guide-table { margin: 20px 0 26px; }
.guide-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.guide-table th, .guide-table td {
  padding: 10px 12px;
  border: 1px solid #ded9d2;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.guide-table th { background: #f0ede6; font-weight: 600; }
.guide-example {
  padding: 14px 16px;
  border: 1px solid #ded9d2;
  border-radius: 12px;
  background: #fffaf4;
}
@media (min-width: 901px) {
  .learning-section .guide-grid, .guide-group .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .hero-guide-note { margin-top: 8px; font-size: 12px; }
  .guide-table table { font-size: 12px; }
  .guide-table th, .guide-table td { padding: 7px; }
}

.site-menu .nav-short-label { display: none; }
@media (max-width: 400px) {
  .site-menu .nav-short-label { display: inline; }
  .site-menu .nav-full-label { display: none; }
}
