:root {
  color-scheme: light;
  --ink: #0b1220;
  --green: #21a366;
  --muted: #536179;
  --line: #d7e0ea;
  --soft: #f6f9fc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: white;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.page {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 7vh, 70px) 0;
}

.brand-icon {
  display: block;
  border-radius: 16px;
}

h1 {
  margin: 22px 0 14px;
  max-width: 9em;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  max-width: 35rem;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

ol {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
  display: grid;
  gap: 12px;
}

li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 18px;
  line-height: 1.35;
}

li::before {
  content: counter(steps);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-weight: 800;
}

.visual {
  margin: 0;
}

.visual figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.browser {
  position: relative;
  width: 100%;
  aspect-ratio: 1.2;
  border: 2px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: var(--soft);
}

.browser-top {
  height: 70px;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 2px solid var(--ink);
  background: white;
}

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

.controls span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.address {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 15px;
}

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

.puzzle,
.pinned {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.puzzle svg {
  width: 27px;
  height: 27px;
  fill: var(--ink);
}

.pinned {
  padding: 3px;
  border: 2px solid var(--green);
  border-radius: 10px;
}

.browser-body {
  position: relative;
  min-height: calc(100% - 70px);
  padding: 50px 36px;
}

.mock-table {
  width: min(62%, 430px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.mock-table span {
  height: 36px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.mock-table span:nth-child(-n + 5) {
  background: var(--green);
}

.mock-table span:nth-child(5n) {
  border-right: 0;
}

.mock-table span:nth-last-child(-n + 5) {
  border-bottom: 0;
}

.menu {
  position: absolute;
  top: 22px;
  right: 44px;
  width: min(310px, 48%);
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: white;
}

.menu-title {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
}

.menu-row {
  display: grid;
  grid-template-columns: 30px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
}

.menu-row strong {
  min-width: 0;
  font-size: 16px;
}

.pin {
  width: 25px;
  height: 25px;
  fill: var(--green);
}

.arrow {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 900;
}

.arrow span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 999px;
}

.arrow svg {
  width: 96px;
  height: 42px;
  fill: none;
  stroke: var(--green);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-one {
  top: 6px;
  right: 135px;
}

.arrow-two {
  top: 128px;
  right: 58px;
}

.arrow-three {
  top: 12px;
  right: 8px;
}

@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 34px;
  }

  h1 {
    max-width: 11em;
  }

  .browser {
    aspect-ratio: 1.08;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 420px);
    gap: 24px;
  }

  .browser-top {
    height: 58px;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 0 10px;
  }

  .controls {
    display: none;
  }

  .address {
    padding: 0 10px;
    font-size: 12px;
  }

  .browser-body {
    padding: 92px 18px 28px;
  }

  .mock-table {
    width: 100%;
  }

  .menu {
    top: 18px;
    right: 18px;
    left: 18px;
    width: auto;
    padding: 14px;
  }

  .arrow svg {
    width: 60px;
  }

  .arrow-one {
    top: 12px;
    right: 86px;
  }

  .arrow-two {
    top: 120px;
    right: 20px;
  }

  .arrow-three {
    top: 34px;
    right: 4px;
  }
}
