:root {
  --ink: #122033;
  --muted: #627084;
  --line: #dfe6f0;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --blue: #1463ff;
  --cyan: #00b8d9;
  --green: #11b980;
  --night: #081729;
  --shadow: 0 24px 70px rgba(18, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(20, 99, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 48%, #ffffff 100%);
  font-family: Inter, "Noto Sans SC", "Noto Sans JP", system-ui, sans-serif;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(223, 230, 240, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(20, 99, 255, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  color: #405066;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--blue);
  background: #eef5ff;
}

main {
  overflow: hidden;
}

.hero,
.chapter,
.quick-map,
.notice {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.8fr);
  align-items: center;
  min-height: calc(100vh - 72px);
  gap: clamp(32px, 5vw, 72px);
  padding: 54px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  color: #4b5d74;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  border-radius: 999px;
}

.primary-btn {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(20, 99, 255, 0.28);
}

.secondary-btn {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-preview {
  position: relative;
  display: grid;
  justify-items: center;
}

.floating {
  transform: rotate(3deg);
}

.preview-card {
  position: absolute;
  right: 2%;
  bottom: 9%;
  width: 210px;
  padding: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(8, 23, 41, 0.86);
  box-shadow: var(--shadow);
}

.preview-card span,
.preview-card p {
  color: rgba(255, 255, 255, 0.72);
}

.preview-card strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}

.preview-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.phone-frame {
  width: min(320px, 100%);
  padding: 12px;
  border-radius: 34px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(145deg, rgba(20, 99, 255, 0.36), rgba(0, 184, 217, 0.1), rgba(17, 185, 128, 0.2)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.phone-frame img {
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(18, 32, 51, 0.08);
}

.phone-frame.compact {
  width: min(250px, 100%);
  padding: 10px;
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(18, 32, 51, 0.13);
}

.phone-frame.compact img,
.phone-frame.small img {
  border-radius: 20px;
}

.phone-frame.small {
  width: 100%;
  max-width: 210px;
  padding: 8px;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(18, 32, 51, 0.12);
}

.quick-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -36px;
  margin-bottom: 92px;
}

.quick-map a {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(223, 230, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 46px rgba(18, 32, 51, 0.08);
}

.quick-map span,
.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: #eef5ff;
}

.quick-map strong,
.quick-map em {
  display: block;
}

.quick-map strong {
  margin: 18px 0 8px;
  font-size: 20px;
}

.quick-map em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

.chapter {
  padding: 86px 0;
}

.chapter.tinted {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, #f5f9ff, #eef5fb);
}

.chapter-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.chapter-head h2,
.notice h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.chapter-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.feature-row.reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 0.86fr);
}

.feature-row.reverse .copy-panel {
  order: 2;
}

.copy-panel {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(223, 230, 240, 0.9);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 18px 56px rgba(18, 32, 51, 0.08);
}

.copy-panel h3 {
  margin: 18px 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
}

.clean-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 28px;
  color: #485a70;
  line-height: 1.7;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(17, 185, 128, 0.12);
}

.shot-card {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.caption {
  width: min(360px, 100%);
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.caption strong,
.caption span {
  display: block;
}

.caption span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 24px;
  border: 1px solid rgba(223, 230, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 46px rgba(18, 32, 51, 0.08);
}

.timeline-copy span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  font-weight: 800;
  border-radius: 14px;
  background: var(--blue);
}

.timeline-copy h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.timeline-copy p,
.mini-step p,
.notice p {
  color: var(--muted);
  line-height: 1.72;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mini-step {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(223, 230, 240, 0.9);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 16px 48px rgba(18, 32, 51, 0.08);
}

.mini-step strong {
  font-size: 18px;
}

.mini-step p {
  margin: 0;
  font-size: 14px;
}

.wide-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 28px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 23, 41, 0.92), rgba(20, 99, 255, 0.86)),
    #081729;
  box-shadow: var(--shadow);
}

.wide-note span,
.wide-note strong {
  display: block;
}

.wide-note span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  margin-bottom: 8px;
}

.wide-note strong {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.18;
}

.phone-frame.landscape {
  width: min(270px, 32vw);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.shot-cluster {
  position: relative;
  min-height: 560px;
}

.shot-cluster .phone-frame {
  position: absolute;
}

.stack-a {
  left: 0;
  top: 10px;
  width: min(295px, 54%);
  transform: rotate(-3deg);
}

.stack-b {
  right: 0;
  top: 72px;
  width: min(295px, 54%);
  transform: rotate(3deg);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.mini-step.horizontal {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  text-align: left;
}

.notice {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 38px;
  padding: 88px 0 108px;
}

.notice-grid {
  display: grid;
  gap: 16px;
}

.notice-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.notice-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.notice-grid p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .feature-row,
  .feature-row.reverse,
  .wide-note,
  .notice {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .feature-row.reverse .copy-panel {
    order: 0;
  }

  .quick-map,
  .grid-four,
  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot-cluster {
    min-height: 520px;
  }

  .wide-note {
    justify-items: center;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: static;
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero,
  .chapter,
  .quick-map,
  .notice {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero-preview {
    padding-bottom: 38px;
  }

  .preview-card {
    right: 0;
    bottom: 0;
  }

  .quick-map,
  .grid-four,
  .grid-two,
  .timeline-item,
  .mini-step.horizontal {
    grid-template-columns: 1fr;
  }

  .quick-map {
    margin-top: 0;
    margin-bottom: 44px;
  }

  .chapter,
  .chapter.tinted {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .timeline-item {
    justify-items: center;
  }

  .timeline-copy {
    width: 100%;
  }

  .shot-cluster {
    min-height: 760px;
  }

  .stack-a,
  .stack-b {
    width: min(300px, 78%);
  }

  .stack-a {
    left: 0;
  }

  .stack-b {
    top: 270px;
    right: 0;
  }

  .phone-frame.landscape {
    width: min(270px, 100%);
  }
}
