.guide {
  --glass: #fffef7;
  --display: Georgia, ui-serif, serif;
}

.guide a:focus-visible,
.guide summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.guide .wordmark { color: var(--ink); }
.guide .wordmark:hover { text-decoration: none; }

.guide-header-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .9rem;
  font-weight: 650;
}

.guide-hero {
  background: radial-gradient(ellipse at 82% 25%, #e0ebd9 0%, transparent 65%);
  border-bottom: 1px solid var(--rule);
}

.guide-hero-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.guide h1, .guide h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -.042em;
  text-wrap: balance;
}

.guide h1 { font-size: clamp(2.7rem, 4.15vw, 3.75rem); }
.guide h1 em { display: block; color: var(--accent); font-style: normal; }
.guide h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

.guide-lead {
  max-width: 40ch;
  margin: 1.15rem 0 1.35rem;
  color: var(--soft);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.55;
}

.guide-figure {
  margin: 0;
  padding: clamp(1rem, 2.6vw, 1.8rem);
  background: linear-gradient(145deg, #fffef9, #f8faf2);
  border: 1px solid #fffef9;
  border-radius: 1.35rem;
  box-shadow: 0 16px 42px #203e2512, 0 0 0 1px #385b4d18;
}

.guide-figure figcaption { margin-bottom: 1rem; }
.guide-figure figcaption strong {
  display: block;
  margin-top: .25rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.45vw, 1.95rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.figure-label {
  color: var(--soft);
  font-size: .7rem;
  font-weight: 740;
  letter-spacing: .095em;
  line-height: 1.4;
  text-transform: uppercase;
}

.figure-note { margin: .75rem 0 0; color: var(--soft); font-size: .84rem; line-height: 1.5; }

.storage-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .15rem 1rem;
  margin: .7rem 0 .32rem;
  font-size: .9rem;
}

.storage-label strong { font-variant-numeric: tabular-nums; }
.storage-bar { height: .85rem; border-radius: 2rem; background: #e8eee1; }
.storage-bar span { display: block; height: 100%; border-radius: inherit; background: #8c5139; }
.storage-bar--result span { width: 25%; background: var(--accent); }

.storage-result, .safety-window {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .9rem;
  padding: .8rem 1rem;
  border: 1px solid #d5e6d3;
  border-radius: .85rem;
  background: #e8f1e4;
  color: #204c38;
}

.storage-result { margin-top: 1.15rem; }
.storage-result strong, .safety-window strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.storage-result span, .safety-window span { font-size: .9rem; font-weight: 650; }

.vlog-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  border-radius: .78rem;
  background: #dce5d2;
}

.vlog-timeline, .safety-path, .guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vlog-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35rem;
  margin-top: .6rem;
}

.vlog-timeline li {
  margin: 0;
  padding: .45rem .55rem;
  border-radius: .42rem;
  background: #e2eee8;
  font-size: .81rem;
  line-height: 1.35;
}

.vlog-timeline li:nth-child(2) { background: #ecebdb; }
.vlog-timeline li:nth-child(3) { background: #f3e7d9; }
.vlog-timeline time { display: block; color: var(--soft); font-size: .71rem; font-variant-numeric: tabular-nums; }

.safety-path { margin-top: .65rem; counter-reset: safety-step; }
.safety-path li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: .65rem;
  margin: 0;
  padding: .52rem 0;
  font-size: .9rem;
  font-weight: 650;
  counter-increment: safety-step;
}

.safety-path li + li { border-top: 1px solid var(--rule); }
.safety-path li::before, .guide-steps li::before {
  color: var(--accent);
  font-size: .77rem;
  font-weight: 740;
  letter-spacing: .075em;
}
.safety-path li::before { content: counter(safety-step, decimal-leading-zero) / ""; }

.guide-section { padding-block: clamp(2.3rem, 5vw, 4.25rem); }
.guide-section + .guide-section { border-top: 1px solid var(--rule); }
.guide-section h3 { margin: 0 0 .45rem; line-height: 1.3; font-size: 1.08rem; }

.guide-intro {
  max-width: 68ch;
  margin: .75rem 0 1.15rem;
  font-size: 1rem;
  color: var(--soft);
}

.guide-steps, .guide-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.2rem;
}

.guide-steps { counter-reset: guide-step; }
.guide-steps li, .guide-comparison > div {
  margin: 0;
  padding: 1.1rem;
  border: 1px solid var(--rule);
  border-radius: .9rem;
  background: var(--glass);
}

.guide-steps li { counter-increment: guide-step; }
.guide-steps li::before {
  display: block;
  margin-bottom: .45rem;
  content: counter(guide-step, decimal-leading-zero) / "";
}

.guide-steps p, .guide-comparison p { margin: 0; color: var(--soft); }
.guide-comparison .comparison-meldclip { border-color: #b6ccba; background: #e9f2e6; }

.guide-aside {
  margin: 1.25rem 0 0;
  padding: .9rem 1rem;
  border-inline-start: 3px solid #8dac90;
  border-radius: 0 .6rem .6rem 0;
  background: var(--wash);
}

.guide-prose { max-width: 70ch; }
.guide-prose > p { margin: .75rem 0 0; color: var(--soft); font-size: 1rem; }
.guide-aside a, .guide-prose a, .guide-steps a, .guide-intro a {
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .17em;
}

.guide-questions { max-width: 47rem; margin-top: 1.15rem; border-top: 1px solid var(--rule); }
.guide-questions details { border-bottom: 1px solid var(--rule); }
.guide-questions summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
  padding-block: .8rem;
  color: var(--ink);
  font-weight: 680;
  overflow-wrap: anywhere;
  cursor: pointer;
  list-style: none;
}

.guide-questions summary::-webkit-details-marker { display: none; }
.guide-questions summary::after { content: "+" / ""; color: var(--accent); }
.guide-questions details[open] summary::after { content: "−" / ""; }
.guide-questions p { margin: 0 1.4rem .9rem 0; color: var(--soft); }

.guide-cta {
  background: var(--wash);
  border-block: 1px solid var(--rule);
}
.guide-cta .guide-section { padding-block: clamp(2rem, 4vw, 3.1rem); }
.guide-cta .guide-intro { margin-bottom: .9rem; }

@media (max-width: 720px) {
  .guide-hero-layout, .guide-steps, .guide-comparison { grid-template-columns: minmax(0, 1fr); }
  .guide-hero-layout { padding-block: 1.8rem 2rem; }
  .guide h1 { font-size: clamp(2.35rem, 9.3vw, 4rem); }
  .guide-lead { margin-block: .85rem 1.05rem; }
}
