:root {
  color-scheme: light;
  color: #122545;
  background: #edf2fa;
  font-family: "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
}

body {
  margin: 0;
}

.landing-page {
  max-width: 504px;
  margin-inline: auto;
  background: #fff;
}

.panel {
  position: relative;
}

.panel__image {
  display: block;
  width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

h1, h2 {
  word-break: keep-all;
  word-break: auto-phrase;
  text-wrap: balance;
  line-break: strict;
}

.panel--intro {
  --button-left: 4.3%;
  --button-top: 90.6%;
  --button-width: 91.4%;
  --button-height: 8%;
}

.panel--closing {
  --button-left: 3.4%;
  --button-top: 82.7%;
  --button-width: 93.2%;
  --button-height: 11.5%;
}

.trial-trigger {
  position: absolute;
  left: var(--button-left);
  top: var(--button-top);
  width: var(--button-width);
  height: var(--button-height);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.trial-trigger:hover {
  box-shadow: inset 0 0 0 2px #7a9fef;
}

.trial-trigger:focus-visible {
  outline: 3px solid #5b87ec;
  outline-offset: 3px;
  box-shadow: inset 0 0 0 2px #5b87ec;
}

.trial-dialog {
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  padding: clamp(20px, 5vw, 28px);
  border: 1px solid #d7e1f4;
  border-radius: 20px;
  background: #fff;
  color: #122545;
  box-shadow: 0 20px 60px #09193430;
}

.trial-dialog::backdrop {
  background: #0a173ab8;
}

.trial-dialog h2 {
  margin: 0;
  font-size: 1.25rem;
}

.trial-dialog p {
  margin: 12px 0 20px;
  line-height: 1.7;
  line-break: strict;
}

.trial-dialog form {
  display: flex;
  justify-content: flex-end;
}

.trial-dialog button {
  min-width: 96px;
  min-height: 44px;
  padding-inline: 16px;
  border: 0;
  border-radius: 999px;
  background: #122545;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.trial-dialog button:focus-visible {
  outline: 3px solid #345fd5;
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .trial-trigger {
    forced-color-adjust: none;
  }
}
