@font-face {
  font-family: Alexandria;
  src: url(/fonts/Alexandria.ttf);
  font-weight: 100 900;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fffaf0;
  color: #252354;
  font: 400 16px/1.8 Alexandria,Tahoma,sans-serif;
}

a {
  color: #343388;
  text-underline-offset: 4px;
}

a:focus-visible,summary:focus-visible {
  outline: 3px solid #007b77;
  outline-offset: 4px;
}

.wrap {
  width: min(1120px,100%);
  padding: 0 clamp(18px,4vw,54px);
  margin: auto;
}

header {
  background: #fff;
  border-bottom: 1px solid #e6ded1;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.bar>a {
  text-decoration: none;
  font-weight: 650;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.brand img {
  border-radius: 12px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px,4vw,68px);
  padding: clamp(34px,6vw,75px) 0;
}

.copy {
  max-width: 540px;
}

h1,h2,p,figure {
  margin: 0;
}

h1 {
  font-size: clamp(34px,4.6vw,64px);
  line-height: 1.22;
  letter-spacing: -.035em;
}

.copy p,.hint,.web-tv p {
  color: #554f65;
}

.copy p {
  margin: 14px 0 18px;
}

.action,.web-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 14px;
  padding: 11px 24px;
  font-weight: 750;
  text-decoration: none;
}

.action {
  background: #ffca45;
  color: #262047;
  border: 2px solid #322650;
  box-shadow: 0 3px 0 #322650;
}

.action:hover {
  background: #ffd76b;
}

.copy small {
  display: block;
  margin: 10px 0 6px;
  color: #574e60;
  font-size: 13px;
}

.jump {
  font-size: 14px;
  display: inline-block;
  padding: 5px 0;
}

.intro figure {
  background: #f6e4be;
  padding: clamp(18px,3.6vw,48px) clamp(12px,2vw,24px);
  border-radius: 34px 64px 34px 34px;
}

.screen {
  background: #26234c;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 10px 20px #472e3526;
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

h2 {
  font-size: clamp(22px,2.6vw,32px);
  line-height: 1.45;
}

.install {
  max-width: 820px;
  margin: 0 auto 32px;
}

.hint {
  margin: 8px 0 18px;
}

.install details {
  background: white;
  border: 1px solid #dfd5c5;
  border-radius: 16px;
  margin: 10px 0;
}

.install summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 20px;
}

.install details[open] summary {
  color: #40367d;
}

.install ol {
  padding: 0 43px 16px 20px;
  margin: 0;
  font-size: 15px;
}

.install li+li {
  margin-top: 8px;
}

.web-tv {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #e8f3ed;
  padding: clamp(20px,4vw,36px);
  border-radius: 24px;
  max-width: 820px;
  margin: auto;
  scroll-margin-top: 15px;
}

.web-tv p {
  margin: 6px 0 12px;
}

.web-btn {
  background: #303064;
  color: white;
  font-size: 15px;
  padding: 9px 17px;
}

footer {
  max-width: 820px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: auto;
  padding: 25px 0 38px;
  font-size: 14px;
}

@media(max-width:650px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }
  .intro figure {
    justify-self: center;
    width: min(100%,470px);
    padding: 14px 25px;
    border-radius: 22px;
  }
  .copy {
    max-width: none;
  }
  .action {
    width: 100%;
  }
  .web-tv {
    align-items: start;
    gap: 13px;
  }
  .web-tv img {
    width: 48px;
    height: auto;
  }
  .bar {
    min-height: 56px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
}
