/* DiscordDeck Guides: the index page and each how-to. Same palette, fonts and voice as the home page. */
@font-face { font-family: "DD Bookman"; font-style: normal; font-weight: 600; font-display: swap; src: url("/site/fonts/Bookman-Demi.woff") format("woff"); ascent-override: 72.4%; descent-override: 27.6%; line-gap-override: 20%; }
@font-face { font-family: "DD Nimbus"; font-style: normal; font-weight: 400; font-display: swap; src: url("/site/fonts/NimbusSans-Regular.woff") format("woff"); ascent-override: 72.9%; descent-override: 27.1%; line-gap-override: 20%; }
@font-face { font-family: "DD Nimbus"; font-style: normal; font-weight: 700; font-display: swap; src: url("/site/fonts/NimbusSans-Bold.woff") format("woff"); ascent-override: 72.9%; descent-override: 27.1%; line-gap-override: 20%; }
@font-face { font-family: "DD Bookman Fallback"; font-weight: 600; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 102.21%; ascent-override: 70.84%; descent-override: 27%; line-gap-override: 19.57%; }
@font-face { font-family: "DD Nimbus Fallback"; font-weight: 400; src: local("Helvetica"), local("Arial"), local("ArialMT"); size-adjust: 100%; ascent-override: 72.9%; descent-override: 27.1%; line-gap-override: 20%; }
@font-face { font-family: "DD Nimbus Fallback"; font-weight: 700; src: local("Helvetica Bold"), local("Helvetica-Bold"), local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 100%; ascent-override: 72.9%; descent-override: 27.1%; line-gap-override: 20%; }

:root {
  --cream: #F7F2DF; --forest: #253726; --lime: #D8EE75; --olive: #78813A; --lilac: #E6E0F1; --butter: #F5E6A5;
  --paper: #FFFAF0; --lime-deep: #CDE566; --muted: #5A6654; --line: rgba(37, 55, 38, .25); --line-strong: rgba(37, 55, 38, .45);
  --font-display: "DD Bookman", "DD Bookman Fallback", "Bookman Old Style", Bookman, Georgia, serif;
  --font-body: "DD Nimbus", "DD Nimbus Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: 32px; --wrap: 1160px; color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--forest); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong, b { font-weight: 700; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; font-synthesis: none; letter-spacing: -.028em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.eyebrow { display: block; font-size: .75rem; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.ui { font-weight: 700; white-space: nowrap; }                       /* a label as it appears in the app */
kbd { font: 700 .82em/1 var(--font-system); padding: .25em .45em; border-radius: 6px; border: 1.5px solid var(--forest); background: var(--paper); box-shadow: 1.5px 2px 0 var(--forest); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: 12px; z-index: 200; padding: 12px 18px; background: var(--forest); color: var(--cream); border-radius: 10px; font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ----- header and footer (same as the changelog) ----- */
.site-header { padding-block: 28px; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; }
.brand-mark { flex: none; width: 39px; height: 39px; }
.brand-mark svg { width: 100%; height: 100%; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-synthesis: none; font-size: 1.875rem; line-height: 1; letter-spacing: -.02em; padding-bottom: .12em; }
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.site-footer .footer-row { display: flex; flex-direction: column; gap: 20px; padding-block: 35px 45px; border-top: 1px solid var(--line-strong); font-size: .875rem; }
.footer-brand small { display: block; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 640px) { .site-footer .footer-row { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
@media (max-width: 799px) {
  .site-header { padding-block: 16px; }
  .nav-row { flex-wrap: wrap; gap: 4px 20px; }
  .brand-mark { width: 32px; height: 32px; }
  .wordmark { font-size: 1.375rem; }
  .nav-links { gap: 4px 20px; margin-left: 0; flex-wrap: wrap; }
  .nav-links a { font-size: .9375rem; }
}

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; background: var(--lime); color: var(--forest); border: 1.5px solid var(--forest); border-radius: 11px; font-size: 1.0625rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--lime-deep); }
.text-link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; text-decoration: underline; text-underline-offset: .28em; }

/* ----- index ----- */
.index-hero { display: grid; gap: 32px; align-items: end; padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 64px); }
.index-hero h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); margin: 18px 0 22px; }
.index-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); }
.index-hero p { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); color: var(--muted); max-width: 560px; }
.hero-note { justify-self: start; transform: rotate(-3deg); font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; padding: 18px 22px; background: var(--butter); border: 1.5px solid var(--forest); border-radius: 14px; box-shadow: 4px 5px 0 var(--forest); }
@media (min-width: 900px) { .index-hero { grid-template-columns: minmax(0, 1fr) auto; } .hero-note { justify-self: end; margin-bottom: 12px; } }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-top: 28px; margin-bottom: 28px; border-top: 1px solid var(--line-strong); }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.3rem); }
.section-head span, .section-head a { color: var(--muted); font-size: 1rem; }

.guide-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.guide-card { display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--forest); border-radius: 18px; box-shadow: 5px 6px 0 var(--forest); text-decoration: none; overflow: hidden; transition: transform .16s ease, box-shadow .16s ease; }
.guide-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 var(--forest); }
.guide-card:focus-visible { outline-offset: 6px; border-radius: 18px; }
.art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-bottom: 1.5px solid var(--forest); padding: 7%; }
.art img { width: 100%; height: 100%; object-fit: contain; }
.art.shot { padding: 9% 8% 0; align-items: end; }
.art.shot img { height: auto; border: 1.5px solid var(--forest); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 4px 0 0 var(--forest); }
.lime { background: var(--lime); } .lilac { background: var(--lilac); } .butter { background: var(--butter); } .cream { background: var(--cream); }
.card-copy { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.card-copy h3 { font-size: 1.5rem; line-height: 1.15; }
.card-copy p { color: var(--muted); font-size: 1rem; }
.card-copy .read { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 1rem; }
.guide-card:hover .read { text-decoration: underline; text-underline-offset: .28em; }

.quick-start { display: grid; gap: 24px; align-items: center; margin-block: clamp(48px, 7vw, 88px); padding: clamp(28px, 4vw, 44px); background: var(--forest); color: var(--cream); border-radius: 22px; }
.quick-start h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); margin: 12px 0 10px; }
.quick-start p { color: rgba(247, 242, 223, .8); }
.quick-start .eyebrow { color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--paper); color: var(--forest); border-radius: 12px; font-weight: 700; font-size: 1rem; }
.chips svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .quick-start { grid-template-columns: minmax(0, 1fr) auto; } }

/* ----- a guide ----- */
.trail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 12px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid var(--forest); background: var(--paper); text-decoration: none; font-size: .9375rem; font-weight: 700; }
.back:hover { background: var(--lime); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9375rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { text-underline-offset: 3px; }
.article-hero { display: grid; gap: 36px; align-items: center; padding-block: 32px clamp(40px, 6vw, 64px); }
.article-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin: 16px 0 20px; }
.article-hero .lede { font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 36rem; }
.meta { margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.article-hero .art { border: 1.5px solid var(--forest); border-radius: 20px; box-shadow: 6px 7px 0 var(--forest); }
@media (min-width: 900px) { .article-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; } }

.quick-answer { display: grid; gap: 18px; align-items: center; padding: 26px 30px; background: var(--paper); border: 1.5px solid var(--forest); border-radius: 18px; box-shadow: 4px 5px 0 var(--forest); }
.quick-answer p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; margin-top: 8px; }
.sequence { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sequence .ui { padding: 9px 14px; background: var(--lime); border: 1.5px solid var(--forest); border-radius: 10px; font-size: .9375rem; }
.sequence .arrow { color: var(--olive); font-weight: 700; }
@media (min-width: 900px) { .quick-answer { grid-template-columns: minmax(0, 1fr) auto; } }

.article-layout { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 72px) 20px; }
.toc { display: flex; flex-direction: column; gap: 2px; font-size: .9375rem; }
.toc .eyebrow { margin-bottom: 10px; color: var(--muted); }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 9px; text-decoration: none; }
.toc a:hover { background: var(--paper); }
.toc a span { color: var(--olive); font-weight: 700; min-width: 1.4em; }
.toc .all-guides { margin-top: 14px; font-weight: 700; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } aside .toc { position: sticky; top: 24px; } }
@media (max-width: 999px) { aside { display: none; } }

.step { display: grid; gap: 28px; align-items: center; padding-block: 32px; border-top: 1px solid var(--line-strong); }
.step:first-child { border-top: 0; padding-top: 0; }
.step-number { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--forest); box-shadow: 2px 3px 0 var(--forest); font-weight: 700; font-size: .9375rem; }
.step h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 18px 0 14px; }
.step p { font-size: 1.0625rem; }
.step p + p { margin-top: 12px; }
@media (min-width: 900px) { .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; } }
.step-visual { border: 1.5px solid var(--forest); border-radius: 18px; padding: clamp(18px, 3.4vw, 34px); display: grid; place-items: center; }

/* The illustrative app window. Sample names; drawn after the real app's labels. */
.demo { width: 100%; max-width: 440px; background: var(--paper); border: 1.5px solid var(--forest); border-radius: 12px; box-shadow: 5px 6px 0 var(--forest); font: 400 13px/1.35 var(--font-system); color: var(--forest); overflow: hidden; }
.demo .bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 12px; }
.demo .bar i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.demo .bar i:nth-child(1) { background: #ec6a5e; } .demo .bar i:nth-child(2) { background: #f4bf4f; } .demo .bar i:nth-child(3) { background: #61c554; }
.demo .body { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 230px; }
.demo .body.full { grid-template-columns: minmax(0, 1fr); }
.demo .side { background: #EFEDDD; border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.demo .sec { margin: 9px 6px 3px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.demo .row { display: flex; align-items: center; gap: 7px; padding: 4px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; }
.demo .row.on { background: rgba(37, 55, 38, .11); font-weight: 700; }
.demo .row.hl { outline: 2.5px solid var(--forest); outline-offset: -1px; background: var(--lime); font-weight: 700; }
.demo .row.ind { padding-left: 20px; }
.demo .row .tr { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 400; }
.demo .row .dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }
.demo .ic { width: 14px; height: 14px; flex: none; border-radius: 4px; border: 1.2px solid var(--muted); }
.demo .av { width: 15px; height: 15px; flex: none; border-radius: 50%; }
.demo .sv { width: 15px; height: 15px; flex: none; border-radius: 4px; border: 1px solid var(--line-strong); font-size: 8.5px; font-weight: 700; display: grid; place-items: center; }
.demo .main { padding: 12px; display: flex; flex-direction: column; gap: 9px; background: #FFFEFA; }
.demo .cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 7px; padding: 8px; background: #F6F4E8; }
.demo .col { background: #FFFEFA; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-height: 190px; }
.demo .col.accent { border-top: 3px solid var(--olive); }
.demo .col .hd { padding: 7px 9px 6px; background: #F1F0E3; border-bottom: 1px solid var(--line); }
.demo .col .hd small { display: block; font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.demo .col .hd b { font-size: 12px; }
.demo .msg { padding: 7px 9px; font-size: 11.5px; }
.demo .msg b { display: block; font-size: 11.5px; }
.demo .msg small { display: block; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.demo mark { background: var(--lime); color: inherit; border-radius: 3px; padding: 0 2px; font-weight: 700; }
.demo .sheet { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.demo .sheet h4 { font-size: 14px; }
.demo .field { height: 26px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; display: flex; align-items: center; padding: 0 9px; color: var(--muted); font-size: 12px; }
.demo .field.typed { color: var(--forest); border-color: var(--olive); }
.demo .label { font-size: 11px; font-weight: 700; margin-bottom: -4px; }
.demo .help { font-size: 10.5px; color: var(--muted); }
.demo .box { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.demo .box .row { border-radius: 0; padding: 6px 9px; }
.demo .box .row + .row { border-top: 1px solid var(--line); }
.demo .box .head { font-weight: 700; background: #F6F4E8; }
.demo .chk { width: 13px; height: 13px; border-radius: 3.5px; border: 1.3px solid var(--muted); flex: none; }
.demo .chk.y { background: var(--forest); border-color: var(--forest); box-shadow: inset 0 0 0 2.5px #fff; }
.demo .foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: 11.5px; }
.demo .foot .muted { margin-right: auto; color: var(--muted); }
.demo .b { padding: 5px 11px; border-radius: 6px; border: 1px solid var(--line-strong); background: #fff; font-weight: 700; }
.demo .b.primary { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.demo .b.ring { outline: 2.5px solid var(--lime); outline-offset: 2px; }
.demo .menu { margin-left: auto; margin-right: 6px; width: 150px; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 8px 20px rgba(37,55,38,.18); padding: 4px; font-size: 12px; }
.demo .menu div { padding: 5px 9px; border-radius: 5px; }
.demo .menu .hl { background: var(--lime); font-weight: 700; }
.demo .menu hr { border: 0; border-top: 1px solid var(--line); margin: 3px 0; }
.demo .live { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: #215B45; font-size: 10.5px; font-weight: 700; }
.demo .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2E8B57; }
.demo .note { padding: 9px 11px; display: flex; gap: 9px; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; box-shadow: 0 8px 20px rgba(37,55,38,.14); }
.demo .note .app { width: 26px; height: 26px; flex: none; border-radius: 7px; background: var(--lime); border: 1.2px solid var(--forest); }
.demo .note small { display: block; color: var(--muted); font-size: 10.5px; }
.demo .stage { margin: 10px; border-radius: 10px; background: #1E2023; color: #ECEBE3; min-height: 150px; display: grid; place-items: center; gap: 8px; padding: 14px; }
.demo .stage .speakers { display: flex; gap: 10px; }
.demo .stage .speakers span { width: 48px; height: 48px; border-radius: 12px; background: #3a3f46; border: 2px solid #2E8B57; }
.demo .stage .speakers span:nth-child(2) { border-color: transparent; }
.demo .controls { display: flex; justify-content: center; gap: 8px; padding: 0 10px 12px; }
.demo .controls span { width: 26px; height: 26px; border-radius: 8px; background: #2B2E33; }
.demo .controls span:last-child { background: #D9434A; width: 40px; }
.demo .pop { margin: 4px 8px 8px auto; width: 190px; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 8px 20px rgba(37,55,38,.18); padding: 10px; display: flex; flex-direction: column; gap: 5px; font-size: 12px; }
.demo .pop h4 { font-size: 12.5px; }
.demo .pop .row { padding: 3px 2px; }

.tips, .without { padding-block: 32px; border-top: 1px solid var(--line-strong); }
.tips h2, .without h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 12px 0 18px; }
.tips ul { display: grid; gap: 12px; max-width: 46rem; }
.tips li { position: relative; padding-left: 26px; font-size: 1.0625rem; }
.tips li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--forest); }
.without p { max-width: 46rem; color: var(--muted); font-size: 1.0625rem; }

.cta { display: grid; gap: 22px; align-items: center; margin-block: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 44px); background: var(--lime); border: 1.5px solid var(--forest); border-radius: 22px; box-shadow: 6px 7px 0 var(--forest); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 12px 0 10px; }
.cta .btn { background: var(--forest); color: var(--paper); }
.cta .btn:hover { background: #1b291c; }
@media (min-width: 900px) { .cta { grid-template-columns: minmax(0, 1fr) auto; } }
.related { padding-bottom: clamp(56px, 8vw, 96px); }

@media (max-width: 479px) {
  :root { --gutter: 20px; }
  .demo .body { grid-template-columns: 118px minmax(0, 1fr); }
  .quick-answer, .cta { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .guide-card { transition: none; } .guide-card:hover { transform: none; } }
