:root {
  --navy: #17324d;
  --navy-soft: #244b69;
  --teal: #0f766e;
  --teal-pale: #dff2ee;
  --ivory: #fffaf0;
  --paper: #f7f5ef;
  --ink: #1f2f3d;
  --muted: #637280;
  --line: #d7dee4;
  --gold: #d49a45;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); line-height: 1.75; }
a { color: inherit; }
.site-header {
  min-height: 88px; padding: 14px max(24px, calc((100vw - 1120px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.05rem; letter-spacing: .04em; }
.brand small { color: var(--muted); font-size: .72rem; }
.pr-label { padding: 3px 11px; border: 1px solid var(--navy); border-radius: 999px; font-weight: 700; font-size: .75rem; }
main, footer { max-width: 1120px; margin: auto; }
.hero {
  margin: 36px 0 22px; padding: clamp(32px, 6vw, 72px);
  display: grid; grid-template-columns: 1.5fr .7fr; gap: 44px; align-items: center;
  color: white; background: var(--navy); border-radius: 28px;
}
.hero h1 { margin: 8px 0 18px; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.28; letter-spacing: .01em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero p { max-width: 44rem; }
.hero img { width: 100%; height: auto; border-radius: 50%; }
.eyebrow { margin: 0; color: var(--teal); font-weight: 800; font-size: .78rem; letter-spacing: .12em; }
.hero .eyebrow { color: #9cd9ce; }
.disclosure { margin: 22px 0; padding: 18px 22px; background: #fff1c9; border-left: 5px solid var(--gold); border-radius: 8px; }
.disclosure p { margin: 3px 0 0; }
.section { padding: 56px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
h2 { margin: 3px 0; color: var(--navy); font-size: 2rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgba(23,50,77,.06); }
.product-card__visual { height: 300px; min-width: 0; overflow: hidden; display: grid; place-items: center; padding: 22px; background: white; border-bottom: 1px solid var(--line); }
.product-card__visual img { display: block; min-width: 0; min-height: 0; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card__visual span { display: grid; place-items: center; width: 78px; height: 78px; color: white; background: var(--teal); border-radius: 22px; font-size: 1.45rem; font-weight: 800; }
.product-card__body { padding: 26px 22px 22px; }
.product-card .eyebrow { font-weight: 400; }
.product-card h3 { min-height: 3.4em; margin: 5px 0 18px; color: var(--navy); line-height: 1.55; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 700; }
.facts .price-value { color: var(--navy); font-size: 1.25rem; line-height: 1.4; }
.reason-title { margin: 18px 0 4px; font-weight: 800; }
.product-card ul { margin-top: 0; padding-left: 1.25rem; color: var(--muted); }
.product-card .selection-reasons { font-size: .78rem; line-height: 1.65; }
.product-link { display: block; margin-top: 18px; padding: 11px; color: white; background: var(--navy); border-radius: 8px; text-align: center; text-decoration: none; font-weight: 800; }
.source-note { color: var(--muted); font-size: .72rem; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.policy-grid article { padding: 32px; background: white; border-radius: 18px; border: 1px solid var(--line); }
.category-list { columns: 2; padding-left: 1.3rem; }
footer { margin-top: 40px; padding: 42px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.document-page { max-width: 820px; padding: 64px 0; }
.document-page > h1 { margin: 4px 0 36px; color: var(--navy); font-size: clamp(2rem, 5vw, 3.2rem); }
.document-page section { margin-bottom: 18px; padding: 24px 28px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.document-page section h2 { margin-top: 0; font-size: 1.35rem; }
.text-link { color: var(--teal); font-weight: 800; }
.social-preview { max-width: 980px; }
.operation-panel { margin: 24px 0; padding: 18px 22px; background: #e7f5f2; border: 1px solid #b8ded7; border-radius: 14px; }
.operation-panel p { margin: 4px 0 0; }
.draft-card { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 28px; margin: 24px 0; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.draft-card img { width: 100%; height: auto; border-radius: 12px; }
.draft-card pre { white-space: pre-wrap; font: inherit; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.download-link, .x-intent-link { padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 800; }
.download-link { color: var(--navy); background: #e8eef3; }
.x-intent-link { color: white; background: #101010; }
.action-note { margin: 9px 0 0; color: var(--muted); font-size: .78rem; }
.oauth-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0; padding: 22px 24px; color: white; background: var(--navy); border-radius: 16px; }
.oauth-panel p { margin: 4px 0 0; }
.oauth-link { flex: 0 0 auto; padding: 11px 18px; color: var(--navy); background: white; border-radius: 9px; text-decoration: none; font-weight: 900; }
.publish-button { padding: 11px 16px; color: white; background: var(--teal); border: 0; border-radius: 8px; font: inherit; font-weight: 900; cursor: pointer; }
.publish-button:disabled { cursor: wait; opacity: .6; }
.publish-result { color: var(--teal); font-weight: 700; }

@media (max-width: 760px) {
  .site-header { padding: 12px 16px; }
  .brand small { display: none; }
  main, footer { width: min(100% - 28px, 1120px); }
  .hero { grid-template-columns: 1fr; margin-top: 18px; border-radius: 20px; }
  .hero h1 { font-size: clamp(1.35rem, 7vw, 1.65rem); letter-spacing: 0; }
  .hero img { width: 170px; order: -1; }
  .product-grid, .policy-grid { grid-template-columns: 1fr; }
  .product-card__visual { height: 280px; }
  .section-heading { align-items: start; flex-direction: column; }
  .category-list { columns: 1; }
  .draft-card { grid-template-columns: 1fr; }
  .oauth-panel { align-items: stretch; flex-direction: column; }
  .oauth-link { text-align: center; }
}
