:root {
  --fog: #edf0f3;
  --white: #ffffff;
  --ink: #181b22;
  --ink-soft: #4a505c;
  --line: #d5dae1;
  --red: #ff3b30;
  --red-deep: #c4231a;
  --mark: #ffe45c;
  --leaf: #0f6e56;
  --hand: "Caveat", "Bradley Hand", cursive;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

a:focus-visible, .store:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand img { border-radius: 9px; }

.bar-link {
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 112px);
}

h1 {
  font-weight: 900;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 36px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  padding: 12px 20px 13px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  cursor: default;
}

.store-where { font-weight: 700; font-size: 19px; line-height: 1.2; }

.store-when { font-size: 14px; color: #b9c0cc; line-height: 1.3; }

.phone {
  position: relative;
  margin: 0;
  border: 10px solid var(--ink);
  border-radius: 44px;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 600 / 1096;
  box-shadow: 0 30px 60px -30px rgba(24, 27, 34, 0.45);
}

.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.phone-hero { max-width: 380px; justify-self: center; width: 100%; }

.rec {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.shutter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 5px solid var(--white);
  display: grid;
  place-items: center;
}

.shutter span { width: 30px; height: 30px; border-radius: 7px; background: var(--red); }

.flow {
  background: var(--white);
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.flow > h2, .flow-intro, .steps { max-width: 1240px; margin-left: auto; margin-right: auto; }

h2 {
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.flow-intro { color: var(--ink-soft); max-width: 1240px; margin-bottom: clamp(40px, 6vw, 72px); }

.flow-intro, .uses li, .trust p { font-size: 19px; }

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}

.step { counter-increment: step; }

.step .phone { border-width: 7px; border-radius: 30px; margin-bottom: 22px; }

.step-copy h3 {
  font-size: 21px;
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.step-copy h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  vertical-align: 2px;
}

.step-copy p { margin: 0 0 10px; font-size: 16px; color: var(--ink-soft); }

mark { background: linear-gradient(transparent 55%, var(--mark) 55%); color: var(--ink); padding: 0 2px; }

.note {
  font-family: var(--hand);
  font-size: 25px !important;
  line-height: 1.1;
  color: var(--leaf) !important;
  transform: rotate(-2deg);
  transform-origin: left;
}

.uses {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.uses ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 48px;
}

.uses li {
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  color: var(--ink-soft);
}

.uses strong { display: block; color: var(--ink); font-size: 21px; margin-bottom: 4px; }

.trust {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.trust p { color: var(--ink-soft); max-width: 34em; margin: 0; }

.phone-small { aspect-ratio: 600 / 1230; border-width: 8px; border-radius: 36px; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
}

@media (max-width: 1080px) {
  .steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 42%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }
  .step { scroll-snap-align: start; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .phone-hero { max-width: 300px; }
  .steps { grid-auto-columns: 78%; }
  .trust { grid-template-columns: 1fr; }
  .phone-small { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .rec-dot { animation: none; }
}
