/* =============================================================
   Minine Inc — Screen layer (proposal)
   marketing 页面 + console 后台的具体版式。
   ============================================================= */

/* ---------------------------------------------------------- preview chrome
   仅预览稿自身用，正式站点不需要。 */

.pv-bar {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-pop);
}

.pv-bar__tag {
  padding: 0 8px 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.pv-bar button {
  padding: 5px 11px;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--fast);
}

.pv-bar button:hover {
  color: var(--ink);
  background: var(--sunken);
}

.pv-bar button[aria-current="true"] {
  background: var(--brand);
  color: var(--on-brand);
}

.pv-bar__sep {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.pv-bar__opt {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
}

.screen {
  padding-bottom: 110px;
}

.wrap {
  width: min(var(--wide), calc(100% - 56px));
  margin-inline: auto;
}

/* ---------------------------------------------------------- top nav (marketing) */

.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1320px, calc(100% - 40px));
  margin: 14px auto 0;
  height: 68px;
  padding: 0 12px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  border: 1px solid var(--edge);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* 公司 logo。黑白两版分开出图而不是用 filter：logo 里有品红和黄，
   反相或调亮都会把品牌色一起改掉。 */
.brand__logo {
  display: block;
  width: 92px;
  height: 45px;
  background: url("/logo.png") left center / contain no-repeat;
}

[data-theme="dark"] .brand__logo {
  background-image: url("/logo-dark.png");
}

.brand__logo--lg {
  width: 112px;
  height: 55px;
}

.brand__logo--sm {
  width: 82px;
  height: 40px;
}

.brand__ph {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--faint);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-pill);
  padding: 2px 7px;
  margin-left: 4px;
}

.nav__links {
  display: flex;
  gap: var(--s-6);
  font-size: 14px;
  color: var(--muted);
}

.nav__links a {
  transition: color var(--fast);
}

.nav__links a:hover {
  color: var(--brand-ink);
}

.nav__end {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

/* ---------------------------------------------------------- hero */

.hero {
  padding: var(--s-9) 0 var(--s-8);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.66fr);
  align-items: center;
  gap: var(--s-8);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-5);
}

.hero .lede {
  max-width: 52ch;
}

/* 插画是去底的竖构图，按高度对齐正文更稳，宽度让它自己算 */
.hero__art {
  justify-self: end;
  display: flex;
  justify-content: flex-end;
}

.hero__art img {
  display: block;
  width: auto;
  height: clamp(260px, 30vw, 400px);
  max-width: 100%;
}

.hero h1 {
  margin: 0;
}

.hero h1 em {
  font-style: italic;
  color: var(--brand);
}

.hero h1 .mark-sun {
  position: relative;
  white-space: nowrap;
}

.hero h1 .mark-sun::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 6px;
  height: 32%;
  border-radius: var(--r-pill);
  background: var(--sun);
  opacity: 0.42;
  z-index: -1;
}

/* 标题落位之后，黄条从左扫过去。整页只有这一处稍微"表演"一下。 */
@keyframes sun-sweep {
  from {
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 .mark-sun::after {
    transform-origin: left center;
    animation: sun-sweep 440ms var(--ease) 520ms both;
  }
}

/* ---------------------------------------------------------- stat band */

.statband {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.statband__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-6) 0;
}

.statband .stat {
  padding-inline: var(--s-5);
  border-left: 1px solid var(--line);
}

.statband .stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.statband .stat__value em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--brand);
  margin-left: 2px;
}

/* ---------------------------------------------------------- section shell */

.sect {
  padding: var(--s-9) 0;
}

.sect__head {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 56ch;
  margin-bottom: var(--s-7);
}

.sect__head h2 {
  text-wrap: balance;
}

.sect__head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.sect__head--split {
  max-width: none;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
}

/* ---------------------------------------------------------- featured products */

.featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.prod {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--edge);
  background: var(--surface);
  transition: border-color var(--base), background var(--base);
}

.prod:hover {
  border-color: var(--brand);
  background: var(--raised);
}

.prod__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.prod h3 {
  font-size: 24px;
}

.prod__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}

.prod__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.prod__site {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand-ink);
}

/* ---------------------------------------------------------- tenets */

.tenets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}

.tenet {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--edge);
  background: var(--surface);
  overflow: hidden;
}

.tenet__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.tenet h3 {
  font-size: 27px;
  max-width: 22ch;
}

.tenet p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.tenet::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--brand-soft);
  z-index: 0;
}

.tenet:nth-child(2n)::after {
  background: var(--sun-soft);
}

.tenet > * {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------- cta band */

.ctaband {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-8);
  border-radius: var(--r-xl);
  background: var(--brand);
  color: var(--on-brand);
}

.ctaband h2 {
  max-width: 24ch;
  color: var(--on-brand);
}

.ctaband p {
  margin-top: var(--s-3);
  max-width: 42ch;
  color: var(--on-brand-soft);
  font-size: 16px;
}

.ctaband .btn,
.ctaband .btn:hover {
  background: var(--on-brand-panel);
  color: var(--brand-ink);
}

.ctaband .btn--ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--on-brand) 55%, transparent);
  color: var(--on-brand);
  box-shadow: none;
}

.ctaband .btn--ghost:hover {
  background: color-mix(in srgb, var(--on-brand) 14%, transparent);
  color: var(--on-brand);
}

/* ---------------------------------------------------------- footer */

.foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: var(--s-8) 0 var(--s-7);
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-6);
}

.foot h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: var(--s-4);
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
}

.foot ul a:hover {
  color: var(--brand-ink);
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

/* ---------------------------------------------------------- catalog grid */

.catbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}

.catbar .search {
  min-width: 260px;
}

.catgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-4);
}

.appcard {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--base), background var(--base);
}

.appcard:hover {
  border-color: var(--brand);
  background: var(--raised);
}

.appcard__top {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.appcard__id {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.appcard__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 2px;
}

.appcard__sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.appcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  /* 同一行卡片里简介长短不一，页脚统一贴到卡片底部，横向那条线才对得齐。 */
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}

.appcard__plats {
  display: flex;
  gap: 6px;
}

.appcard__go {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brand-ink);
  opacity: 0;
  transition: opacity var(--fast);
}

.appcard:hover .appcard__go {
  opacity: 1;
}

/* 域名常驻显示（不像箭头那样 hover 才出），它是信息不是装饰 */
.appcard__site {
  flex: none;
  font-size: 11px;
  color: var(--faint);
  transition: color var(--fast);
}

.appcard:hover .appcard__site {
  color: var(--brand-ink);
}

/* ---------------------------------------------------------- roadmap */

.rmhero {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}

.rmhero__big {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-7);
  border-radius: var(--r-lg);
  background: var(--ink-block);
  color: var(--on-ink-block);
}

.rmhero__big .stat__label {
  color: color-mix(in srgb, var(--on-ink-block) 62%, transparent);
}

.rmhero__big .stat__value {
  font-size: clamp(52px, 6.5vw, 86px);
}

.rmhero__big .stat__delta {
  color: var(--sun);
}

/* 指标个数不固定（现在是 3 个），堆成一列才不会剩下空格子。 */
.rmhero__small {
  display: grid;
  grid-auto-rows: 1fr;
  gap: var(--s-4);
}

.rmhero__cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-5);
  padding: var(--s-5);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--surface);
}

.rmhero__cell .spark {
  align-self: stretch;
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 54px;
}

.spark i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: var(--brand-line);
}

.spark i:last-child {
  background: var(--brand);
}

.spark--sun i {
  background: var(--sun-line);
}

.spark--sun i:last-child {
  background: var(--sun);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-4);
  padding-top: var(--s-6);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--s-6) + 7px);
  height: 2px;
  background: var(--brand-line);
}

.tlnode {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: var(--s-5);
}

.tlnode::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  background: var(--brand-line);
  box-shadow: 0 0 0 1px var(--brand-line);
}

.tlnode--now::before {
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 0 0 6px var(--brand-soft);
}

.tlnode__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
}

.tlnode__title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.tlnode__note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------------------------------------------------------- app detail */

.adhero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-7) 0 var(--s-6);
}

.adhero__icon {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  font-size: 44px;
}

.adhero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.adhero__copy h1 {
  font-size: clamp(34px, 3.6vw, 52px);
}

.adhero__sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
}

.adhero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: 2px;
}

.adhero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-3);
  min-width: 190px;
}

.adhero__actions small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  text-align: center;
}

.admeta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-block: 1px solid var(--line);
}

.admeta > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admeta span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.admeta b {
  font-size: 15px;
  font-weight: 600;
}

.shots {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  padding: var(--s-6) 0 var(--s-3);
}

.shot {
  flex: none;
  width: 208px;
  aspect-ratio: 9 / 19.5;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--sunken);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.shot--brand {
  background: var(--brand-soft);
  border-color: var(--brand-line);
  color: var(--brand-ink);
}

.shot--sun {
  background: var(--sun-soft);
  border-color: var(--sun-line);
  color: var(--sun-ink);
}

.featlist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) var(--s-6);
}

.feat {
  display: flex;
  gap: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.feat__num {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand);
  padding-top: 3px;
}

.feat h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.feat p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------------------------------------------------------- web work */

/* grid-auto-rows: 1fr —— 所有行等高，不只是同一行内等高。一堆大小不一的方块
   摆在一起像没排完，宁可短文案下面留白。 */
.sitegrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--s-4);
}

.sitecard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--base), background var(--base);
}

.sitecard:hover {
  border-color: var(--brand);
  background: var(--raised);
}

/* 域名牌：每张卡都有，高度写死。favicon 各家颜色不一样，这一排看过去就分得开。 */
.sitecard__plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  height: 128px;
  padding: var(--s-4);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--brand) 6%, var(--surface));
  text-decoration: none;
}

.sitecard__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  flex: 1;
}

.sitecard__top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 域名是这张卡的主视觉：等宽、够大、品红 */
.sitecard__domain {
  font-size: 19px;
  line-height: 1.2;
  color: var(--brand-ink);
  text-align: center;
  word-break: break-word;
}

.sitecard:hover .sitecard__domain {
  text-decoration: underline;
}

.sitecard__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
}

.sitecard__title {
  font-size: 20px;
  line-height: 1.25;
}

/* 两行封顶：有的站介绍长有的短，不夹住的话一张卡能把整行撑高一截 */
.sitecard__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.sitecard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

.sitecard__paired {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
}

.sitecard__paired .mono {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.sitecard__paired:hover {
  color: var(--brand-ink);
}

/* 首页那一条：不铺卡片，只把域名排成清单。列数压到三列，
   五列时每格都是一小截文字加一大片空，看着像没排完。 */
.siteband {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 var(--s-6);
}

.siteband a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color var(--fast), border-color var(--fast);
}

.siteband a:hover {
  border-color: var(--brand);
}

.siteband__domain {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  transition: color var(--fast);
}

.siteband a:hover .siteband__domain {
  color: var(--brand-ink);
}

.siteband__what {
  min-width: 0;
  flex: 1;
  text-align: right;
  font-size: 12.5px;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .sitegrid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------- careers */

.joblist {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.job {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-5);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--base), background var(--base);
}

.job:hover {
  border-color: var(--brand);
  background: var(--raised);
}

.job__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

.job__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.job__note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

.job__tags {
  display: flex;
  gap: 6px;
}

.job__go {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand-ink);
}

.jobdetail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--s-7);
  align-items: start;
  padding-top: var(--s-7);
  margin-top: var(--s-7);
  border-top: 1px solid var(--line);
}

.jobbody {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.jobbody h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.jobbody p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}

.jobbody h3 {
  font-size: 19px;
  margin-top: var(--s-3);
}

.joblines {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.joblines li {
  display: flex;
  gap: var(--s-3);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.joblines li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--sun);
}

.applycard {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.applycard h3 {
  font-size: 21px;
}

/* ---------------------------------------------------------- login */

.login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--s-8);
  align-items: center;
  min-height: 78vh;
  padding: var(--s-8) 0;
}

.login__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  align-items: flex-start;
}

.login__copy h1 {
  font-size: clamp(36px, 4vw, 58px);
}

.loginfacts {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--muted);
}

.loginfacts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loginfacts i {
  width: 20px;
  height: 20px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 11px;
  font-style: normal;
}

.logincard {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: var(--s-7);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.logincard__head {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.logincard h2 {
  font-size: 27px;
}

.logincard__note {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--sun-soft);
  border: 1px solid var(--sun-line);
  font-size: 13px;
  color: var(--sun-ink);
  line-height: 1.55;
}

/* ---------------------------------------------------------- console shell */

.console {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--paper);
}

.cside {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-4);
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.cside__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--s-2) var(--s-4);
  border-bottom: 1px solid var(--line);
}

.cside__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cside__label {
  padding: 0 var(--s-3);
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.cside a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px var(--s-3);
  border-radius: var(--r-xs);
  font-size: 14px;
  color: var(--ink-2);
  transition: background var(--fast), color var(--fast);
}

.cside a:hover {
  background: var(--sunken);
  color: var(--ink);
}

.cside a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 600;
}

.cside a .dotmark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}

.cside a[aria-current="page"] .dotmark {
  background: var(--brand);
}

.cside a .count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.cside__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--sunken);
  font-size: 13px;
}

.cside__avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 12px;
  font-weight: 600;
}

.cmain {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ctop {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}

.crumbs b {
  color: var(--ink);
  font-weight: 600;
}

.ctop__end {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.cbody {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.cbody > * {
  min-width: 0;
}

.cbody__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
}

.cbody__head h1 {
  font-size: 34px;
}

.cstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.cstat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.cstat--brand {
  background: var(--brand-soft);
  border-color: var(--brand-line);
}

.cstat--sun {
  background: var(--sun-soft);
  border-color: var(--sun-line);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--line);
}

.toolbar__left,
.toolbar__right {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tdlist {
  display: flex;
  flex-direction: column;
}

.tditem {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
  transition: background var(--fast);
}

.tditem:hover {
  background: var(--sunken);
}

.tdbox {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  transition: all var(--fast);
}

.tdbox:hover {
  border-color: var(--brand);
}

.tditem--done .tdbox {
  background: var(--mint);
  border-color: var(--mint);
}

.tditem__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tditem__text {
  font-size: 15px;
  font-weight: 500;
}

.tditem--done .tditem__text {
  color: var(--faint);
  text-decoration: line-through;
}

.tditem__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
}

.tditem__ops {
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--fast);
}

.tditem:hover .tditem__ops {
  opacity: 1;
}

.prio {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.prio--high {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
}

.prio--mid {
  background: var(--sun-soft);
  color: var(--sun-ink);
}

.prio--low {
  background: var(--sunken);
  color: var(--muted);
}

/* ---------------------------------------------------------- design system screen */

.ds {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  padding-top: var(--s-7);
}

.ds__block {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.ds__title {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}

.ds__title h2 {
  font-size: 28px;
}

.ds__title span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--s-4);
}

.swatch {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}

.swatch__chip {
  height: 78px;
}

.swatch__meta {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.swatch__name {
  font-size: 13px;
  font-weight: 600;
}

.swatch__hex {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}

.typerow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}

.typerow__spec {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  text-align: right;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero {
    padding-top: var(--s-7);
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .hero__art {
    justify-self: start;
    justify-content: flex-start;
  }
  .hero__art img {
    height: clamp(220px, 58vw, 320px);
  }
  .featured,
  .tenets,
  .rmhero,
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .statband__inner,
  .cstats {
    grid-template-columns: 1fr 1fr;
  }
  .statband .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
  }
  .timeline::before {
    display: none;
  }
  .adhero {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .adhero__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
  .admeta {
    grid-template-columns: 1fr 1fr;
  }
  .jobdetail,
  .login {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .applycard {
    position: static;
  }
}

@media (max-width: 860px) {
  .console {
    grid-template-columns: 1fr;
  }
  .cside {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cside__group {
    flex-direction: row;
  }
  .cside__label,
  .cside__foot {
    display: none;
  }
  .cside a {
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .featured,
  .tenets,
  .rmhero,
  .rmhero__small,
  .foot__grid,
  .statband__inner,
  .cstats,
  .timeline {
    grid-template-columns: 1fr;
  }
  .statband .stat {
    border-left: 0;
    padding-left: 0;
  }
  .ctaband {
    padding: var(--s-6);
  }
  .cbody {
    padding: var(--s-4);
  }
  .featlist {
    grid-template-columns: 1fr;
  }
  .adhero {
    grid-template-columns: 1fr;
  }
  .job {
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--s-3) var(--s-4);
  }
  .job__tags,
  .job__go {
    grid-column: 2;
  }
  .pv-bar {
    width: calc(100% - 24px);
    overflow-x: auto;
    justify-content: flex-start;
  }
}
