:root {
  --ink: #14324d;
  --sky: #7ec8ef;
  --sky-deep: #4eace0;
  --sky-soft: #d7f1fc;
  --paper: #f5fbff;
  --line: rgba(20, 50, 77, 0.14);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  color: var(--ink);
  background: #8fd4f8;
  overflow: hidden;
}
button, a { font-family: inherit; }
.luca {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 20;
  background: #14324d;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(20, 50, 77, 0.18);
}
.luca:hover { background: #0d2438; }
.download {
  margin-top: 26px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #14324d;
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(20, 50, 77, 0.16);
}
.download:hover { background: #0d2438; }
.brand {
  position: fixed;
  top: 18px;
  left: 22px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
}
.brand b { display: block; font-size: 16px; }
.brand span { display: block; font-size: 12px; opacity: 0.7; }
.stage {
  height: 100dvh;
  display: grid;
}
.visual, .copy {
  min-height: 0;
  display: flex;
}
.visual {
  align-items: center;
  justify-content: center;
  padding: 88px 32px 32px;
  position: relative;
}
.halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(352px, 62%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #e8f7ff;
  pointer-events: none;
}
#visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.art { width: min(440px, 78%); height: auto; }
.copy {
  flex-direction: column;
  justify-content: center;
  padding: 96px 72px 120px;
  position: relative;
}
.kicker {
  margin: 0 0 12px;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: #3d6f90;
}
h1 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.2;
  font-weight: 700;
}
.desc {
  margin: 0;
  max-width: 34em;
  font-size: 20px;
  line-height: 1.75;
}
.pager {
  position: absolute;
  left: 72px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pager button, .dot {
  border: 0;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
}
.arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  box-shadow: 0 6px 16px rgba(20, 50, 77, 0.08);
}
.arrow svg { display: block; }
.dots { display: flex; gap: 8px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(20, 50, 77, 0.2);
  padding: 0;
}
.dot.on { width: 28px; background: #14324d; }
.fraction {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: 0.08em;
}
body[data-v="1"] .sheet,
body[data-v="3"] .sheet,
body[data-v="5"] .sheet,
body[data-v="6"] .sheet { display: contents; }
.versions {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px;
}
.versions button {
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
}
body[data-v="1"] .versions button[data-setv="1"],
body[data-v="2"] .versions button[data-setv="2"],
body[data-v="3"] .versions button[data-setv="3"],
body[data-v="4"] .versions button[data-setv="4"],
body[data-v="5"] .versions button[data-setv="5"],
body[data-v="6"] .versions button[data-setv="6"] {
  background: #14324d;
  color: #fff;
}
.giant {
  display: none;
  position: absolute;
  font-size: 220px;
  line-height: 0.8;
  font-weight: 800;
  color: rgba(20, 50, 77, 0.06);
  right: 40px;
  top: 70px;
  pointer-events: none;
}

body[data-v="1"] { background: #9ad7f6; }
body[data-v="1"] .stage { grid-template-columns: 1fr 1fr; }
body[data-v="1"] .visual { background: linear-gradient(165deg, #c5ecfc, #67c0ee); }
body[data-v="1"] .copy { background: #f7fcff; }

body[data-v="2"] {
  background:
    radial-gradient(circle at 12% 20%, #fff 0 70px, transparent 72px),
    radial-gradient(circle at 78% 12%, #fff 0 110px, transparent 112px),
    radial-gradient(circle at 88% 78%, #e7f7ff 0 80px, transparent 82px),
    linear-gradient(180deg, #8fd6f8, #5eb7e8);
}
body[data-v="2"] .stage {
  place-items: center;
  padding: 90px 40px 70px;
}
body[data-v="2"] .sheet {
  width: min(1080px, 100%);
  height: min(620px, calc(100dvh - 160px));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 70, 110, 0.18);
}
body[data-v="2"] .visual { background: linear-gradient(180deg, #e7f6ff, #c5e8f8); padding: 24px; }
body[data-v="2"] .copy { padding: 48px 48px 96px; }
body[data-v="2"] .pager { left: 48px; bottom: 28px; }
body[data-v="2"] h1 { font-size: 40px; }

body[data-v="3"] { background: #87ceeb; }
body[data-v="3"] .stage { grid-template-columns: 1.15fr 0.85fr; }
body[data-v="3"][data-flip="1"] .stage { grid-template-columns: 0.85fr 1.15fr; }
body[data-v="3"][data-flip="1"] .visual { order: 2; }
body[data-v="3"] .visual { background: #bfe7f8; }
body[data-v="3"] .copy { background: #eef8fd; }
body[data-v="3"] .giant { display: block; }
body[data-v="3"] h1 { font-size: 52px; letter-spacing: -0.03em; }
body[data-v="3"] .kicker { font-weight: 700; color: #14324d; }

body[data-v="4"] {
  background-color: #7ec8ef;
  background-image: repeating-linear-gradient(90deg, #9ad8f6 0 28px, #6eb8e4 28px 56px);
}
body[data-v="4"] .stage { place-items: center; padding: 92px 28px 64px; }
body[data-v="4"] .sheet {
  width: min(1040px, 100%);
  height: min(600px, calc(100dvh - 150px));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #f7fcff;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 18px 40px rgba(20, 60, 90, 0.16);
  background-image: radial-gradient(circle at left, transparent 9px, #f7fcff 10px);
  background-size: 22px 28px;
  background-repeat: repeat-y;
  border: 2px dashed #7eb6d4;
}
body[data-v="4"] .visual { background: transparent; }
body[data-v="4"] .copy { padding: 42px 56px 100px 36px; }
body[data-v="4"] .kicker::before {
  content: "WAYBILL EYE  ";
  letter-spacing: 0.2em;
}
body[data-v="4"] h1 { font-size: 38px; }
body[data-v="4"] .desc {
  border-top: 1px dashed #b7d4e6;
  padding-top: 16px;
}
body[data-v="4"] .pager { left: 36px; }

body[data-v="5"] { background: #6ec4ef; }
body[data-v="5"] .stage { grid-template-columns: 1.35fr 0.65fr; }
body[data-v="5"] .visual {
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.45), transparent 42%),
    linear-gradient(160deg, #b7e6fb, #4eb4e6);
  padding: 0;
}
body[data-v="5"] .art { width: min(560px, 86%); }
body[data-v="5"] .copy {
  margin: 88px 28px 28px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-radius: 28px 0 0 28px;
  box-shadow: -12px 16px 40px rgba(20, 60, 90, 0.12);
  padding: 48px 40px 110px;
}
body[data-v="5"] .pager { left: 40px; bottom: 28px; }
body[data-v="5"] h1 { font-size: 36px; }
body[data-v="5"] .desc { font-size: 18px; }

body[data-v="6"] {
  background-color: #7ec8ef;
  background-image: repeating-linear-gradient(90deg, #9ad8f6 0 28px, #6eb8e4 28px 56px);
}
body[data-v="6"] .stage {
  grid-template-columns: 1fr 1fr;
  padding: 88px 28px 24px;
}
body[data-v="6"] .visual { background: transparent; padding: 12px 8px 24px; }
body[data-v="6"] .halo { width: 416px; height: 416px; }
body[data-v="6"] .art { width: 520px; height: 520px; }
body[data-v="6"] .copy {
  margin: 4px 4px 8px 0;
  background: #f7fcff;
  border: 2px dashed #7eb6d4;
  border-radius: 4px;
  box-shadow: 0 22px 48px rgba(20, 60, 90, 0.18);
  padding: 52px 40px 108px 52px;
  -webkit-mask-image: radial-gradient(circle at 0 13px, transparent 7px, #000 8px);
  mask-image: radial-gradient(circle at 0 13px, transparent 7px, #000 8px);
  -webkit-mask-size: 100% 26px;
  mask-size: 100% 26px;
  -webkit-mask-repeat: repeat-y;
  mask-repeat: repeat-y;
}
body[data-v="6"] .kicker::before {
  content: "WAYBILL EYE  ";
  letter-spacing: 0.2em;
}
body[data-v="6"] h1 { font-size: 40px; }
body[data-v="6"] .desc {
  max-width: none;
  font-size: 20px;
  line-height: 1.85;
  border-top: 1px dashed #b7d4e6;
  padding-top: 18px;
}
body[data-v="6"] .pager {
  left: 28px;
  right: 28px;
  bottom: 28px;
  justify-content: center;
  gap: 22px;
}
body[data-v="6"] .dots {
  width: 420px;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 900px) {
  body { overflow: auto; }
  .stage, body[data-v="2"] .sheet, body[data-v="4"] .sheet {
    display: block;
    height: auto;
  }
  .visual { min-height: 280px; padding-top: 84px; }
  .copy { padding: 28px 22px 120px; }
  h1 { font-size: 32px; }
  .desc { font-size: 17px; }
  .pager { position: fixed; left: 16px; right: 16px; bottom: 24px; }
  .versions { top: auto; bottom: 76px; left: 12px; right: 12px; transform: none; justify-content: space-between; }
  body[data-v="5"] .copy { margin: 0; border-radius: 0; }
  body[data-v="6"] .stage { padding: 84px 0 0; }
  body[data-v="6"] .copy { margin: 0 16px 130px; }
  .giant { display: none !important; }
}
