* {
  box-sizing: border-box
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 128px
}

body {
  margin: 0;
  background: #0e0f16;
  color: #eeedf5;
  font: 15px/1.8 Arial, Helvetica, sans-serif
}

a {
  color: inherit;
  text-decoration: none
}

a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #efc676;
  outline-offset: 3px
}

.guide-app {
  max-width: 640px;
  min-height: 100svh;
  margin: auto;
  background: #171823;
  box-shadow: 0 0 80px #0006;
  padding-bottom: 85px
}

.guide-top {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 20px;
  background: #171823f5;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px)
}

.back {
  font-size: 35px;
  line-height: 38px;
  width: 35px;
  height: 40px;
  text-align: center;
  border: 1px solid #444451;
  border-radius: 10px
}

.guide-brand {
  font-size: 27px;
  font-weight: 900;
  font-style: italic;
  color: #eac16d;
  letter-spacing: -1px
}

.top-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #b4a8c6;
  margin-left: auto
}

.theme-nav {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 9px 18px 12px;
  background: #1e1f2b;
  position: sticky;
  top: 68px;
  z-index: 19
}

.theme-nav a {
  font-size: 11px;
  white-space: nowrap;
  padding: 6px 10px;
  border: 1px solid #45404d;
  border-radius: 7px;
  background: #262531;
  color: #e8c481
}

main {
  padding: 20px
}

.guide-cover {
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #282336
}

.guide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%
}

.guide-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #181421ed, transparent 85%)
}

.cover-caption {
  position: absolute;
  bottom: 20px;
  left: 21px;
  z-index: 1
}

.cover-caption span {
  font-size: 9px;
  letter-spacing: 2px;
  color: #f2d39d;
  display: block
}

.cover-caption strong {
  font-size: 25px;
  display: block;
  line-height: 1.3;
  margin-top: 7px
}

.article-heading {
  padding: 25px 2px 20px
}

.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #dbb87b;
  font-weight: bold
}

h1 {
  font-size: clamp(26px, 5.8vw, 36px);
  line-height: 1.22;
  letter-spacing: -.7px;
  margin: 12px 0 17px;
  overflow-wrap: anywhere
}

h2 {
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -.3px;
  margin: 10px 0 15px
}

.lead {
  font-size: 15px;
  line-height: 1.85;
  color: #bfb8cd
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px
}

.meta span {
  font-size: 9px;
  padding: 4px 9px;
  border: 1px solid #49404d;
  border-radius: 5px;
  color: #c9b592
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 22px
}

.summary-grid>div {
  padding: 18px 14px;
  border-radius: 13px;
  background: linear-gradient(135deg, #352442, #232131);
  border: 1px solid #79555d55
}

.summary-grid span {
  color: #d4aa62;
  font-size: 22px;
  display: block
}

.summary-grid b {
  font-size: 12px;
  display: block;
  margin: 6px 0
}

.summary-grid p {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  color: #b4a7c2
}

.contents {
  border: 1px solid #4c4255;
  border-radius: 12px;
  padding: 15px 17px;
  margin: 0 0 25px;
  background: #232230
}

.contents summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  color: #edcd94;
  font-weight: bold;
  display: flex;
  justify-content: space-between
}

.contents nav {
  display: grid;
  gap: 9px;
  margin-top: 15px
}

.contents nav a {
  font-size: 12px;
  color: #bfb7ce;
  line-height: 1.6;
  padding: 7px 0;
  border-top: 1px solid #ffffff0b
}

article {
  margin: 0 0 25px
}

article p {
  color: #c2bccd;
  font-size: 14px;
  line-height: 1.95;
  margin: 0
}

.topic-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #b395bd
}

.reading-block {
  padding: 24px 1px;
  border-bottom: 1px solid #34313f
}

.reading-block:first-child {
  padding-top: 5px
}

.step-block {
  display: flex;
  gap: 16px;
  position: relative;
  padding: 4px 0 27px
}

.step-block:before {
  content: "";
  position: absolute;
  left: 19px;
  top: 43px;
  bottom: 3px;
  width: 1px;
  background: #6d526f
}

.step-block:last-child:before {
  display: none
}

.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid #b9884c;
  background: #3c2938;
  color: #f5cd83;
  font-weight: bold;
  font-size: 13px
}

.step-block h2 {
  font-size: 19px;
  margin-top: 5px
}

.check-intro {
  font-size: 12px;
  color: #aabbbb;
  margin-bottom: 15px
}

.check-block {
  background: #203033;
  border: 1px solid #3d5b5b;
  border-radius: 13px;
  padding: 20px;
  margin-bottom: 14px
}

.check-block label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #96c9bb;
  font-size: 10px
}

.check-block input {
  width: 18px;
  height: 18px;
  accent-color: #c5ab69
}

.check-block h2 {
  font-size: 19px
}

.privacy-block {
  border-left: 3px solid #ad84da;
  border-radius: 0 12px 12px 0;
  background: #2a2238;
  padding: 21px 19px;
  margin-bottom: 17px
}

.privacy-block h2 {
  font-size: 19px
}

.solution-block {
  border: 1px solid #55424c;
  border-radius: 13px;
  background: #25212d;
  margin-bottom: 13px;
  overflow: hidden
}

.solution-block summary {
  cursor: pointer;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  list-style: none;
  font-weight: bold
}

.solution-block summary:after {
  content: "＋";
  margin-left: auto;
  color: #d9b478
}

.solution-block[open] summary:after {
  content: "−"
}

.solution-block summary span {
  font-size: 12px;
  color: #c69d6c
}

.solution-block p {
  padding: 0 18px 20px
}

.notice {
  background: #35283a;
  border: 1px solid #73515b;
  border-radius: 13px;
  padding: 19px;
  margin-bottom: 22px
}

.notice b {
  font-size: 14px;
  color: #eed4a9
}

.notice p {
  font-size: 12px;
  color: #beabc6;
  margin: 7px 0 0
}

.flow {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 7px;
  padding: 18px 10px;
  background: #2a2439;
  border-radius: 12px;
  border: 1px solid #65516f;
  margin-bottom: 22px
}

.flow span {
  font-size: 11px;
  color: #dcc0ea
}

.flow b {
  color: #deb572
}

.next-step {
  padding: 24px 21px;
  background: linear-gradient(120deg, #4c2d63, #282232);
  border: 1px solid #b68b4b66;
  border-radius: 16px;
  margin: 25px 0
}

.next-step p {
  font-size: 12px;
  color: #c4b6d2;
  line-height: 1.85
}

.gold-button {
  background: linear-gradient(120deg, #ffdea0, #dca34f);
  color: #3b2611;
  padding: 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: bold;
  display: block;
  text-align: center;
  margin-top: 20px
}

.related {
  margin-top: 32px
}

.related h2 {
  font-size: 17px
}

.related nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px
}

.related nav a {
  padding: 12px;
  background: #242431;
  border: 1px solid #423b4d;
  border-radius: 9px;
  font-size: 11px
}

.related nav a:after {
  content: " ↗";
  color: #d4b078
}

footer {
  text-align: center;
  color: #888294;
  font-size: 10px;
  line-height: 2;
  padding: 30px 0 12px
}

.guide-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 640px;
  width: 100%;
  display: grid;
  grid-template-columns: 70px 1fr 1.35fr;
  gap: 9px;
  align-items: center;
  min-height: 75px;
  padding: 11px 16px max(11px, env(safe-area-inset-bottom));
  background: #252534f5;
  border-top: 1px solid #5e4964;
  z-index: 30;
  backdrop-filter: blur(16px)
}

.guide-bottom a {
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #806f88;
  padding: 12px 7px;
  text-align: center;
  border-radius: 9px
}

.guide-bottom>a:first-child {
  border: 0;
  padding: 0;
  color: #d3bf9a;
  font-size: 9px
}

.guide-bottom>a:first-child span {
  display: block;
  font-size: 23px;
  line-height: 27px
}

.guide-bottom .download-action {
  background: linear-gradient(110deg, #f8d58d, #ddb05e);
  border-color: #e5c17d;
  color: #3f2c15
}

@media(max-width:380px) {
  main {
    padding: 15px
  }

  .guide-top {
    padding: 10px 15px
  }

  .guide-cover {
    height: 190px
  }

  h1 {
    font-size: 27px
  }

  .summary-grid {
    gap: 9px
  }

  .summary-grid>div {
    padding: 15px 12px
  }

  .step-block {
    gap: 12px
  }

  .guide-bottom {
    padding-left: 11px;
    padding-right: 11px;
    grid-template-columns: 55px 1fr 1.35fr
  }

  .top-label {
    letter-spacing: 0
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

.guide-cover {
  height: auto;
  min-height: 200px;
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  background: radial-gradient(at top left, #593772, #242034);
  padding: 0 0 0 20px
}

.guide-cover img {
  grid-column: 2;
  grid-row: 1;
  width: 150px;
  height: 200px;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 1
}

.guide-cover:after {
  display: none
}

.cover-caption {
  position: static;
  grid-column: 1;
  grid-row: 1;
  padding: 18px 12px 18px 0
}

.cover-caption strong {
  font-size: 23px;
  overflow-wrap: anywhere
}

@media(max-width:380px) {
  .guide-cover {
    grid-template-columns: 1fr 125px;
    min-height: 167px
  }

  .guide-cover img {
    width: 125px;
    height: 167px
  }

  .cover-caption strong {
    font-size: 20px
  }

  .cover-caption span {
    font-size: 8px;
    letter-spacing: 1px
  }
}

/* Expanded editorial reading */
.editorial-intro {
  padding: 20px;
  border: 1px solid #654c6f;
  border-radius: 12px;
  background: #292132;
  margin: 0 0 28px
}

.editorial-intro p {
  font-size: 14px;
  line-height: 1.95;
  color: #ddcee7
}

.deep-reading {
  padding: 26px 0;
  border-top: 1px solid #423647
}

.deep-reading p+p {
  margin-top: 15px
}

.deep-reading h2 {
  font-size: 22px;
  line-height: 1.4;
  color: #f0daac
}

.deep-reading .solution-block {
  margin-top: 13px
}

.deep-reading .solution-block p {
  line-height: 1.9
}

.reading-invite {
  padding: 23px 20px;
  border: 1px solid #b78c49;
  border-radius: 14px;
  background: linear-gradient(135deg, #483053, #2e2339);
  margin: 14px 0 29px
}

.reading-invite h3 {
  font-size: 21px;
  line-height: 1.4;
  color: #ffe3ac;
  margin: 10px 0
}

.reading-invite p {
  font-size: 12px
}

.reading-invite a {
  display: block;
  margin-top: 13px;
  font-size: 12px;
  color: #f1d398;
  font-weight: bold
}

.reading-invite .mini-cta {
  background: linear-gradient(110deg, #f5d18a, #d5a14f);
  border-radius: 8px;
  text-align: center;
  padding: 11px;
  color: #38240f
}

.contents nav {
  max-height: 330px;
  overflow: auto;
  overscroll-behavior: contain
}

.layout-overview .deep-reading:nth-of-type(even) {
  background: #252130;
  padding: 22px 18px;
  border-radius: 12px;
  margin: 18px 0
}

.layout-download .deep-reading {
  border-top: 2px solid #8d6946
}

.layout-steps .deep-reading {
  padding-left: 17px;
  border-left: 1px solid #775184
}

.layout-checklist .deep-reading h2 {
  color: #b9dec9
}

.layout-privacy .deep-reading {
  border-top-color: #735387
}

.layout-troubleshoot .deep-reading .topic-label {
  color: #dfa76e
}

@media(max-width:380px) {
  .deep-reading h2 {
    font-size: 20px
  }

  .editorial-intro {
    padding: 17px
  }

  .reading-invite {
    padding: 20px 17px
  }
}

.site-copyright {
  padding: 26px 12px 20px;
  text-align: center
}

.site-copyright .copyright-line {
  font-size: 11px;
  color: #b6afc5;
  line-height: 1.9;
  margin: 0 0 10px
}

.site-copyright .age-notice {
  font-size: 11px;
  line-height: 1.9;
  color: #d0bd9d;
  max-width: 460px;
  margin: 0 auto;
  letter-spacing: 0
}

.site-copyright .age-notice strong {
  display: inline-block;
  color: #ffe0a0;
  border: 1px solid #9e7b45;
  border-radius: 5px;
  padding: 0 5px;
  margin-right: 5px;
  font-size: 11px
}

