:root {
  --ink: #171940;
  --paper: #fffaf0;
  --coral: #ff829b;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bar-height: calc(4.5rem + var(--safe-bottom));
  color: var(--ink);
  background: #f4efe4;
  font-family: system-ui, "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.sample-notice {
  max-width: 50rem;
  margin-inline: auto;
  padding: .625rem 1rem;
  background: #e2f5f2;
  border-bottom: 1px solid #b5dcd6;
  text-align: center;
}
.sample-notice p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.6;
  line-break: strict;
  word-break: auto-phrase;
}
.lp { max-width: 50rem; margin-inline: auto; }
.lp img { display: block; width: 100%; height: auto; }
.offer { position: relative; }

.image-cta {
  position: absolute;
  inset: 85.8% 6% 6% 6%;
  border: 0;
  border-radius: 100vw;
  background: transparent;
  cursor: pointer;
}

.mobile-bar { display: none; }
.mobile-cta, .demo button {
  color: var(--ink);
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 100vw;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:focus-visible { outline: 3px solid #171940; outline-offset: 3px; }
.demo {
  width: min(24rem, calc(100% - 2rem));
  padding: 1.5rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 1rem;
}
.demo::backdrop { background: #17194099; }
.demo h1 { margin: 0; font-size: 1.25rem; }
.demo p { line-height: 1.6; }
.demo button { min-height: 2.75rem; padding-inline: 1.5rem; }

@media (max-width: 767px), (hover: none) and (pointer: coarse) and (max-width: 950px) {
  html { scroll-padding-bottom: calc(var(--bar-height) + .75rem); }
  body { padding-bottom: calc(var(--bar-height) + .75rem); }
  .mobile-bar {
    display: grid;
    position: fixed;
    z-index: 1;
    inset: auto 0 0;
    height: var(--bar-height);
    padding: .5rem max(1rem, env(safe-area-inset-right, 0px))
      calc(.5rem + var(--safe-bottom)) max(1rem, env(safe-area-inset-left, 0px));
    background: var(--paper);
    box-shadow: 0 -2px 12px #17194026;
    justify-items: center;
  }
  .mobile-cta {
    width: min(100%, 32rem);
    padding: .25rem .5rem;
    font-size: 1rem;
    line-height: 1.25;
  }
}
