/* SwapIt home: the easiest way to upgrade your phone. Sharp, bold, black and white; coral for the action. */

:root {
  --coral: #FF385C;
  --coral-deep: #E31C5F;
  --ink: #111318;
  --control: #1C1C1C;
  --text-2: #4B5160;
  --muted: #717680;
  --line: #E6E7E9;
  --line-2: #D5D7DA;
  --soft: #F6F6F6;
  --green: #079455;
  --green-bg: #ECFDF3;

  --r: 4px;            /* every corner on the page; only the phones are round */
  --wrap: 1200px;
  --pad: 32px;
  --section: 144px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Circular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ic { width: 24px; height: 24px; flex: none; }
.wrap { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

h2 { font-size: 64px; line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px; border: 0; border-radius: var(--r);
  font-weight: 700; font-size: 16px; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ededed; }

/* ---------------------------------------------------------------- nav */

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { height: 72px; display: flex; align-items: center; gap: 48px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 36px; margin-left: auto; font-size: 16px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------------------------------------------------------------- getting it */

.early { display: flex; max-width: 500px; }
.early input {
  flex: 1; min-width: 0; height: 60px; padding: 0 20px; border: 1.5px solid var(--ink); border-right: 0; border-radius: var(--r) 0 0 var(--r);
  background: #fff; font-size: 17px; outline: 0;
}
.early input::placeholder { color: var(--muted); }
.early input:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.early .btn { height: 60px; border-radius: 0 var(--r) var(--r) 0; }
.early-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.early-error { margin-top: 10px; font-size: 14px; color: #D92D20; }
.early-done { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-radius: var(--r); background: var(--green-bg); color: #05603A; font-weight: 500; max-width: 500px; }
.early-done .ic { color: var(--green); stroke-width: 2.6; }
.early-done + .early-note { display: none; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 24px 0 20px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 700; font-size: 18px; line-height: 1.05; }
.store small { display: block; font-size: 11px; font-weight: 400; opacity: .8; }
.store .ic { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- 1. hero */

.hero { padding: 80px 0 120px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 64px; }
.hero h1 { font-size: 88px; line-height: .98; letter-spacing: -.05em; font-weight: 700; }
.hero-three { margin-top: 32px; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.hero-sub { margin-top: 8px; font-size: 20px; color: var(--muted); }
.hero .get-box { margin-top: 44px; }
.hero-art { position: relative; display: flex; justify-content: center; }

/* ---------------------------------------------------------------- the phone and the app inside it */

.phone {
  position: relative; width: 320px; aspect-ratio: 320 / 660; flex: none;
  padding: 11px; border-radius: 56px; background: #0c0c0d;
  box-shadow: 0 0 0 1.5px #2b2b2e inset, 0 50px 100px -30px rgba(16, 24, 40, .35), 0 20px 40px -20px rgba(16, 24, 40, .3);
}
.phone::after { content: ""; position: absolute; top: 22px; left: 50%; width: 98px; height: 29px; margin-left: -49px; border-radius: 20px; background: #000; z-index: 3; }
.phone-dark { box-shadow: 0 0 0 1.5px #3a3a3a inset, 0 50px 100px -30px rgba(0, 0, 0, .7); }
.screen { position: relative; height: 100%; border-radius: 45px; overflow: hidden; background: #fff; color: var(--ink); display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; }
.a-status { display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 8px 30px 0 34px; font-size: 14px; flex: none; }
.a-icons { display: flex; align-items: center; gap: 5px; }
.a-icons svg { display: block; }
.a-top { display: flex; align-items: center; gap: 6px; padding: 4px 12px 10px; flex: none; }
.a-circle { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 2px 6px rgba(0, 0, 0, .06); }
.a-circle .ic { width: 16px; height: 16px; }
.a-tabs { flex: 1; display: flex; height: 34px; padding: 3px; border-radius: 99px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 2px 6px rgba(0, 0, 0, .06); }
.a-tabs i { flex: 1; display: grid; place-items: center; border-radius: 99px; font-style: normal; font-size: 12px; color: var(--text-2); }
.a-tabs i.on { background: var(--coral); color: #fff; font-weight: 700; }
.a-rotate { position: relative; flex: 1; min-height: 0; }
.a-post { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.a-post.on { opacity: 1; }
.a-who { display: flex; align-items: center; gap: 8px; padding: 2px 13px 9px; }
.a-who span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.a-who b { font-size: 12.5px; }
.a-who small { font-size: 10.5px; color: var(--muted); }
.a-who em { font-style: normal; font-weight: 700; color: var(--coral); font-size: 12.5px; }
.a-av { width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 10.5px; flex: none; }
.a-av-ink { background: var(--control); }
.a-av-soft { background: #E9EAEB; color: var(--ink); }
.a-photo { position: relative; aspect-ratio: 4 / 4.6; background: center / cover no-repeat #f2f2f2; }
.a-tag { position: absolute; top: 9px; left: 9px; padding: 3px 8px; border-radius: 7px; background: #fff; font-size: 10.5px; font-weight: 700; color: var(--control); }
.a-price { position: absolute; bottom: 9px; left: 9px; padding: 4px 10px; border-radius: 7px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12.5px; font-weight: 700; }
.a-acts { display: flex; align-items: center; gap: 13px; padding: 10px 13px 5px; }
.a-acts .ic { width: 19px; height: 19px; }
.a-acts em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--coral); font-size: 12.5px; }
.a-cap { padding: 0 13px; color: var(--text-2); font-size: 11.5px; }
.a-cap b { color: var(--ink); }
.a-dock { display: flex; justify-content: space-around; align-items: center; height: 66px; padding: 0 6px 12px; border-top: 1px solid var(--line); flex: none; background: #fff; }
.a-dock i { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; min-width: 0; color: var(--muted); font-style: normal; }
.a-dock i span { font-size: 9.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
.a-dock i.on { color: var(--coral); }
.a-dock .ic { width: 20px; height: 20px; }
.a-dock .a-plus { border-radius: 50%; background: var(--control); color: #fff; }
.a-dock .a-plus .ic { width: 17px; height: 17px; stroke-width: 2.4; }

.pop {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: var(--r); background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 44px -14px rgba(16, 24, 40, .28);
  font-size: 14px; line-height: 1.3; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.pop span:last-child { display: flex; flex-direction: column; }
.pop small { color: var(--muted); font-size: 12.5px; }
.pop-a { left: -10px; top: 30%; }
.pop-b { right: -30px; top: 56%; animation-delay: -3s; }
.pop-ic { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; }
.pop-ic .ic { width: 20px; height: 20px; }
.pop-ic-coral { background: #FFF0F3; color: var(--coral); }
.pop-ic-green { background: var(--green-bg); color: var(--green); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- 2. sell, swap, buy */

.ways { padding: 0; border-bottom: 1px solid var(--line); }
.ways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.way { padding: 96px 40px 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.way:first-child { border-left: 0; padding-left: 0; }
.way:last-child { padding-right: 0; }
.way h2 { font-size: 48px; }
.way > p { margin-top: 10px; font-size: 19px; color: var(--muted); }
.crop { margin-top: 48px; height: 300px; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; }
.crop-screen {
  width: 100%; max-width: 270px; height: 100%; padding: 16px 16px 0; background: #fff;
  border: 10px solid #0c0c0d; border-bottom: 0; border-radius: 40px 40px 0 0;
  display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; line-height: 1.35; overflow: hidden;
}
.c-photo { position: relative; height: 128px; margin: -16px -16px 0; background: center / cover #f2f2f2; flex: none; }
.c-body { display: flex; flex-direction: column; gap: 5px; }
.c-title { font-size: 14px; }
.c-price { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.c-btn { display: grid; place-items: center; height: 40px; margin-top: 4px; border-radius: 10px; background: var(--coral); color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.c-label { font-size: 13px; font-weight: 700; padding-top: 4px; }
.c-swap { display: flex; align-items: center; gap: 8px; }
.c-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.c-item span { width: 100%; aspect-ratio: 1; border-radius: 12px; background: center / cover #f2f2f2; margin-bottom: 4px; }
.c-item b { font-size: 12.5px; }
.c-item small { font-size: 10.5px; color: var(--muted); }
.c-arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; margin-top: -34px; }
.c-arrow .ic { width: 15px; height: 15px; }
.c-cash { text-align: center; padding: 8px; border-radius: 10px; background: var(--soft); font-weight: 700; }
.c-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.c-row > span:first-child { width: 48px; height: 48px; border-radius: 10px; background: center / cover #f2f2f2; flex: none; }
.c-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.c-row b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-row small { font-size: 10.5px; color: var(--muted); }
.c-row em { font-style: normal; font-weight: 700; font-size: 12px; }

/* ---------------------------------------------------------------- split sections (text and a phone) */

section.split, section.value { padding: var(--section) 0; }
.split-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.split-flip .split-text { order: 2; }
.split-text h2 { max-width: 560px; }
.split-text > p { margin-top: 24px; font-size: 22px; color: var(--muted); max-width: 460px; }
.split-text .btn { margin-top: 40px; }
.split-art { display: flex; justify-content: center; }

.m-head, .v-head { display: flex; align-items: center; gap: 10px; padding: 6px 18px 0; }
.m-head span:last-child, .v-head span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.m-head b, .v-head b { font-size: 14px; }
.m-head small, .v-head small { font-size: 11px; color: var(--muted); }
.m-thumb { width: 46px; height: 46px; border-radius: 12px; background: center / cover #f2f2f2; flex: none; }
.m-count { margin: 18px 18px 6px; font-size: 13px; color: var(--muted); }
.m-count b { color: var(--ink); font-size: 22px; letter-spacing: -.02em; display: block; }
.m-list { padding: 0 18px; flex: 1; }
.m-person { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.m-person span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.m-person b { font-size: 13px; }
.m-person small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-person em { font-style: normal; font-weight: 700; font-size: 11.5px; color: var(--green); background: var(--green-bg); padding: 3px 8px; border-radius: 7px; }
.m-btn { display: grid; place-items: center; height: 44px; margin: 14px 18px 26px; border-radius: 12px; background: var(--coral); color: #fff; font-weight: 700; font-size: 13.5px; flex: none; }
[data-matches].go .m-person { animation: slide-in .6s var(--ease) both; }
[data-matches].go .m-person:nth-child(2) { animation-delay: .25s; }
[data-matches].go .m-person:nth-child(3) { animation-delay: .5s; }
[data-matches].go .m-person:nth-child(4) { animation-delay: .75s; }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } }

/* ---------------------------------------------------------------- 4. value (dark) */

.value { background: var(--ink); color: #fff; }
.value .split-text > p { color: rgba(255, 255, 255, .66); }
.v-box { margin: 20px 18px 0; padding: 24px 20px; border-radius: 20px; background: var(--soft); display: flex; flex-direction: column; }
.v-box small { color: var(--muted); font-size: 12px; }
.v-box b { font-size: 40px; letter-spacing: -.035em; line-height: 1.1; margin: 6px 0 6px; }
.v-box span { font-size: 12px; color: var(--text-2); }
.v-goal { display: flex; align-items: center; gap: 10px; margin: 14px 18px 0; padding: 12px; border-radius: 16px; border: 1px solid var(--line); }
.v-goal span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.v-goal b { font-size: 12.5px; }
.v-goal small { font-size: 11px; color: var(--muted); }
.value .m-btn { margin-top: auto; }
.v-label { margin: 18px 18px 4px; font-size: 11px; font-weight: 700; color: var(--muted); }
.v-sale { display: flex; justify-content: space-between; margin: 0 18px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.v-sale span { color: var(--text-2); }
.p-seller { display: flex; align-items: center; gap: 10px; margin: 4px 22px 0; padding: 12px; border-radius: 16px; border: 1px solid var(--line); }
.p-seller span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.p-seller b { font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.p-seller small { font-size: 11px; color: var(--muted); }
.p-ok { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); color: #fff; }
.p-ok .ic { width: 9px; height: 9px; stroke-width: 3.4; }
.p-confirm { margin-top: auto; background: var(--ink); }

/* ---------------------------------------------------------------- 5. trade up */

.up { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.up-head { text-align: center; max-width: 820px; margin: 0 auto; }
.up-head p { margin-top: 20px; font-size: 22px; color: var(--muted); }
.eq { margin-top: 72px; display: flex; align-items: center; justify-content: center; gap: 36px; }
.eq-phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.eq-phone span { width: 220px; aspect-ratio: 4 / 5; border-radius: var(--r); background: center / cover #f2f2f2; }
.eq-new span { width: 280px; box-shadow: 0 30px 60px -24px rgba(16, 24, 40, .35); }
.eq-phone figcaption { font-weight: 700; font-size: 18px; }
.eq-new figcaption { font-size: 22px; }
.eq-sign { font-size: 56px; font-weight: 300; color: var(--muted); line-height: 1; margin-top: -40px; }
.eq-cash { display: flex; flex-direction: column; align-items: center; margin-top: -40px; }
.eq-cash b { font-size: 44px; letter-spacing: -.035em; line-height: 1; }
.eq-cash small { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- 6. safety */

.safe { border-bottom: 1px solid var(--line); }
.safe-list { list-style: none; padding: 0; margin-top: 40px; max-width: 480px; }
.safe-list li { padding: 22px 0; border-top: 1px solid var(--line); font-size: 21px; color: var(--muted); }
.safe-list li:last-child { border-bottom: 1px solid var(--line); }
.safe-list b { color: var(--ink); font-weight: 700; }
.p-top { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 22px 22px; border-bottom: 1px solid var(--line); }
.p-tick { width: 52px; height: 52px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin-bottom: 12px; }
.p-tick .ic { stroke-width: 2.6; }
.p-top b { font-size: 15px; }
.p-amount { font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin: 4px 0 6px; }
.p-top small { font-size: 12px; color: var(--muted); max-width: 200px; }
.p-steps { list-style: none; padding: 20px 22px 0; display: flex; flex-direction: column; }
.p-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.p-steps li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.p-steps li:last-child::before { display: none; }
.p-steps i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; flex: none; margin-top: 1px; position: relative; z-index: 1; }
.p-steps .done i { background: var(--green); border-color: var(--green); }
.p-steps .now i { border-color: var(--coral); box-shadow: 0 0 0 4px #FFE7EB; }
.p-steps span { display: flex; flex-direction: column; line-height: 1.3; }
.p-steps b { font-size: 13px; }
.p-steps small { font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- 7. how */

.how { padding: var(--section) 0; }
.how-title { font-size: 96px; letter-spacing: -.055em; line-height: 1; }
.steps { list-style: none; padding: 0; margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { padding-top: 24px; border-top: 2px solid var(--ink); }
.steps li > span { display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 40px; }
.steps h3 { font-size: 30px; letter-spacing: -.025em; line-height: 1.15; }
.steps p { margin-top: 10px; font-size: 19px; color: var(--muted); }

/* ---------------------------------------------------------------- 8. last call */

.get { background: var(--ink); color: #fff; padding: 160px 0; }
.get-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.get h2 { font-size: 88px; letter-spacing: -.05em; line-height: .98; max-width: 900px; }
.get-in > p { margin: 28px 0 48px; font-size: 22px; color: rgba(255, 255, 255, .66); }
.get .early input { background: #fff; border-color: #fff; color: var(--ink); }
.get .early-note { color: rgba(255, 255, 255, .5); }
.get .store { background: #fff; color: var(--ink); }
.get-end { display: flex; flex-direction: column; align-items: center; width: 100%; }
.get-end .early { width: 100%; }

/* ---------------------------------------------------------------- footer */

.foot { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 32px; font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { height: 22px; width: auto; }
.foot nav { display: flex; gap: 28px; margin-left: auto; }
.foot a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- appear on scroll */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- tablets */

@media (max-width: 1120px) {
  :root { --section: 120px; }
  .hero h1 { font-size: 68px; }
  h2 { font-size: 52px; }
  .way h2 { font-size: 40px; }
  .way { padding: 80px 24px 0; }
  .how-title { font-size: 76px; }
  .get h2 { font-size: 68px; }
  .eq { gap: 24px; }
  .eq-phone span { width: 180px; }
  .eq-new span { width: 230px; }
  .eq-cash b { font-size: 36px; }
}

/* ---------------------------------------------------------------- phones */

@media (max-width: 820px) {
  :root { --section: 88px; --pad: 20px; }
  body { font-size: 16px; }
  .nav-in { height: 64px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; height: 40px; padding: 0 16px; font-size: 14px; }

  .hero { padding: 36px 0 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero h1 { font-size: 48px; letter-spacing: -.045em; }
  .hero-three { margin-top: 22px; font-size: 22px; }
  .hero-sub { font-size: 17px; }
  .hero .get-box { margin-top: 28px; }
  .phone { width: 280px; }
  .pop { font-size: 12.5px; padding: 9px 13px 9px 9px; gap: 9px; }
  .pop small { font-size: 11px; }
  .pop-ic { width: 32px; height: 32px; }
  .pop-ic .ic { width: 17px; height: 17px; }
  .pop-a { left: -6px; top: 26%; }
  .pop-b { right: -6px; top: 56%; }

  .early { flex-direction: column; gap: 10px; }
  .early input { flex: none; width: 100%; height: 56px; border-right: 1.5px solid var(--ink); border-radius: var(--r); }
  .early .btn { width: 100%; height: 56px; border-radius: var(--r); }

  h2 { font-size: 40px; letter-spacing: -.04em; }

  .ways-grid { grid-template-columns: 1fr; }
  .way { padding: 64px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .way:first-child { border-top: 0; }
  .way h2 { font-size: 40px; }
  .way > p { font-size: 17px; }
  .crop { margin-top: 32px; height: 280px; }

  .split-in { grid-template-columns: 1fr; gap: 56px; }
  .split-flip .split-text { order: 0; }
  .split-text > p { font-size: 18px; margin-top: 16px; }
  .split-text .btn { margin-top: 28px; }

  .up-head { text-align: left; }
  .up-head p { font-size: 18px; margin-top: 16px; }
  .eq { margin-top: 48px; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "old plus cash" "eq eq eq" "new new new"; gap: 14px 12px; align-items: center; }
  .eq > .eq-phone:first-child { grid-area: old; }
  .eq > .eq-sign:nth-child(2) { grid-area: plus; }
  .eq-cash { grid-area: cash; margin: 0; }
  .eq-sign { font-size: 36px; margin: 0; }
  .eq > .eq-sign:nth-child(4) { grid-area: eq; justify-self: center; transform: rotate(90deg); }
  .eq-new { grid-area: new; }
  .eq-phone span { width: 100%; }
  .eq-new span { width: 80%; margin: 0 auto; }
  .eq-cash b { font-size: 28px; }
  .eq-phone figcaption { font-size: 15px; }
  .eq-new figcaption { font-size: 19px; }

  .safe-list { margin-top: 28px; }
  .safe-list li { font-size: 18px; padding: 18px 0; }

  .how-title { font-size: 52px; }
  .steps { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .steps li > span { margin-bottom: 16px; }
  .steps h3 { font-size: 26px; }
  .steps p { font-size: 17px; }

  .get { padding: 100px 0; }
  .get h2 { font-size: 48px; }
  .get-in > p { font-size: 18px; margin: 20px 0 32px; }

  .foot-in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-brand { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot nav { margin-left: 0; flex-wrap: wrap; gap: 8px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pop { animation: none; }
  [data-matches].go .m-person { animation: none; }
}

/* ---------------------------------------------------------------- calmer sections: photos and plain words, two phones only */

.hero { overflow: hidden; }
.ways { border-bottom: 0; padding: 104px 0; }
.ways-grid { gap: 40px; }
.way, .way:first-child, .way:last-child { padding: 0; border: 0; }
.way-photo { height: 260px; border-radius: var(--r); background: center / cover #f2f2f2; margin-bottom: 28px; }

.notes { display: flex; flex-direction: column; gap: 14px; max-width: 460px; justify-self: center; width: 100%; }
.note { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -20px rgba(16, 24, 40, .25); }
.note .a-av { width: 40px; height: 40px; font-size: 13px; }
.note span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.note b { font-size: 16px; }
.note small { font-size: 13px; color: var(--muted); }
.note em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--green); background: var(--green-bg); padding: 4px 9px; border-radius: var(--r); }
.note:nth-child(2) { margin-left: 32px; }
.note:nth-child(3) { margin-left: 64px; }
[data-matches].go .note { animation: slide-in .6s var(--ease) both; }
[data-matches].go .note:nth-child(2) { animation-delay: .25s; }
[data-matches].go .note:nth-child(3) { animation-delay: .5s; }

section.safe { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.safe-title { max-width: 760px; }
.safe-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.safe-grid div { padding-top: 24px; border-top: 2px solid var(--ink); }
.safe-grid h3 { font-size: 28px; letter-spacing: -.025em; line-height: 1.15; }
.safe-grid p { margin-top: 6px; font-size: 19px; color: var(--muted); }

@media (max-width: 820px) {
  .ways { padding: 64px 0; }
  .ways-grid { gap: 48px; }
  .way, .way:first-child { padding: 0; border: 0; }
  .way-photo { margin-bottom: 20px; }
  .note:nth-child(2), .note:nth-child(3) { margin-left: 0; }
  .note b { font-size: 15px; }
  .safe-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .safe-grid h3 { font-size: 24px; }
  .safe-grid p { font-size: 17px; }
}

/* the price, big, on black: no phone */
.value-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.price-card { background: #fff; color: var(--ink); border-radius: var(--r); padding: 36px; max-width: 460px; justify-self: center; width: 100%; display: flex; flex-direction: column; }
.pc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pc-head span:last-child, .pc-goal span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.pc-head b { font-size: 16px; }
.pc-head small, .pc-goal small { font-size: 13px; color: var(--muted); }
.pc-label { margin-top: 28px; font-size: 14px; color: var(--muted); }
.pc-price { font-size: 72px; letter-spacing: -.05em; line-height: 1.05; margin: 4px 0; }
.pc-range { font-size: 15px; color: var(--text-2); }
.pc-goal { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.pc-goal b { font-size: 15px; }
@media (max-width: 820px) {
  .value-in { grid-template-columns: 1fr; gap: 48px; }
  .price-card { padding: 24px; }
  .pc-price { font-size: 52px; }
}

/* trade up: one card, three parts - you have, you add, you get */
.deal { margin: 72px auto 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.deal-col { display: flex; flex-direction: column; padding: 32px; }
.deal-col small { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.deal-photo { aspect-ratio: 1 / 1; border-radius: var(--r); background: center / cover #f2f2f2; margin-bottom: 20px; }
.deal-col > b { font-size: 21px; letter-spacing: -.015em; line-height: 1.2; }
.deal-sub { margin-top: 4px; font-size: 16px; color: var(--muted); }
.deal-cash { justify-content: center; text-align: center; background: var(--soft); }
.deal-cash small { margin-bottom: 12px; }
.deal-big { font-size: 48px !important; letter-spacing: -.04em !important; line-height: 1 !important; }
.deal-get { background: var(--ink); color: #fff; }
.deal-get small, .deal-get .deal-sub { color: rgba(255, 255, 255, .6); }
.deal-op { display: grid; place-items: center; font-size: 36px; font-weight: 300; color: var(--muted); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
@media (max-width: 820px) {
  .deal { margin-top: 40px; grid-template-columns: 1fr; }
  .deal-col { padding: 24px; }
  .deal-photo { aspect-ratio: 4 / 3; }
  .deal-op { height: 48px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 30px; }
  .deal-big { font-size: 40px !important; }
}

@media (max-width: 820px) { .way-photo { height: 220px; } }

/* ---------------------------------------------------------------- matches: no phone, just how fast people come */

.mt { width: 100%; max-width: 480px; justify-self: center; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.mt-item { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.mt-photo { width: 64px; height: 64px; border-radius: var(--r); background: center / cover #f2f2f2; flex: none; }
.mt-item span:last-child, .mt-list li span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mt-item b { font-size: 20px; letter-spacing: -.01em; }
.mt-item small, .mt-list small { font-size: 15px; color: var(--muted); }
.mt-list { list-style: none; margin: 0; padding: 8px 28px; }
.mt-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mt-list li:last-child { border-bottom: 0; }
.mt-list li span:nth-child(2) { flex: 1; }
.mt-list b { font-size: 17px; }
.mt-list em { font-style: normal; font-size: 15px; font-weight: 700; color: var(--green); white-space: nowrap; }
.mt-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--coral); color: #fff; font-size: 13px; font-weight: 700; }
.mt-av-ink { background: var(--ink); }
.mt-av-soft { background: #f2f2f2; color: var(--ink); }
.mt-total { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 22px 28px; background: var(--ink); color: #fff; }
.mt-total b { font-size: 28px; letter-spacing: -.02em; }
.mt-total span { font-size: 16px; color: rgba(255, 255, 255, .7); }
[data-matches].go li { animation: slide-in .6s var(--ease) both; }
[data-matches].go li:nth-child(2) { animation-delay: .35s; }
[data-matches].go li:nth-child(3) { animation-delay: .7s; }
.hero .phone { box-shadow: 0 0 0 1.5px #2b2b2e inset, 0 30px 60px -30px rgba(16, 24, 40, .3); }

@media (max-width: 820px) {
  .mt-item, .mt-total { padding: 20px; }
  .mt-list { padding: 4px 20px; }
  .mt-list b { font-size: 16px; }
  .mt-total b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { [data-matches].go li { animation: none; } }

/* Sell, Swap, Buy: real phones on white, no photo backgrounds */
.way-art { height: 300px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 36px; }
.way-art img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(16, 24, 40, .16)); }
@media (max-width: 820px) { .way-art { height: 240px; margin-bottom: 24px; } }

/* Safety: a dark band, an icon per promise */
.safe-dark { background: var(--ink); color: #fff; border-bottom: 0; }
.safe-dark .safe-title { color: #fff; max-width: 900px; }
.safe-dark .safe-grid { gap: 20px; }
.safe-dark .safe-grid div { border: 1px solid rgba(255, 255, 255, .14); border-top: 1px solid rgba(255, 255, 255, .14); padding: 36px 32px 40px; }
.safe-dark .safe-grid i { display: grid; place-items: center; width: 52px; height: 52px; background: var(--coral); color: #fff; margin-bottom: 40px; }
.safe-dark .safe-grid i .ic { width: 24px; height: 24px; }
.safe-dark .safe-grid h3 { color: #fff; }
.safe-dark .safe-grid p { color: rgba(255, 255, 255, .62); }
@media (max-width: 820px) {
  .safe-dark .safe-grid { gap: 12px; }
  .safe-dark .safe-grid div { padding: 28px 24px; }
  .safe-dark .safe-grid i { margin-bottom: 24px; }
}

/* Trade up: three cards on a grey band */
.up { background: var(--soft); border-bottom: 0; }
.deal { max-width: 1080px; grid-template-columns: 1fr 64px 1fr 64px 1fr; border: 0; overflow: visible; }
.deal-col { background: #fff; padding: 28px 28px 32px; border: 1px solid var(--line); }
.deal-col small { margin-bottom: 0; }
.deal-art, .deal-money { height: 260px; display: flex; align-items: center; justify-content: center; margin: 20px 0 24px; }
.deal-art img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(16, 24, 40, .18)); }
.deal-cash { text-align: left; justify-content: flex-start; background: #fff; }
.deal-money { background: var(--soft); }
.deal-big { font-size: 52px !important; color: var(--ink); }
.deal-get { background: var(--ink); border-color: var(--ink); }
.deal-get .deal-art img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
.deal-op { border: 0; font-size: 40px; font-weight: 400; color: var(--ink); }
@media (max-width: 820px) {
  .deal { grid-template-columns: 1fr; }
  .deal-col { padding: 22px 22px 26px; }
  .deal-art, .deal-money { height: 200px; margin: 16px 0 18px; }
  .deal-op { height: 52px; border: 0; }
  .deal-big { font-size: 44px !important; }
}

/* Sell, Swap, Buy as little scenes on tinted tiles */
.way-art { position: relative; height: 340px; padding: 36px 24px 0; overflow: hidden; align-items: flex-end; justify-content: center; }
.way-sell { background: #EAF7EF; }
.way-swap { background: #FFEEF1; }
.way-buy { background: #EAF1FD; }
.way-art .wa-phone { max-height: 92%; max-width: 70%; object-fit: contain; margin-bottom: -18px; filter: drop-shadow(0 20px 28px rgba(16, 24, 40, .2)); }
.wa-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; background: #fff; box-shadow: 0 12px 30px -10px rgba(16, 24, 40, .3); white-space: nowrap; }
.wa-chip i { display: grid; place-items: center; width: 32px; height: 32px; flex: none; color: #fff; }
.wa-chip i .ic { width: 18px; height: 18px; }
.wa-chip > span { display: flex; flex-direction: column; line-height: 1.25; }
.wa-chip b { font-size: 15px; }
.wa-chip small { font-size: 13px; color: var(--muted); }
.wa-sold { left: 20px; top: 28px; }
.wa-sold i { background: var(--green); }
.wa-near { right: 20px; top: 28px; }
.wa-near i { background: #2F6FED; }
.wa-price { position: absolute; left: 20px; bottom: 28px; padding: 8px 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.way-swap { gap: 0; }
.way-swap .wa-phone { max-width: 38%; max-height: 82%; }
.way-swap .wa-left { transform: rotate(-6deg); }
.way-swap .wa-right { transform: rotate(6deg); }
.wa-swap { position: absolute; left: 50%; top: 42%; width: 52px; height: 52px; margin-left: -26px; display: grid; place-items: center; background: var(--coral); color: #fff; z-index: 2; box-shadow: 0 10px 24px -8px rgba(255, 56, 92, .6); }
.wa-swap .ic { width: 24px; height: 24px; stroke-width: 2.2; }
.reveal.seen .wa-chip, .reveal.seen .wa-price, .reveal.seen .wa-swap { animation: pop-in .6s var(--ease) .3s both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@media (max-width: 820px) { .way-art { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .reveal.seen .wa-chip, .reveal.seen .wa-price, .reveal.seen .wa-swap { animation: none; } }

.deal-money { flex-direction: column; gap: 18px; background: #FFEEF1; }
.deal-held { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: #fff; font-size: 14px; font-weight: 700; color: var(--ink); }
.deal-held .ic { width: 16px; height: 16px; color: var(--green); }

/* Top phone on small screens: no floating notes, caption never runs under the menu */
.a-cap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 820px) {
  .hero-art .pop { display: none; }
  .hero .phone { width: min(300px, 82vw); }
  .hero .a-photo { aspect-ratio: 4 / 4.2; }
  .hero { padding-bottom: 56px; }
  .hero-in { gap: 48px; }
}
@media (max-width: 820px) {
  .deal-art, .deal-money { height: 150px; margin: 12px 0 14px; }
  .deal-money { gap: 12px; }
  .deal-big { font-size: 38px !important; }
  .deal-op { height: 40px; font-size: 30px; }
  .way-art { height: 260px; }
}

/* Header: always a thin line under it. */
.nav, .nav.scrolled { border-bottom: 1px solid var(--line); }

/* Joined: a plain line where the form was; the thank you lives in the pop-up. */
.early-done { padding: 0; background: none; color: inherit; font-size: 17px; font-weight: 600; }
.early-done .ic { width: 22px; height: 22px; color: var(--green); }
.get .early-done { color: #fff; }

/* The pop-up after joining: thank you, then follow us. */
.joined { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(17, 19, 24, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.joined[hidden] { display: none; }
.joined-box { position: relative; width: 100%; max-width: 440px; padding: 44px 36px 28px; background: #fff; border-radius: var(--r); text-align: center; animation: joined-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes joined-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.joined-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; }
.joined-x:hover { color: var(--ink); }
.joined-x .ic { width: 22px; height: 22px; }
.joined-tick { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; background: var(--coral); color: #fff; border-radius: var(--r); }
.joined-tick .ic { width: 32px; height: 32px; stroke-width: 2.6; }
.joined h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.joined p { margin: 0 auto 28px; max-width: 320px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.joined-socials { display: grid; gap: 10px; }
.joined-socials a { height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; border-radius: var(--r); font-size: 16px; font-weight: 600; transition: background .15s; }
.joined-socials a:hover { background: #2A2D33; }
.joined-socials .ic { width: 20px; height: 20px; }
.joined-later { margin-top: 14px; height: 44px; padding: 0 16px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.joined-later:hover { color: var(--ink); }
@media (max-width: 520px) { .joined-box { padding: 40px 22px 20px; } .joined h2 { font-size: 25px; } }

/* Hero: the first post gets a like - the heart fills and the count ticks up. */
.a-like { display: inline-flex; align-items: center; gap: 4px; }
.a-like b { display: block; height: 15px; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 15px; }
.a-like i { display: block; font-style: normal; }
.a-post.on .a-like .ic { animation: a-like-ic .45s 1.4s both; }
.a-post.on .a-like i { animation: a-like-n .3s 1.4s both; }
@keyframes a-like-ic { 50% { transform: scale(1.3); } to { color: var(--coral); fill: var(--coral); } }
@keyframes a-like-n { to { transform: translateY(-100%); } }

/* The feed: like, save, follow, share. */
.feed { padding: 128px 0; }
.feed-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.fd-art { position: relative; display: flex; justify-content: center; padding: 40px 0; }
.fd-post { width: 100%; max-width: 380px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.fd-who { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.fd-who span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.fd-who b { font-size: 16px; }
.fd-who small { font-size: 13px; color: var(--muted); }
.fd-who em { font-style: normal; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: var(--r); background: var(--ink); color: #fff; }
.fd-photo { position: relative; display: block; aspect-ratio: 1 / 1; background: center / cover #f2f2f2; }
.fd-photo .a-price { left: 14px; bottom: 14px; padding: 6px 12px; font-size: 15px; border-radius: var(--r); }
.fd-acts { display: flex; align-items: center; gap: 18px; padding: 14px 18px 6px; }
.fd-acts > span { display: inline-flex; align-items: center; gap: 6px; }
.fd-acts b { font-size: 15px; }
.fd-acts .ic { width: 24px; height: 24px; }
.fd-liked .ic { color: var(--coral); fill: var(--coral); }
.fd-saved { margin-left: auto; }
.fd-saved .ic { fill: var(--ink); }
.fd-cap { margin: 0; padding: 4px 18px 18px; font-size: 15px; color: var(--text-2); }
.fd-cap b { color: var(--ink); }
.fd-note { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(17, 19, 24, .1); white-space: nowrap; }
.fd-note span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.fd-note b { font-size: 15px; }
.fd-note small { font-size: 13px; color: var(--muted); }
.fd-ic { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border-radius: var(--r); background: var(--coral); color: #fff; }
.fd-ic .ic { width: 19px; height: 19px; }
.fd-ic-ink { background: var(--ink); }
.fd-ic-green { background: var(--green); }
.fd-n1 { top: 25%; right: -6%; }
.fd-n2 { top: 47%; left: -8%; }
.fd-n3 { top: 66%; right: -4%; }
.fd-note { transition: opacity .5s, transform .5s; }
.feed.wait:not(.go) .fd-note { opacity: 0; transform: translateY(10px); }
.feed.go .fd-n2 { transition-delay: .35s; }
.feed.go .fd-n3 { transition-delay: .7s; }
.fd-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.fd-list li { display: flex; align-items: center; gap: 18px; }
.fd-list i { width: 52px; height: 52px; display: grid; place-items: center; flex: none; background: #FFEEF1; color: var(--coral); border-radius: var(--r); }
.fd-list i .ic { width: 24px; height: 24px; }
.fd-list span { display: flex; flex-direction: column; font-size: 17px; color: var(--muted); line-height: 1.35; }
.fd-list b { font-size: 20px; color: var(--ink); letter-spacing: -.01em; }

@media (max-width: 820px) {
  .feed { padding: 80px 0; }
  .feed-in { grid-template-columns: 1fr; gap: 40px; }
  .feed .split-text { order: -1; }
  .fd-art { flex-direction: column; align-items: center; gap: 10px; padding: 0; }
  .fd-post { max-width: 340px; }
  /* On phones the notes sit neatly under the post, never on top of it. */
  .fd-note { position: static; width: 100%; max-width: 340px; box-shadow: none; }
  .fd-list b { font-size: 18px; }
  .fd-list span { font-size: 16px; }
}

/* Sell / Swap / Buy: a soft light background, each way a white card. */
.ways { background: var(--soft); }
.ways-grid { gap: 24px; }
.way, .way:first-child, .way:last-child { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 0 0 36px; }
.way .way-art { margin: 0 0 32px; border-radius: 0; }
.way h2, .way > p { padding: 0 32px; }
@media (max-width: 820px) {
  .way, .way:first-child, .way:last-child { padding-bottom: 28px; }
  .way h2, .way > p { padding: 0 22px; }
  .way .way-art { margin-bottom: 24px; }
}

/* People: a profile with followers, reviews and a collection of phones. */
.pf { width: 100%; max-width: 400px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 24px; }
.pf-head { display: flex; align-items: center; gap: 14px; }
.pf-av { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--coral); color: #fff; font-size: 20px; font-weight: 700; }
.pf-name { display: flex; flex-direction: column; flex: 1; line-height: 1.3; min-width: 0; }
.pf-name b { font-size: 19px; letter-spacing: -.01em; }
.pf-name small { font-size: 14px; color: var(--muted); }
.pf-head em { font-style: normal; font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: var(--r); background: var(--ink); color: #fff; }
.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 22px; border: 1px solid var(--line); border-radius: var(--r); }
.pf-stats span { display: flex; flex-direction: column; align-items: center; padding: 12px 4px; font-size: 13px; color: var(--muted); }
.pf-stats span + span { border-left: 1px solid var(--line); }
.pf-stats b { font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.pf-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pf-grid span { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); background: center / cover #f2f2f2; }
.pf-grid i { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--r); background: rgba(0, 0, 0, .62); color: #fff; font-style: normal; font-size: 12.5px; font-weight: 700; }
.pf-grid i .ic { width: 13px; height: 13px; fill: currentColor; }
.fd-ic-gold { background: #F5A524; }
.fd-ic-gold .ic { width: 18px; height: 18px; }
.fd-n1 { top: 30%; right: -10%; }
.fd-n2 { top: 50%; left: -10%; }
.fd-n3 { top: 76%; right: -10%; }
.fd-list { gap: 20px; }
@media (max-width: 820px) {
  .pf { max-width: 340px; padding: 18px; }
  .pf-av { width: 50px; height: 50px; font-size: 17px; }
  .fd-n1, .fd-n2, .fd-n3 { top: auto; left: auto; right: auto; }
}
.pf-name b { display: inline-flex; align-items: center; gap: 6px; }
.pf-ok { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; background: #2E6BE6; color: #fff; }
.pf-ok .ic { width: 12px; height: 12px; stroke-width: 3; }
.fd-list i .ic[viewBox] { }
.pf-grid i.pf-match { background: var(--coral); }
.pf-grid i.pf-match .ic { fill: none; }
.fd-ic-gold .ic { fill: none; }

/* Hero posts: clean cut out phones on soft studio colours, one post at a time. */
.a-photo.a-cut { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.a-cut img { height: 88%; max-width: 78%; object-fit: contain; margin-bottom: -6%; filter: drop-shadow(0 16px 22px rgba(16, 24, 40, .22)); }
.a-cut-warm { background: linear-gradient(160deg, #FBEFE6, #F1DDCD); }
.a-cut-cool { background: linear-gradient(160deg, #EEF2F7, #DCE3EC); }
.a-cut-pink { background: linear-gradient(160deg, #F7EEF6, #E8DCEB); }
.a-post { transition: opacity .35s ease; }
.a-post.on { transition-delay: .35s; }

/* The phone, as the app is now: glass top controls, All Buy Swap Matches, a docked bar with the coral plus. */
.a-top { gap: 6px; padding: 4px 9px 8px; }
.a-circle { width: 34px; height: 34px; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 .75px rgba(0, 0, 0, .1), 0 3px 8px rgba(0, 0, 0, .14); color: #111827; }
.a-tabs { height: 34px; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 .75px rgba(0, 0, 0, .1), 0 3px 8px rgba(0, 0, 0, .14); }
.a-tabs i { font-size: 10.5px; font-weight: 500; color: rgba(17, 24, 39, .75); }
.a-tabs i.on { font-weight: 600; }
.a-who b { font-size: 11.5px; font-weight: 600; color: #181D27; }
.a-who small { font-size: 9px; color: #717680; }
.a-who em { font-size: 11.5px; font-weight: 600; }
.a-av { width: 28px; height: 28px; font-size: 10px; }
.a-tag { border-radius: 5px; color: #1C1C1C; font-size: 9.5px; padding: 3px 8px; }
.a-price { border-radius: 5px; background: rgba(0, 0, 0, .6); font-size: 11.5px; padding: 4px 9px; }
.a-acts { gap: 10px; padding: 7px 9px 3px; color: #181D27; }
.a-acts > span { display: inline-flex; align-items: center; gap: 4px; }
.a-acts > span > b { font-size: 11px; font-weight: 600; }
.a-acts .ic { width: 19px; height: 19px; }
.a-acts em { font-size: 11.5px; }
.a-cap { padding: 0 11px; font-size: 11px; color: #181D27; }
.a-cap b { font-weight: 600; }
.a-more, .a-when { margin: 0; padding: 0 11px; color: #717680; font-size: 10.5px; }
.a-more { margin-top: 5px; }
.a-when { margin-top: 2px; font-size: 9px; }
.a-like b { height: 14px; line-height: 14px; font-size: 11px; font-weight: 600; }
.a-dock { height: 64px; padding: 0 4px 12px; border-top: .5px solid #E5E5EA; }
.a-dock i { color: rgba(0, 0, 0, .55); }
.a-dock i span { font-size: 8.5px; font-weight: 500; }
.a-dock i.on span { font-weight: 600; }
.a-dock .ic { width: 20px; height: 20px; }
.a-dock-plus b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; }
.a-dock-plus b .ic { width: 18px; height: 18px; }
.a-photo.a-cut { align-items: center; }
.a-cut img { height: 80%; max-width: 70%; margin-bottom: 0; }

/* Instant matches: light background so it stands apart from the people section */
.split-soft { background: var(--soft); }
.split-soft .mt { background: #fff; }

/* Value my phone: the main button, and the pop-up with the app's questions */
.btn-big { height: 60px; padding: 0 36px; font-size: 17px; }
.get .btn-big { background: var(--coral); }
.vm { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(17, 19, 24, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.vm[hidden], .vm-step[hidden] { display: none; }
.vm-box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 16px 32px 32px; background: #fff; border-radius: var(--r); animation: joined-in .28s var(--ease); overscroll-behavior: contain; }
.vm-head { position: sticky; top: -16px; z-index: 1; display: flex; align-items: center; gap: 12px; margin: -16px -32px 20px; padding: 12px 16px; background: #fff; }
.vm-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
.vm-icon[hidden] { display: grid; visibility: hidden; }
.vm-icon .ic { width: 22px; height: 22px; }
.vm-bar { flex: 1; height: 4px; background: var(--soft); border-radius: 2px; overflow: hidden; }
.vm-bar i { display: block; height: 100%; width: 20%; background: var(--coral); transition: width .3s var(--ease); }
.vm h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.vm-sub { margin: 0 0 24px; color: var(--muted); font-size: 16px; }
.vm-input { display: block; width: 100%; height: 56px; margin-bottom: 12px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.vm-input:focus { outline: 0; border-color: var(--ink); }
select.vm-input { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111318' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.vm-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-2); }
.vm-label .vm-input { margin-top: 6px; }
.vm-go { width: 100%; margin-top: 8px; }
.vm-go:disabled { opacity: .4; cursor: default; }
.vm-link { display: block; margin: 14px auto 0; padding: 8px 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vm-link:hover { color: var(--ink); }
.vm-error { margin: 4px 0 8px; font-size: 14px; color: #D92D20; }
.vm-fine { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.vm-fine a { color: inherit; text-decoration: underline; }
.vm-phone { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding: 14px 16px; background: var(--soft); border-radius: var(--r); }
.vm-phone span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.vm-phone small { font-size: 13px; color: var(--muted); }
.vm-phone b { font-size: 18px; }
.vm-phone .vm-link { margin: 0; padding: 4px; }
.vm-tick { width: 56px; height: 56px; margin-bottom: 20px; display: grid; place-items: center; background: var(--coral); color: #fff; border-radius: var(--r); }
.vm-tick .ic { width: 28px; height: 28px; stroke-width: 2.6; }
.vm-wait { padding: 40px 0 32px; text-align: center; }
.vm-spin { display: block; width: 44px; height: 44px; margin: 0 auto 24px; border: 3px solid var(--soft); border-top-color: var(--coral); border-radius: 50%; animation: vm-spin .8s linear infinite; }
@keyframes vm-spin { to { transform: rotate(360deg); } }
.vm-done { text-align: center; }
.vm-worth { margin: 8px 0 4px; font-size: 17px; color: var(--text-2); }
.vm-price { display: block; font-size: 52px; line-height: 1.1; letter-spacing: -.03em; }
.vm-range { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.vm-why { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.vm-why:empty { display: none; }
.vm-why li { padding: 6px 12px; background: var(--soft); border-radius: var(--r); font-size: 14px; color: var(--text-2); }
.vm-list { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.vm-list h3 { margin: 0 0 6px; font-size: 20px; }
.vm-list p { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
@media (max-width: 640px) {
  .vm { padding: 0; place-items: end stretch; }
  .vm-box { max-width: none; max-height: 92vh; max-height: 92dvh; padding: 16px 20px 28px; }
  .vm-head { margin: -16px -20px 16px; padding: 10px 8px; }
  .vm h2 { font-size: 24px; }
  .vm-price { font-size: 44px; }
  .hero .btn-big { width: 100%; }
}

/* Value my phone: every question a dropdown, long lists searchable */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 20px; }
.dd { position: relative; min-width: 0; }
.dd[hidden] { display: none; }
.dd-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-wide .dd-label { display: none; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 52px; padding: 0 12px 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; font-size: 16px; text-align: left; cursor: pointer; transition: border-color .15s; }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--ink); }
.dd-wide .dd-btn { height: 56px; font-size: 17px; }
.dd-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-val.is-empty { color: var(--muted); }
.dd-chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .15s; }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd.miss .dd-btn { border-color: #D92D20; }
.dd.miss .dd-label { color: #D92D20; }
.dd-pop { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; width: 100%; min-width: 220px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 12px 32px rgba(17, 19, 24, .14); overflow: hidden; }
.dd-pop[hidden] { display: none; }
.vm-grid .dd:nth-child(even) .dd-pop { left: auto; right: 0; }
.dd-wide .dd-pop { position: static; margin-top: 8px; box-shadow: none; }
.dd-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.dd-search .ic { width: 18px; height: 18px; flex: none; }
.dd-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; }
.dd-search input::-webkit-search-cancel-button { display: none; }
.dd-list { margin: 0; padding: 6px 0; list-style: none; max-height: 248px; overflow-y: auto; overscroll-behavior: contain; }
.dd-wide .dd-list { max-height: 320px; }
.dd-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; font-size: 15px; cursor: pointer; }
.dd-list li[hidden] { display: none; }
.dd-list li:hover { background: var(--soft); }
.dd-list li span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex: 1; min-width: 0; }
.dd-list li small { font-size: 13px; color: var(--muted); white-space: nowrap; }
.dd-tick { width: 18px; height: 18px; flex: none; color: var(--coral); visibility: hidden; }
.dd-list li.on { font-weight: 600; }
.dd-list li.on .dd-tick { visibility: visible; }
.dd-none { margin: 0; padding: 14px; font-size: 14px; color: var(--muted); }
.dd-none[hidden] { display: none; }
@media (max-width: 640px) {
  .vm-grid { gap: 14px 10px; }
  .dd-btn { height: 50px; font-size: 15px; padding: 0 10px 0 12px; }
  .dd-pop { min-width: 0; }
}

/* A text link to Value my phone in every section without a button */
.text-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 20px; padding: 6px 0; border: 0; background: none; color: var(--coral); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.text-cta .ic { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .15s; }
.text-cta:hover { color: var(--coral-deep); }
.text-cta:hover .ic { transform: translateX(3px); }
.way .text-cta { margin-top: 12px; font-size: 16px; }
.split-text .text-cta, .up-head .text-cta { margin-top: 24px; }
.fd-list + .text-cta { margin-top: 28px; }
.safe-cta, .how-cta { margin-top: 32px; }
.safe-dark .text-cta { color: #fff; }
.safe-dark .text-cta:hover { color: rgba(255, 255, 255, .8); }
/* Where each phone is: a real person near you */
.deal-city { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.deal-city .ic { width: 16px; height: 16px; color: var(--coral); }
.deal-get .deal-city { color: rgba(255, 255, 255, .85); }
.dd-wide .dd-btn { display: none; }
.dd-wide .dd-pop { margin-top: 0; border-color: var(--line-2); }
.dd-wide .dd-search { height: 56px; border-bottom-color: var(--line-2); }
.dd-wide .dd-search input { font-size: 17px; }
.dd-own { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.dd-own[hidden] { display: none; }
.dd-own:hover { background: var(--soft); }
.dd-own small { font-size: 13px; color: var(--muted); }
.dd-own b { font-size: 16px; color: var(--coral); }
/* The link lines up with the title and text above it */
.way .text-cta { align-self: flex-start; margin: 16px 32px 0; }
@media (max-width: 820px) { .way .text-cta { margin: 14px 22px 0; } }
/* The phone list: taller, under brand headings */
.dd-wide .dd-list { max-height: min(56vh, 480px); max-height: min(56dvh, 480px); padding-top: 0; }
.dd-list .dd-group { display: block; position: sticky; top: 0; z-index: 1; padding: 12px 14px 6px; background: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: default; }
.dd-list .dd-group:hover { background: #fff; }
.dd-list .dd-group[hidden] { display: none; }
.dd-brand { margin-bottom: 12px; }
.dd-brand .dd-label { display: none; }
.vm-other { margin-top: -2px; }
.vm-model { margin-top: 4px; }
.vm-step[data-step="add"] .vm-go { margin-top: 12px; }
/* Footer: where to follow us */
.foot-social { display: flex; gap: 8px; margin-left: auto; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); transition: border-color .15s, background .15s; }
.foot-social a:hover { border-color: var(--ink); }
.foot-social .ic { width: 18px; height: 18px; }
.foot-social + nav { margin-left: 24px; }
@media (max-width: 820px) { .foot-social { margin-left: 0; } .foot-social + nav { margin-left: 0; } }
.vm-grid .dd-span { grid-column: 1 / -1; }
.vm-grid .dd-span .dd-pop { left: 0; right: 0; width: 100%; }
/* First step: brand, then its model */
.dd-pick + .dd-pick { margin-top: 14px; }
.dd-pick .dd-btn { height: 56px; font-size: 17px; }
.dd-pick .dd-list { max-height: min(46vh, 380px); max-height: min(46dvh, 380px); }
.dd.off .dd-btn { background: var(--soft); border-color: var(--line); cursor: default; }
.dd.off .dd-chev { opacity: .4; }
.dd-pick .dd-pop { position: static; margin-top: 8px; box-shadow: none; }
.vm-step[data-step="what"] { min-height: 0; }
