.vidiq-guide { background: var(--paper); }
.vidiq-guide .wrap { width: min(1280px, calc(100% - 64px)); }
.vidiq-guide h1, .vidiq-guide h2, .vidiq-guide h3 { text-wrap: balance; }
.vidiq-guide h1, .vidiq-guide h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.055em; line-height: 1.06; }
.vidiq-guide h2 { font-size: clamp(2.15rem, 3.4vw, 3.1rem); margin-bottom: 26px; }
.vidiq-guide h3 { font-size: 1.4rem; line-height: 1.2; }
.vidiq-guide p { max-width: 66ch; }
.vidiq-guide .colophon__links { flex-wrap: wrap; }
.vidiq-guide .colophon__note { white-space: normal; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 20px; padding: 12px; background: var(--yellow); }
.skip-link:focus { top: 12px; }
.guide-edition { text-align: center; }
.guide-hero { padding: 28px 0 0; background: var(--paper); }
.guide-breadcrumb { margin: 0 0 36px; color: var(--muted); }
.guide-breadcrumb a { text-decoration: none; }
.guide-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; padding-bottom: 48px; }
.guide-kicker { margin-bottom: 22px; }
.guide-hero h1 { font-size: clamp(3.3rem, 6vw, 5.7rem); margin: 0; }
.guide-hero h1 span { color: var(--blue); }
.guide-hero__copy { padding-top: 28px; }
.guide-hero__copy > p:not(.guide-fine) { font-size: 1.25rem; line-height: 1.5; }
.guide-hero__copy .guide-deck { font-weight: 600; font-size: 1.65rem; line-height: 1.25; }
.guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 30px 0 24px; }
.guide-button { display: inline-flex; align-items: center; gap: 20px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); padding: 13px 19px; font-weight: 700; text-decoration: none; }
.guide-button:hover { background: var(--blue); }
.guide-button span { font-size: .8rem; }
.guide-text-link { font-weight: 600; }
.guide-fine { font-size: .95rem; color: var(--muted); line-height: 1.5; }
.guide-browser { margin: 0; border: var(--line); border-bottom: 0; background: #fff; }
.guide-browser > a { display: block; }
.guide-browser img { width: 100%; height: auto; }
.vidiq-guide figcaption { font-size: .9rem; color: var(--muted); line-height: 1.5; padding: 15px 0 0; }
.guide-browser figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 20px; background: var(--paper); border-top: 2px solid var(--ink); }
.guide-contents { background: var(--ink); color: var(--paper); padding: 19px 0; }
.guide-contents .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.guide-contents a { font-weight: 600; font-size: 1rem; text-decoration: none; }
.guide-contents a:hover { text-decoration: underline; }
.guide-section { padding: 88px 0; scroll-margin-top: 20px; border-bottom: var(--line); }
.guide-section--paper { background: var(--paper); }
.guide-section--field { background: var(--field); }
.guide-section--yellow { background: var(--yellow); }
.guide-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.guide-feature__copy { padding-top: 12px; }
.guide-feature__copy > p { font-size: 1.2rem; }
.guide-feature__copy > .utility { font-size: .72rem; }
.guide-definitions { margin: 32px 0; }
.guide-definitions > div { padding: 18px 0; border-top: 1px solid #b6b6ac; }
.guide-definitions dt { font-weight: 700; font-size: 1.1rem; }
.guide-definitions dd { margin: 6px 0 0; font-size: 1.05rem; }
.guide-note { padding-left: 16px; border-left: 3px solid var(--blue); font-size: 1rem !important; }
.guide-gallery { width: 100%; max-width: 460px; justify-self: end; }
.guide-gallery figure { margin: 0; }
.guide-state-buttons { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.guide-state-buttons button { appearance: none; color: var(--ink); background: transparent; font: 600 1rem var(--body); border: 2px solid #92948e; border-radius: 0; padding: 9px 12px; min-height: 44px; cursor: pointer; }
.guide-state-buttons button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.guide-state-buttons button:hover { border-color: var(--blue); }
.screen-crop { position: relative; display: block; overflow: hidden; border: 2px solid var(--ink); background: #fff; }
.screen-crop img { position: absolute; max-width: none; height: auto; }
.screen-crop--keywords {
  --shot-height: 1630;
  aspect-ratio: 770 / var(--shot-height);
  border: 0;
  background: transparent;
  border-radius: 3.117% 3.117% 0 0 / calc(100% * 24 / var(--shot-height)) calc(100% * 24 / var(--shot-height)) 0 0;
}
.screen-crop--keywords[data-keyword-shot="matching"] { --shot-height: 1628; }
.screen-crop--keywords[data-keyword-shot="questions"] { --shot-height: 1281; border-radius: 3.117% / calc(100% * 24 / var(--shot-height)); }
.screen-crop--keywords img { width: calc(100% * 3840 / 770); left: calc(-100% * 2670 / 770); top: calc(-100% * 328 / var(--shot-height)); }
.guide-tour { margin-top: 76px; padding-top: 36px; border-top: 2px solid var(--ink); scroll-margin-top: 24px; }
.guide-tour__head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; margin-bottom: 22px; }
.guide-tour__head h3 { margin-bottom: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.65rem, 2.6vw, 2.25rem); letter-spacing: -.04em; }
.guide-tour__head .utility { margin-bottom: 12px; }
.guide-tour__head > p { margin-bottom: 0; font-size: 1.1rem; }
.guide-tour video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #151515; border: var(--line); object-fit: contain; }
.guide-tour__footer { display: flex; align-items: start; justify-content: space-between; gap: 32px; padding-top: 16px; font-size: .95rem; color: var(--muted); }
.guide-tour__footer > p { flex: 1; }
.guide-tour__footer details { max-width: 570px; flex: 1; text-align: right; }
.guide-tour__footer details p { text-align: left; margin-top: 12px; }
.vidiq-guide summary { cursor: pointer; font-weight: 600; }
.vidiq-guide summary:focus-visible, .vidiq-guide video:focus-visible { outline: 4px solid var(--blue); outline-offset: 4px; }
.guide-section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: end; margin-bottom: 38px; }
.guide-section-head h2 { margin-bottom: 0; }
.guide-section-head > p { font-size: 1.25rem; margin-bottom: 4px; }
.guide-wide-shot { margin: 0 0 34px; }
.screen-crop--channel { aspect-ratio: 1900 / 750; }
.screen-crop--channel img { width: 202.1053%; left: -44.7368%; top: -157.3333%; }
.guide-three-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.guide-three-notes article { border-top: 2px solid var(--ink); padding-top: 22px; }
.guide-three-notes h3 { margin-bottom: 12px; }
.guide-coverage { max-width: 88ch !important; margin: 28px 0 0; }
.guide-feature--studio { grid-template-columns: 1fr 1.12fr; gap: 72px; align-items: center; }
.guide-studio-shot { margin-bottom: 0; }
.screen-crop--studio { aspect-ratio: 1430 / 1175; }
.screen-crop--studio img { width: 268.5315%; left: -36.3636%; top: -63.8298%; }
.guide-setup { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; }
.guide-setup > div p:not(.utility) { font-size: 1.2rem; }
.guide-steps { padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.guide-steps li { position: relative; counter-increment: steps; padding: 26px 0 20px 68px; border-top: 2px solid var(--ink); }
.guide-steps li::before { content: "0" counter(steps); position: absolute; top: 25px; left: 0; font: 600 1.15rem var(--utility); }
.guide-steps h3 { margin-bottom: 10px; }
.guide-steps p { margin-bottom: 0; }
.guide-core { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.guide-core > div > p:not(.utility):not(.guide-fine) { font-size: 1.2rem; }
.guide-core h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.guide-faq { background: var(--field); }
.guide-faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 96px; }
.guide-faq__list details { border-top: 2px solid var(--ink); padding: 20px 0; }
.guide-faq__list details:last-child { border-bottom: 2px solid var(--ink); }
.guide-faq__list summary { font-size: 1.2rem; }
.guide-faq__list p { margin: 16px 0 4px; }
.guide-final { background: var(--blue); color: var(--paper); padding: 70px 0; border-bottom: var(--line); }
.guide-final__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: center; }
.guide-final h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.guide-final .guide-fine { color: #e3e5e7; margin-top: 20px; max-width: 38ch; }
.guide-related { padding: 26px 0; }
.guide-related .wrap { display: flex; flex-wrap: wrap; gap: 15px 30px; align-items: center; }
.guide-related a { font-size: 1rem; }
@media (max-width: 1100px) {
  .guide-hero__grid { gap: 40px; }
  .guide-feature, .guide-core, .guide-setup, .guide-faq__grid { gap: 48px; }
  .guide-section-head, .guide-tour__head { gap: 40px; }
  .guide-edition { display: none; }
  .vidiq-guide .masthead__row { grid-template-columns: 1fr auto; }
  .guide-hero__copy .guide-deck { font-size: 1.45rem; }
}
@media (max-width: 760px) {
  .vidiq-guide .wrap { width: calc(100% - 36px); }
  .vidiq-guide .masthead__row { min-height: 76px; gap: 14px; }
  .vidiq-guide .brand img { width: 36px; height: 36px; }
  .vidiq-guide .brand__name { font-size: 1rem; }
  .vidiq-guide .masthead__links { display: flex; gap: 16px; }
  .vidiq-guide .masthead__links a:first-child { display: none; }
  .vidiq-guide .masthead__links > a:not(.app-store-badge) { display: inline; font-size: .65rem; }
  .vidiq-guide .masthead__links > a:first-child { display: none; }
  .guide-hero { padding-top: 24px; }
  .guide-breadcrumb { margin-bottom: 28px; font-size: .64rem; }
  .guide-hero__grid, .guide-feature, .guide-feature--studio, .guide-section-head, .guide-tour__head, .guide-core, .guide-setup, .guide-faq__grid, .guide-final__grid { grid-template-columns: 1fr; gap: 28px; }
  .guide-hero h1 { font-size: clamp(2.85rem, 11.8vw, 5rem); }
  .guide-hero__copy { padding-top: 0; }
  .guide-hero__copy > p:not(.guide-fine) { font-size: 1.15rem; }
  .guide-hero__copy .guide-deck { font-size: 1.4rem; }
  .guide-hero .wrap { display: flex; flex-direction: column; }
  .guide-hero__grid { display: contents; }
  .guide-hero__grid > div:first-child { order: 1; margin-bottom: 28px; }
  .guide-hero__copy { order: 3; padding: 28px 0 18px; }
  .guide-hero .guide-browser { order: 2; border-bottom: var(--line); }
  .guide-actions { margin: 24px 0 20px; gap: 16px; }
  .guide-browser { margin-left: -2px; margin-right: -2px; }
  .guide-browser figcaption { padding: 11px 14px; font-size: .8rem; }
  .guide-contents .utility { width: 100%; }
  .guide-contents .wrap { gap: 12px 22px; justify-content: start; }
  .guide-contents a { font-size: .95rem; }
  .guide-section { padding: 54px 0; }
  .guide-kicker { margin-bottom: 16px; }
  .vidiq-guide h2 { font-size: clamp(2.05rem, 8.1vw, 3.2rem); margin-bottom: 22px; }
  .guide-gallery { justify-self: center; max-width: 460px; }
  .guide-tour { margin-top: 46px; padding-top: 28px; }
  .guide-tour__head { gap: 16px; }
  .guide-tour__footer { display: block; }
  .guide-tour__footer details { text-align: left; }
  .guide-wide-shot { overflow-x: auto; }
  .guide-wide-shot .screen-crop--channel { min-width: 740px; }
  .guide-wide-shot figcaption { position: sticky; left: 0; max-width: calc(100vw - 36px); }
  .guide-three-notes { grid-template-columns: 1fr; gap: 8px; }
  .guide-section-head { margin-bottom: 26px; gap: 6px; }
  .guide-final { padding: 48px 0; }
  .guide-final__grid { gap: 18px; }
  .guide-steps li { padding-left: 54px; }
  .guide-steps h3 { font-size: 1.3rem; }
  .guide-faq__grid { gap: 12px; }
  .guide-related .wrap { display: grid; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html:has(.vidiq-guide) { scroll-behavior: auto; } }
