:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #222522;
  --muted: #626a62;
  --line: #e1e9e2;
  --deep: #006425;
  --accent: #00802d;
  --soft: #e2f5e6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--soft); color: var(--deep); }
html { scrollbar-color: #9ac7a2 var(--bg); }
.site-shell { width: min(100% - 48px, 1040px); min-height: 100dvh; margin: auto; display: flex; flex-direction: column; }
.topbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.brand-mark { display: block; width: 42px; height: 42px; overflow: hidden; border-radius: 12px; flex: 0 0 auto; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.topbar-link { color: var(--accent); font-weight: 700; font-size: 14px; text-underline-offset: 4px; }
.topbar-link:hover { text-decoration: underline; }
.topbar-link span { font-size: 18px; margin-left: 3px; }
.hero { display: flex; align-items: end; justify-content: space-between; gap: 38px; padding: 54px 0 50px; }
.hero-copy { max-width: 710px; }
.hero h1, .detail h1, .not-found h1 { font-family: "Outfit", sans-serif; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 { font-size: clamp(3.6rem, 7vw, 5.75rem); max-width: 11ch; margin: 0 0 22px; }
.hero p { max-width: 560px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.hero-person { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; margin-bottom: 6px; }
.hero-person img { width: 70px; height: 70px; object-fit: cover; border-radius: 50%; }
.hero-person div { display: flex; flex-direction: column; }
.hero-person strong { font-family: "Outfit", sans-serif; font-size: 17px; line-height: 1.25; }
.hero-person a { color: var(--muted); font-size: 14px; }
.hero-person a:hover { color: var(--accent); text-decoration: underline; }
.directory { padding: 0 0 80px; }
.directory h2 { margin: 0 0 16px; font-family: "Outfit", sans-serif; font-weight: 600; letter-spacing: -.02em; font-size: 21px; }
.home-card-list { display: grid; gap: 14px; }
.home-card { display: flex; flex-direction: column; min-height: 250px; padding: 26px 31px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f7faf7; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.home-card:hover { border-color: #b8d8bf; background: #f0f8f1; transform: translateY(-2px); }
.home-card-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.home-card-top svg { width: 24px; height: 24px; flex: 0 0 auto; }
.home-card-content { display: flex; flex-direction: column; gap: 8px; margin: auto 0 25px; }
.home-card-content strong { font-family: "Outfit", sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.home-card-content > span { color: var(--muted); font-size: 17px; line-height: 1.45; }
.home-card-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 50px; margin: 0 -31px; padding: 12px 31px; border-top: 1px solid var(--line); color: var(--deep); font-size: 14px; font-weight: 700; }
.home-card-bottom span { font-size: 21px; line-height: 1; }
.feature { display: flex; flex-direction: column; min-height: 330px; padding: 30px 34px 0; background: var(--deep); color: white; border-radius: 16px; overflow: hidden; transition: background .18s ease; }
.feature:hover { background: #00752a; }
.feature-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; font-weight: 700; color: var(--soft); font-size: 12px; letter-spacing: .08em; }
.feature-top svg { width: 27px; height: 27px; flex: 0 0 auto; }
.feature-content { display: flex; flex-direction: column; align-items: flex-start; margin: auto 0 28px; max-width: 650px; }
.feature-content strong { display: block; font-family: "Outfit", sans-serif; font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.feature-content>span { display: block; max-width: 570px; margin-top: 14px; color: #e0f1e2; font-size: 18px; }
.feature-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 -34px; padding: 15px 34px; background: var(--soft); color: var(--deep); font-weight: 700; font-size: 15px; }
.feature-bottom span { font-size: 23px; line-height: 1; }
.resource-list { margin-top: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.resource-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 23px 30px; transition: background .18s ease; }
.resource-row + .resource-row { border-top: 1px solid var(--line); }
.resource-row:hover { background: #f3faf3; }
.resource-main { display: flex; flex-direction: column; align-items: flex-start; }
.resource-category, .detail-category { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.resource-main strong { margin: 4px 0 2px; font-family: "Outfit", sans-serif; font-size: 29px; line-height: 1.13; letter-spacing: -.025em; font-weight: 600; }
.resource-summary { color: var(--muted); font-size: 15px; line-height: 1.45; }
.resource-action { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 14px; white-space: nowrap; }
.resource-action svg { width: 20px; height: 20px; }
.footer { margin-top: auto; min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.detail { padding: 30px 0 92px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 14px; font-weight: 700; }
.back-link span { font-size: 22px; line-height: 1; }
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-header { padding: 62px 0 58px; border-bottom: 1px solid var(--line); }
.detail h1 { max-width: 800px; font-size: clamp(3.8rem, 7.5vw, 5.75rem); margin: 16px 0 24px; }
.detail-header p { max-width: 710px; margin: 0; color: var(--muted); font-size: 21px; line-height: 1.5; }
.detail-body { display: grid; grid-template-columns: minmax(0,1fr) 305px; gap: 70px; align-items: start; padding-top: 56px; }
.guide h2 { margin: 0 0 25px; font-family: "Outfit", sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -.025em; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.step-number { color: var(--accent); font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-family: "Outfit", sans-serif; font-size: 22px; font-weight: 600; line-height: 1.2; }
.steps p { margin: 7px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.action-panel { padding: 26px; border-radius: 16px; background: #e8f6ea; }
.action-panel p { margin: 0 0 22px; font-family: "Outfit", sans-serif; font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.primary-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 54px; padding: 13px 17px; background: var(--deep); border-radius: 10px; color: white; font-size: 15px; font-weight: 700; line-height: 1.3; }
.primary-button:hover:not(.primary-button--disabled) { background: #00752a; }
.primary-button svg { width: 19px; height: 19px; flex: 0 0 auto; }
.primary-button--disabled { color: #657267; background: #e7eee7; cursor: default; }
.not-found { max-width: 700px; padding: 110px 0; }
.not-found h1 { font-size: clamp(3.3rem, 7vw, 5.5rem); margin: 0 0 20px; }
.not-found p { color: var(--muted); font-size: 19px; margin: 0 0 32px; }
.not-found .primary-button { max-width: 260px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 28px; }
.collection-card { display: flex; flex-direction: column; min-height: 300px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #f7faf7; transition: background .18s ease, transform .18s ease; }
.collection-card:hover { background: var(--soft); transform: translateY(-3px); }
.collection-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.collection-card-top svg { width: 21px; height: 21px; }
.collection-card strong { margin-top: auto; font-family: "Outfit", sans-serif; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.08; letter-spacing: -.025em; }
.collection-card-summary { margin-top: 11px; color: var(--muted); font-size: 14px; }
.collection-card-cta { margin-top: 22px; color: var(--accent); font-size: 14px; font-weight: 700; }
.prompts-footnote { color: var(--muted); font-size: 13px; margin-top: 28px; }
.collection-header { padding-bottom: 36px; }
.collection-header h1 { max-width: 920px; }
.pdf-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.pdf-link svg { width: 18px; height: 18px; }
.collection-note { max-width: 780px; margin: 25px 0 0; padding: 16px 20px; color: var(--deep); background: var(--soft); border-radius: 10px; font-size: 14px; }
.prompt-tools { display: flex; align-items: center; gap: 16px; padding: 28px 0 20px; }
.prompt-tools label { font-family: "Outfit", sans-serif; font-size: 19px; font-weight: 600; white-space: nowrap; }
.prompt-tools input { flex: 1; min-width: 0; min-height: 46px; padding: 9px 14px; border: 1px solid #bacfbd; border-radius: 9px; background: white; color: var(--ink); font: inherit; }
.prompt-tools input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.prompt-tools span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.prompt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prompt-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.prompt-card[hidden] { display: none; }
.prompt-card-head { display: flex; align-items: center; gap: 10px; width: 100%; color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.prompt-number { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--soft); font-variant-numeric: tabular-nums; }
.prompt-category { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prompt-card h3 { margin: 20px 0 8px; font-family: "Outfit", sans-serif; font-size: 25px; line-height: 1.13; letter-spacing: -.025em; }
.prompt-command { display: inline-flex; padding: 5px 9px; border-radius: 6px; background: var(--soft); color: var(--deep); font-size: 13px; font-weight: 700; }
.prompt-card p { margin: 18px 0 24px; color: var(--muted); line-height: 1.55; white-space: pre-line; }
.copy-button { margin-top: auto; padding: 9px 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.copy-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.empty-state { padding: 35px 0; color: var(--muted); }
.empty-state[hidden] { display: none; }
.copy-feedback { position: fixed; left: 50%; bottom: 18px; z-index: 5; transform: translateX(-50%); padding: 10px 16px; border-radius: 8px; background: var(--deep); color: white; font-size: 14px; opacity: 0; pointer-events: none; }
.copy-feedback:not(:empty) { opacity: 1; }
@media (max-width: 800px) {
  .hero { align-items: flex-start; flex-direction: column; gap: 28px; }
  .detail-body { grid-template-columns: 1fr; gap: 36px; }
  .action-panel { max-width: 520px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 230px; }
}
@media (max-width: 600px) {
  .site-shell { width: min(100% - 32px, 1040px); }
  .topbar { min-height: 66px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .topbar-link { font-size: 13px; }
  .hero { padding: 36px 0 38px; gap: 25px; }
  .hero h1 { max-width: 10ch; font-size: clamp(3.35rem, 13vw, 4.5rem); margin-bottom: 15px; }
  .hero p { font-size: 17px; line-height: 1.5; }
  .hero-person img { width: 54px; height: 54px; }
  .hero-person strong { font-size: 16px; }
  .directory { padding-bottom: 58px; }
  .directory h2 { font-size: 19px; margin-bottom: 13px; }
  .home-card-list { gap: 12px; }
  .home-card { min-height: 224px; padding: 21px 22px 0; }
  .home-card-top { font-size: 10px; }
  .home-card-content { margin-bottom: 20px; }
  .home-card-content strong { font-size: clamp(2.1rem, 9vw, 3rem); }
  .home-card-content > span { font-size: 15px; }
  .home-card-bottom { margin: 0 -22px; padding: 11px 22px; }
  .feature { min-height: 292px; padding: 22px 23px 0; }
  .feature-top { font-size: 11px; }
  .feature-top svg { width: 23px; height: 23px; }
  .feature-content { margin-bottom: 24px; }
  .feature-content strong { max-width: 270px; font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .feature-content>span { font-size: 16px; margin-top: 10px; }
  .feature-bottom { margin: 0 -23px; padding: 14px 23px; font-size: 14px; }
  .resource-row { padding: 19px 19px; gap: 12px; }
  .resource-main strong { font-size: 24px; }
  .resource-summary { font-size: 14px; }
  .resource-action { font-size: 0; }
  .resource-action svg { width: 23px; height: 23px; }
  .footer { min-height: 62px; font-size: 12px; }
  .detail { padding: 24px 0 70px; }
  .detail-header { padding: 46px 0 43px; }
  .detail h1 { font-size: clamp(3.4rem, 12vw, 4.6rem); margin: 13px 0 20px; }
  .detail-header p { font-size: 18px; }
  .detail-body { padding-top: 37px; }
  .guide h2 { font-size: 29px; margin-bottom: 17px; }
  .steps li { grid-template-columns: 29px minmax(0,1fr); gap: 12px; }
  .steps strong { font-size: 20px; }
  .action-panel { padding: 23px; }
  .action-panel p { font-size: 21px; }
  .not-found { padding: 90px 0; }
  .prompt-tools { flex-wrap: wrap; gap: 8px; }
  .prompt-tools label { width: 100%; }
  .prompt-tools input { width: 100%; flex-basis: 100%; }
  .prompt-grid { grid-template-columns: 1fr; }
  .prompt-card { padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature, .resource-row, .home-card { transition: none; }
}
