@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;700&display=swap");

:root {
  --bg: #f6f1e8;
  --paper: #fffdf8;
  --paper-soft: #fbf5ed;
  --paper-accent: #f2eadf;
  --ink: #1c1a17;
  --muted: #6d655d;
  --line: #d9cfc0;
  --accent: #e15b2c;
  --accent-deep: #a53c16;
  --shadow: 0 18px 40px rgba(42, 29, 18, 0.08);
  --max-width: 1180px;
  --heading-font: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(225, 91, 44, 0.12), transparent 32%),
    linear-gradient(180deg, #f8f3eb 0%, #f3ede3 100%);
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 28px;
}

.eyebrow,
.section-label,
.level-kicker,
.card-meta,
.practice-tag {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-label,
.level-kicker {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-lockup {
  display: grid;
  gap: 4px;
}

.brand {
  font-family: var(--heading-font);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.95rem;
}

.top-nav a {
  position: relative;
  padding-bottom: 3px;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero,
.intro-block,
.content-section,
.cta-section {
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid rgba(217, 207, 192, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.workshop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: start;
  padding: 42px;
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid rgba(217, 207, 192, 0.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.workshop-hero-heading {
  grid-column: 1 / -1;
}

.workshop-hero-visual {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  margin-bottom: 22px;
  overflow: hidden;
  background: #f7efe4;
  border: 1px solid rgba(225, 91, 44, 0.12);
  border-radius: 28px;
  box-shadow: 0 14px 30px rgba(42, 29, 18, 0.06);
}

.workshop-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(320px, 0.8fr);
  gap: 32px;
  padding: 52px;
  border-radius: 28px;
}

.hero-copy h1,
.workshop-hero-copy h1,
.workshop-hero-heading h1,
.intro-heading h2,
.section-header h2,
.cta-section h2 {
  margin: 10px 0 0;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.1;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3.1vw, 3.8rem);
  max-width: none;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.workshop-hero-copy h1,
.workshop-hero-heading h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  max-width: none;
}

.hero-lead,
.section-header p,
.intro-copy p,
.level-heading p,
.guide-card p,
.practice-card p,
.article-column li {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 700;
}

.button.primary {
  background: var(--ink);
  color: #fffdf8;
  border-color: var(--ink);
}

.button.secondary {
  background: transparent;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(217, 207, 192, 0.9);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 30px rgba(42, 29, 18, 0.12);
  color: var(--ink);
}

.back-to-top img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.back-to-top span {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.video-link-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(217, 207, 192, 0.8);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 14px 30px rgba(42, 29, 18, 0.08);
}

.video-link-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(28, 26, 23, 0.1), rgba(28, 26, 23, 0.28)),
    url("https://img.youtube.com/vi/CQywdSdi5iA/maxresdefault.jpg") center / cover no-repeat;
}

.video-link-play {
  position: absolute;
  inset: auto auto 20px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(42, 29, 18, 0.14);
}

.video-link-body {
  padding: 18px 22px 22px;
}

.video-link-body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.video-link-body p {
  margin: 0;
  color: var(--muted);
}

.hero-panel {
  align-self: end;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(225, 91, 44, 0.08), rgba(28, 26, 23, 0.02));
  border: 1px solid rgba(225, 91, 44, 0.2);
}

.panel-title {
  margin: 0 0 18px;
  font-weight: 700;
}

.feature-list {
  margin: 0;
  padding-left: 20px;
}

.panel-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.quick-links a {
  padding: 18px 16px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 700;
  text-align: center;
}

.workshop-meta {
  display: grid;
  gap: 14px;
  align-content: start;
}

.meta-card,
.note-box,
.workshop-card,
.check-item {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.meta-card,
.note-box {
  padding: 20px 22px;
}

.meta-label,
.task-label {
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workshop-nav {
  padding: 22px 24px;
}

.step-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.step-links a {
  padding: 16px 14px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
  text-align: center;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.install-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.workshop-card {
  padding: 24px;
}

.workshop-card.full {
  margin-top: 18px;
}

.workshop-card h3 {
  margin: 0 0 10px;
}

.step-subheading {
  margin: 26px 0 12px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.task-callout {
  margin-top: 22px;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(225, 91, 44, 0.08), rgba(255, 253, 248, 0.9));
  border: 1px solid rgba(225, 91, 44, 0.22);
  border-radius: 22px;
}

.task-callout.with-aruru-top {
  position: relative;
  margin-top: 58px;
  margin-bottom: 22px;
  padding-top: 34px;
}

.task-callout-aruru {
  position: absolute;
  left: 10px;
  top: -86px;
  width: 110px;
  pointer-events: none;
}

.workshop-card.with-aruru-top {
  position: relative;
  margin-top: 58px;
  padding-top: 34px;
}

.task-callout .button {
  margin-top: 8px;
}

.workshop-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.checklist {
  display: grid;
  gap: 14px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.check-item p {
  margin: 0;
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #efe2d3;
  color: var(--accent-deep);
  font-weight: 700;
}

.intro-block,
.content-section,
.cta-section {
  margin-top: 28px;
  border-radius: 28px;
}

.intro-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 40px 44px;
}

.icon-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.beginner-section {
  align-items: start;
}

.beginner-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(225, 91, 44, 0.08), rgba(255, 253, 248, 0.92));
  border: 1px solid rgba(225, 91, 44, 0.22);
  border-radius: 22px;
}

.beginner-lead {
  margin: 0;
  color: var(--muted);
}

.icon-link-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.icon-link-card:hover,
.icon-link-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(225, 91, 44, 0.45);
}

.icon-link-card strong {
  font-size: 1.08rem;
  line-height: 1.4;
}

.icon-link-card p {
  margin: 0;
  color: var(--muted);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f1dfcf 0%, #f7eee4 100%);
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.intro-heading h2,
.section-header h2,
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.article-page-title {
  margin: 10px 0 0;
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.content-section {
  padding: 42px 44px 46px;
}

.section-header {
  max-width: 720px;
}

.level-group + .level-group {
  margin-top: 36px;
}

.level-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.level-heading h3,
.practice-card h3,
.article-column h3,
.guide-card h4 {
  margin: 0;
}

.card-grid,
.practice-grid,
.article-columns {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card,
.practice-card,
.article-column {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.guide-card {
  padding: 24px;
}

.card-meta,
.practice-tag {
  color: var(--accent-deep);
  font-size: 0.73rem;
  font-weight: 700;
}

.guide-card a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--accent-deep);
}

.practice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.practice-card {
  padding: 28px;
  min-height: 220px;
}

.practice-card.accent {
  background: linear-gradient(135deg, #231f1b 0%, #3d271d 100%);
  color: #fff8f1;
  border-color: rgba(35, 31, 27, 0.2);
}

.practice-card.accent p,
.practice-card.accent .practice-tag {
  color: rgba(255, 248, 241, 0.82);
}

.article-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-detail {
  max-width: 860px;
}

.article-toc {
  max-width: 860px;
  margin: 24px 0 28px;
  padding: 22px 24px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.article-toc-title {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc ul {
  margin: 0;
  padding-left: 18px;
}

.article-toc li + li {
  margin-top: 8px;
}

.article-toc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(165, 60, 22, 0.35);
  text-underline-offset: 3px;
}

.character-note {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 22px 0 26px;
}

.character-note.reverse {
  grid-template-columns: minmax(0, 1fr) 92px;
}

.character-note.reverse img {
  order: 2;
}

.character-note.reverse .speech-bubble {
  order: 1;
}

.character-note img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.speech-bubble {
  position: relative;
  padding: 18px 20px;
  background: var(--paper-soft);
  border: 1px solid rgba(225, 91, 44, 0.25);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(42, 29, 18, 0.06);
}

.speech-bubble::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 34px;
  width: 18px;
  height: 18px;
  background: var(--paper-soft);
  border-left: 1px solid rgba(225, 91, 44, 0.25);
  border-bottom: 1px solid rgba(225, 91, 44, 0.25);
  transform: rotate(45deg);
}

.character-note.reverse .speech-bubble::before {
  left: auto;
  right: -10px;
  border-left: none;
  border-bottom: none;
  border-right: 1px solid rgba(225, 91, 44, 0.25);
  border-top: 1px solid rgba(225, 91, 44, 0.25);
}

.speech-bubble p {
  margin: 0;
  color: var(--ink);
}

.article-detail h2 {
  margin: 34px 0 12px;
  font-size: 1.6rem;
  line-height: 1.3;
}

.article-detail h3 {
  margin: 28px 0 10px;
  font-size: 1.28rem;
}

.marketing-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.marketing-work-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(42, 29, 18, 0.05);
}

.marketing-work-card.caution {
  background: linear-gradient(135deg, #f7eee4 0%, #fffaf3 100%);
  border-color: rgba(225, 91, 44, 0.28);
}

.work-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #efe2d3 0%, #f8f0e7 100%);
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.marketing-work-card h4 {
  margin: 0;
  font-size: 1.12rem;
}

.flow-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 22px;
}

.flow-step {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(42, 29, 18, 0.05);
}

.flow-step.emphasize {
  background: linear-gradient(135deg, rgba(225, 91, 44, 0.09), rgba(255, 253, 248, 0.98));
  border-color: rgba(225, 91, 44, 0.3);
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #efe2d3;
  color: var(--accent-deep);
  font-weight: 700;
}

.flow-step h4,
.hands-on-card h4 {
  margin: 0;
}

.flow-step p,
.hands-on-card p,
.flow-caption {
  margin: 0;
}

.flow-caption {
  color: var(--muted);
  font-size: 0.94rem;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  font-size: 2rem;
  font-weight: 700;
}

.hands-on-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.hands-on-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hands-on-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.directory-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 30px;
}

.directory-map-card,
.share-guide-card {
  padding: 24px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(42, 29, 18, 0.05);
}

.directory-map-card h2,
.directory-map-card h3,
.share-guide-card h3 {
  margin: 10px 0 10px;
}

.directory-map-card p,
.share-guide-card p {
  margin: 0;
  color: var(--muted);
}

.directory-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #efe2d3;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.share-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.share-guide-card.good {
  border-color: rgba(225, 91, 44, 0.26);
}

.share-guide-card.personal {
  background: linear-gradient(135deg, #fffaf3 0%, #f7eee4 100%);
}

.share-guide-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.share-guide-card li + li {
  margin-top: 8px;
}

.use-case-grid,
.download-placeholder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.use-case-card,
.download-card {
  padding: 22px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.download-card.available {
  display: block;
  box-shadow: var(--shadow);
  border-color: rgba(225, 91, 44, 0.34);
}

.use-case-card h3,
.download-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.use-case-card p,
.download-card p {
  margin: 0;
  color: var(--muted);
}

.download-card {
  background: linear-gradient(135deg, #fffaf3 0%, #f7eee4 100%);
  border-color: rgba(225, 91, 44, 0.24);
}

.download-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #efe2d3;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.available-label {
  background: #e8efe0;
  color: #365227;
}

.series-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.series-link-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.series-link-card strong {
  font-size: 1.08rem;
}

.series-link-card p {
  margin: 0;
  color: var(--muted);
}

.series-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #efe2d3 0%, #f8f0e7 100%);
  color: var(--accent-deep);
  font-weight: 700;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf8;
  font-weight: 700;
}

.work-summary,
.work-support {
  margin: 0;
}

.work-summary {
  color: var(--muted);
}

.work-support {
  color: var(--ink);
  font-weight: 600;
}

.article-detail p {
  margin: 0;
  color: var(--muted);
}

.article-detail p + p {
  margin-top: 16px;
}

.example-box {
  margin-top: 14px;
  padding: 22px 24px;
  background: var(--paper-accent);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.example-box p {
  color: var(--ink);
}

.workshop-card .example-box,
.task-callout .example-box,
.code-sample-box .example-box {
  background: rgba(255, 253, 248, 0.78);
  border-color: rgba(217, 207, 192, 0.95);
}

.workshop-card .example-box code,
.task-callout .example-box code,
.code-sample-box .example-box code {
  color: var(--ink);
}

.article-image-block {
  margin: 1.25rem 0 1rem;
}

.article-image-block img {
  display: block;
  width: 100%;
  max-width: 920px;
  border-radius: 24px;
  border: 1px solid rgba(202, 151, 122, 0.28);
  box-shadow: 0 18px 40px rgba(47, 35, 24, 0.08);
}

.code-sample-box {
  margin-top: 14px;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid rgba(225, 91, 44, 0.24);
  border-radius: 20px;
}

.code-sample-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--paper-accent);
  border-bottom: 1px solid rgba(225, 91, 44, 0.18);
}

.code-sample-label {
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.copy-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(165, 60, 22, 0.24);
  border-radius: 999px;
  background: var(--paper);
  color: var(--accent-deep);
  font-weight: 700;
  cursor: pointer;
}

.copy-button:disabled {
  opacity: 0.72;
  cursor: default;
}

.code-sample-box pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
}

.code-sample-box.compact pre {
  padding: 16px 18px;
}

.code-sample-box code {
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.94rem;
  line-height: 1.7;
  white-space: pre;
}

.plan-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.plan-table th,
.plan-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.plan-table th {
  background: #f2eadf;
  font-size: 0.94rem;
}

.plan-table tr:last-child td {
  border-bottom: none;
}

.article-column {
  padding: 26px;
}

.article-column ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.article-column li + li {
  margin-top: 10px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #efe2d3;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 40px;
}

.site-footer {
  padding: 26px 2px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .workshop-hero,
  .hero,
  .intro-block,
  .cta-section,
  .card-grid,
  .article-columns,
  .workshop-grid,
  .install-method-grid,
  .workshop-notes,
  .step-links {
    grid-template-columns: 1fr;
  }

  .workshop-hero,
  .hero,
  .intro-block,
  .content-section,
  .cta-section {
    padding: 28px;
  }

  .quick-links,
  .practice-grid,
  .icon-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-work-grid {
    grid-template-columns: 1fr;
  }

  .flow-visual {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .hands-on-grid {
    grid-template-columns: 1fr;
  }

  .use-case-grid,
  .download-placeholder,
  .series-links,
  .directory-map,
  .share-guide {
    grid-template-columns: 1fr;
  }

  .beginner-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header,
  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .quick-links,
  .practice-grid,
  .icon-links {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .top-nav {
    gap: 12px 16px;
  }

  .hands-on-card {
    grid-template-columns: 1fr;
  }

  .character-note,
  .character-note.reverse {
    grid-template-columns: 1fr;
  }

  .character-note img,
  .character-note.reverse img {
    order: 1;
  }

  .character-note .speech-bubble,
  .character-note.reverse .speech-bubble {
    order: 2;
  }

  .speech-bubble::before,
  .character-note.reverse .speech-bubble::before {
    left: 24px;
    right: auto;
    top: -10px;
    border-right: none;
    border-top: 1px solid rgba(225, 91, 44, 0.25);
    border-left: 1px solid rgba(225, 91, 44, 0.25);
    border-bottom: none;
  }
}
