:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #66727a;
  --line: #dfe6e8;
  --panel: #f4f8f9;
  --accent: #12aeb8;
  --accent-dark: #0f766e;
  --teal-panel: #55b6c1;
  --yellow-panel: #f4ce49;
  --warm: #f2a65a;
  --white: #ffffff;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.download-feedback {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: min(440px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(18, 38, 43, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.download-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.download-feedback h2 {
  margin: 4px 32px 14px 0;
  font-size: 18px;
}

.download-feedback-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
  cursor: pointer;
}

.download-feedback-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.download-feedback-actions button {
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.download-feedback-actions button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

#download-feedback-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .download-feedback {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .download-feedback-actions {
    grid-template-columns: 1fr;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
}

.brand-mark img {
  display: block;
  width: 40px;
  height: 40px;
}

.brand strong,
.brand small { display: block; }

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.category-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-weight: 900;
  text-decoration: none;
}

.category-search span {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a { text-decoration: none; }

.hero {
  padding: 16px clamp(18px, 5vw, 64px) clamp(34px, 6vw, 58px);
  background: var(--panel);
}

.hero-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1240px;
  min-height: 430px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.hero-side {
  display: grid;
  align-content: center;
  min-height: 430px;
  padding: clamp(28px, 5vw, 62px);
}

.maker-side {
  background: var(--teal-panel);
  color: var(--white);
}

.buyer-side {
  background: var(--yellow-panel);
  color: var(--ink);
}

.role-label {
  width: fit-content;
  margin: 0 auto 20px;
  border-radius: 999px;
  padding: 9px 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  font-weight: 900;
}

.hero-side h1,
.hero-side h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-side p:not(.role-label) {
  max-width: 440px;
  margin: 18px auto 22px;
  text-align: center;
  font-weight: 800;
  line-height: 1.7;
}

.hero-side img {
  width: min(270px, 58%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(19, 34, 41, 0.14);
}

.hero-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(280px, 42vw);
  min-height: 86px;
  place-items: center;
  padding: 16px 22px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(19, 34, 41, 0.16);
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero-center strong { font-size: 21px; }

.hero-center span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.button.primary:hover { background: var(--accent-dark); }

.button.secondary { background: var(--white); }

.button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.78;
}

.button.full { width: 100%; }

.button.large {
  min-width: 260px;
  min-height: 58px;
  font-size: 20px;
}

.section {
  padding: clamp(34px, 7vw, 78px) clamp(18px, 5vw, 64px);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section h2 span { color: var(--accent); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.categories,
.intro { background: var(--white); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.category-grid a {
  display: grid;
  min-height: 130px;
  place-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.category-grid span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 999px;
  background: var(--panel);
  color: var(--accent);
  font-size: 30px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.role-finder {
  background: #f7fbfb;
}

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

.role-grid article {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.role-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e6f3f1;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.role-grid h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.38;
}

.role-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.role-grid ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  line-height: 1.5;
}

.role-grid a {
  width: fit-content;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 80px);
  align-items: start;
}

.reason-grid article { text-align: center; }

.reason-grid img,
.simple-illustration {
  width: 170px;
  height: 170px;
  margin: 0 auto 20px;
  border-radius: 999px;
  object-fit: cover;
  background: #e2f4f5;
}

.simple-illustration {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 72px;
  font-weight: 900;
}

.reason-grid h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.reason-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.discovery-section {
  border-top: 1px solid var(--line);
}

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

.discovery-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.discovery-card.is-popular {
  border-color: #0e8e91;
}

.discovery-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 12px;
  background: #f6faf9;
}

.discovery-card > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
}

.discovery-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.45;
}

.discovery-card p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.discovery-label {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 4px;
  color: #fff;
  background: #0b7275;
  font-size: 12px;
  font-weight: 800;
}

.related-section {
  border-top: 1px solid var(--line);
  background: #f7faf9;
}

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

.related-links a {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: #fff;
  text-decoration: none;
}

.related-links a:hover {
  border-color: #0e8e91;
}

.related-links strong {
  font-size: 16px;
  line-height: 1.45;
}

.related-links span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.sample-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid #b9e2e4;
  border-radius: 8px;
  background: #eefafa;
}

.sample-callout h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.sample-callout p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.featured-templates article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #b9e2e4;
  border-radius: 8px;
  background: #fbfefe;
}

.featured-templates img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.featured-templates h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.35;
}

.featured-templates p:not(.eyebrow) {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.product-list-head {
  margin-top: 18px;
}

.product-role-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #b9e2e4;
  border-radius: 8px;
  background: #eefafa;
}

.product-role-filter[hidden] {
  display: none;
}

.product-role-filter strong {
  color: var(--accent-dark);
  font-size: 14px;
  line-height: 1.55;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card.is-draft {
  border-style: dashed;
  background: #fbfdfd;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.product-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.35;
}

.category {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e6f3f1;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #f0c36f;
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff7e8;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 900;
}

.summary {
  color: var(--muted);
  line-height: 1.65;
}

.price {
  margin: 12px 0;
  font-size: 28px;
  font-weight: 900;
}

.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
  padding: 0;
  list-style: none;
}

.contents li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 12px;
}

.card-actions {
  display: grid;
  gap: 8px;
}

.notice {
  min-height: 20px;
  color: var(--accent-dark);
  font-size: 13px;
  line-height: 1.5;
}

.exercise-picker-section {
  background: var(--panel);
}

.pricing-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.pricing-strip span,
.pricing-strip strong {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--white);
}

.pricing-strip strong {
  border-color: #b9e2e4;
  color: var(--accent-dark);
}

.exercise-tools {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tool-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.filter-row,
.quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: #e6f3f1;
  color: var(--accent-dark);
}

.exercise-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.exercise-card {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.exercise-card[hidden] {
  display: none !important;
}

.exercise-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.exercise-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.exercise-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.exercise-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.selection-bar {
  position: sticky;
  bottom: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 40px rgba(19, 34, 41, 0.12);
}

.selection-bar strong,
.selection-bar span {
  display: block;
}

.selection-bar span {
  color: var(--muted);
  font-size: 14px;
}

.flow {
  background: var(--panel);
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.flow li {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  font-weight: 900;
}

.flow span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--warm);
  color: var(--ink);
}

.flow p,
.request p {
  color: var(--muted);
  line-height: 1.75;
}

.comparison { background: var(--white); }

.table-wrap { overflow-x: auto; }

.comparison table {
  width: min(860px, 100%);
  margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(19, 34, 41, 0.08);
}

.comparison th,
.comparison td {
  min-width: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  text-align: center;
}

.comparison thead th {
  background: #ddf2f4;
  font-size: 18px;
}

.comparison thead th:nth-child(2) {
  background: var(--accent);
  color: var(--white);
}

.comparison tbody th {
  color: var(--muted);
  text-align: left;
}

.comparison tbody tr:nth-child(even) td,
.comparison tbody tr:nth-child(even) th {
  background: #f7f8f8;
}

.partner,
.request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.partner {
  background: #eef7f7;
}

.partner > div,
.request > div { max-width: 760px; }

.partner p {
  color: var(--muted);
  line-height: 1.75;
}

.partner-actions {
  display: grid;
  min-width: 220px;
  gap: 10px;
}

.quick-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 24px 40px;
  align-items: center;
}

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

.feedback-button {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.feedback-button:hover,
.feedback-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: #e6f3f1;
  color: var(--accent-dark);
}

.feedback-status {
  grid-column: 2;
  min-height: 24px;
  margin: -12px 0 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.mobile-sticky-cta { display: none; }

.status-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
  background: var(--panel);
}

.status-card {
  width: min(680px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.status-card h1 {
  margin-top: 0;
  font-size: clamp(30px, 5vw, 46px);
}

.download-area {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.seo-page {
  background: var(--white);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 7vw, 82px) clamp(18px, 5vw, 64px);
  background: var(--panel);
}

.seo-hero-copy {
  max-width: 780px;
}

.seo-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.seo-hero-copy > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.seo-note {
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-size: 13px !important;
}

.seo-hero-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-hero-media img,
.seo-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.seo-card-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.seo-card-grid h3,
.seo-gallery figcaption {
  margin: 0 0 10px;
  font-size: 17px;
}

.seo-card-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.seo-gallery-section {
  background: var(--panel);
}

.seo-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.seo-gallery figure {
  margin: 0;
}

.seo-gallery figcaption {
  margin-top: 10px;
  font-weight: 900;
  line-height: 1.4;
}

.seo-keywords {
  background: var(--panel);
}

.seo-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.seo-faq-list {
  display: grid;
  gap: 12px;
}

.seo-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.seo-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.seo-faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.8;
}

.policy-page {
  max-width: 820px;
  padding-top: 48px;
  padding-bottom: 72px;
}

.policy-page h1 {
  margin: 6px 0 14px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.25;
}

.policy-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.policy-updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.policy-page section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy-page section:first-of-type {
  margin-top: 34px;
}

.policy-page h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.policy-page li,
.policy-page p {
  line-height: 1.85;
}

@media (max-width: 980px) {
  .product-card,
  .section-head,
  .exercise-tools,
  .sample-callout,
  .product-role-filter,
  .partner,
  .request,
  .quick-feedback {
    grid-template-columns: 1fr;
  }

  .section-head,
  .exercise-tools,
  .sample-callout,
  .product-role-filter,
  .partner,
  .request,
  .quick-feedback { display: grid; }

  .product-grid,
  .featured-templates,
  .exercise-picker,
  .role-grid,
  .category-grid,
  .seo-hero,
  .seo-card-grid,
  .reason-grid,
  .flow ol {
    grid-template-columns: 1fr;
  }

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

  .product-card { display: grid; }

  .hero-board { grid-template-columns: 1fr; }

  .hero-center {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 36px);
    margin: -18px auto 0;
    transform: none;
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 14px;
  }

  .category-search {
    width: 100%;
    margin-right: 0;
  }

  .hero {
    padding-top: 14px;
    padding-bottom: 24px;
  }

  .hero-board { min-height: 0; }

  .hero-side {
    min-height: 330px;
    padding: 26px 18px;
  }

  .buyer-side {
    padding-top: 42px;
  }

  .hero-side h1,
  .hero-side h2 { font-size: 31px; }

  .hero-side img { width: min(210px, 72%); }

  .hero-cta { display: grid; }

  .discovery-grid,
  .related-links {
    grid-template-columns: 1fr;
  }

  .discovery-card {
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .discovery-card img {
    width: 116px;
    height: 100%;
    min-height: 210px;
    padding: 8px;
  }

  .discovery-card > div {
    padding: 16px 14px;
  }

  .button.large {
    width: 100%;
    min-width: 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .seo-hero {
    padding-top: 28px;
  }

  .seo-hero h1 {
    font-size: 32px;
  }

  .seo-actions {
    display: grid;
  }

  .seo-actions .button {
    width: 100%;
    min-width: 0;
  }

  .seo-hero-media,
  .seo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid a { min-height: 112px; }

  .category-grid span {
    width: 72px;
    height: 72px;
  }

  .comparison th,
  .comparison td {
    min-width: 0;
    padding: 12px 6px;
    font-size: 11px;
    line-height: 1.45;
    word-break: keep-all;
  }

  .comparison table {
    width: 100%;
    table-layout: fixed;
  }

  .comparison thead th {
    font-size: 12px;
  }

  .comparison tbody th {
    width: 22%;
  }

  .request .button { width: 100%; }

  .feedback-actions {
    grid-template-columns: 1fr;
  }

  .feedback-status {
    grid-column: 1;
    margin-top: -8px;
  }

  .sample-callout .button { width: 100%; }

  .partner-actions {
    min-width: 0;
  }

  .partner-actions .button { width: 100%; }

  .product-card { padding: 14px; }

  .featured-templates article {
    grid-template-columns: 1fr;
  }

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

  .selection-bar {
    display: grid;
  }

  .selection-bar .button {
    width: 100%;
  }

  .footer { flex-direction: column; }

  .mobile-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 9;
    display: block;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
  }

  .mobile-sticky-cta a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--accent);
    color: var(--white);
    font-weight: 900;
    text-decoration: none;
  }
}
