:root {
  --ink: #101722;
  --muted: #758092;
  --line: #cbd3dc;
  --font: "SF Pro Text", "SF Pro Icons", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", "Segoe UI", sans-serif;
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f9fbfd;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -.01em;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-synthesis: none; }

.how-page {
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  background:
    radial-gradient(circle at 49% 42%, rgba(213, 231, 245, .55), transparent 31%),
    linear-gradient(145deg, #fff 0%, #f8fbfe 54%, #eef6fb 100%);
}

.how-page::before {
  content: "";
  width: 900px;
  height: 420px;
  position: absolute;
  left: 5%;
  top: 4%;
  border-radius: 50%;
  background: rgba(255,255,255,.66);
  filter: blur(50px);
  transform: rotate(-17deg);
  pointer-events: none;
}

.how-main {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.how-timeline {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  list-style: none;
}

.how-timeline::before {
  content: "";
  height: 1px;
  position: absolute;
  top: 22px;
  left: 7.5%;
  right: 7.5%;
  background: var(--line);
}

.how-timeline li {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  text-align: center;
}

.how-timeline li > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 5px solid rgba(249, 251, 253, .95);
  border-radius: 50%;
  color: #142031;
  background: #edf1f4;
  font-size: 15px;
  font-weight: 650;
  box-shadow: 0 0 0 1px rgba(220,226,232,.45);
}

.how-timeline strong {
  margin-top: 8px;
  font-size: 15px;
  letter-spacing: -.2px;
}

.how-timeline small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.how-showcase {
  height: 605px;
  margin-top: 32px;
  position: relative;
}

.how-showcase > img {
  width: calc(100% + 80px);
  height: auto;
  max-width: none;
  position: absolute;
  left: -40px;
  top: 0;
  display: block;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 32px rgba(48, 78, 105, .04));
}

.ideas-note {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: #6f7c8d;
  font-size: 17px;
  font-style: italic;
  line-height: 1.3;
}

.ideas-note { left: 8px; bottom: 23px; transform: rotate(-5deg); }

@media (max-width: 1050px) {
  .how-main { width: min(100% - 40px, 920px); }
  .how-timeline { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .how-timeline::before { display: none; }
  .how-showcase { height: 500px; overflow: hidden; }
  .how-showcase > img { width: 1260px; left: 50%; transform: translateX(-50%); }
  .ideas-note { display: none; }
}

@media (max-width: 620px) {
  .how-main { width: min(100% - 28px, 520px); }
  .how-timeline { margin-top: 34px; grid-template-columns: repeat(2, 1fr); gap: 25px 8px; }
  .how-timeline strong { font-size: 13px; }
  .how-timeline small { margin-top: 4px; font-size: 11px; }
  .how-showcase {
    height: 405px;
    margin-top: 28px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid rgba(213,225,235,.72);
    border-radius: 22px;
    background: rgba(242,248,252,.72);
    box-shadow: 0 18px 46px rgba(43,73,101,.08), inset 0 1px rgba(255,255,255,.9);
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .how-showcase::-webkit-scrollbar { display: none; }
  .how-showcase > img { width: 1020px; position: relative; left: 0; transform: none; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
