/* ============================================================
   設計図型ポートフォリオ  style.css
   ============================================================ */

/* Noto Sans JP（SIL Open Font License 1.1 / fonts/OFL.txt）
   よく使う文字だけを含むサブセット・可変ウェイト版 */
@font-face {
  font-family: "Noto Sans JP Subset";
  src: url("../fonts/NotoSansJP-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #18181d;
  --ink-soft: #4a4a52;
  --ink-mute: #6b6b73;
  --paper: #ffffff;
  --bg: #f6f6f3;
  --grid: #e7e7e2;
  --yellow: #ffd84a;
  --line: #18181d;
  --rule: #dcdcd6;

  --container: 1200px;
  --gutter: 16px;
  --shadow: 10px 10px 0 var(--ink);
  --shadow-sm: 6px 6px 0 var(--ink);

  --font: "Noto Sans JP Subset", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--bg);
  /* 方眼（32px） */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3, .tag, .btn, .logo__name, .contact__title { font-feature-settings: "palt"; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid #1a5cff; outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  padding: 8px 16px; background: var(--ink); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 30px;
  border: 2px solid var(--ink);
  font-weight: 700; font-size: 15px; line-height: 1.4; letter-spacing: .04em;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn--sm { min-height: 40px; padding: 6px 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 14px 32px; }
.btn--dark { background: var(--ink); color: var(--yellow); }
.btn--dark:where(.hero__actions *) { color: #fff; }
.btn--outline { background: var(--paper); color: var(--ink); }
.btn--yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }

a.btn[href]:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.contact a.btn[href]:hover { box-shadow: 4px 4px 0 var(--yellow); }
.btn--ghost[href]:hover { background: rgba(255,255,255,.08); }

/* 相談先URLが未設定（準備中）のボタン：見た目は残し、押せないことを示す */
.btn.is-pending { cursor: not-allowed; gap: 10px; }
.btn.is-pending.btn--yellow { background: #d9c46a; border-color: #d9c46a; }
.btn.is-pending.btn--ghost { color: #c9c9cf; border-color: #8a8a94; border-style: dashed; }
.btn__pending {
  display: inline-block; padding: 1px 7px;
  border: 1px solid currentColor;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.5;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 80px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo__mark {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  background: var(--yellow); border: 2px solid var(--ink);
  font-weight: 900; font-size: 18px; line-height: 1;
}
.logo__name { font-weight: 900; font-size: 21px; letter-spacing: .02em; white-space: nowrap; }
.logo__tentative { font-size: 13px; color: var(--ink-mute); white-space: nowrap; }

.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; gap: 26px; }
.gnav__item a {
  display: inline-block; padding: 6px 0;
  font-weight: 700; font-size: 14px; text-decoration: none; letter-spacing: .04em;
  border-bottom: 2px solid transparent;
}
.gnav__item a:hover { border-bottom-color: var(--yellow); }

/* ---------- シート（枠＋影） ---------- */
.sheet {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}
.sheet__label {
  position: absolute; top: 16px; left: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ink-soft);
}

/* ---------- メイン見出し ---------- */
.hero { padding: 80px 0 104px; }
.hero__body { padding: 70px 60px 60px; }
.tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--yellow); border: 2px solid var(--ink);
  font-weight: 700; font-size: 15px; letter-spacing: .04em; line-height: 1.6;
}
.hero__title {
  margin-top: 30px;
  font-weight: 900; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.3; letter-spacing: .02em;
}
.hero__line { display: block; }
.marker {
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%);
  padding-inline: 2px;
}
.hero__lead {
  max-width: 38em; margin-top: 30px;
  font-size: 16px; line-height: 2.1; color: var(--ink-soft); letter-spacing: .04em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__actions .btn { min-height: 60px; padding-inline: 30px; }

.title-block {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
  border: 2px solid var(--line);
}
.title-block__cell { padding: 12px 16px 14px; border-left: 1px solid var(--line); min-width: 0; }
.title-block__cell:first-child { border-left: 0; }
.title-block dt { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.title-block dd { font-size: 14px; font-weight: 700; line-height: 1.5; }

/* ---------- セクション共通 ---------- */
.section { padding: 0 0 120px; }
.sec-title {
  display: inline-flex; align-items: stretch;
  max-width: 100%;
  background: var(--paper);
  border: 2px solid var(--line);
  line-height: 1.3;
}
.sec-title__num {
  display: flex; align-items: center; flex: none;
  padding: 0 16px;
  background: var(--ink); color: var(--yellow);
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
}
.sec-title__main {
  display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 16px;
  padding: 14px 24px 14px 22px;
  font-size: 30px; font-weight: 900; letter-spacing: .04em;
}
.nobr { display: inline-block; }
.sec-title__en { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--ink-soft); }
.sec-lead {
  max-width: 46em; margin-top: 28px;
  font-size: 16px; line-height: 2; color: var(--ink-soft); letter-spacing: .03em;
}
.note { margin-top: 32px; font-size: 13px; color: var(--ink-soft); }
.note--scope { max-width: 60em; margin-top: 12px; line-height: 1.8; }
.spec__scope { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }

/* ---------- 制作できるもの ---------- */
.works {
  display: grid; grid-template-columns: 1fr;
  gap: 32px 28px;
  margin-top: 36px;
}
.work {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.work__img {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; border-bottom: 2px solid var(--line);
  background: #eee; cursor: zoom-in;
  aspect-ratio: 4 / 3; overflow: hidden;
}
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.work__img:hover img { transform: scale(1.03); }
.work__img:focus-visible { outline-offset: -4px; }
.badge {
  position: absolute; left: 8px; top: 8px;
  padding: 2px 8px;
  background: var(--paper); border: 1px solid var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.6;
}
.work__head { display: flex; align-items: stretch; border-bottom: 1px solid var(--rule); }
.work__num {
  display: grid; place-items: center; flex: none;
  width: 56px; background: var(--yellow);
  font-weight: 700; font-size: 15px;
}
.work__title { padding: 12px 16px; font-size: 18px; font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.work__desc { padding: 14px 16px 16px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }

.mid-cta { display: none; }

/* ---------- 設計シート ---------- */
.sheets {
  display: grid; grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}
.sheets__col { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.sheet-card {
  background: var(--paper);
  border: 2px solid var(--line);
  padding: 16px 16px 14px;
  min-width: 0;
}
.sheet-card__img {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; background: none; cursor: zoom-in;
}
.sheet-card__img img { width: 100%; }
.zoom-hint {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.zoom-hint::before {
  content: ""; width: 12px; height: 12px;
  border: 2px solid currentColor; border-radius: 50%;
  box-shadow: 4px 4px 0 -2px currentColor;
}
.sheet-card__cap { margin-top: 14px; font-size: 14px; font-weight: 700; }

.spec {
  background: var(--paper);
  border: 2px dashed var(--line);
  padding: 22px 24px;
}
.spec__title { font-weight: 900; font-size: 16px; }
.spec__list { margin-top: 12px; display: grid; gap: 8px; }
.spec__list li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.spec__key {
  display: inline-grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--yellow);
  font-size: 11px; font-weight: 700; line-height: 1;
  transform: translateY(-1px);
}

/* ---------- 選ばれる3つの理由 ---------- */
.reasons {
  display: grid; grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 44px;
}
.reason {
  background: var(--paper);
  border: 2px solid var(--line);
  padding: 30px 28px 34px;
}
.reason__title { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 900; line-height: 1.4; }
.reason__num {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--yellow);
  font-size: 15px; font-weight: 700;
}
.reason__text { margin-top: 18px; font-size: 14.5px; line-height: 2; color: var(--ink-soft); }

/* ---------- 依頼の流れ ---------- */
.flow {
  display: grid; grid-template-columns: 1fr;
  margin-top: 44px;
  padding: 28px 24px;
  background: var(--paper);
  border: 2px solid var(--line);
}
.flow__step { position: relative; padding: 0 0 26px 0; padding-left: 0; }
.flow__step:not(.flow__step--last)::after {
  /* スマホ：縦の接続線 */
  content: ""; position: absolute; left: 35px; top: 40px; bottom: 6px;
  border-left: 2px solid var(--line);
}
.flow__label {
  position: relative; z-index: 1;
  display: inline-block; padding: 4px 12px;
  background: var(--paper); border: 2px solid var(--line);
  font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .02em;
}
.flow__step--last .flow__label { background: var(--yellow); }
.flow__title { margin-top: 10px; font-size: 18px; font-weight: 900; line-height: 1.4; padding-left: 86px; margin-top: -30px; }
.flow__text { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; padding-left: 86px; }
.flow__step--last { padding-bottom: 0; }

/* ---------- 相談 ---------- */
.contact {
  background: var(--ink); color: #fff;
  padding: 88px 0 80px;
}
.contact__inner { display: flex; flex-direction: column; gap: 40px; }
.contact__label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  background: var(--yellow); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .02em; line-height: 1.6;
}
.contact__sep { width: 1px; height: 12px; background: var(--ink); }
.contact__title {
  margin-top: 22px;
  font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.6; letter-spacing: .04em;
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact__actions .btn { min-width: 138px; }
.contact__pending { flex-basis: 100%; margin-top: 2px; font-size: 13px; color: #c9c9cf; }
.contact__pending[hidden] { display: none; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink); color: #b9b9c0;
  padding: 0 0 48px;
  font-size: 12.5px; line-height: 1.8;
}
.site-footer small { font-size: inherit; }

/* ---------- 公開前チェック ---------- */
.setup-notice {
  position: fixed; left: 12px; bottom: 12px; z-index: 60;
  max-width: min(420px, calc(100vw - 24px));
  padding: 14px 44px 14px 16px;
  background: #fff8d6; color: var(--ink);
  border: 2px dashed var(--ink);
  box-shadow: var(--shadow-sm);
  font-size: 13px; line-height: 1.6;
}
.setup-notice[hidden] { display: none; }
.setup-notice__title { font-weight: 900; }
.setup-notice__list { margin-top: 4px; list-style: disc; padding-left: 1.2em; }
.setup-notice__close {
  position: absolute; top: 6px; right: 6px;
  width: 32px; height: 32px; border: 0; background: none; cursor: pointer;
  font-size: 18px; line-height: 1;
}

/* ---------- 拡大表示 ---------- */
.viewer {
  width: min(1240px, calc(100vw - 24px));
  max-width: none;
  height: calc(100dvh - 24px);
  max-height: none;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: rgba(24, 24, 29, .78); }
.viewer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 10px 12px 10px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.viewer__caption { font-weight: 700; font-size: 14px; line-height: 1.5; }
.viewer__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.viewer__btn {
  min-height: 40px; padding: 6px 12px;
  border: 2px solid var(--ink); background: var(--paper);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.viewer__btn[aria-pressed="true"] { background: var(--yellow); }
.viewer__btn--close { background: var(--ink); color: #fff; }
.viewer__stage {
  flex: 1; min-height: 0;
  overflow: auto;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 16px;
  overscroll-behavior: contain;
}
.viewer__img { margin-inline: auto; max-width: none; }
.viewer[data-zoom="fit"] .viewer__img { width: 100%; max-width: 100%; }
body.is-viewer-open { overflow: hidden; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 767px) {
  .gnav__list { display: none; }
}

@media (max-width: 599px) {
  .site-header__inner { min-height: 64px; }
  html { scroll-padding-top: 80px; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; font-size: 16px; }
  .logo__name { font-size: 17px; }
  .logo__tentative { font-size: 11px; }

  .hero { padding: 36px 0 64px; }
  .hero__body { padding: 52px 20px 24px; }
  .sheet { box-shadow: 6px 6px 0 var(--ink); }
  .hero__title { margin-top: 22px; }
  .hero__lead { font-size: 15px; line-height: 2; margin-top: 22px; }
  .hero__actions { margin-top: 28px; gap: 12px; }
  .hero__actions .btn { flex: 1 1 140px; min-height: 54px; padding-inline: 16px; }
  .title-block { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .title-block__cell:nth-child(3) { border-left: 0; }
  .title-block__cell:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section { padding-bottom: 80px; }
  .sec-title__num { padding: 0 10px; font-size: 12px; }
  .sec-title__main { font-size: 22px; padding: 10px 14px; column-gap: 10px; }
  .sec-title__en { font-size: 11px; }
  .sec-lead { font-size: 15px; margin-top: 20px; }

  .contact { padding: 64px 0 56px; }
  .contact__actions .btn { flex: 1 1 100%; }
  .setup-notice { font-size: 12px; }
  .viewer__bar { padding: 8px 10px; }
  .viewer__caption { font-size: 13px; }
  .viewer__btn { min-height: 36px; padding: 4px 9px; font-size: 12px; }
  .viewer__btn--close span { display: none; }
  .viewer__stage { padding: 8px; }
}

@media (min-width: 480px) {
  .works { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
}
@media (min-width: 480px) and (max-width: 599px) {
  .work__title { font-size: 16px; padding: 10px 12px; }
  .work__num { width: 44px; }
  .work__desc { padding: 10px 12px 12px; font-size: 13px; }
}

@media (min-width: 768px) {
  .reasons { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .reason { padding: 30px 26px 40px; }
  .reason__title { font-size: 18px; }
  .sheets { grid-template-columns: 1.52fr 1fr; gap: 28px; align-items: start; }
}

@media (min-width: 1024px) {
  .works { grid-template-columns: repeat(4, 1fr); gap: 36px 30px; }
  .work__title { font-size: 18px; }

  .flow {
    grid-template-columns: repeat(5, 1fr);
    gap: 0 20px;
    padding: 36px 32px 36px;
  }
  .flow__step { padding: 0; }
  .flow__step:not(.flow__step--last)::after {
    /* PC：横の接続線 */
    left: 82px; right: 0; top: 18px; bottom: auto;
    border-left: 0; border-top: 2px solid var(--line);
  }
  .flow__title { padding-left: 0; margin-top: 14px; }
  .flow__text { padding-left: 0; }

  .contact__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .contact__actions { justify-content: flex-end; max-width: 560px; }
  .contact__pending { text-align: right; }
}

/* ============================================================
   スマホ（599px以下）：縦の長さを抑えるコンパクト表示
   ============================================================ */
@media (max-width: 767px) {
  .mid-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
    margin-top: 28px; padding: 18px 20px;
    background: var(--paper); border: 2px solid var(--line);
  }
  .mid-cta__text { font-size: 15px; font-weight: 700; line-height: 1.6; }
  .mid-cta__btn { min-height: 48px; }
}

@media (max-width: 599px) {
  .section { padding-bottom: 64px; }

  .nobr-sp { display: inline-block; }
  .title-block__cell { padding-inline: 12px; }
  .title-block dd { font-feature-settings: "palt"; }

  /* 1. 制作できるもの：2列×4段 */
  .works { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; margin-top: 24px; }
  .sec-lead + .works { margin-top: 20px; }
  .work { box-shadow: 4px 4px 0 var(--ink); }
  .badge { left: 6px; top: 6px; padding: 1px 6px; }
  .work__head { align-items: stretch; }
  .work__num { width: 34px; font-size: 14px; }
  .work__title { padding: 9px 8px; font-size: 16px; line-height: 1.45; word-break: auto-phrase; }
  .work__desc { padding: 8px 10px 12px; font-size: 13.5px; line-height: 1.65; }
  .note { margin-top: 20px; }

  .mid-cta { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; }
  .mid-cta__btn { width: 100%; }

  /* 2. 設計シート：コンパクトなプレビュー（タップで全体・等倍表示） */
  .note--scope { margin-top: 10px; }
  .sheets { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; margin-top: 24px; }
  .sheets__col { display: contents; }
  .sheet-card { padding: 8px 8px 10px; order: 1; }
  .sheet-card--tall { order: 2; }
  .spec { order: 3; grid-column: 1 / -1; padding: 16px 16px 18px; }
  .sheet-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
  .sheet-card__img picture, .sheet-card__img img { width: 100%; height: 100%; }
  .sheet-card__img img { object-fit: cover; object-position: top center; }
  .zoom-hint { right: 6px; bottom: 6px; padding: 4px 8px; font-size: 11px; }
  .sheet-card__cap { margin-top: 8px; font-size: 14px; line-height: 1.5; word-break: auto-phrase; }
  .spec__title { font-size: 16px; }
  .spec__scope { display: block; margin: 2px 0 0; }
  .spec__list { margin-top: 10px; gap: 6px; }

  /* 3. 選ばれる3つの理由：1枚の枠に短い3項目 */
  .reasons {
    gap: 0; margin-top: 24px;
    background: var(--paper); border: 2px solid var(--line);
  }
  .reason { border: 0; padding: 16px 16px 18px; }
  .reason + .reason { border-top: 1px solid var(--rule); }
  .reason__title { font-size: 19px; gap: 10px; }
  .reason__num { width: 32px; height: 32px; font-size: 14px; }
  .reason__text { margin-top: 8px; padding-left: 42px; font-size: 14.5px; line-height: 1.8; }

  /* 4. ご依頼の流れ：番号・工程名・短い説明の縦一覧 */
  .flow { margin-top: 24px; padding: 4px 16px; }
  .flow__step {
    display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: start;
    padding: 14px 0;
  }
  .flow__step + .flow__step { border-top: 1px solid var(--rule); }
  .flow__step:not(.flow__step--last)::after { content: none; }
  .flow__label {
    grid-row: 1 / span 2;
    display: grid; place-items: center;
    width: 36px; height: 36px; padding: 0;
    font-size: 15px;
  }
  .flow__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .flow__title { margin: 0; padding: 0; font-size: 18px; line-height: 1.5; }
  .flow__text { margin-top: 2px; padding: 0; font-size: 14px; line-height: 1.7; }
}

@media print {
  .site-header { position: static; }
  .setup-notice, .viewer { display: none !important; }
}
