:root {
  --pai-red: #8d1012;
  --pai-red-bright: #a7191d;
  --black: #050505;
  --ink: #171412;
  --paper: #f6f2ee;
  --muted: #7b736d;
  --line: rgba(23, 20, 18, 0.14);
  --serif: "Iowan Old Style", "Baskerville", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 18px 28px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  color: var(--pai-red-bright);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.58);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  font-size: 13px;
  font-weight: 600;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.58);
  color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.language-switcher button {
  min-width: 34px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-switcher button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  background: var(--pai-red);
  color: #fff;
  box-shadow: 0 16px 36px rgba(141, 16, 18, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.button.full {
  width: 100%;
  border-radius: 10px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.44) 48%, rgba(0, 0, 0, 0.74) 100%),
    url("assets/hero-creator-city.png") center / cover no-repeat;
  filter: saturate(0.82) contrast(1.06);
  transform: scale(1.02);
}

.hero-shade {
  background:
    radial-gradient(circle at 67% 42%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.86));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 360px;
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  width: min(1120px, calc(100% - 56px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 110px 0 64px;
}

.hero-copy {
  max-width: 610px;
}

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

h1 {
  margin-bottom: 28px;
  color: #fff;
  font-family: var(--serif);
  font-size: 82px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.99;
}

html[lang="zh-Hant"] h1,
html[lang="zh-Hans"] h1 {
  font-size: 74px;
  line-height: 1.06;
}

html[lang="zh-Hant"] h2,
html[lang="zh-Hans"] h2 {
  font-size: 0.9em;
  line-height: 1.08;
}

html[lang="zh-Hant"] h3,
html[lang="zh-Hans"] h3 {
  font-size: 0.94em;
  font-weight: 600;
}

.hero-copy p {
  max-width: 500px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.5;
}

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

.phone-shell {
  position: relative;
  overflow: hidden;
  border: 7px solid #111;
  border-radius: 42px;
  background: #f6f2ee;
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 30px 80px rgba(0, 0, 0, 0.36);
}

.phone-shell::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 50%;
  width: 104px;
  height: 24px;
  border-radius: 999px;
  background: #0b0b0b;
  transform: translateX(-50%);
}

.phone-shell::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 10px;
  width: 118px;
  height: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.28);
  transform: translateX(-50%);
}

.hero-phone {
  width: 326px;
  min-height: 652px;
  padding: 42px 17px 28px;
  border-radius: 44px;
}

.phone-top,
.app-title-row,
.chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-top {
  margin-bottom: 17px;
  font-size: 13px;
  font-weight: 700;
}

.app-title-row {
  margin-bottom: 13px;
}

.app-title-row strong {
  font-size: 19px;
  font-weight: 600;
}

.app-title-row button {
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 44%, #222 44% 56%, transparent 56%),
    linear-gradient(#222 44%, transparent 44% 56%, #222 56%);
}

.chip-row {
  justify-content: flex-start;
  gap: 7px;
  margin-bottom: 14px;
}

.chip-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8e2db;
  color: #5c554e;
  font-size: 11px;
  font-weight: 550;
}

.chip-row .active {
  background: #050505;
  color: #fff;
}

.mini-map {
  position: relative;
  height: 250px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 21px;
  background:
    linear-gradient(28deg, transparent 47%, rgba(60, 60, 60, 0.12) 48% 52%, transparent 53%),
    linear-gradient(118deg, transparent 48%, rgba(60, 60, 60, 0.12) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(60, 60, 60, 0.1) 49% 51%, transparent 52%),
    #e8e3dc;
  background-size: 110px 110px, 120px 120px, 100% 64px, auto;
}

.mini-map.tall {
  height: 206px;
}

.pin,
.current {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.pin {
  width: 17px;
  height: 17px;
  background: var(--pai-red);
  box-shadow: 0 0 0 4px rgba(141, 16, 18, 0.12);
}

.current {
  width: 19px;
  height: 19px;
  background: #4d8cff;
  box-shadow: 0 0 0 6px rgba(77, 140, 255, 0.16);
}

.p1 { left: 16%; top: 24%; }
.p2 { left: 62%; top: 22%; }
.p3 { left: 74%; top: 58%; }
.p4 { left: 30%; top: 72%; }
.current { left: 48%; top: 48%; }

.spot-card {
  position: absolute;
  right: 17px;
  bottom: 26px;
  left: 17px;
  overflow: hidden;
  display: grid;
  min-height: 166px;
  align-items: end;
  border-radius: 24px;
  color: #fff;
  isolation: isolate;
}

.spot-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.spot-card div {
  padding: 18px;
}

.spot-card h2 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 550;
  line-height: 1;
}

.spot-card p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.section {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-label {
  margin-bottom: 16px;
  color: var(--pai-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  margin-bottom: 58px;
}

.section-heading.narrow {
  display: block;
  max-width: 560px;
}

.section h2,
.cities h2,
.beta h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

html[lang="zh-Hant"] .section h2,
html[lang="zh-Hant"] .cities h2,
html[lang="zh-Hant"] .beta h2,
html[lang="zh-Hans"] .section h2,
html[lang="zh-Hans"] .cities h2,
html[lang="zh-Hans"] .beta h2 {
  font-size: 58px;
  line-height: 1.08;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-grid article {
  min-height: 240px;
  padding: 34px 28px;
  border-left: 1px solid var(--line);
}

.problem-grid article:first-child {
  border-left: 0;
}

.problem-grid h3 {
  margin: 22px 0 12px;
  font-size: 19px;
  font-weight: 700;
}

html[lang="zh-Hant"] .problem-grid h3,
html[lang="zh-Hans"] .problem-grid h3 {
  font-size: 17px;
  font-weight: 600;
}

.problem-grid p,
.solution-copy p,
.data-copy p,
.section-heading.narrow p,
.cities-intro,
.beta-copy p,
.site-footer p {
  color: var(--muted);
  font-weight: 450;
  line-height: 1.65;
}

.line-icon {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
}

.companion {
  border-top: 1px solid var(--line);
}

.companion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.companion-grid article {
  min-height: 250px;
  padding: 32px 28px;
  border-left: 1px solid var(--line);
}

.companion-grid article:first-child {
  border-left: 0;
}

.companion-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--pai-red);
  font-size: 12px;
  font-weight: 700;
}

.companion-grid h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
}

html[lang="zh-Hant"] .companion-grid h3,
html[lang="zh-Hans"] .companion-grid h3 {
  font-size: 19px;
  font-weight: 600;
}

.companion-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 450;
  line-height: 1.65;
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  border: 2px solid var(--ink);
}

.line-icon.location::before {
  left: 9px;
  top: 2px;
  width: 17px;
  height: 22px;
  border-radius: 60% 60% 60% 0;
  transform: rotate(-45deg);
}

.line-icon.location::after {
  left: 15px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.line-icon.sun::before {
  left: 9px;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.line-icon.sun::after {
  inset: 0;
  border-width: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) center 0 / 2px 7px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center bottom / 2px 7px no-repeat,
    linear-gradient(90deg, var(--ink), var(--ink)) left center / 7px 2px no-repeat,
    linear-gradient(90deg, var(--ink), var(--ink)) right center / 7px 2px no-repeat;
}

.line-icon.route::before {
  left: 4px;
  top: 9px;
  width: 25px;
  height: 16px;
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 18px;
}

.line-icon.route::after {
  right: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.line-icon.person::before {
  left: 12px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.line-icon.person::after {
  left: 6px;
  bottom: 1px;
  width: 22px;
  height: 14px;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.solution {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(34px, 4.8vw, 58px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.solution-copy h2 {
  margin-bottom: 24px;
}

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

.module-phone {
  width: min(100%, 246px);
  min-height: 456px;
  justify-self: center;
  padding: 44px 17px 22px;
  border-width: 5px;
  border-radius: 34px;
  box-shadow: 0 22px 50px rgba(35, 28, 24, 0.16);
}

.module-phone::before {
  top: 10px;
  width: 78px;
  height: 18px;
}

.module-phone::after {
  bottom: 8px;
  width: 86px;
  height: 3px;
}

.module-phone h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 550;
  line-height: 1;
}

.module-phone p {
  margin-bottom: 12px;
  color: #625a53;
  font-size: 12px;
  line-height: 1.42;
}

.step {
  position: absolute;
  z-index: 5;
  top: 13px;
  left: 16px;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--pai-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.compact-card,
.creator-profile,
.route-list li {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(30, 24, 20, 0.08);
}

.compact-card {
  margin-top: 10px;
  padding: 13px;
}

.compact-card strong,
.compact-card span {
  display: block;
}

.compact-card strong {
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 600;
}

.compact-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.route-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.route-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px;
}

.route-list span {
  color: var(--pai-red);
  font-size: 12px;
  font-weight: 700;
}

.route-list strong,
.route-list em {
  display: block;
}

.route-list em {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.creator-profile {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.creator-profile img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.creator-profile strong,
.creator-profile span,
.creator-profile small {
  display: block;
}

.creator-profile span,
.creator-profile small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.mini-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--pai-red);
  color: #fff;
  font-weight: 700;
}

.cities {
  background: #050505;
  color: #fff;
}

.cities-inner {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 150px) 0;
}

.cities h2 {
  margin-bottom: 20px;
  color: #fff;
}

.cities-intro {
  max-width: 580px;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.7);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.city-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 340px;
  align-content: space-between;
  padding: 30px;
  border-radius: 8px;
  isolation: isolate;
}

.city-card::before,
.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.city-card::before {
  background: var(--city-image) var(--city-position, center) / cover no-repeat;
  filter: saturate(0.9);
}

.city-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.76));
}

.city-card.taipei { --city-image: url("assets/taipei-101-card.png"); }
.city-card.london { --city-image: url("assets/london-landmark-card.png"); }
.city-card.seoul {
  --city-image: url("assets/seoul-card.png");
  --city-position: 62% center;
}

.city-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 550;
  line-height: 1;
}

html[lang="zh-Hant"] .city-card h3,
html[lang="zh-Hans"] .city-card h3 {
  font-size: 34px;
}

.city-card p {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.city-card a {
  justify-self: start;
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
}

.city-recruit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.city-recruit-grid span {
  min-height: 84px;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.city-recruit-grid span:nth-child(4n + 1) {
  border-left: 0;
}

.city-recruit-grid span:nth-child(n + 5) {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.data {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 64px;
  align-items: start;
}

.data-copy h2 {
  margin-bottom: 28px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--pai-red);
  font-weight: 700;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-grid article {
  min-height: 280px;
  padding: 28px 20px;
  border-left: 1px solid var(--line);
}

.data-grid article:first-child {
  border-left: 0;
}

.data-grid span {
  display: block;
  margin-bottom: 40px;
  color: var(--pai-red);
  font-size: 12px;
  font-weight: 700;
}

.data-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.data-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.55;
}

.photographer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.photographer-strip article {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(42, 32, 24, 0.12);
}

.photographer-strip img {
  width: 100%;
  height: 226px;
  object-fit: cover;
}

.photographer-strip h3,
.photographer-strip p,
.photographer-strip strong {
  margin-left: 18px;
  margin-right: 18px;
}

.photographer-strip h3 {
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 700;
}

html[lang="zh-Hant"] .photographer-strip h3,
html[lang="zh-Hans"] .photographer-strip h3 {
  font-size: 18px;
  font-weight: 600;
}

.photographer-strip p {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 450;
}

.photographer-strip strong {
  display: block;
  margin-bottom: 18px;
  color: var(--pai-red);
  font-size: 14px;
  font-weight: 700;
}

.beta {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: center;
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto 44px;
  padding: 48px;
  border-radius: 16px;
  background: #050505;
  color: #fff;
}

.beta-image {
  min-height: 290px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.64)),
    url("assets/london-friends-shoot.png") center / cover no-repeat;
}

.beta h2 {
  color: #fff;
  font-size: 58px;
}

.beta-copy p {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.signup-form {
  padding-left: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hidden-field {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.signup-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.signup-form input,
.signup-form select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 14px;
  outline: 0;
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.signup-form select {
  color-scheme: dark;
}

.form-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 450;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  justify-self: center;
  margin-bottom: 0;
}

.site-footer > a:last-child {
  color: var(--pai-red);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .language-switcher {
    justify-self: end;
  }

  .hero-content,
  .solution,
  .data,
  .beta {
    grid-template-columns: 1fr;
  }

  .hero-content {
    justify-items: center;
    text-align: center;
  }

  h1 {
    font-size: 64px;
  }

  html[lang="zh-Hant"] h1,
  html[lang="zh-Hans"] h1 {
    font-size: 56px;
  }

  .section h2,
  .cities h2,
  .beta h2 {
    font-size: 58px;
  }

  html[lang="zh-Hant"] .section h2,
  html[lang="zh-Hant"] .cities h2,
  html[lang="zh-Hant"] .beta h2,
  html[lang="zh-Hans"] .section h2,
  html[lang="zh-Hans"] .cities h2,
  html[lang="zh-Hans"] .beta h2 {
    font-size: 52px;
  }

  .hero-copy p,
  .cities-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .mockup-row {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .data-grid {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
  }

  .beta {
    gap: 26px;
  }

  .signup-form {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    inset: 14px 16px auto;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .brand {
    font-size: 26px;
  }

  .header-cta {
    max-width: 132px;
    min-height: 40px;
    overflow: hidden;
    padding: 0 12px;
    font-size: 10px;
  }

  .language-switcher {
    padding: 4px;
  }

  .language-switcher button {
    min-width: 30px;
    height: 28px;
    font-size: 11px;
  }

  .hero-content {
    width: min(100% - 32px, 520px);
    padding: 92px 0 44px;
  }

  h1 {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    font-size: 42px;
    letter-spacing: 0;
  }

  html[lang="zh-Hant"] h1,
  html[lang="zh-Hans"] h1 {
    max-width: 300px;
    font-size: 36px;
  }

  .hero-copy p {
    max-width: 320px;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-actions .button {
    width: min(100%, 260px);
  }

  .hero-phone {
    width: min(100%, 280px);
    min-height: 590px;
  }

  .section,
  .cities-inner,
  .beta,
  .site-footer {
    width: min(100% - 32px, 560px);
  }

  .section-heading,
  .problem-grid,
  .companion-grid,
  .city-grid,
  .city-recruit-grid,
  .photographer-strip,
  .form-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section h2,
  .cities h2,
  .beta h2 {
    font-size: 46px;
  }

  html[lang="zh-Hant"] .section h2,
  html[lang="zh-Hant"] .cities h2,
  html[lang="zh-Hant"] .beta h2,
  html[lang="zh-Hans"] .section h2,
  html[lang="zh-Hans"] .cities h2,
  html[lang="zh-Hans"] .beta h2 {
    font-size: 38px;
  }

  .problem-grid article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .problem-grid article:first-child {
    border-top: 0;
  }

  .companion-grid article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .companion-grid article:first-child {
    border-top: 0;
  }

  .mockup-row {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .module-phone {
    width: min(100%, 280px);
  }

  .cities-inner {
    padding: 76px 0;
  }

  .city-card {
    min-height: 280px;
  }

  .city-recruit-grid span,
  .city-recruit-grid span:nth-child(4n + 1) {
    min-height: 64px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 28px;
  }

  .city-recruit-grid span:first-child {
    border-top: 0;
  }

  .data-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .data-grid article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .data-grid article:first-child {
    border-top: 0;
  }

  .data-grid span {
    margin-bottom: 18px;
  }

  .photographer-strip img {
    height: 240px;
  }

  .beta {
    padding: 24px;
  }

  .beta-image {
    min-height: 220px;
  }

  .site-footer {
    justify-items: start;
  }

  .site-footer p {
    justify-self: start;
  }
}
