.guide-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.guide-main {
  max-width: 760px;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.guide-breadcrumb {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
}

.guide-breadcrumb a {
  font-size: inherit;
  padding: 0;
}

.guide-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 1.6rem 0 2.5rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: #d9efdf;
  border: 1px solid #c2ddce;
  border-radius: 22px;
  box-shadow: var(--paper-shadow);
}

.guide-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 125px;
  height: 150px;
  right: -97px;
  top: -113px;
  border-radius: 45%;
  transform: rotate(24deg);
  background: #1c675b;
  box-shadow: 0 2px 2px #306d5e88, 0 0 0 14px #5b9e84, 0 4px 4px 14px #48836e88, 0 0 0 31px #9cccb0, 0 5px 5px 31px #6b9c8377;
}

.guide-intro h1 {
  margin: 0;
  font: 750 clamp(2.35rem, 6vw, 3.7rem)/1.04 var(--display);
  letter-spacing: -.055em;
}

.guide-intro p,
.guide-content {
  font-size: 1rem;
  line-height: 1.7;
}

.guide-intro p {
  max-width: 54ch;
  color: #30564a;
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
}

.guide-intro .button { min-height: 44px; border-radius: 22px; background: #19594f; }

.guide-content section {
  border-top: 1px solid var(--line);
  padding: 1.7rem 0 .8rem;
}

.guide-content h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -.045em;
}

.guide-content li {
  margin: .55rem 0;
}

.guide-content ul,
.guide-content ol {
  padding-left: 1.35rem;
}

.guide-content .board {
  max-width: 100%;
  margin: 1.25rem 0;
}

.guide-content a,
.guide-breadcrumb a,
.guide-footer a:not(.brand) {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.guide-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--sheet);
  font-variant-numeric: tabular-nums;
  margin: 1.4rem 0;
}

.guide-content th,
.guide-content td {
  padding: .55em 1em;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.guide-content thead {
  background: #d9ede0;
}

.guide-content tbody tr:last-child > * { border-bottom: 0; }
.guide-content tbody tr:nth-child(even) { background: #f2f7f0; }

.guide-content tbody th {
  font-weight: 500;
}

.guide-footer {
  gap: 1rem;
}

@media (max-width: 380px) {
  .guide-header {
    flex-wrap: wrap;
    padding-top: 1rem;
  }
}

.guide-header .brand,
.guide-footer .brand {
  white-space: nowrap;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: -.057em;
}

.guide-header nav, .guide-footer .guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
}

.guide-header nav a, .guide-footer .guide-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 620px) {
  .guide-header, .guide-footer { flex-wrap: wrap; gap: .15rem .8rem; padding-block: .6rem; }
  .guide-header nav a { padding: .4rem 0; }
  .guide-content code { overflow-wrap: anywhere; }
}
