:root {
  --ink: #0a0b0d;
  --muted: #5b616e;
  --paper: #ffffff;
  --surface: #eef0f3;
  --line: rgba(91, 97, 110, 0.2);
  --accent: #0052ff;
  --accent-dark: #003dbf;
  --hover-blue: #578bfa;
  --dark-card: #282b31;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(10, 11, 13, 0.09);
  color-scheme: light;
  font-family:
    CoinbaseSans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-width: 320px;
  text-rendering: geometricPrecision;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(10, 11, 13, 0.06);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 100000px;
  background: var(--accent);
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.header-action {
  justify-self: end;
  border: 1px solid var(--accent);
  border-radius: 56px;
  padding: 10px 18px;
  color: var(--accent);
  font-weight: 750;
  font-size: 14px;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.header-action:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: var(--white);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.locale-switch {
  position: relative;
}

.locale-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 56px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 820;
}

.locale-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.locale-option {
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 780;
  text-align: left;
}

.locale-option:hover,
.locale-option.is-active {
  background: rgba(0, 82, 255, 0.1);
  color: var(--accent-dark);
}

.muted-action {
  border-color: var(--line);
  color: var(--muted);
}

.user-pill {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 56px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 104px clamp(18px, 6vw, 72px) 48px;
  background: var(--paper);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
  opacity: 0.42;
  filter: grayscale(1) contrast(1.05);
  animation: imageSettle 1200ms ease both;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.5)),
    linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.12) 58%);
}

.hero-content {
  width: min(1080px, 100%);
  color: var(--ink);
  animation: riseIn 650ms ease 120ms both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(68px, 10vw, 132px);
  line-height: 1;
  letter-spacing: 0;
  font-family:
    CoinbaseDisplay, CoinbaseSans, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 500;
}

.hero-copy {
  max-width: 660px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.5;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(3, minmax(128px, 1fr)) auto;
  gap: 10px;
  width: min(1040px, 100%);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.search-field {
  display: grid;
  gap: 6px;
  padding: 6px 10px;
  border-right: 1px solid var(--line);
}

.search-field span,
.post-form label,
.post-form label > span,
.filter-block h3 {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.search-field input,
.search-field select,
.post-form input,
.post-form select,
.post-form textarea {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
}

.search-field input,
.search-field select {
  min-height: 30px;
  font-weight: 750;
}

.search-button,
.primary-button,
.ghost-button,
.save-button,
.toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 56px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.primary-button:disabled,
.search-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.search-button svg,
.primary-button svg,
.ghost-button svg,
.save-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.search-button,
.primary-button {
  background: var(--accent);
  color: var(--white);
  padding: 0 20px;
}

.search-button:hover,
.primary-button:hover,
.ghost-button:hover,
.save-button:hover,
.toggle:hover {
  transform: translateY(-1px);
}

.search-button:hover,
.primary-button:hover {
  background: var(--hover-blue);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: -1px auto 0;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  background: var(--paper);
}

.quick-stats div {
  padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.quick-stats strong {
  display: block;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.quick-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.workspace,
.category-band,
.story-section,
.post-section {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 6vw, 72px);
}

.workspace-head,
.category-band,
.story-section,
.post-section {
  max-width: 1200px;
  margin: 0 auto;
}

.workspace-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: 0;
  font-family:
    CoinbaseDisplay, CoinbaseSans, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 500;
}

.section-kicker {
  color: var(--accent);
}

.toggle-group {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 56px;
  background: var(--white);
}

.toggle {
  min-width: 66px;
  min-height: 38px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
}

.toggle.is-active {
  background: var(--accent);
  color: var(--white);
}

.jobs-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(20px, 3.6vw, 36px);
}

.filter-rail {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  padding: 4px 0 0;
}

.filter-toggle {
  display: none;
}

.filter-options {
  display: grid;
  gap: 26px;
}

.filter-block {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.filter-block h3 {
  margin: 0;
}

.filter-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.filter-block a {
  display: inline-flex;
  width: fit-content;
  color: var(--accent);
  font-weight: 800;
}

.filter-block label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.filter-block input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.ghost-button,
.save-button {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.ghost-button {
  width: 100%;
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.workspace-copy {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.jobs-page-only {
  padding-top: 118px;
}

.jobs-page-only h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1;
  letter-spacing: 0;
}

.list-search {
  max-width: 1200px;
  margin: 0 auto 28px;
}

.featured-layout {
  grid-template-columns: 230px minmax(0, 1fr);
}

.load-more {
  width: min(260px, 100%);
  margin: 22px auto 0;
}

.auto-scroll-rail {
  position: relative;
  overflow: hidden;
}

.auto-scroll-rail::before,
.auto-scroll-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(24px, 6vw, 72px);
  pointer-events: none;
}

.auto-scroll-rail::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(255, 255, 255, 0));
}

.auto-scroll-rail::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(255, 255, 255, 0));
}

.auto-scroll-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: autoRail 30s linear infinite;
  will-change: transform;
}

.auto-scroll-rail:hover .auto-scroll-track {
  animation-play-state: paused;
}

.job-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(720px, 82vw);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.job-list::-webkit-scrollbar {
  display: none;
}

.job-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  gap: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.job-item:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.job-meta,
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.badge,
.job-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.badge {
  background: rgba(0, 82, 255, 0.1);
  color: var(--accent-dark);
}

.freshness {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.job-item h3 {
  margin: 14px 0 8px;
  font-size: clamp(21px, 2.8vw, 31px);
  line-height: 1.12;
}

.job-title-link:hover {
  color: var(--accent);
}

.job-desc {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.job-tags span {
  background: var(--surface);
  color: var(--muted);
}

.job-side {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 10px;
  text-align: right;
}

.job-pay {
  font-size: 25px;
}

.job-location {
  color: var(--muted);
  font-weight: 760;
}

.save-button {
  min-width: 104px;
  margin-top: 10px;
  padding: 0 13px;
}

.save-button.is-saved {
  border-color: rgba(0, 82, 255, 0.25);
  background: rgba(0, 82, 255, 0.1);
  color: var(--accent-dark);
}

.category-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.category-copy {
  position: sticky;
  top: 106px;
}

.category-copy p:not(.section-kicker),
.story-copy p,
.post-intro p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.category-grid {
  display: flex;
  gap: 12px;
}

.category-tile {
  width: min(330px, calc(100vw - 58px));
  flex: 0 0 auto;
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  border: 0;
  color: var(--white);
  background: var(--dark-card);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tile-image) center / cover;
  opacity: 0.28;
  transition: transform 500ms ease;
}

.category-tile:hover::before {
  transform: scale(1.07);
}

.category-tile > * {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  font-size: 26px;
}

.category-tile span {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.audience-section {
  max-width: none;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) clamp(18px, 6vw, 72px);
  display: grid;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.audience-copy {
  max-width: 760px;
  margin: 0 auto;
  width: min(1200px, 100%);
}

.audience-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.audience-grid {
  display: flex;
  gap: 14px;
}

.audience-grid article {
  width: min(340px, calc(100vw - 58px));
  flex: 0 0 auto;
  min-height: 250px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.audience-grid span {
  color: var(--accent);
  font-weight: 900;
}

.audience-grid h3 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.1;
}

.audience-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reviews-section {
  max-width: none;
  padding: clamp(56px, 8vw, 92px) 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.reviews-copy {
  width: min(1200px, calc(100% - clamp(36px, 12vw, 144px)));
  margin: 0 auto 28px;
}

.reviews-copy h2 {
  max-width: 850px;
}

.review-rail {
  padding: 0 clamp(18px, 6vw, 72px);
}

.review-rail::before {
  background: linear-gradient(90deg, var(--surface), rgba(238, 240, 243, 0));
}

.review-rail::after {
  background: linear-gradient(270deg, var(--surface), rgba(238, 240, 243, 0));
}

.review-track {
  animation-duration: 36s;
}

.review-card {
  width: min(380px, calc(100vw - 58px));
  min-height: 288px;
  flex: 0 0 auto;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.review-meta strong {
  font-size: 18px;
}

.review-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.review-stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  max-width: none;
  background: var(--ink);
  color: var(--white);
  margin: 0;
}

.story-section > * {
  max-width: 1200px;
}

.story-section img {
  margin-left: auto;
}

.story-copy {
  max-width: 560px;
}

.story-copy .section-kicker {
  color: var(--hover-blue);
}

.story-copy p,
.story-copy .check-list li {
  color: rgba(255, 255, 255, 0.76);
}

.story-copy h2 {
  color: var(--white);
}

.story-section img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: none;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--accent);
}

.post-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.post-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 32px;
  background: var(--surface);
}

.post-form label {
  display: grid;
  gap: 8px;
}

.post-form .wide {
  grid-column: 1 / -1;
}

.post-form input,
.post-form select,
.post-form textarea {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 12px 13px;
}

.post-form textarea {
  resize: vertical;
}

.primary-button {
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 172px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a:hover {
  color: var(--accent);
}

.job-detail-page {
  min-height: calc(100svh - 145px);
  padding: 118px clamp(18px, 6vw, 72px) clamp(56px, 8vw, 92px);
  background:
    radial-gradient(circle at top right, rgba(0, 82, 255, 0.08), transparent 32%),
    var(--paper);
}

.detail-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
}

.detail-main,
.detail-side {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-main {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 52px);
}

.detail-main h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.detail-main h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 12px;
}

.detail-main section p,
.detail-summary {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.detail-tags,
.detail-card {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 56px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.detail-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.detail-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
}

.detail-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-card strong {
  font-size: 22px;
}

.detail-apply {
  width: 100%;
  margin-top: 4px;
}

.content-page {
  min-height: calc(100svh - 105px);
  padding-top: 72px;
}

.content-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
  padding: clamp(72px, 10vw, 126px) clamp(18px, 6vw, 72px) clamp(42px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
}

.content-hero-copy {
  max-width: 920px;
}

.content-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1;
  letter-spacing: 0;
  font-family:
    CoinbaseDisplay, CoinbaseSans, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 500;
}

.content-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.content-hero .primary-button {
  margin-top: 28px;
}

.content-updated {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.content-highlight {
  display: grid;
  gap: 10px;
  align-content: end;
}

.content-highlight strong {
  display: block;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.content-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) clamp(18px, 6vw, 72px) clamp(68px, 9vw, 110px);
}

.content-toc {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.content-toc a {
  width: fit-content;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.content-toc a:hover {
  color: var(--accent);
}

.content-body {
  display: grid;
  gap: 34px;
}

.content-notice {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.content-section {
  display: grid;
  gap: 18px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.content-section h2,
.partner-section h2 {
  font-size: clamp(26px, 3.2vw, 42px);
}

.content-section ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.content-section li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.content-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
}

.partner-section {
  display: grid;
  gap: 20px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.partner-grid {
  display: flex;
  gap: 12px;
  animation-duration: 42s;
}

.partner-grid article {
  width: min(290px, calc(100vw - 58px));
  flex: 0 0 auto;
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.partner-grid strong {
  font-size: 20px;
}

.partner-grid span {
  color: var(--muted);
  font-weight: 720;
  line-height: 1.5;
}

.admin-body {
  background: var(--surface);
}

.admin-page {
  padding: 96px clamp(18px, 6vw, 72px) 0;
}

.admin-login,
.admin-dashboard,
.admin-hero,
.admin-editor {
  max-width: 1200px;
  margin: 0 auto;
}

.admin-login {
  min-height: calc(100svh - 190px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

.admin-login h1,
.admin-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1;
}

.admin-login p,
.admin-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.admin-login-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-dashboard {
  display: grid;
  gap: 28px;
  padding-bottom: clamp(56px, 8vw, 92px);
}

.admin-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

.admin-editor {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-note.is-error {
  color: #b42318;
}

.compact-button {
  min-width: auto;
  min-height: 44px;
  padding: 0 18px;
}

.admin-panel {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.admin-panel > .workspace-head,
.analytics-grid,
.admin-layout {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.analytics-grid div {
  min-height: 136px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.analytics-grid strong {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
}

.analytics-grid span {
  color: var(--muted);
  font-weight: 800;
}

.admin-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-block {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.admin-block h3 {
  margin: 0;
  font-size: 22px;
}

.wide-admin {
  grid-column: 1 / -1;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.admin-row:first-child {
  border-top: 0;
}

.admin-row strong,
.admin-row span {
  display: block;
}

.admin-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.row-actions {
  display: inline-flex;
  gap: 8px;
}

.row-actions button,
.row-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 56px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  padding: 0 12px;
}

.row-actions a:hover,
.row-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 13, 0.5);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(10, 11, 13, 0.24);
}

.modal-card h2 {
  font-size: clamp(34px, 7vw, 56px);
  margin-bottom: 22px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 100000px;
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.modal-form {
  display: grid;
  gap: 16px;
}

.modal-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
  font: inherit;
}

.modal-form textarea {
  resize: vertical;
}

.auth-tabs {
  width: fit-content;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 10px;
  align-items: end;
}

.has-modal {
  overflow: hidden;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageSettle {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}

@keyframes autoRail {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

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

  .nav-links {
    display: none;
  }

  .search-panel,
  .jobs-layout,
  .category-band,
  .story-section,
  .audience-grid,
  .content-hero,
  .content-shell,
  .post-section,
  .admin-layout,
  .detail-grid,
  .admin-login,
  .admin-editor {
    grid-template-columns: 1fr;
  }

  .search-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .filter-rail,
  .content-toc,
  .category-copy {
    position: static;
  }

  .filter-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ghost-button {
    grid-column: 1 / -1;
  }

  .story-section img {
    order: 2;
  }

  .analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-admin {
    grid-column: auto;
  }

  .detail-side {
    position: static;
  }

  .admin-hero {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-action {
    padding: 9px 11px;
  }

  .header-actions {
    gap: 6px;
  }

  .locale-trigger {
    max-width: 82px;
    padding: 0 10px;
  }

  .locale-trigger span {
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-pill {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding: 96px 16px 32px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 78px);
  }

  .hero-copy {
    font-size: 17px;
    margin: 16px 0 22px;
  }

  .search-panel {
    gap: 0;
  }

  .search-button,
  .primary-button {
    width: 100%;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .quick-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace,
  .category-band,
  .story-section,
  .post-section,
  .admin-panel,
  .job-detail-page,
  .content-hero,
  .content-shell {
    padding: 56px 16px;
  }

  .content-page {
    padding-top: 64px;
  }

  .content-hero h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .admin-page {
    padding: 88px 16px 0;
  }

  .workspace-head,
  .result-bar,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .toggle-group {
    width: 100%;
  }

  .toggle {
    flex: 1;
  }

  .filter-rail,
  .filter-options,
  .category-grid,
  .audience-grid,
  .partner-grid,
  .post-form,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .content-highlight strong {
    padding: 14px 0;
  }

  .filter-rail {
    padding: 0;
  }

  .filter-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    padding: 0 18px;
    font-weight: 850;
  }

  .filter-toggle small {
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 760;
  }

  .filter-rail.is-collapsed .filter-options {
    display: none;
  }

  .filter-options {
    gap: 18px;
    padding-top: 10px;
  }

  .job-item {
    grid-template-columns: 1fr;
    padding: 21px;
  }

  .job-item:hover {
    transform: none;
    box-shadow: none;
  }

  .job-side {
    justify-items: start;
    text-align: left;
  }

  .post-form {
    padding: 18px;
  }

  .detail-main,
  .detail-side,
  .admin-login-card {
    border-radius: 24px;
  }

  .detail-main h1,
  .admin-login h1,
  .admin-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .code-row,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .auth-tabs {
    width: 100%;
  }
}
