:root {
  color-scheme: light;
  --howto-paper: #f5f3eb;
  --howto-card: #fffdf8;
  --howto-ink: #21392f;
  --howto-muted: #68776d;
  --howto-green: #315b49;
  --howto-green-deep: #244538;
  --howto-brass: #b68a4c;
  --howto-line: #d9dfd4;
  --howto-soft: #e8eee5;
  --howto-font: "DM Sans", sans-serif;
  --howto-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--howto-paper);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--howto-ink);
  background: var(--howto-paper);
  font-family: var(--howto-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.howto-page { position: relative; isolation: isolate; min-height: 100dvh; overflow: visible; }
.howto-page::before {
  position: fixed; z-index: -1; inset: 0; pointer-events: none; content: "";
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
.howto-skip { position: absolute; top: 8px; left: 8px; z-index: 3; padding: 12px 15px; transform: translateY(-150%); border-radius: 4px; background: var(--howto-green-deep); color: #fffdf8; }
.howto-skip:focus { transform: translateY(0); }
.howto-header { display: flex; align-items: center; justify-content: space-between; width: min(1160px, calc(100% - 48px)); min-height: 80px; margin: 0 auto; border-bottom: 1px solid var(--howto-line); }
.howto-brand { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.howto-brand img { display: block; width: 174px; height: auto; max-height: 58px; object-fit: contain; object-position: left center; }
.howto-header-label { color: var(--howto-muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.howto-shell { width: min(1000px, calc(100% - 48px)); margin: 0 auto; }
.howto-breadcrumb { display: flex; min-height: 44px; align-items: center; gap: 11px; padding: 15px 0 17px; color: #829087; font-size: 12px; }
.howto-breadcrumb a { display: inline-flex; min-height: 40px; align-items: center; color: var(--howto-green); font-weight: 700; text-decoration: none; }
.howto-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.howto-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 3px 0 22px; animation: howto-rise .48s both; }
.howto-kicker, .howto-section-label { margin: 0 0 9px; color: #906a38; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.howto-kicker-mark { display: inline-block; width: 17px; height: 2px; margin: 0 8px 3px 0; background: var(--howto-brass); }
.howto-kicker-divider { padding: 0 5px; color: #b2a88f; }
.howto-intro h1 { max-width: 740px; margin: 0; color: var(--howto-ink); font: 800 clamp(32px, 4.6vw, 52px)/1.07 var(--howto-display); letter-spacing: -.052em; overflow-wrap: anywhere; }
.howto-summary { max-width: 650px; margin: 11px 0 0; color: var(--howto-muted); font-size: 15px; line-height: 1.58; }
.howto-duration { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; margin-bottom: 3px; padding: 10px 13px; border: 1px solid #d7d5c9; border-radius: 3px; color: var(--howto-green); background: #f0eee5; font: 700 10px/1 var(--howto-font); letter-spacing: .1em; }
.howto-duration-dot, .howto-live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--howto-brass); }
.howto-player-section { animation: howto-rise .54s .06s both; }
.howto-player-frame {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid #d1d9ce;
  border-radius: 5px;
  background: #1e392f;
  box-shadow: 0 14px 30px rgb(34 57 45 / .11);
}
.howto-video { display: block; width: 100%; height: 100%; min-width: 0; background: #172b23; object-fit: contain; }
.howto-video:focus-visible, .howto-download:focus-visible, .howto-back-button:focus-visible, .howto-breadcrumb a:focus-visible, .howto-brand:focus-visible, .howto-skip:focus-visible { outline: 3px solid #c69654; outline-offset: 3px; }
.howto-video-meta { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 16px; color: var(--howto-muted); font-size: 11px; }
.howto-video-meta p { display: inline-flex; align-items: center; gap: 9px; margin: 0; }
.howto-meta-separator { color: #b8b9ac; }
.howto-download { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--howto-green); font-size: 11px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.howto-download span { color: #a57e45; font-size: 16px; }
.howto-video-pending { align-content: center; justify-items: center; min-height: 0; padding: 24px; color: #f5f1e7; background: radial-gradient(ellipse at 50% 30%, #3d6250 0, #244536 52%, #1c3529 100%); text-align: center; }
.howto-pending-mark { display: flex; align-items: center; gap: 5px; height: 25px; margin-bottom: 14px; }
.howto-pending-mark span { display: block; width: 3px; height: 12px; border-radius: 4px; background: #c9a36b; opacity: .8; }
.howto-pending-mark span:nth-child(2) { height: 23px; }
.howto-pending-mark span:nth-child(3) { height: 16px; }
.howto-pending-label { margin: 0 0 9px; color: #d1b27f; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.howto-video-pending h2 { margin: 0; color: #fffaf0; font: 700 clamp(20px, 3vw, 28px)/1.2 var(--howto-display); letter-spacing: -.035em; }
.howto-video-pending > p:last-child { max-width: 390px; margin: 9px auto 0; color: #d0d8ce; font-size: 12px; line-height: 1.55; }
.howto-video-meta-pending { justify-content: flex-start; }
.howto-video-meta-pending .howto-live-dot { background: var(--howto-green); }
.howto-steps-section { margin-top: 32px; padding: 27px 32px 24px; border: 1px solid var(--howto-line); border-radius: 5px; background: rgb(255 253 248 / .88); animation: howto-rise .54s .12s both; }
.howto-steps-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid #e9e8df; }
.howto-section-label { margin-bottom: 7px; font-size: 9px; }
.howto-steps-heading h2 { margin: 0; font: 700 24px/1.2 var(--howto-display); letter-spacing: -.04em; }
.howto-step-count { padding: 6px 9px; border-radius: 2px; color: #596e60; background: var(--howto-soft); font: 700 10px var(--howto-font); }
.howto-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 42px; margin: 0; padding: 0; list-style: none; }
.howto-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; min-height: 92px; padding: 20px 0 17px; border-bottom: 1px solid #eeede6; }
.howto-step-number { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #c5d0c5; border-radius: 50%; color: var(--howto-green); font: 700 10px "Space Mono", monospace; }
.howto-step-copy h3 { margin: 1px 0 5px; color: var(--howto-ink); font: 700 14px/1.35 var(--howto-display); }
.howto-step-copy p { margin: 0; color: var(--howto-muted); font-size: 12px; line-height: 1.6; }
.howto-demo-note { margin: 18px 0 0; color: #737d73; font-size: 11px; line-height: 1.5; }
.howto-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 38px; color: #7f8b81; font-size: 11px; }
.howto-back-button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 15px; border: 1px solid #b9c7ba; border-radius: 3px; color: var(--howto-green-deep); font-size: 12px; font-weight: 700; text-decoration: none; transition: background-color .18s ease, transform .18s ease; }
.howto-back-button:hover { transform: translateY(-1px); background: #e9eee5; }
.howto-back-button span { color: #a17b44; font-size: 16px; }
@keyframes howto-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
  .howto-header { width: calc(100% - 32px); min-height: 66px; }
  .howto-brand img { width: 142px; }
  .howto-header-label { font-size: 9px; letter-spacing: .08em; }
  .howto-shell { width: calc(100% - 32px); }
  .howto-breadcrumb { gap: 8px; padding: 9px 0 12px; font-size: 11px; }
  .howto-intro { display: block; padding: 0 0 16px; }
  .howto-kicker { margin-bottom: 7px; font-size: 9px; }
  .howto-intro h1 { max-width: 600px; font-size: clamp(29px, 7.2vw, 39px); line-height: 1.08; }
  .howto-summary { max-width: 560px; margin-top: 8px; font-size: 13px; line-height: 1.5; }
  .howto-duration { margin-top: 10px; padding: 8px 10px; font-size: 9px; }
  .howto-player-frame { min-height: 0; }
  .howto-video-pending { padding: 18px; }
  .howto-video-meta { min-height: 46px; gap: 8px; font-size: 10px; }
  .howto-steps-section { margin-top: 20px; padding: 22px 18px 18px; }
  .howto-steps-heading h2 { font-size: 21px; }
  .howto-steps { grid-template-columns: minmax(0, 1fr); }
  .howto-step { min-height: auto; padding: 16px 0; }
  .howto-footer { align-items: flex-start; flex-direction: column; padding: 18px 0 28px; }
}
@media (max-width: 390px) {
  .howto-header, .howto-shell { width: calc(100% - 24px); }
  .howto-brand img { width: 126px; }
  .howto-header-label { max-width: 115px; text-align: right; font-size: 8px; }
  .howto-intro h1 { font-size: clamp(27px, 7.1vw, 31px); }
  .howto-summary { font-size: 12px; }
  .howto-video-meta { align-items: flex-start; flex-direction: column; justify-content: center; padding: 7px 0; }
  .howto-download { min-height: 40px; }
  .howto-steps-section { padding-right: 14px; padding-left: 14px; }
}
@media (max-height: 520px) {
  .howto-player-frame { width: min(100%, max(240px, calc((100svh - 150px) * 1.3333))); margin-inline: auto; }
  .howto-header { min-height: 54px; }
  .howto-breadcrumb { padding-top: 4px; padding-bottom: 5px; }
  .howto-intro { padding-bottom: 12px; }
  .howto-intro h1 { font-size: clamp(25px, 4vw, 38px); }
  .howto-summary { margin-top: 6px; font-size: 12px; }
  .howto-duration { margin-top: 7px; padding: 7px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
