:root {
  color-scheme: light;
  --ink: #30393e;
  --muted: #4d5a60;
  --blue: #075fc6;
  --blue-hover: #064eaa;
  --paper: #fff;
  --cloud: #f3f7fa;
  font-family: "Avenir Next", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.skip { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 12px; background: var(--paper); transform: translateY(-140%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 40px, 1180px); margin-inline: auto; }

.header-layout { min-height: 65px; display: flex; align-items: center; gap: 28px; }
.brand { width: 108px; flex: none; padding-block: 4px; }
.main-nav { display: none; }
.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.store:hover { background: var(--blue-hover); }
.store-small { min-height: 40px; margin-left: auto; padding-inline: 15px; font-size: 13px; }

.hero { isolation: isolate; }
.hero-layout { padding-block: 49px 56px; text-align: center; }
.hero h1 { font-size: clamp(25px, 8.1vw, 51px); font-weight: 700; line-height: 1.28; letter-spacing: -.055em; }
.hero h1 span { display: block; }
.hero-copy p { margin: 16px 0 23px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.hero-devices {
  width: min(100%, 690px);
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  align-items: end;
  isolation: isolate;
  position: relative;
}
.hero-devices::before {
  content: "";
  position: absolute;
  inset: 25% 0 -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 31% 52%, rgba(168,204,226,.43), transparent 61%),
    radial-gradient(ellipse at 66% 65%, rgba(239,214,179,.33), transparent 61%);
  mask-image: radial-gradient(ellipse, #000 25%, transparent 71%);
}
.device {
  min-width: 0;
  display: block;
  border-radius: 14% / 6.4%;
  padding: 5px;
  background: linear-gradient(142deg, #fff 10%, #e5e7e8 80%);
  box-shadow: 0 2px 3px #26323523, 0 15px 37px -13px #34434f44;
}
.device img { width: 100%; border-radius: 12% / 5.4%; background: #f2f5f7; }
.hero-device-main { grid-area: 1 / 6 / 2 / 16; z-index: 1; }
.hero-device-secondary { grid-area: 1 / 1 / 2 / 9; transform: translateY(-5%); }
.hero-device-tertiary { grid-area: 1 / 13 / 2 / 21; transform: translateY(-5%); }

.features { background: var(--paper); }
.feature-list { width: min(100% - 40px, 940px); display: grid; gap: 56px; padding-block: 25px 64px; }
.feature {
  display: grid;
  gap: 23px;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.feature h2 { font-size: clamp(28px, 7.8vw, 45px); font-weight: 700; letter-spacing: -.05em; line-height: 1.3; }
.feature p { margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.8; }
.feature-stage { width: 100%; display: grid; place-items: center; }
.feature-stage .device { width: min(100%, 218px); padding: 6px; }

.booking { padding-block: 0 49px; }
.booking-layout { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 5px 14px; }
.booking h2 { font-size: 18px; font-weight: 600; }
.booking p { font-size: 13px; color: var(--muted); }
.booking .booking-note { flex-basis: 100%; text-align: center; margin-top: 5px; line-height: 1.65; }
.download-area { background: var(--cloud); padding-block: 52px; text-align: center; }
.download-layout { display: grid; justify-items: center; gap: 14px; }
.download-layout img { border-radius: 12px; }
.download-layout h2 { font-size: 24px; font-weight: 700; line-height: 1.4; }
.download-layout p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.footer-layout { padding-block: 24px 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 13px 24px; color: var(--muted); font-size: 12px; }
.footer-layout nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.footer-layout a:hover, .main-nav a:hover { color: var(--blue-hover); }

@media (min-width: 700px) {
  .header-layout { min-height: 75px; gap: 34px; }
  .brand { width: 119px; }
  .main-nav { margin-left: auto; display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
  .store-small { margin-left: 0; }
  .hero-layout { padding-block: 76px 80px; }
  .hero-copy p { margin: 20px 0 26px; font-size: 18px; }
  .hero-devices { width: min(88%, 690px); margin-top: 58px; }
  .device { padding: 7px; }
  .hero-device-main { grid-column: 7 / 15; }
  .hero-device-secondary { grid-column: 2 / 9; }
  .hero-device-tertiary { grid-column: 13 / 20; }
  .feature-list { gap: clamp(48px, 7vw, 94px); padding-block: 22px 80px; }
  .feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 6vw, 94px);
    text-align: left;
    justify-items: start;
  }
  .feature:nth-child(odd) .feature-stage { grid-area: 1 / 1; }
  .feature:nth-child(odd) .feature-copy { grid-area: 1 / 2; }
  .feature:nth-child(even) .feature-copy { justify-self: center; }
  .feature h2 { font-size: clamp(32px, 4vw, 48px); }
  .feature p { margin-top: 16px; font-size: 17px; }
  .feature-stage .device { width: min(100%, 248px); padding: 7px; }
  .booking { padding-bottom: 58px; }
  .download-area { padding-block: 68px; }
}

@media (min-width: 1000px) {
  .hero h1 { font-size: clamp(46px, 4.75vw, 62px); }
  .hero h1 span { display: inline; }
}

@media (forced-colors: active) {
  .store { border: 1px solid ButtonText; }
  .hero-devices::before { display: none; }
}
