:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #647082;
  --line: #e1e8f0;
  --brand-blue: #2767b1;
  --brand-blue-dark: #22517f;
  --brand-blue-soft: #eef6ff;
  --orange: #c85a24;
  --orange-dark: #a94c20;
  --orange-soft: #fff6ef;
  --gold: #c9a65c;
  --shadow: 0 22px 58px rgba(34, 81, 127, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

h1,
h2,
p {
  margin: 0;
}

.site-header,
.footer,
.page-shell {
  width: min(1420px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  min-height: 64px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

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

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
}

.brand-by {
  display: inline-block;
  padding-left: 10px;
  border-left: 1px solid rgba(100, 112, 130, 0.24);
  color: #647082;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-message {
  min-width: 0;
  color: #46566b;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.header-label {
  justify-self: end;
  align-self: center;
  transform: translateY(7px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.025em;
}

.page-shell {
  padding: 8px 0 32px;
}

.hero {
  min-height: min(560px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.82fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(24px, 3vw, 42px) clamp(34px, 4vw, 58px);
  border: 1px solid rgba(34, 81, 127, 0.1);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
  align-self: center;
}

.expert-badge {
  position: relative;
  display: block;
  width: min(264px, 100%);
  aspect-ratio: 1740 / 760;
  margin: -4px 0 10px;
  isolation: isolate;
}

.authority-ribbon-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.authority-medal-text,
.authority-band {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.authority-medal-text {
  top: 36.2%;
  left: 16.7%;
  color: #231806;
  font-size: 11.8px;
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: 0.1em;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 244, 192, 0.88), 0 3px 8px rgba(99, 54, 9, 0.22);
  transform: translate(-50%, -50%);
}

.authority-band {
  left: 34.2%;
  max-width: 63.5%;
  height: 16%;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  letter-spacing: 0.045em;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: none;
}

.authority-band-main {
  top: 18.6%;
  color: #fff;
  font-size: 10.7px;
  font-weight: 720;
}

.authority-band-sub {
  top: 49.2%;
  color: #38260b;
  font-size: 9.5px;
  font-weight: 660;
  text-shadow: 0 1px 0 rgba(255, 246, 208, 0.72);
}

.sector {
  display: none;
}

h1 {
  max-width: 800px;
  color: #121826;
  font-size: clamp(32px, 2.5vw, 42px);
  line-height: 1.24;
  font-weight: 740;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

h1::after {
  content: none;
}

.hook-text {
  display: block;
  width: fit-content;
  margin: 0 0 -0.08em;
  color: #22517f;
  font-size: 0.72em;
  font-weight: 720;
  line-height: 1;
  letter-spacing: 0.04em;
}

.h1-line {
  display: block;
}

.h1-line + .h1-line {
  margin-top: 6px;
}

.h1-line:first-child {
  white-space: nowrap;
}

.h1-line:last-child {
  font-size: 0.84em;
}

.marker-text {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 3px 2px;
}

.marker-text::before,
.marker-text::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.marker-text::before {
  right: -0.08em;
  bottom: 0.06em;
  left: -0.08em;
  height: 0.34em;
  border-radius: 62% 38% 52% 44%;
  background: linear-gradient(90deg, rgba(255, 226, 86, 0.08), rgba(255, 214, 62, 0.72) 11%, rgba(255, 186, 33, 0.62) 64%, rgba(255, 226, 86, 0.1));
  transform: rotate(-1.4deg);
}

.marker-text::after {
  right: 0;
  bottom: 0.02em;
  left: 0.12em;
  height: 0.12em;
  border-radius: 999px;
  background: rgba(244, 159, 35, 0.34);
  transform: rotate(1deg);
}

.lead {
  max-width: 680px;
  margin-top: 20px;
  color: #344258;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.86;
  font-weight: 520;
  overflow-wrap: anywhere;
}

.hero-cta-block {
  width: min(100%, 580px);
  margin-top: 38px;
}

.cta-bubble,
.cta-balloon {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 8px 34px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(200, 90, 36, 0.52);
  background: #fff5f0;
  color: var(--orange-dark);
  box-shadow: 0 8px 18px rgba(200, 90, 36, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-size: clamp(12px, 0.9vw, 13px);
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.cta-bubble::after {
  content: "";
  position: absolute;
  left: 38px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border-right: 1px solid rgba(200, 90, 36, 0.22);
  border-bottom: 1px solid rgba(200, 90, 36, 0.22);
  background: #fff5f0;
  transform: rotate(45deg);
}

.actions {
  display: grid;
  gap: 12px;
}

.hero-actions {
  grid-template-columns: minmax(308px, 520px);
  align-items: stretch;
}

.hero-actions .button {
  padding: 0 14px;
  font-size: 14px;
}

.hero-actions .button .button-copy {
  white-space: nowrap;
}

.button,
.consult-link {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 740;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button::after,
.consult-link::after {
  content: none;
}

.button-copy {
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.button-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pdf-icon {
  padding: 4px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.button-arrow {
  width: 8px;
  height: 20px;
  flex: 0 0 20px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.button.primary {
  border: 1px solid rgba(152, 58, 21, 0.3);
  background: linear-gradient(180deg, #c95528 0%, #b64119 58%, #963313 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(186, 70, 26, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button.primary:hover {
  background: linear-gradient(180deg, #d85a2a 0%, #aa3512 100%);
  box-shadow: 0 12px 24px rgba(186, 70, 26, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.consult-link {
  min-height: 54px;
  border: 1.5px solid var(--brand-blue-dark);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-blue-dark);
  box-shadow: none;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 690;
}

.consult-link:hover {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.button:hover .button-arrow,
.consult-link:hover .button-arrow {
  transform: translateX(5px) rotate(45deg);
}

.cta-privacy {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  color: #667185;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.privacy-icon {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  color: #667185;
}

.privacy-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.cta-reassurance,
.operator-note {
  max-width: 620px;
  margin-top: 10px;
  color: #778294;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.operator-note {
  display: none;
}

.visual-panel {
  position: relative;
  min-width: 0;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 22px 0;
  overflow: visible;
  contain: none;
  isolation: isolate;
}

.paper-stack-real {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.stack-page {
  position: absolute;
  width: min(390px, 76%);
  aspect-ratio: 16 / 9;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(23, 71, 119, 0.12);
  border-radius: 5px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(23, 71, 119, 0.09);
  transform-origin: center;
}

.preview-frame {
  position: relative;
  z-index: 6;
  width: min(420px, 78%);
  padding: 10px;
  border: 1px solid rgba(23, 71, 119, 0.14);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(34, 81, 127, 0.18);
  transform: translate(-42px, -28px) rotate(0deg);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.visual-panel:hover .preview-frame {
  box-shadow: 0 26px 56px rgba(34, 81, 127, 0.2);
  transform: translate(-42px, -34px) rotate(0deg);
}

.preview-frame::before {
  content: "広告費1万円の中身を公開";
  position: absolute;
  top: -17px;
  left: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 760;
}

.paper-shot {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  background: #fff;
}

.paper-shot-front {
  width: 100%;
  border: 1px solid rgba(16, 32, 51, 0.1);
}

.visual-panel-generated {
  min-height: 470px;
  padding: 0;
}

.visual-panel-slide {
  min-height: 100%;
  align-self: stretch;
  padding: 20px 0;
}

.visual-panel-slide .paper-stack-real {
  inset: 74px 8px 62px 38px;
  overflow: visible;
}

.visual-panel-slide::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 44px 0 42px 0;
  border: 1px solid rgba(34, 81, 127, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98) 0%, rgba(241, 246, 251, 0.95) 100%);
  box-shadow: 0 20px 42px rgba(34, 81, 127, 0.09);
}

.visual-panel-slide .stack-page {
  width: min(440px, 82%);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(34, 81, 127, 0.08);
}

.visual-panel-slide .preview-frame {
  width: min(500px, 92%);
  padding: 9px;
  border: 1px solid rgba(34, 81, 127, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(34, 81, 127, 0.12);
  transform: translate(-18px, 0);
}

.visual-panel-slide:hover .preview-frame {
  box-shadow: 0 22px 44px rgba(34, 81, 127, 0.14);
  transform: translate(-18px, -5px);
}

.visual-panel-slide .preview-frame::before {
  content: none;
}

.visual-panel-slide .paper-shot-front {
  width: 100%;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

.generated-preview-frame {
  position: relative;
  z-index: 4;
  width: min(560px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translate(0, -2px);
  overflow: visible;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.visual-panel-generated:hover .generated-preview-frame {
  filter: drop-shadow(0 20px 32px rgba(34, 81, 127, 0.14));
  transform: translate(0, -8px);
}

.generated-preview-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
  filter: drop-shadow(0 18px 34px rgba(34, 81, 127, 0.08));
  pointer-events: none;
}

.generated-preview-label {
  position: absolute;
  top: 7.4%;
  left: 6.8%;
  z-index: 3;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0a315f 0%, #061f40 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(6, 27, 56, 0.22);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

.preview-copy-card {
  position: absolute;
  z-index: 2;
  top: 23.8%;
  left: 6.2%;
  width: 34%;
  color: #061b38;
  pointer-events: none;
}

.preview-index {
  margin: 0 0 14px;
  color: #26344a;
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 760;
  line-height: 1.2;
}

.preview-title {
  margin: 0 0 16px;
  color: #061b38;
  font-size: clamp(21px, 1.82vw, 30px);
  font-weight: 760;
  line-height: 1.24;
  letter-spacing: 0;
}

.preview-mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-mini-list li {
  position: relative;
  padding-left: 28px;
  color: #243247;
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 720;
  line-height: 1.3;
}

.preview-mini-list li::before {
  content: "";
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 15px;
  height: 15px;
  border: 2px solid #d24423;
  border-radius: 3px;
}

.preview-mini-list li::after {
  content: "";
  position: absolute;
  top: 0.1em;
  left: 5px;
  width: 5px;
  height: 11px;
  border-right: 2px solid #d24423;
  border-bottom: 2px solid #d24423;
  transform: rotate(45deg);
}

.detail-section {
  margin-top: 36px;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  padding: clamp(28px, 3vw, 42px) clamp(48px, 5vw, 78px);
  padding-inline: max(28px, calc((100vw - 1420px) / 2 + 78px));
  border: 1px solid rgba(23, 71, 119, 0.12);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f3f8fb 0%, #f9fbfc 100%);
  box-shadow: 0 14px 40px rgba(34, 81, 127, 0.06);
}

.detail-summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 0;
}

.section-label {
  display: none;
}

.summary-copy {
  grid-column: 1;
  justify-self: center;
  width: 100%;
  display: block;
  text-align: center;
}

.summary-title {
  display: block;
  color: #05080d;
  font-size: clamp(24px, 1.95vw, 34px);
  line-height: 1.34;
  font-weight: 740;
}

.benefit-text {
  display: block;
  max-width: 920px;
  margin: 10px auto 0;
  color: #667386;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.75;
}

.insight-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
}

.reader-title {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 32px 0 0;
  color: #6d4a18;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.reader-title::before,
.reader-title::after {
  content: "";
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent 0%, rgba(178, 131, 45, 0.76) 100%);
}

.reader-title::after {
  background: linear-gradient(90deg, rgba(178, 131, 45, 0.76) 0%, transparent 100%);
}

.reader-title span {
  white-space: nowrap;
}

.insight-card {
  --icon-size: 56px;
  position: relative;
  min-height: 158px;
  display: grid;
  grid-template-columns: var(--icon-size) minmax(0, 1fr);
  grid-template-rows: var(--icon-size) auto;
  gap: 14px 18px;
  align-items: start;
  padding: 24px 22px 22px;
  border: 1px solid rgba(34, 81, 127, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(34, 81, 127, 0.07);
  color: #253044;
}

.insight-card > div {
  display: contents;
}

.insight-card h2 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  color: #152137;
  font-size: clamp(15px, 1.02vw, 18px);
  font-weight: 720;
  line-height: 1.45;
  white-space: pre-line;
}

.insight-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  margin-top: 0;
  color: #4f5a6b;
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 560;
  line-height: 1.72;
}

.insight-icon {
  position: relative;
  width: var(--icon-size);
  height: var(--icon-size);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 24%, #153e70 0%, #061b38 72%);
  box-shadow: 0 7px 16px rgba(6, 27, 56, 0.16);
}

.insight-icon::before,
.insight-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.insight-icon-team::before {
  width: calc(var(--icon-size) * 0.214);
  height: calc(var(--icon-size) * 0.214);
  top: calc(var(--icon-size) * 0.286);
  left: calc(var(--icon-size) * 0.393);
  border-radius: 999px;
  background: #fff;
  box-shadow: calc(var(--icon-size) * -0.232) calc(var(--icon-size) * 0.089) 0 calc(var(--icon-size) * -0.036) #fff, calc(var(--icon-size) * 0.232) calc(var(--icon-size) * 0.089) 0 calc(var(--icon-size) * -0.036) #fff;
}

.insight-icon-team::after {
  width: calc(var(--icon-size) * 0.536);
  height: calc(var(--icon-size) * 0.232);
  left: calc(var(--icon-size) * 0.232);
  bottom: calc(var(--icon-size) * 0.25);
  border-radius: 16px 16px 6px 6px;
  background: #fff;
  box-shadow: calc(var(--icon-size) * -0.214) calc(var(--icon-size) * 0.054) 0 calc(var(--icon-size) * -0.089) #fff, calc(var(--icon-size) * 0.214) calc(var(--icon-size) * 0.054) 0 calc(var(--icon-size) * -0.089) #fff;
}

.insight-icon-clipboard::before {
  width: calc(var(--icon-size) * 0.5);
  height: calc(var(--icon-size) * 0.572);
  border: calc(var(--icon-size) * 0.054) solid #fff;
  border-radius: 4px;
}

.insight-icon-clipboard::after {
  width: calc(var(--icon-size) * 0.286);
  height: calc(var(--icon-size) * 0.322);
  border-top: calc(var(--icon-size) * 0.054) solid #fff;
  border-bottom: calc(var(--icon-size) * 0.054) solid #fff;
  box-shadow: 0 calc(var(--icon-size) * 0.143) 0 calc(var(--icon-size) * -0.09) #fff;
  transform: translateY(calc(var(--icon-size) * 0.054));
}

.insight-icon-search::before {
  width: calc(var(--icon-size) * 0.429);
  height: calc(var(--icon-size) * 0.429);
  border: calc(var(--icon-size) * 0.071) solid #fff;
  border-radius: 999px;
  transform: translate(calc(var(--icon-size) * -0.054), calc(var(--icon-size) * -0.054));
}

.insight-icon-search::after {
  width: calc(var(--icon-size) * 0.304);
  height: calc(var(--icon-size) * 0.071);
  border-radius: 999px;
  background: #fff;
  transform: translate(calc(var(--icon-size) * 0.232), calc(var(--icon-size) * 0.25)) rotate(45deg);
}

.insight-icon-chart::before {
  width: calc(var(--icon-size) * 0.572);
  height: calc(var(--icon-size) * 0.5);
  border-left: calc(var(--icon-size) * 0.054) solid #fff;
  border-bottom: calc(var(--icon-size) * 0.054) solid #fff;
  transform: translateY(calc(var(--icon-size) * 0.054));
}

.insight-icon-chart::after {
  width: calc(var(--icon-size) * 0.446);
  height: calc(var(--icon-size) * 0.286);
  border-top: calc(var(--icon-size) * 0.054) solid #fff;
  border-right: calc(var(--icon-size) * 0.054) solid #fff;
  transform: translate(calc(var(--icon-size) * 0.036), calc(var(--icon-size) * -0.036)) skewY(-18deg);
}

.detail-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  justify-content: end;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.detail-cta .detail-privacy {
  grid-column: 2;
  justify-self: start;
  width: 100%;
  margin: -4px 0 0;
}

.detail-cta .cta-balloon {
  grid-column: 1 / -1;
  justify-self: end;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 -4px;
}

.detail-cta .consult-link {
  grid-column: 1;
  grid-row: 1;
  background: rgba(255, 255, 255, 0.58);
}

.detail-cta .button {
  grid-column: 2;
  grid-row: 1;
}

.button:focus-visible,
.consult-link:focus-visible,
.brand:focus-visible,
.floating-cta:focus-visible {
  outline: 3px solid rgba(216, 75, 0, 0.28);
  outline-offset: 4px;
}

.floating-cta {
  display: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 30px 0 40px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(11, 99, 199, 0.35);
  text-underline-offset: 3px;
}

.footer-link:hover {
  color: var(--brand-blue-dark);
  text-decoration-color: currentColor;
}

@media (max-width: 1320px) {
  .insight-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .insight-card {
    --icon-size: 58px;
    min-height: 0;
    padding: 22px 24px 20px;
  }

  .insight-card h2 {
    font-size: clamp(16px, 1.45vw, 20px);
    white-space: normal;
  }

  .insight-card p {
    font-size: 14px;
    line-height: 1.68;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .brand-logo {
    width: 158px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: center;
  }

  .hero-copy {
    max-width: 820px;
  }

  .visual-panel {
    min-height: 390px;
    overflow: hidden;
  }

  .visual-panel-slide {
    min-height: 390px;
    padding: 12px 0;
  }

  .visual-panel-slide::before {
    inset: 28px 0 30px;
  }

  .visual-panel-slide .paper-stack-real {
    inset: 56px 2px 46px 30px;
  }

  .preview-frame {
    transform: translate(-18px, -22px) rotate(0deg);
  }

  .visual-panel:hover .preview-frame {
    transform: translate(-18px, -26px) rotate(0deg);
  }
}

@media (max-width: 980px) {
  .insight-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-card {
    --icon-size: 54px;
    gap: 13px 16px;
    padding: 20px;
  }

  .insight-card h2 {
    font-size: 16px;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .site-header,
  .footer,
  .page-shell {
    width: min(100% - 28px, 1480px);
  }

  .site-header {
    min-height: 76px;
    grid-template-columns: 1fr;
    gap: 7px;
    align-items: start;
    padding: 14px 0 6px;
  }

  .brand-logo {
    width: 136px;
  }

  .brand {
    gap: 8px;
  }

  .brand-by {
    padding-left: 8px;
    font-size: 11px;
  }

  .header-message {
    order: 2;
    max-width: 100%;
    font-size: clamp(14px, 4vw, 16px);
    text-align: left;
    word-break: normal;
  }

  .header-label {
    order: 3;
    justify-self: start;
    font-size: 13px;
    transform: translateY(2px);
  }

  .page-shell {
    padding-top: 10px;
    padding-bottom: 92px;
  }

  .hero {
    gap: 24px;
    padding: 22px 18px 24px;
    border-radius: 12px;
  }

  .expert-badge {
    width: min(205px, 100%);
    max-width: 100%;
    margin: -6px 0 8px;
  }

  .authority-medal-text {
    top: 36.2%;
    font-size: 9.2px;
    line-height: 1.12;
    letter-spacing: 0.09em;
  }

  .authority-band {
    left: 34.2%;
    max-width: 63.5%;
    height: 16%;
    white-space: nowrap;
  }

  .authority-band-main {
    top: 18.6%;
    font-size: 7.7px;
  }

  .authority-band-sub {
    top: 49.2%;
    font-size: 6.9px;
    line-height: 1;
    letter-spacing: 0.035em;
  }

  h1 {
    font-size: clamp(28px, 7vw, 32px);
    line-height: 1.32;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hook-text {
    margin-bottom: -0.02em;
    font-size: 0.74em;
  }

  .h1-line + .h1-line {
    margin-top: 5px;
  }

  .h1-line:first-child {
    white-space: normal;
  }

  .h1-line:last-child {
    font-size: 0.92em;
    white-space: normal;
  }

  .lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.82;
    word-break: normal;
  }

  .hero-cta-block {
    width: 100%;
    margin-top: 28px;
  }

  .cta-bubble,
  .cta-balloon {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 8px;
    padding: 7px 12px;
    font-size: 12px;
    text-align: center;
    white-space: normal;
  }

  .cta-bubble::after {
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .button,
  .consult-link {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    font-size: 14px;
  }

  .hero-actions .button .button-copy {
    white-space: normal;
  }

  .consult-link {
    min-height: 50px;
    font-size: 13.5px;
  }

  .button-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .button-arrow {
    width: 7px;
    height: 19px;
    flex-basis: 19px;
    border-width: 3px;
  }

  .cta-privacy {
    justify-content: center;
    margin-top: 8px;
    font-size: 12px;
  }

  .privacy-icon {
    width: 15px;
    height: 15px;
  }

  .cta-reassurance,
  .operator-note {
    font-size: 12px;
  }

  .visual-panel {
    min-height: 300px;
    padding: 10px 0;
    overflow: hidden;
  }

  .visual-panel-generated {
    min-height: 276px;
    padding: 0;
    overflow: visible;
  }

  .visual-panel-slide {
    min-height: 258px;
    overflow: visible;
    padding: 18px 0;
  }

  .visual-panel-slide .paper-stack-real {
    inset: 52px -4px 28px 14px;
  }

  .visual-panel-slide::before {
    inset: 26px 0 22px;
    border-radius: 13px;
  }

  .visual-panel-slide .stack-page {
    width: min(286px, 76%);
    border-radius: 8px;
  }

  .visual-panel-slide .preview-frame {
    width: min(310px, 100%);
    padding: 6px;
    border-radius: 10px;
    transform: translate(0, 0);
  }

  .visual-panel-slide:hover .preview-frame {
    transform: translate(0, 0);
  }

  .visual-panel-slide .paper-shot-front {
    border-radius: 8px;
  }

  .generated-preview-frame {
    width: min(330px, 100%);
    padding: 0;
    transform: translate(0, -2px);
  }

  .visual-panel-generated:hover .generated-preview-frame {
    transform: translate(0, -2px);
  }

  .generated-preview-label {
    top: 7.4%;
    left: 6.8%;
    transform: none;
    padding: 6px 12px;
    font-size: 11px;
  }

  .preview-copy-card {
    display: none;
  }

  .stack-page {
    width: min(300px, 75%);
  }

  .preview-frame {
    width: min(310px, 84%);
    padding: 8px;
    transform: translate(-18px, -14px) rotate(0deg);
  }

  .visual-panel:hover .preview-frame {
    transform: translate(-18px, -14px) rotate(0deg);
  }

  .preview-frame::before {
    top: -16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .detail-section {
    margin-top: 26px;
    padding: 24px 18px;
    border-radius: 12px;
  }

  .detail-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .summary-title {
    font-size: clamp(22px, 6.6vw, 28px);
    line-height: 1.38;
  }

  .benefit-text {
    font-size: 14px;
  }

  .reader-title {
    gap: 12px;
    margin-top: 24px;
    font-size: 16px;
  }

  .insight-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .insight-card {
    --icon-size: 48px;
    min-height: 0;
    grid-template-columns: var(--icon-size) minmax(0, 1fr);
    gap: 14px;
    padding: 17px 16px;
  }

  .insight-card h2 {
    font-size: 15px;
    line-height: 1.45;
    white-space: normal;
  }

  .insight-card p {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.58;
  }

  .detail-cta {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 26px;
  }

  .detail-cta .cta-balloon,
  .detail-cta .consult-link,
  .detail-cta .button,
  .detail-cta .cta-reassurance,
  .detail-cta .detail-privacy {
    grid-column: 1;
  }

  .detail-cta .cta-balloon {
    grid-row: 1;
    justify-self: center;
    margin-bottom: -2px;
  }

  .detail-cta .button {
    grid-row: 1;
  }

  .detail-cta .consult-link {
    grid-row: 2;
  }

  .detail-cta .detail-privacy {
    grid-row: 3;
    justify-self: start;
    margin: 0;
  }

  .detail-cta .cta-reassurance {
    grid-row: 4;
  }

  .floating-cta {
    position: fixed;
    z-index: 20;
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(180deg, #c94f24 0%, #963313 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(186, 70, 26, 0.22);
    font-size: 14px;
    font-weight: 760;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .floating-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .footer {
    flex-direction: column;
    padding: 20px 0 104px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .button::after,
  .consult-link,
  .consult-link::after,
  .preview-frame,
  .floating-cta {
    animation: none;
    transition: none;
  }

  .button.primary:hover,
  .consult-link:hover,
  .visual-panel:hover .preview-frame {
    transform: none;
  }
}
