:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #1f2937; background: #fdfcf9; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
main { width: min(100% - 40px, 860px); margin: 0 auto; padding: clamp(40px, 8vh, 80px) 0 36px; text-align: center; }
h1 { font-size: clamp(23px, 4.5vw, 39px); line-height: 1.13; font-weight: 900; letter-spacing: -.035em; color: #0f172a; margin: 0 0 22px; }
h1 span { color: #c51460; }
mark { background: #f9a8d4; color: #831843; padding: 0 .22em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h1 mark { color: white; background: #c51460; }
h2 { font-size: clamp(15px, 2.9vw, 25px); line-height: 1.28; margin: 0 0 20px; font-weight: 750; }
figure { margin: 0 auto 18px; max-width: 560px; }
figure img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 25px #18233312; }
figcaption { margin: 9px 4px 0; font-size: 12px; line-height: 1.5; color: #626773; }
.cta { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 15px 18px; width: min(100%, 560px); margin: 0 auto; border-radius: 10px; background: #15803d; border-bottom: 4px solid #116531; color: white; text-decoration: none; font-weight: 800; font-size: clamp(15px, 2.5vw, 19px); line-height: 1.3; }
.cta:hover { background: #116b32; }
:focus-visible { outline: 3px solid #831843; outline-offset: 4px; }
.notice { max-width: 560px; margin: 13px auto; border: 1px solid #f4c9d6; border-radius: 10px; padding: 12px; background: #fff5f7; font-size: 13px; line-height: 1.5; }
.preview { font-size: 12px; color: #646975; line-height: 1.5; }
dialog { border: 1px solid #f4c9d6; border-radius: 16px; width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; color: #1f2937; overflow-wrap: anywhere; }
dialog h2 { text-transform: none; font-size: 22px; }
dialog p { line-height: 1.6; }
dialog::backdrop { background: #0f172a99; }
button { font: inherit; font-weight: 700; border: none; border-radius: 8px; background: #15803d; color: white; padding: 13px 18px; cursor: pointer; }
@media (max-width: 600px) {
  main {
    width: 100%;
    max-width: 480px;
    padding: 28px 18px 24px;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  h1 { font-size: clamp(1.375rem, 1rem + 2vw, 1.75rem); line-height: 1.18; letter-spacing: -.025em; margin-bottom: 18px; text-wrap: balance; }
  h2 { font-size: clamp(1rem, .85rem + .65vw, 1.125rem); line-height: 1.38; margin-bottom: 18px; text-wrap: balance; }
  figure { margin-bottom: 16px; }
  figure img { border-radius: 12px; }
  figcaption { font-size: .75rem; margin-top: 10px; }
  .cta { min-height: 58px; padding: 15px 12px; gap: 8px; font-size: 1rem; touch-action: manipulation; }
  .cta span { flex-shrink: 0; }
  .notice { font-size: .8125rem; padding: 12px 10px; }
  dialog { padding: 20px; }
  dialog button { width: 100%; min-height: 48px; }
}
@media (max-width: 350px) {
  main { padding-top: 22px; }
  .cta { font-size: .9375rem; }
}
@media (max-height: 500px) and (orientation: landscape) {
  main { padding-top: 24px; }
}
