/* v5 first view only: a clear surface for the offer and legible sample previews. */
.hero.hero-v5 {
  --hero-ink: #26332a;
  display: block;
  position: relative;
  isolation: isolate;
  width: min(1480px, calc(100% - 36px));
  max-width: none;
  min-height: 0;
  margin: 18px auto 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(125deg, #475b49 0%, #344539 100%);
  color: #fff;
}
.hero.hero-v5::before { display: none; }
.hero-v5__inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(32px, 4.3vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  grid-template-areas: "top top" "copy examples" "actions examples" "note examples";
  column-gap: clamp(38px, 5vw, 82px);
  align-items: start;
}
.hero-v5__top { grid-area: top; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(36px, 5vw, 72px); }
.hero-v5 .audience { margin: 0; color: #fff; font-size: 13px; letter-spacing: .07em; }
.hero-v5__benefits { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hero-v5__benefits span { border: 1px solid rgba(248,245,237,.76); border-radius: 999px; padding: 7px 13px; color: #faf8f2; font-size: 11px; font-weight: 600; line-height: 1.45; white-space: nowrap; }
.hero-v5 .hero-copy { grid-area: copy; width: 100%; min-height: 0; margin: 0; padding: 0; }
.hero-v5 h1 { margin: 0 0 22px; color: #fff; font-size: clamp(44px, 4.25vw, 68px); font-weight: 700; letter-spacing: -.055em; line-height: 1.33; text-wrap: initial; }
.hero-v5 h1 span { display: block; white-space: nowrap; }
.hero-v5 h1::after { width: 90px; height: 2px; margin-top: 22px; background: #e4c79f; }
.hero-v5 .hero-lead { margin: 0; color: #fff; font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; line-height: 1.9; }
.hero-v5 .hero-price { display: flex; align-items: stretch; gap: 0; width: min(100%, 570px); margin: 32px 0 0; padding: 21px 25px 20px; border-radius: 4px; background: #faf8f2; box-shadow: 0 16px 32px rgba(16,31,18,.14); color: var(--hero-ink); }
.hero-v5 .hero-price > div { display: flex; position: relative; align-items: baseline; flex-wrap: wrap; gap: 0 4px; }
.hero-v5 .hero-price > div > span { width: 100%; margin: 0 0 5px; color: #46554b; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hero-v5 .hero-v5__monthly { flex: 1 1 auto; min-width: 0; padding-right: 24px; }
.hero-v5 .hero-v5__monthly strong { color: var(--hero-ink); font-family: Manrope, "Noto Sans JP", sans-serif; font-size: clamp(48px, 4.7vw, 68px); font-weight: 600; letter-spacing: -.055em; line-height: 1.06; white-space: nowrap; }
.hero-v5 .hero-v5__monthly strong small { margin-left: 3px; font-size: 19px; font-weight: 500; letter-spacing: 0; }
.hero-v5 .hero-v5__monthly em { color: #46554b; font-size: 12px; font-style: normal; white-space: nowrap; }
.hero-v5 .hero-v5__initial { flex: 0 0 125px; padding-left: 21px; border-left: 1px solid #c4cbbd; }
.hero-v5 .hero-v5__initial strong { color: var(--hero-ink); font-size: 29px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.hero-v5 .hero-terms { margin: 16px 0 0; color: #fff; font-size: 12px; letter-spacing: .025em; }
.hero-v5 .hero-terms span { background: rgba(255,255,255,.66); }
.hero-v5__examples { grid-area: examples; min-width: 0; padding-top: 8px; }
.hero-v5__example-heading { margin-bottom: 18px; }
.hero-v5__example-heading p { margin: 0 0 4px; color: #fff; font-size: 17px; font-weight: 600; }
.hero-v5__example-heading small { color: #e8ebdf; font-size: 11px; line-height: 1.6; }
.hero-v5__sample-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-v5__sample-row a { display: block; min-width: 0; padding: 9px 9px 0; overflow: hidden; border-radius: 4px; background: #faf8f2; color: var(--hero-ink); box-shadow: 0 16px 30px rgba(16,31,18,.13); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.hero-v5__sample-row a:hover { transform: translateY(-4px); box-shadow: 0 20px 34px rgba(16,31,18,.22); }
.hero-v5__sample-row a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.hero-v5__sample-row img { display: block; width: 100%; height: clamp(126px, 16vw, 218px); object-fit: cover; object-position: top center; background: #e8e7e2; }
.hero-v5__sample-row span { display: block; padding: 7px 2px 9px; font-size: 11px; font-weight: 600; text-align: center; }
.hero-v5 .hero-actions { grid-area: actions; display: flex; flex-direction: row; max-width: none; gap: 12px; margin: 31px 0 0; }
.hero-v5 .hero-actions .button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: space-between; min-width: 0; min-height: 57px; padding: 14px 17px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hero-v5 .hero-actions .button svg { flex: 0 0 18px; width: 18px; }
.hero-v5 .hero-actions .button.outline { border-color: #fff; background: transparent; color: #fff; }
.hero-v5 .hero-actions .button.outline:hover { background: rgba(255,255,255,.16); }
.hero-v5 .hero-actions .hero-v5__primary { border-color: #faf8f2; background: #faf8f2; color: var(--hero-ink); }
.hero-v5 .hero-actions .hero-v5__primary:hover { background: #e8ebdf; }
.hero-v5 .hero-actions .button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-v5 .hero-note { grid-area: note; margin: 12px 0 0; color: #e8ebdf; font-size: 11px; }
@media (max-width: 1050px) {
  .hero-v5__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); column-gap: 28px; }
  .hero-v5__top { align-items: flex-start; }
  .hero-v5__benefits { max-width: 420px; }
  .hero-v5 h1 { font-size: clamp(38px, 4.2vw, 52px); }
  .hero-v5 .hero-price { padding: 19px; }
  .hero-v5 .hero-v5__monthly strong { font-size: clamp(43px, 4.9vw, 58px); }
  .hero-v5 .hero-v5__initial { flex-basis: 105px; padding-left: 15px; }
  .hero-v5 .hero-actions .button { padding-inline: 12px; font-size: 11px; }
}
@media (max-width: 780px) {
  .hero.hero-v5 { width: calc(100% - 24px); margin-top: 12px; border-radius: 10px; }
  .hero-v5__inner { display: flex; flex-direction: column; padding: 28px 25px 34px; }
  .hero-v5__top { display: block; width: 100%; margin-bottom: 28px; }
  .hero-v5 .audience { font-size: 11px; margin: 0 0 12px; }
  .hero-v5__benefits { max-width: none; justify-content: flex-start; gap: 6px; }
  .hero-v5__benefits span { font-size: 9px; padding: 5px 9px; }
  .hero-v5 h1 { font-size: clamp(36px, 8.2vw, 58px); margin-bottom: 20px; }
  .hero-v5 h1::after { width: 68px; margin-top: 17px; }
  .hero-v5 .hero-lead { font-size: 14px; line-height: 1.82; }
  .hero-v5 .hero-price { width: 100%; margin-top: 23px; padding: 17px 18px; }
  .hero-v5 .hero-v5__monthly strong { font-size: clamp(45px, 10.5vw, 62px); }
  .hero-v5 .hero-v5__initial { flex-basis: 103px; padding-left: 14px; }
  .hero-v5 .hero-v5__initial strong { font-size: 25px; }
  .hero-v5 .hero-terms { margin-top: 12px; font-size: 11px; }
  .hero-v5__examples { order: 1; width: 100%; margin-top: 32px; padding-top: 0; }
  .hero-v5__example-heading { margin-bottom: 13px; }
  .hero-v5__example-heading p { font-size: 15px; }
  .hero-v5__example-heading small { font-size: 10px; }
  .hero-v5__sample-row { display: flex; gap: 10px; margin-right: -25px; padding: 0 25px 7px 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .hero-v5__sample-row a { flex: 0 0 clamp(138px, 39vw, 184px); scroll-snap-align: start; padding: 7px 7px 0; }
  .hero-v5__sample-row img { height: clamp(148px, 40vw, 200px); }
  .hero-v5 .hero-actions { order: 2; width: 100%; margin-top: 27px; }
  .hero-v5 .hero-actions .button { min-height: 53px; }
  .hero-v5 .hero-note { order: 3; margin-top: 11px; }
}
@media (max-width: 410px) {
  .hero-v5__inner { padding: 25px 20px 30px; }
  .hero-v5 h1 { font-size: clamp(31px, 8.2vw, 36px); letter-spacing: -.065em; }
  .hero-v5 .hero-lead { font-size: 12px; }
  .hero-v5 .hero-price { padding: 15px 13px; }
  .hero-v5 .hero-price > div > span { font-size: 11px; }
  .hero-v5 .hero-v5__monthly { padding-right: 8px; }
  .hero-v5 .hero-v5__monthly strong { font-size: clamp(39px, 11vw, 46px); }
  .hero-v5 .hero-v5__monthly strong small { font-size: 15px; }
  .hero-v5 .hero-v5__monthly em { font-size: 9px; }
  .hero-v5 .hero-v5__initial { flex-basis: 80px; padding-left: 10px; }
  .hero-v5 .hero-v5__initial strong { font-size: 22px; }
  .hero-v5 .hero-actions { gap: 7px; }
  .hero-v5 .hero-actions .button { min-height: 51px; padding-inline: 9px; font-size: 10px; gap: 3px; }
  .hero-v5 .hero-actions .button svg { flex-basis: 15px; width: 15px; }
  .hero-v5__sample-row { margin-right: -20px; padding-right: 20px; }
}
@media (max-width: 350px) {
  .hero-v5 .hero-actions { flex-direction: column; }
  .hero-v5 .hero-actions .button { width: 100%; flex: none; padding-inline: 15px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v5 h1::after { animation: none; }
  .hero-v5__sample-row a { transition: none; }
}

/* Final palette: light sage connects the hero to the existing paper and olive sections. */
.hero.hero-v5 { background: linear-gradient(130deg, #eff0e8 0%, #dfe8dc 100%); color: #28352b; border: 1px solid #cbd6c8; }
.hero-v5 .audience, .hero-v5 h1, .hero-v5 .hero-lead, .hero-v5 .hero-terms, .hero-v5__example-heading p { color: #28352b; }
.hero-v5 h1::after { background: #68745f; }
.hero-v5__benefits span { border-color: #8f9f8b; color: #344536; }
.hero-v5 .hero-price { background: #fff; border: 1px solid #aab9a4; box-shadow: 0 13px 30px rgba(38,55,40,.08); }
.hero-v5 .hero-terms span { background: #a6b0a0; }
.hero-v5__example-heading small, .hero-v5 .hero-note { color: #536351; }
.hero-v5__sample-row a { background: #fff; border: 1px solid #9bab96; box-shadow: 0 9px 18px rgba(38,55,40,.10); }
.hero-v5__sample-row a:hover { box-shadow: 0 15px 25px rgba(38,55,40,.16); }
.hero-v5__sample-row a:focus-visible { outline-color: #344536; }
.hero-v5 .hero-actions .button.outline { border-color: #465a48; color: #344536; }
.hero-v5 .hero-actions .button.outline:hover { background: #d1decf; }
.hero-v5 .hero-actions .hero-v5__primary { border-color: #465a48; background: #465a48; color: #fff; }
.hero-v5 .hero-actions .hero-v5__primary:hover { background: #344536; }
.hero-v5 .hero-actions .button:focus-visible { outline-color: #344536; }
@media (max-width: 780px) {
  .hero-v5__inner { padding-top: 21px; padding-bottom: 25px; }
  .hero-v5__top { margin-bottom: 13px; }
  .hero-v5 .audience { margin-bottom: 0; }
  .hero-v5__benefits { display: none; }
  .hero-v5 h1 { margin-bottom: 10px; line-height: 1.25; }
  .hero-v5 h1::after { margin-top: 9px; }
  .hero-v5 .hero-lead { line-height: 1.6; }
  .hero-v5 .hero-price { margin-top: 14px; padding-block: 13px; }
  .hero-v5 .hero-terms { margin-top: 8px; }
  .hero-v5__examples { margin-top: 20px; }
  .hero-v5__example-heading { margin-bottom: 8px; }
  .hero-v5__sample-row img { height: clamp(140px, 39vw, 185px); }
  .hero-v5 .hero-actions { margin-top: 20px; }
}
