:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --surface: #fff;
  --page-pad: clamp(29px, 8vw, 134px);
  --page-pad: clamp(29px, round(nearest, 8vw, 1px), 134px);
  --shadow: 2px 4px 12px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-view { display: none; }
.page-view.is-active { display: block; }
.page-view[data-page="service"] { background: var(--soft); }
.page-view[data-page="interviews"] {
  min-height: calc(100vh - 48px);
  padding-top: 0;
  background: #f5f5f7;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

body[data-page="pricing"] .site-nav,
body[data-page="offer"] .site-nav { background: #fff; }

.nav-inner {
  position: relative;
  width: min(1024px, 100%);
  min-height: 40px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  max-width: calc(100vw - 36px);
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-link {
  position: relative;
  color: #86868b;
  font-size: 15px;
  font-weight: 400;
  line-height: 40px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, font-size .2s ease, font-weight .2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 0;
  left: 2px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #007aff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav-link.is-current {
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
}

.nav-link.is-current::after { transform: scaleX(1); }

.discover-category-nav {
  position: fixed;
  top: 40px;
  right: 0;
  left: 0;
  z-index: 49;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.studio-secondary-nav { display: none; }
body[data-page="service"] .studio-secondary-nav,
body[data-page="offer"] .studio-secondary-nav,
body[data-page="pricing"] .studio-secondary-nav { display: block; }

/* Fixed navigation is removed from normal document flow. Reserve its space
   so the active page never starts behind either navigation row. */
main { padding-top: 40px; }

body[data-page="discover"] main,
body[data-page="service"] main,
body[data-page="offer"] main,
body[data-page="pricing"] main { padding-top: 70px; }

.page-view[data-page="discover"] .discover-category-nav { border-bottom: 0; }

.discover-category-row {
  width: min(1236px, 100%);
  min-height: 30px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.discover-category-row::-webkit-scrollbar { display: none; }

.discover-category-button {
  position: relative;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: rgb(100, 100, 100);
  background: transparent;
  font-size: 13px;
  line-height: 30px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease;
}

.discover-category-button::after { display: none; }

.discover-category-button.is-active {
  color: rgb(0, 0, 0);
  font-weight: 700;
}

.discover-category-button:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: -4px;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 999px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.hero {
  min-height: 290px;
  padding: clamp(72px, 9vw, 128px) var(--page-pad) 52px;
  display: flex;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 104px);
  line-height: .96;
  font-weight: 700;
  letter-spacing: 0;
}

.category-strip {
  display: flex;
  gap: 10px;
  padding: 16px var(--page-pad) 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.rail::-webkit-scrollbar { display: none; }

.category {
  min-width: 136px;
  min-height: 148px;
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: center;
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
}

.category img {
  width: 120px;
  height: 88px;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.category span {
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
  white-space: nowrap;
}

.store-section {
  padding: 22px 0 74px;
  scroll-margin-top: 54px;
}

.section-head {
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
  font-weight: 700;
}

.section-title span { color: var(--muted); }

.rail-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.arrow-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #424245;
  background: rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.arrow-button:hover {
  background: rgba(0, 0, 0, .14);
  transform: translateY(-1px);
}

.arrow-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail {
  display: flex;
  gap: 18px;
  width: calc(100% - var(--page-pad));
  margin: 0 0 0 var(--page-pad);
  padding: 0 0 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.flip-card {
  --ratio: .8;
  flex: 0 0 auto;
  width: calc(500px * var(--ratio));
  height: 500px;
  position: relative;
  border: 0;
  border-radius: 18px;
  padding: 0;
  color: inherit;
  background: transparent;
  box-shadow: var(--shadow);
  perspective: 1200px;
  scroll-snap-align: start;
  cursor: pointer;
  appearance: none;
}

.flip-card.ratio-960 { --ratio: .96; }
.flip-card.ratio-700 { --ratio: .7; }

.flip-card:focus-visible {
  outline: 3px solid rgba(0, 0, 0, .35);
  outline-offset: 4px;
}

.flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}

.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
}

.card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.card-front {
  background: #fff;
  transform: rotateY(0deg) translateZ(1px);
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .65s ease;
}

.flip-card.is-flipped .card-image {
  transform: scale(1.06);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .card-image { transform: scale(1.06); }
}

.card-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.8) 22%, rgba(255,255,255,0) 50%);
}

.card-theme-dark .card-front::after {
  background: linear-gradient(180deg, rgba(0,0,0,.84), rgba(0,0,0,.44) 32%, rgba(0,0,0,0) 58%);
}

.card-no-overlay .card-front::after {
  display: none;
}

.card-front-copy {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  padding: 30px 28px;
  text-align: left;
}

.card-kicker {
  display: block;
  margin-bottom: 8px;
  color: #b64400;
  font-size: 12px;
  font-weight: 700;
}

.card-title {
  display: block;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.06;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.card-subtitle {
  display: block;
  margin-top: 9px;
  color: #424245;
  font-size: 15px;
  line-height: 1.34;
  font-weight: 500;
}

.card-theme-dark .card-front .card-kicker {
  color: #b64400;
}

.card-theme-dark .card-front .card-title {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .28);
}

.card-theme-dark .card-front .card-subtitle {
  color: rgba(255, 255, 255, .84);
  text-shadow: 0 1px 18px rgba(0, 0, 0, .28);
}

.card-no-overlay .card-front::after {
  display: none;
}

.card-no-overlay .card-front .card-title {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .25);
}

.card-no-overlay .card-front .card-subtitle {
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 18px rgba(0, 0, 0, .2);
}

.card-overlay-dark .card-front::after {
  display: block;
  background: linear-gradient(180deg, rgba(0,0,0,.84), rgba(0,0,0,.44) 32%, rgba(0,0,0,0) 58%);
}

.card-overlay-light .card-front::after {
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.8) 22%, rgba(255,255,255,0) 50%);
}

.card-overlay-none .card-front::after {
  display: none;
}

.card-overlay-none .card-front .card-title {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .25);
}

.card-overlay-none .card-front .card-subtitle {
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 18px rgba(0, 0, 0, .2);
}

.card-back {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  transform: rotateY(180deg) translateZ(1px);
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 760px) {
    .flip-card .card-front { opacity: 1; pointer-events: auto; }
    .flip-card .card-back { opacity: 0; pointer-events: none; }
    .flip-card.is-flipped .card-front { opacity: 0; pointer-events: none; }
    .flip-card.is-flipped .card-back { opacity: 1; pointer-events: auto; }
  }
}

.card-back-title {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.06;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.card-back-copy {
  display: block;
  color: #424245;
  font-size: 16px;
  line-height: 1.42;
  margin-bottom: 18px; /* add spacing below subtitle to push grid down */
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #424245;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.flip-card.has-detail .card-back {
  justify-content: flex-start;
  align-items: stretch;
  padding: 28px 29px 26px;
  text-align: left;
}

.flip-card.has-detail .card-back .card-kicker {
  color: #b64400;
}

.flip-card.has-detail .card-back-title {
  margin-bottom: 10px;
  font-family: "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 27px;
  line-height: 1.08;
  font-weight: 700;
}

.flip-card.has-detail .card-back-copy {
  color: #424245;
  font-size: 14px;
  line-height: 1.34;
  font-weight: 500;
}

/* Removed forced translate to ensure denser layout that fits more boxes per page */

.card-lesson-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 17px;
}

.card-lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px; /* tightened so more boxes fit per page */
  align-items: start;
  grid-auto-rows: minmax(44px, auto);
}

.card-grid-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 48px;
  box-sizing: border-box;
  background: transparent;
}

.card-grid-item-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #555; /* match 求职陪跑 第1节 icon color */
}

.card-grid-item-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8; /* slightly heavier for more visual weight */
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-grid-item-text {
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.card-lesson-item {
  min-height: 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 0;
  border-radius: 0;
  color: #1d1d1f;
  background: transparent;
  font-size: 12px;
  line-height: 1.28;
  font-weight: 500;
}

.lesson-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #555;
}

.lesson-icon svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-hero {
  padding: clamp(92px, 11vw, 152px) var(--page-pad) 48px;
  scroll-margin-top: 48px;
}

.pricing-eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.pricing-title {
  max-width: 880px;
  margin: 0 0 16px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .98;
  font-weight: 700;
}

.pricing-copy {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.25;
  font-weight: 500;
}

.pricing {
  padding: 0 var(--page-pad) 70px;
}

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

.plan {
  min-height: 294px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.plan-kicker {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.plan h2 {
  margin: 0 0 20px;
  font-size: 25px;
  line-height: 1.1;
}

.price {
  margin-top: auto;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.original-price {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.plan-note {
  margin: 18px 0 0;
  color: #424245;
  font-size: 14px;
  line-height: 1.4;
}

.comparison {
  padding: 10px var(--page-pad) 72px;
}

.comparison-head {
  margin-bottom: 22px;
}

.comparison-head h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
}

.comparison-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  color: #424245;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

th:nth-child(n+3),
td:nth-child(n+3) {
  width: 15%;
  text-align: center;
}

th:first-child,
td:first-child { width: 18%; }

th:nth-child(2),
td:nth-child(2) { width: 22%; }

.group-row td {
  padding: 16px 14px 9px;
  color: var(--ink);
  background: #fafafa;
  font-size: 15px;
  font-weight: 700;
}

.feature-name {
  color: var(--ink);
  font-weight: 600;
}

.course-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 7px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #007AFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .02em;
}

.status {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.page-view[data-page="pricing"] .schedule-table th:first-child,
.page-view[data-page="pricing"] .schedule-table td:first-child {
  width: 190px;
}

.page-view[data-page="pricing"] .schedule-table th:nth-child(n+2),
.page-view[data-page="pricing"] .schedule-table td:nth-child(n+2) {
  width: 136px;
  text-align: left;
}

.page-view[data-page="pricing"] .schedule-stage {
  color: #1d1d1f;
  font-weight: 600;
}

.page-view[data-page="pricing"] .schedule-row-highlight .schedule-stage,
.page-view[data-page="pricing"] .schedule-row-highlight .schedule-cell {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

/* Discover: a compact editorial grid inspired by Apple Services. */
.page-view[data-page="discover"] {
  min-height: calc(100vh - 44px);
  background: #fff;
}

.discover-page {
  width: min(1236px, 100%);
  margin: 0 auto;
  padding: 24px var(--page-pad) 92px;
}

.discover-intro {
  display: block;
  margin-bottom: 34px;
}

.discover-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.discover-intro h1 {
  margin: 0;
  color: #1d1d1f;
}

.discover-intro p {
  max-width: none;
  margin: 12px 0 0;
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.45;
}

.discover-search-toggle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  cursor: pointer;
}

.discover-search-toggle svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.discover-search-toggle:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
  border-radius: 50%;
}

.discover-search-panel {
  display: none;
  width: min(520px, 100%);
  margin-top: 22px;
}

.discover-search-panel.is-open { display: block; }

.discover-search-panel label {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #86868b;
  border-radius: 12px;
  background: #fff;
}

.discover-search-panel svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: #000;
  stroke-width: 2;
  stroke-linecap: round;
}

.discover-search-panel input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: #1d1d1f;
  background: transparent;
  font-size: 17px;
}

.discover-empty {
  display: none;
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: #6e6e73;
  font-size: 17px;
}

.discover-empty.is-visible { display: block; }

.discover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.discover-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.discover-card {
  width: 100%;
  min-width: 0;
  display: block;
  margin: 0;
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

.discover-card:active { opacity: .82; }

.discover-card[aria-busy="true"] { opacity: .72; }

.outbound-progress {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 113, 227, .12);
  transition: opacity .12s ease;
}

.outbound-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: #0071e3;
  transform: scaleX(0);
  transform-origin: left center;
}

body.is-outbound-navigating .outbound-progress { opacity: 1; }

body.is-outbound-navigating .outbound-progress span {
  animation: outbound-progress 8s cubic-bezier(.15, .75, .25, 1) forwards;
}

@keyframes outbound-progress {
  0% { transform: scaleX(.04); }
  18% { transform: scaleX(.32); }
  55% { transform: scaleX(.68); }
  82% { transform: scaleX(.86); }
  100% { transform: scaleX(.94); }
}

@media (prefers-reduced-motion: reduce) {
  body.is-outbound-navigating .outbound-progress span {
    animation-duration: 1ms;
    transform: scaleX(.9);
  }
}

.discover-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f7;
}

.discover-card-media.is-portrait { aspect-ratio: 3 / 4; }

.discover-card-media::after {
  display: none;
}

.discover-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.discover-card:hover img { transform: scale(1.035); }
.discover-card:hover .discover-card-media::after { opacity: 0; }

.discover-card-kicker {
  display: none;
}

.discover-card h2 {
  display: -webkit-box;
  margin: 10px 0 8px;
  overflow: hidden;
  color: rgb(0, 0, 0);
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.discover-card p { display: none; }

.discover-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #555;
  font-size: 12px;
  line-height: 20px;
}

.discover-card-author img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  object-fit: cover;
}

.discover-card-author span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-service {
  position: fixed;
  z-index: 45;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 68px;
  height: 68px;
  display: none;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.customer-service img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.customer-service:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }
.customer-service.is-visible { display: grid; }

.discover-end {
  width: min(460px, calc(100% - 40px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #86868b;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.discover-end[hidden] { display: none; }

.discover-loader {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86868b;
  font-size: 12px;
  line-height: 1;
}

.discover-loader[hidden] { display: none; }

.discover-skeleton { pointer-events: none; }

.discover-skeleton .discover-card-media {
  background: linear-gradient(100deg, #f1f1f4 25%, #fafafd 38%, #f1f1f4 52%);
  background-size: 220% 100%;
  animation: discover-skeleton-shimmer 1.2s ease-in-out infinite;
}

.discover-skeleton h2,
.discover-skeleton .discover-card-author::after {
  display: block;
  border-radius: 999px;
  color: transparent;
  background: #ededf1;
  content: "";
}

.discover-skeleton h2 { width: 88%; height: 18px; }
.discover-skeleton .discover-card-author { gap: 0; }
.discover-skeleton .discover-card-author::after { width: 76px; height: 12px; }
.discover-skeleton .discover-card-author img { display: none; }

@keyframes discover-skeleton-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

.discover-end::before,
.discover-end::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: #d2d2d7;
}

body[data-page="discover"] .site-footer { display: none; }

.site-footer {
  padding: 44px var(--page-pad) 28px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: rgba(0, 0, 0, .56);
  background: var(--soft);
  font-size: 12px;
  line-height: 16px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.quick-link {
  padding: 8px 15px;
  border: .8px solid var(--ink);
  border-radius: 980px;
  color: var(--ink);
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto 28px;
}

.footer-grid h3 {
  margin: 0 0 11px;
  color: rgba(0, 0, 0, .88);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.footer-grid a {
  display: block;
  margin-top: 7px;
  color: rgba(0, 0, 0, .72);
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
}

.copyright {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, .1);
  color: rgba(0, 0, 0, .56);
}

@media (max-width: 760px) {
  :root { --page-pad: 22px; }

  .site-nav,
  body[data-page="pricing"] .site-nav,
  body[data-page="offer"] .site-nav,
  .nav-inner {
    min-height: 40px;
  }

  .nav-inner {
    justify-content: center;
    gap: 0;
  }

  .nav-link {
    font-size: 12px;
    line-height: 40px;
  }

  .hero {
    min-height: 230px;
    padding: 64px var(--page-pad) 34px;
  }

  .hero h1,
  .discover-intro h1 {
    font-size: clamp(56px, 18vw, 76px);
    line-height: .96;
  }

  /* Keep the first content block close to the fixed secondary navigation. */
  .discover-page { padding: 17px 16px 58px; }

  .discover-category-row {
    min-height: 30px;
    padding: 0 16px;
    justify-content: center;
    gap: 44px;
  }

  .discover-category-button {
    font-size: 13px;
    line-height: 30px;
  }

  .discover-intro {
    display: block;
    margin: 0 0 27px;
  }

  .discover-intro p {
    max-width: 300px;
    margin: 10px 0 0;
    font-size: 15px;
  }

  .discover-title-row { gap: 10px; }
  .discover-search-toggle { width: 42px; height: 42px; flex-basis: 42px; margin-bottom: 5px; }
  .discover-search-toggle svg { width: 29px; height: 29px; }
  .discover-search-panel { margin-top: 16px; }
  .discover-search-panel label { min-height: 48px; padding: 0 13px; border-radius: 10px; }
  .discover-search-panel input { font-size: 16px; }

  .discover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .discover-column { gap: 18px; }
  .discover-card-media { border-radius: 9px; }
  .discover-card h2 { margin: 8px 0 7px; font-size: 14px; }
  .discover-card-author { font-size: 11px; }
  .customer-service {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
  }

  /* Studio used 9.72vw here (about 36px on the tested mobile viewport).
     Keep its desktop rhythm but halve the mobile edge inset to about 18px. */
  body[data-page="service"] { --page-pad: clamp(16px, 4.86vw, 70px); }

  .category-strip {
    gap: 22px;
    padding: 8px var(--page-pad) 52px;
  }

  .section-head { padding: 0 var(--page-pad); }

  .section-title {
    max-width: 270px;
    font-size: 30px;
  }

  .arrow-button {
    width: 36px;
    height: 36px;
  }

  .arrow-button svg {
    width: 36px;
    height: 36px;
  }

  .rail {
    gap: 14px;
    padding-bottom: 18px;
  }

  .flip-card {
    width: calc(420px * var(--ratio));
    height: 420px;
    max-width: 84vw;
  }

  #coding .flip-card {
    width: min(92vw, 390px);
    max-width: 92vw;
    height: 500px;
  }

  #coding .flip-card.has-detail .card-back { padding: 23px 22px 22px; }
  #coding .flip-card.has-detail .card-back-title { font-size: 24px; }
  #coding .flip-card.has-detail .card-back-copy { margin-bottom: 8px; font-size: 13px; }
  #coding .card-lesson-grid { gap: 8px; margin-top: 8px; }
  #coding .card-grid-item { gap: 6px; padding: 7px; }
  #coding .card-grid-item-icon { width: 30px; height: 30px; }
  #coding .card-grid-item-text { font-size: 12px; line-height: 1.32; }

  .card-title { font-size: 24px; }

  .pricing-hero {
    padding: 82px var(--page-pad) 42px;
  }

  .pricing,
  .comparison {
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: 242px;
  }

  .studio-panel {
    padding-bottom: 48px;
  }

  .offer-board,
  .interview-grid,
  .offer-stats {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 761px) and (max-width: 900px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


body[data-page="offer"],
body[data-page="pricing"],
body[data-page="offer"] button,
body[data-page="pricing"] button {
  font-family: "SF Pro SC", "SF Pro Text", "SF Pro Icons", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body[data-page="offer"] { line-height: 25px; }
body[data-page="offer"] input,
body[data-page="offer"] select,
body[data-page="pricing"] input,
body[data-page="pricing"] select { font-family: Arial; }

body[data-page="pricing"] { background: var(--soft); }
.page-view[data-page="pricing"] { --page-pad: clamp(29px, 9.72vw, 140px); }

.page-view[data-page="pricing"] .plan-kicker {
  line-height: 16px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .page-view[data-page="pricing"] { --page-pad: 22px; }
}

/* Apple Store pricing page: gray canvas, rounded shelf cards, compact comparison. */
.page-view[data-page="pricing"] {
  background: var(--soft);
}

.pricing-hero {
  min-height: 248px;
  padding: 64px var(--page-pad) 44px;
}

.pricing-eyebrow {
  margin-bottom: 8px;
  color: #b64400;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.pricing-title {
  max-width: 980px;
  margin-bottom: 16px;
  font-family: "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(52px, 5.55vw, 80px);
  line-height: 1.0875;
  font-weight: 600;
}

.pricing-copy {
  max-width: 760px;
  color: #6e6e73;
  font-size: 17px;
  line-height: 25px;
  font-weight: 400;
}

.pricing {
  padding: 0 var(--page-pad) 46px;
}

.plan-grid {
  gap: 20px;
}

.plan {
  min-height: 313px;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 2px 4px 12px 0 rgba(0, 0, 0, .08);
}

.page-view[data-page="pricing"] .plan-kicker {
  color: #007AFF;
}

.plan h2 {
  margin-bottom: 20px;
  font-family: "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  line-height: 31px;
  font-weight: 600;
}

.price {
  font-size: 28px;
  line-height: 35px;
  font-weight: 600;
}

.plan-note {
  color: #424245;
  font-size: 14px;
  line-height: 19px;
}

.comparison {
  padding: 16px var(--page-pad) 72px;
}

.schedule-section {
  padding-top: 0;
}

.comparison-head {
  margin-bottom: 16px;
}

.comparison-head h2 {
  margin-bottom: 4px;
  font-family: "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 28px;
  line-height: 35px;
  font-weight: 600;
  letter-spacing: .196px;
}

.comparison-head p {
  color: #6e6e73;
  font-size: 14px;
  line-height: 21px;
}

.table-wrap {
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  box-shadow: 2px 4px 12px 0 rgba(0, 0, 0, .08);
}

th,
td {
  border-bottom-color: #d2d2d7;
}

.schedule-wrap {
  background: #fff;
}

.schedule-table {
  min-width: 1320px;
  table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
  padding: 15px 16px;
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.55;
  vertical-align: top;
}

.schedule-table th {
  background: #fff;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  width: 180px;
  color: #1d1d1f;
  text-align: left;
}

.schedule-table th:nth-child(n+2),
.schedule-table td:nth-child(n+2) {
  width: 150px;
  text-align: left;
}

.schedule-stage {
  font-weight: 500;
}

.schedule-cell strong {
  display: inline;
  font-weight: 700;
}

.schedule-row-highlight .schedule-stage,
.schedule-row-highlight .schedule-cell {
  color: #000;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.schedule-muted {
  color: #6e6e73;
}

.schedule-empty {
  color: #86868b;
}

/* HIG-inspired pricing tables: grouped rows, light separators, scannable cells. */
.page-view[data-page="pricing"] .table-wrap {
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.page-view[data-page="pricing"] table {
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
}

.page-view[data-page="pricing"] th,
.page-view[data-page="pricing"] td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  color: #424245;
  background: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  vertical-align: middle;
}

.page-view[data-page="pricing"] thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #6e6e73;
  background: rgba(250, 250, 252, .96);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0;
  backdrop-filter: saturate(180%) blur(18px);
}

.page-view[data-page="pricing"] tbody tr:last-child td,
.page-view[data-page="pricing"] tbody tr:last-child th {
  border-bottom: 0;
}

.page-view[data-page="pricing"] tbody tr:not(.group-row):hover td {
  background: #fbfbfd;
}

.page-view[data-page="pricing"] .group-row + tr td {
  border-top: 0;
}

.page-view[data-page="pricing"] th:first-child,
.page-view[data-page="pricing"] td:first-child {
  width: 210px;
}

.page-view[data-page="pricing"] th:nth-child(2),
.page-view[data-page="pricing"] td:nth-child(2) {
  width: 300px;
}

.page-view[data-page="pricing"] th:nth-child(n+3),
.page-view[data-page="pricing"] td:nth-child(n+3) {
  width: 152px;
  text-align: center;
}

.page-view[data-page="pricing"] .plan-column-title {
  display: block;
  color: #1d1d1f;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.page-view[data-page="pricing"] .plan-column-price {
  display: block;
  margin-top: 3px;
  color: #6e6e73;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.page-view[data-page="pricing"] .group-row th {
  position: relative;
  padding: 22px 18px 12px 34px;
  border-top: 14px solid #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  color: #1d1d1f;
  background: #f5f5f7;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-align: left;
}

.page-view[data-page="pricing"] .group-row:first-child th {
  border-top: 0;
}

.page-view[data-page="pricing"] .group-row th::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 4px;
  height: 22px;
  border-radius: 999px;
  background: #007AFF;
  transform: translateY(-42%);
}

.page-view[data-page="pricing"] .feature-name {
  color: #1d1d1f;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.page-view[data-page="pricing"] .service-copy {
  color: #6e6e73;
}

.page-view[data-page="pricing"] .status-cell {
  color: #1d1d1f;
}

.page-view[data-page="pricing"] .status-pill {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.page-view[data-page="pricing"] .status-pill.is-included {
  color: #fff;
  background: #1d1d1f;
}

.page-view[data-page="pricing"] .status-pill.is-empty {
  color: #86868b;
  background: #f5f5f7;
  font-weight: 500;
}

.page-view[data-page="pricing"] .schedule-wrap table {
  min-width: 1760px;
}

.page-view[data-page="pricing"] .schedule-table th,
.page-view[data-page="pricing"] .schedule-table td {
  padding: 16px 18px;
  vertical-align: top;
}

.page-view[data-page="pricing"] .schedule-table th:first-child,
.page-view[data-page="pricing"] .schedule-table td:first-child {
  width: 190px;
}

.page-view[data-page="pricing"] .schedule-table th:nth-child(n+2),
.page-view[data-page="pricing"] .schedule-table td:nth-child(n+2) {
  width: 136px;
  text-align: left;
}

.page-view[data-page="pricing"] .schedule-stage {
  color: #1d1d1f;
  font-weight: 600;
}

.page-view[data-page="pricing"] .schedule-row-highlight .schedule-stage,
.page-view[data-page="pricing"] .schedule-row-highlight .schedule-cell {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.page-view[data-page="offer"] {
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 48px);
  overflow-x: clip;
  background: #f5f5f7;
}

.offer-page {
  width: min(980px, calc(100% - 40px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 56px 0 112px;
}

.offer-page > *,
.offer-toolbar,
.offer-search,
.offer-filters,
.offer-result-head,
#offerLists,
.offer-dashboard,
.dashboard-summary-grid,
.dashboard-grid,
.dashboard-surface,
.dashboard-section {
  max-width: 100%;
  min-width: 0;
}

.offer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.offer-heading h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
}

.offer-heading p {
  max-width: 430px;
  margin: 0 0 4px;
  color: #6e6e73;
  font-size: 15px;
  text-align: right;
}

.offer-toolbar {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.offer-segmented {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 3px;
  border-radius: 9px;
  background: #e8e8ed;
}

.offer-segmented button {
  min-width: 104px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  color: #424245;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.offer-segmented button.is-active {
  color: #1d1d1f;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  font-weight: 600;
}

.offer-segmented button:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 1px;
}

.offer-search {
  position: relative;
  display: block;
}

.offer-search svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: #6e6e73;
  stroke-width: 1.8;
}

.offer-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  border: 1px solid transparent;
  border-radius: 9px;
  outline: none;
  color: #1d1d1f;
  background: #fff;
  font-size: 15px;
}

.offer-search input:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, .14);
}

.offer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.offer-filters select,
.offer-reset {
  height: 36px;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  color: #424245;
  background: #fff;
  font-size: 13px;
}

.offer-filters select {
  min-width: 132px;
  padding: 0 30px 0 11px;
}

.offer-reset {
  padding: 0 12px;
  cursor: pointer;
}

.offer-reset:hover { color: #007aff; }
.offer-filters[hidden] { display: none; }
.offer-search[hidden],
.offer-result-head[hidden],
#offerLists[hidden],
.offer-pagination[hidden],
.offer-dashboard[hidden] { display: none; }

.offer-toolbar.is-dashboard { grid-template-columns: auto; }

.offer-dashboard {
  margin-top: 24px;
  color: #1d1d1f;
}

.dashboard-surface {
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #fff;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-summary-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 164px;
  padding: 24px 26px;
  border-radius: 16px;
  background: #fff;
}

.dashboard-summary-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-summary-card h2,
.dashboard-section h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.dashboard-summary-card p,
.dashboard-section-head p {
  margin: 5px 0 0;
  color: #86868b;
  font-size: 13px;
}

.dashboard-summary-value {
  margin-top: 26px;
  color: var(--dashboard-accent, #0088ff);
  font-size: 42px;
  line-height: .95;
  font-weight: 700;
}

.dashboard-summary-card small {
  display: block;
  margin-top: 9px;
  color: #86868b;
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.dashboard-section {
  position: relative;
  min-width: 0;
  padding: 24px 26px 26px;
}

.dashboard-grid .dashboard-surface { margin-bottom: 0; }

.dashboard-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-section-total {
  flex: 0 0 auto;
  color: #86868b;
  font-size: 12px;
}

.dashboard-list {
  max-height: 330px;
  overflow: auto;
  padding-right: 5px;
  scrollbar-width: thin;
}

.dashboard-row {
  display: grid;
  grid-template-columns: minmax(105px, 1fr) minmax(110px, 1.35fr) 70px;
  align-items: center;
  gap: 10px;
  min-height: 31px;
  font-size: 13px;
}

.dashboard-row-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-bar-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--dashboard-accent, #0088ff) 12%, #f5f5f7);
}

.dashboard-bar-fill {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
}

.dashboard-row-value {
  color: #6e6e73;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.dashboard-note {
  margin: 13px 0 0;
  color: #86868b;
  font-size: 12px;
}

.offer-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 4px;
  color: #6e6e73;
  font-size: 13px;
}

.offer-list-section { margin: 14px 0 26px; }

.offer-list-title {
  margin: 0 0 8px 16px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 500;
}

.offer-list {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.offer-list-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 34%) 20px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 82px;
  padding: 14px 18px;
  border: 0;
  color: #1d1d1f;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.offer-list-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  background: #d2d2d7;
}

.offer-list-item:hover { background: #fafafa; }
.offer-list-item:focus-visible { z-index: 1; outline: 3px solid rgba(0, 122, 255, .35); outline-offset: -3px; }

.offer-item-copy,
.offer-item-meta { min-width: 0; }

.offer-item-copy strong,
.offer-item-copy span,
.offer-item-meta strong,
.offer-item-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-item-copy strong {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.offer-item-copy span,
.offer-item-meta span {
  margin-top: 4px;
  color: #86868b;
  font-size: 13px;
}

.offer-item-meta { text-align: right; }

.offer-item-meta strong {
  color: #6e6e73;
  font-size: 14px;
  font-weight: 500;
}

.offer-chevron {
  color: #c7c7cc;
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.offer-empty {
  padding: 76px 24px;
  border-radius: 16px;
  color: #6e6e73;
  background: #fff;
  text-align: center;
}

.offer-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  color: #6e6e73;
  font-size: 13px;
}

.offer-page-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #1d1d1f;
  background: #e8e8ed;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.offer-page-button:disabled { opacity: .35; cursor: default; }

.offer-sheet-backdrop {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .32);
  backdrop-filter: blur(8px);
}

.offer-sheet-backdrop.is-open { display: flex; }

.offer-sheet {
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: hidden;
  border-radius: 20px;
  color: #1d1d1f;
  background: #f5f5f7;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.offer-sheet-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px 18px 14px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(245, 245, 247, .92);
  backdrop-filter: blur(18px);
}

.offer-sheet-head h2 {
  margin: 0;
  color: #1d1d1f;
  font-size: 21px;
  line-height: 1.25;
}

.offer-sheet-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #6e6e73;
  background: #e1e1e6;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.offer-sheet-content { padding: 18px 18px 30px; }
.offer-sheet-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.offer-detail-section { margin-bottom: 18px; }

.offer-detail-section h3 {
  margin: 0 0 7px 14px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 500;
}

.offer-detail-list {
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  background: #fff;
}

.offer-detail-row {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 16px;
}

.offer-detail-row:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 1px;
  background: #e5e5ea;
}

.offer-detail-row dt { color: #6e6e73; }
.offer-detail-row dd { margin: 0; color: #1d1d1f; white-space: pre-line; overflow-wrap: anywhere; }

@media (max-width: 700px) {
  .offer-page { width: min(100% - 28px, 980px); padding-top: 17px; }
  .offer-heading { display: block; margin-bottom: 22px; }
  .offer-heading h1 { font-size: 36px; }
  .offer-heading p { margin-top: 8px; text-align: left; }
  .offer-toolbar { grid-template-columns: 1fr; }
  .offer-segmented { width: 100%; }
  .offer-segmented button { min-width: 0; }
  .offer-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    contain: inline-size layout paint;
  }
  .offer-filters::-webkit-scrollbar { display: none; }
  .offer-filters select, .offer-reset { flex: 0 0 auto; }
  .offer-list-item { grid-template-columns: minmax(0, 1fr) auto 16px; gap: 10px; min-height: 76px; padding: 12px 14px; }
  .offer-list-item:not(:last-child)::after { right: 14px; left: 14px; }
  .offer-item-meta span { display: none; }
  .offer-item-meta strong { max-width: 88px; }
  .offer-sheet-backdrop {
    inset: 0;
    height: 100dvh;
    min-height: 100vh;
    padding: 0;
    align-items: flex-end;
    justify-content: stretch;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .offer-sheet {
    position: relative;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - env(safe-area-inset-bottom, 0px));
    margin: 0;
    flex: 0 0 auto;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
    touch-action: auto;
  }
  .offer-sheet-backdrop.is-open .offer-sheet {
    animation: offer-sheet-rise .26s cubic-bezier(.22, .8, .28, 1);
  }
  @keyframes offer-sheet-rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .offer-sheet-head {
    position: relative;
    top: auto;
    flex: 0 0 auto;
    min-height: 60px;
    padding: 12px 14px 12px 18px;
    color: #1d1d1f;
    background: #f5f5f7;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .offer-sheet-head h2 {
    font-size: 18px;
    line-height: 1.25;
  }
  .offer-sheet-close {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }
  .offer-sheet-content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    color: #1d1d1f;
    padding: 12px 12px 20px;
  }
  .offer-detail-section { margin-bottom: 14px; }
  .offer-detail-section h3 {
    margin: 0 0 6px 10px;
    font-size: 12px;
  }
  .offer-detail-list { border-radius: 14px; }
  .offer-detail-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 11px 13px;
  }
  .offer-detail-row:not(:last-child)::after {
    right: 13px;
    left: 13px;
  }
  .offer-detail-row dt {
    font-size: 12px;
    line-height: 1.25;
  }
  .offer-detail-row dd {
    font-size: 14px;
    line-height: 1.42;
  }
  .dashboard-summary-grid { grid-template-columns: 1fr; gap: 14px; }
  .dashboard-summary-card { min-height: 0; padding: 20px; }
  .dashboard-summary-value { margin-top: 20px; font-size: 38px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 14px; }
  .dashboard-section { padding: 21px 20px 23px; }
  .dashboard-row { grid-template-columns: minmax(96px, 1fr) minmax(82px, 1.05fr) 68px; }
}
/* Keep the V1 pricing responsive rules after the V1 desktop overrides. */
@media (max-width: 760px) {
  .page-view[data-page="pricing"] .pricing-hero {
    padding: 82px var(--page-pad) 42px;
  }

  .page-view[data-page="pricing"] .pricing,
  .page-view[data-page="pricing"] .comparison {
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }

  .page-view[data-page="pricing"] .plan-grid {
    grid-template-columns: 1fr;
  }

  .page-view[data-page="pricing"] .plan {
    min-height: 242px;
  }
}

/* V1 Studio: retain its type scale, spacing and Store-style components. */
body[data-page="service"] {
  --page-pad: clamp(29px, 9.72vw, 140px);
  --shadow: 2px 4px 12px 0 rgba(0, 0, 0, .08);
  background: var(--soft);
  font-family: "SF Pro SC", "SF Pro Text", "SF Pro Icons", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 25px;
}

body[data-page="service"] .site-nav {
  min-height: 44px;
  background: var(--soft);
}

body[data-page="service"] .nav-inner {
  min-height: 44px;
  padding: 0 22px;
  gap: 58px;
}

body[data-page="service"] .nav-link {
  color: rgba(0, 0, 0, .8);
  font-size: 12px;
  line-height: 12px;
}

body[data-page="service"] .hero {
  min-height: 248px;
  padding: 0 var(--page-pad);
}

body[data-page="service"] .hero h1,
body[data-page="service"] .section-title,
body[data-page="service"] .card-title {
  font-family: "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
}

body[data-page="service"] .hero h1 {
  font-size: 80px;
  line-height: 87px;
}

.studio-secondary-nav .discover-category-button {
  display: block;
  color: rgb(100, 100, 100);
  text-decoration: none;
}

.studio-secondary-nav .discover-category-button:hover,
.studio-secondary-nav .discover-category-button:focus-visible {
  color: rgb(0, 0, 0);
}

.studio-secondary-nav .discover-category-button.is-active {
  color: rgb(0, 0, 0);
  font-weight: 700;
}

body[data-page="service"] .category-strip {
  gap: 10px;
  padding: 16px var(--page-pad) 40px;
}

body[data-page="service"] .category {
  min-width: 136px;
  min-height: 148px;
  gap: 10px;
  align-content: start;
}

body[data-page="service"] .category img {
  width: 120px;
  height: 88px;
  border-radius: 0;
  box-shadow: none;
}

body[data-page="service"] .category span {
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
}

body[data-page="service"] .store-section {
  padding: 0 0 46px;
  scroll-margin-top: 44px;
}

body[data-page="service"] .section-head {
  min-height: 43px;
  margin-bottom: 16px;
  padding: 0 var(--page-pad) 8px;
}

body[data-page="service"] .section-title {
  font-size: 28px;
  line-height: 35px;
  letter-spacing: .196px;
}

body[data-page="service"] .rail {
  gap: 20px;
  padding: 0 0 40px;
}

body[data-page="service"] .flip-card.ratio-700 { --ratio: .626; }

body[data-page="service"] .card-kicker {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

body[data-page="service"] .card-title {
  font-size: 28px;
  line-height: 35px;
  letter-spacing: .196px;
}

body[data-page="service"] .card-subtitle {
  font-size: 14px;
  line-height: 19px;
  font-weight: 400;
}

body[data-page="service"] .site-footer {
  color: rgba(0, 0, 0, .56);
  background: var(--soft);
  font-size: 12px;
  line-height: 16px;
}

body[data-page="service"] .site-footer h2 {
  color: rgba(0, 0, 0, .56);
  font-size: 18px;
  line-height: 16px;
  margin: 14.94px 0;
}

body[data-page="service"] .quick-link {
  padding: 8px 15px;
  border: .8px solid var(--ink);
  border-radius: 980px;
  color: var(--ink);
  font-size: 14px;
  line-height: 21px;
}

body[data-page="service"] .footer-grid,
body[data-page="service"] .copyright { max-width: 980px; }

body[data-page="service"] .footer-grid h3 {
  color: rgba(0, 0, 0, .88);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

body[data-page="service"] .footer-grid a {
  color: rgba(0, 0, 0, .72);
  font-size: 12px;
  line-height: 16px;
}

body[data-page="service"] .copyright { color: rgba(0, 0, 0, .56); }

body[data-page="service"] .store-section { scroll-margin-top: 74px; }

/* 全站导航规范：一级导航沿用发现页的未选中状态，当前页面才放大、加粗并显示蓝色下划线。 */
body[data-page] .site-nav,
body[data-page="service"] .site-nav {
  min-height: 40px;
  background: #fff;
}

body[data-page] .site-nav .nav-inner {
  min-height: 40px;
  padding: 0 18px;
  gap: 0;
}

body[data-page] .site-nav .nav-link {
  color: #86868b;
  font-size: 15px;
  font-weight: 400;
  line-height: 40px;
}

body[data-page] .site-nav .nav-link.is-current {
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
}

@media (max-width: 760px) {
  body[data-page] .site-nav,
  body[data-page] .site-nav .nav-inner {
    min-height: 40px;
  }

  body[data-page] .site-nav .nav-link {
    font-size: 15px;
    line-height: 40px;
  }

  body[data-page] .site-nav .nav-link.is-current {
    font-size: 17px;
    font-weight: 600;
  }

  /* This must stay after the V1 Studio desktop block above, otherwise its
     9.72vw inset wins in the cascade. On a 360–390px phone it is now
     about 18px instead of the previous roughly 36px. */
  body[data-page="service"] { --page-pad: clamp(16px, 4.86vw, 70px); }
}

body.offer-sheet-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}
