/* Step-by-step guides page (/guides) */
@font-face { font-family: "Playfair"; font-style: normal; font-weight: 600; font-display: swap; src: url(/website/fonts/playfair-display-latin-600-normal.woff2) format("woff2"); }
.g-page { --serif: "Playfair", "Times New Roman", Georgia, serif; }
.g-page .top nav a[aria-current="page"] { background: var(--violet-soft); color: var(--indigo); }

.g-page section.g-hero, .g-page section.g-group, .g-page section.g-cta { padding: 0; }
.g-hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 520px at 82% 10%, rgba(109, 93, 252, .42), transparent 62%),
  radial-gradient(700px 420px at 8% 100%, rgba(252, 178, 1, .14), transparent 60%),
  linear-gradient(160deg, #0b0532 0%, #150b52 58%, #1d1170 100%); }
.g-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.g-hero-in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 84px; }
.g-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 15px; border-radius: 999px; background: rgba(252, 178, 1, .14); border: 1px solid rgba(252, 178, 1, .38); color: var(--amber-2); font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; }
.g-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(252, 178, 1, .22); }
.g-kicker-dark { background: var(--amber-soft); border-color: #f4d58a; color: #7a5200; }
.g-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.9rem); line-height: 1.06; letter-spacing: -.015em; }
.g-hero h1 em { font-style: normal; color: var(--amber-2); }
.g-lead { margin: 22px 0 0; max-width: 34em; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: #d9d6fa; }
.g-facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 10px; justify-content: start; }
.g-facts li { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.g-facts b { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: #fff; }
.g-facts span { display: block; margin-top: 6px; font-size: .82rem; color: #bdb8f0; }
.g-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.g-btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.g-btn-light:hover { background: rgba(255,255,255,.16); }
.g-hero-media { position: relative; }
.g-hero-frame { display: block; position: relative; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer; background: #0b0532;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.14), 0 0 120px rgba(109,93,252,.35); transform: rotate(-1.2deg); transition: transform .3s ease; }
.g-hero-frame:hover { transform: rotate(0) translateY(-4px); }
.g-hero-frame img { display: block; width: 100%; height: auto; }
.g-hero-cap { margin: 18px 0 0; text-align: center; font-size: .9rem; color: #a9a4e0; }

.g-play { white-space: nowrap; position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(11, 5, 50, .82); color: #fff; font-family: var(--head); font-weight: 700; font-size: .92rem; backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.g-play-lg { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); padding: 13px 22px 13px 13px; font-size: 1.02rem; background: rgba(11,5,50,.78); }
.g-tri { width: 30px; height: 30px; border-radius: 50%; background: var(--amber); position: relative; flex: none; }
.g-tri::after { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #150b52; }
.g-play-lg .g-tri { width: 38px; height: 38px; }
.g-play-lg .g-tri::after { left: 14px; top: 10px; border-width: 9px 0 9px 14px; }

.g-jump { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.g-jump .wrap { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: thin; }
.g-jump p { margin: 0; flex: none; font-family: var(--head); font-weight: 700; color: var(--slate); font-size: .9rem; }
.g-jump ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.g-chip { white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font-family: var(--head); font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .15s, border-color .15s; }
.g-chip:hover { background: var(--violet-soft); border-color: #d3cdff; color: var(--indigo); }

.g-roles { padding-top: 30px; padding-bottom: 40px; }
.g-page section.g-group { padding: 46px 0 10px; }
.g-group { scroll-margin-top: 70px; }
.g-group-head { margin-bottom: 26px; }
.g-group-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem); color: var(--navy); }
.g-group-head p { margin: 10px 0 0; color: var(--slate); font-size: 1.05rem; }
.g-center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }
.g-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-md); overflow: hidden; scroll-margin-top: 90px; transition: transform .2s ease, box-shadow .2s ease; }
.g-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.g-card.is-target { outline: 3px solid var(--amber); outline-offset: 3px; }
.g-thumb { position: relative; display: block; padding: 0; border: 0; cursor: pointer; background: var(--navy); aspect-ratio: 16 / 9; overflow: hidden; }
.g-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-card:hover .g-thumb img { transform: scale(1.035); }
.g-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.g-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--navy); letter-spacing: -.01em; }
.g-for { margin: 6px 0 0; color: var(--slate); font-size: .95rem; }
.g-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.g-meta span { padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--ink-soft); font-size: .8rem; font-weight: 600; }
.g-tasks { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: t; flex: 1; }
.g-tasks li { position: relative; padding: 6px 0 6px 32px; font-size: .95rem; line-height: 1.4; color: var(--ink); border-top: 1px dashed var(--rule); counter-increment: t; }
.g-tasks li:first-child { border-top: 0; }
.g-tasks li::before { content: counter(t); position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-soft); color: #7a5200; font-family: var(--head); font-weight: 800; font-size: .75rem; line-height: 22px; text-align: center; }
.g-tasks li.g-more { color: var(--slate); font-style: italic; }
.g-tasks li.g-more::before { content: "+"; background: var(--mist); color: var(--slate); }
.g-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
.g-actions .g-btn { width: 100%; padding: 0 10px; }
.g-btn { min-height: 44px; padding: 0 16px; font-size: .93rem; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--violet); color: var(--indigo); }
.g-share { grid-column: 1 / -1; justify-self: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; color: var(--indigo); font-family: var(--head); font-weight: 700; font-size: .93rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.g-share:hover { background: var(--violet-soft); }

.g-page section.g-how { padding: 80px 0; }
.g-how { background: linear-gradient(180deg, var(--paper), #fff); border-top: 1px solid var(--rule); }
.g-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; align-items: start; }
.g-how figure { margin: 0; }
.g-how img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-md); border: 1px solid var(--rule); background: #fff; }
.g-how-pdf img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.g-how figcaption { margin-top: 16px; color: var(--ink-soft); line-height: 1.55; }
.g-how figcaption b { display: block; margin-bottom: 4px; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--navy); }

.g-page section.g-cta { padding: 0 0 80px; }
.g-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 42px 46px; border-radius: 26px; color: #fff; background: radial-gradient(600px 300px at 90% 0%, rgba(109,93,252,.5), transparent 60%), linear-gradient(140deg, #0b0532, #1d1170); box-shadow: var(--shadow-lg); }
.g-cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.g-cta p { margin: 10px 0 0; color: #d4d1f3; max-width: 36em; }
.g-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.g-dialog { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 22px; background: #0b0532; color: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.g-dialog::backdrop { background: rgba(6, 3, 26, .78); backdrop-filter: blur(4px); }
.g-dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; }
.g-dlg-kicker { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--amber-2); }
.g-dlg-head h2 { margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; }
.g-close { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-family: var(--head); font-weight: 700; cursor: pointer; }
.g-close:hover { background: rgba(255,255,255,.18); }
.g-dlg-video { background: #000; }
.g-dlg-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.g-dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 24px 20px; }
.g-dlg-note { margin: 0; color: #a9a4e0; font-size: .88rem; }
.g-dlg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.g-dialog .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

.g-sharebox { position: fixed; z-index: 60; width: 260px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-lg); }
.g-sb-title { margin: 2px 4px 10px; font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--navy); }
.g-sb-btn { display: flex; align-items: center; width: 100%; min-height: 44px; margin: 0 0 6px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font-family: var(--head); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; }
.g-sb-btn:hover { background: var(--mist); }
.g-sb-wa { background: var(--wa); border-color: var(--wa); color: #06331b; }
.g-sb-wa:hover { background: #1ebe5b; }
.g-sb-done { margin: 4px 4px 0; min-height: 1.2em; font-size: .85rem; color: var(--given); font-weight: 600; }

@media (max-width: 960px) {
  .g-hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; padding-bottom: 56px; }
  .g-facts { grid-template-columns: repeat(2, 1fr); }
  .g-how-grid { grid-template-columns: 1fr; }
  .g-hero-frame { transform: none; }
}
@media (max-width: 560px) {
  .g-play-lg { font-size: .92rem; padding: 10px 16px 10px 10px; }
  .g-play-lg .g-tri { width: 30px; height: 30px; }
  .g-play-lg .g-tri::after { left: 11px; top: 8px; border-width: 7px 0 7px 11px; }
  .g-facts b { font-size: 1.35rem; }
  .g-grid { grid-template-columns: 1fr; }
  .g-body { padding: 18px 18px 20px; }
  .g-cta-in { padding: 30px 24px; }
  .g-sharebox { left: 12px !important; right: 12px; width: auto; bottom: 12px; top: auto !important; }
}
@media (prefers-reduced-motion: reduce) { .g-card, .g-thumb img, .g-hero-frame { transition: none; } }
