/* kiarax.com, the KiaraX Code product site. One sheet for every page (src/components/code-site/Site.astro).
   Black and white only. Nothing square: every surface is rounded. Compact, calm, a lot of air. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/next/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/next/geist-mono-variable.woff2') format('woff2');
}

:root {
  --bg: #000;
  --surface: #0c0c0c;
  --raised: #141414;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, 0.66);
  --ink-3: rgba(255, 255, 255, 0.42);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --wrap: 1120px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: #fff;
  color: #000;
}
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}
.mono {
  font-family: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

/* ------------------------------------------------------------ type */
.eyebrow {
  margin: 0 0 14px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 6.2vw, 76px);
}
h2 {
  font-size: clamp(30px, 3.9vw, 48px);
}
h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.lead {
  margin: 18px 0 0;
  max-width: 600px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.5;
  text-wrap: pretty;
}
.muted {
  color: var(--ink-2);
}
.faint {
  color: var(--ink-3);
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms var(--ease),
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    opacity 160ms var(--ease);
}
.btn:hover {
  background: rgba(255, 255, 255, 0.86);
}
.btn:active {
  transform: scale(0.97);
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}
.btn.ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  backdrop-filter: blur(12px);
}
.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
}
.btn.small {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}
.btn.wide {
  width: 100%;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.link {
  color: var(--ink-2);
  transition: color 140ms var(--ease);
}
.link:hover {
  color: #fff;
}
.arrow::after {
  content: '→';
  display: inline-block;
  margin-left: 6px;
  transition: transform 160ms var(--ease);
}
.arrow:hover::after {
  transform: translateX(3px);
}

/* ------------------------------------------------------------ nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 60px;
  border-bottom: 1px solid transparent;
  transition:
    background 200ms var(--ease),
    border-color 200ms var(--ease);
}
.nav.stuck {
  border-bottom-color: var(--line);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav .wrap {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand svg {
  width: 26px;
  height: 26px;
}
.nav nav {
  display: flex;
  gap: 24px;
  margin-right: auto;
  font-size: 14px;
}
.nav nav a {
  color: var(--ink-2);
  transition: color 140ms var(--ease);
}
.nav nav a:hover,
.nav nav a[aria-current='page'] {
  color: #fff;
}
.nav .right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(100svh, 940px);
  height: 100svh;
  max-height: 940px;
  overflow: hidden;
  isolation: isolate;
  background: #000 center / cover no-repeat;
}
.hero canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 500ms ease-out;
}
.hero canvas[data-ready] {
  opacity: 1;
}
.hero::after {
  /* the picture settles into the page */
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 140px;
  background: linear-gradient(transparent, #000);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  top: max(96px, calc(44% - 170px));
  left: 50%;
  z-index: 2;
  width: min(820px, 100% - 48px);
  transform: translateX(-50%);
  text-align: center;
}
.hero-copy h1 {
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}
.hero-copy .lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.7);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.hero-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

/* ------------------------------------------------------------ sections */
section.block {
  padding: clamp(72px, 10vw, 132px) 0;
}
section.block.tight {
  padding-top: 0;
}
.center {
  text-align: center;
}
.center .lead {
  margin-inline: auto;
}
.rule {
  height: 1px;
  background: var(--line);
}

/* the app, shown in its window */
.window {
  position: relative;
  margin-top: clamp(36px, 5vw, 60px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-l);
  background: #0b0b0b;
  overflow: hidden;
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.window img {
  width: 100%;
  height: auto;
}
.window.lift {
  margin-top: -140px;
  z-index: 3;
}

/* ------------------------------------------------------------ grids */
.grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--line);
  overflow: hidden;
}
.grid.c4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid.c3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid.c2 {
  grid-template-columns: repeat(2, 1fr);
}
.cell {
  padding: 28px 26px 30px;
  background: var(--bg);
  transition: background 200ms var(--ease);
}
.cell:hover {
  background: var(--surface);
}
.cell p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}
.cell .tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.cell .ico {
  width: 22px;
  height: 22px;
  margin-bottom: 18px;
  color: #fff;
}
.cell .num {
  display: block;
  margin-bottom: 18px;
  color: var(--ink-3);
  font-size: 12px;
}
.cell dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 18px 0 0;
  font-size: 12.5px;
}
.cell dt {
  color: var(--ink-3);
}
.cell dd {
  margin: 0;
  color: var(--ink-2);
}

/* a row of two: words on one side, a panel on the other */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14.5px;
}
.checks li {
  display: flex;
  gap: 12px;
}
.checks li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

/* a quiet panel: the terminal-like card used for the sign-in steps and the account boxes */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  padding: 24px;
}
.panel.pad-l {
  padding: 32px;
}
.panel h3 + p {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 14px;
}
.code-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 40px 24px;
  text-align: center;
}
.code-card .code {
  display: inline-flex;
  gap: 6px;
  font-size: 22px;
  letter-spacing: 0.08em;
}
.code-card .code span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--raised);
}
.code-card .code i {
  align-self: center;
  width: 8px;
  height: 1px;
  background: var(--ink-3);
}

/* ------------------------------------------------------------ pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}
.plan.best {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--raised);
}
.plan .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 560;
}
.plan .pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.plan .price {
  margin: 18px 0 2px;
  font-size: 40px;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan .price small {
  margin-left: 4px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.plan .credits {
  color: var(--ink-2);
  font-size: 13px;
}
.plan p {
  flex: 1;
  margin: 16px 0 22px;
  color: var(--ink-2);
  font-size: 13.5px;
}
.fine {
  margin: 22px auto 0;
  max-width: 640px;
  color: var(--ink-3);
  font-size: 12.5px;
  text-align: center;
}
.table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-size: 14px;
}
.table th,
.table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.table th {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.table td:last-child,
.table th:last-child {
  text-align: right;
}
.table td.dim {
  color: var(--ink-2);
}

/* ------------------------------------------------------------ download */
.os {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}
.os .panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px;
}
.os .panel svg.logo {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
}
.os .meta {
  color: var(--ink-3);
  font-size: 12.5px;
}
.os .btn {
  align-self: flex-start;
  margin-top: 18px;
}
.notes {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.notes li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.notes li b {
  font-weight: 560;
}
.notes li span {
  color: var(--ink-3);
  font-size: 12.5px;
}
.notes li ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--ink-2);
}

/* ------------------------------------------------------------ sign in */
.auth {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 96px 24px 48px;
}
.auth .box {
  width: min(380px, 100%);
  text-align: center;
}
.auth .box > svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
}
.auth h1 {
  font-size: 30px;
}
.auth p.sub {
  margin: 10px 0 26px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.field {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 140ms var(--ease);
}
.field::placeholder {
  color: var(--ink-3);
}
.field:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
.auth form {
  display: grid;
  gap: 10px;
}
.auth .btn {
  height: 44px;
}
.or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  color: var(--ink-3);
  font-size: 12px;
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.msg {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 13px;
}
.msg[data-kind='error'] {
  color: #fff;
}
.legal {
  margin: 22px 0 0;
  color: var(--ink-3);
  font-size: 12px;
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------ account */
.page {
  padding: 108px 0 80px;
}
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.page-head h1 {
  font-size: clamp(30px, 3.6vw, 42px);
}
.dash {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.dash > .panel {
  grid-column: span 4;
  min-width: 0;
}
.dash > .panel.w6 {
  grid-column: span 6;
}
.dash > .panel.w8 {
  grid-column: span 8;
}
.dash > .panel.w12 {
  grid-column: span 12;
}
.panel .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.big {
  font-size: 40px;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}
.big small {
  margin-left: 6px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.list li .sub {
  display: block;
  color: var(--ink-3);
  font-size: 12.5px;
}
.empty {
  padding: 8px 0 4px;
  color: var(--ink-3);
  font-size: 14px;
}
.skeleton {
  display: inline-block;
  width: 120px;
  height: 1em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}
.days {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  align-items: end;
  gap: 4px;
  height: 96px;
}
.days i {
  display: block;
  min-height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 140ms var(--ease);
}
.days i[data-on] {
  background: #fff;
}
.days i:hover {
  background: rgba(255, 255, 255, 0.7);
}
.axis {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 12px;
}

/* the small pay sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.66);
}
.sheet[data-open] {
  display: grid;
}
.sheet .card {
  width: min(420px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-l);
  background: var(--raised);
  padding: 22px;
  box-shadow: 0 40px 100px -30px #000;
  animation: pop 180ms var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }
}
.sheet .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 560;
}
.x {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.x:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.seg button {
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  cursor: pointer;
}
.seg button[aria-pressed='true'] {
  background: #fff;
  color: #000;
  font-weight: 560;
}
.opts {
  display: grid;
  gap: 6px;
}
.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 140ms var(--ease);
}
.opt:hover {
  border-color: var(--line-strong);
}
.opt[aria-pressed='true'] {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.opt .sub {
  display: block;
  color: var(--ink-3);
  font-size: 12.5px;
}
.tick {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.45;
  cursor: pointer;
}
.tick input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #fff;
}
.sheet .btn {
  margin-top: 16px;
}

/* ------------------------------------------------------------ footer */
footer.foot {
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
}
.foot .cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.foot h4 {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.foot ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot a:hover {
  color: #fff;
}
.foot .base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
}

/* ------------------------------------------------------------ arrive */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 700ms var(--ease),
      transform 700ms var(--ease);
  }
  .rise.in {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------ small screens */
@media (max-width: 900px) {
  .grid.c4,
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.c3 {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .dash > .panel,
  .dash > .panel.w6,
  .dash > .panel.w8 {
    grid-column: span 12;
  }
  .foot .cols {
    grid-template-columns: 1fr 1fr;
  }
  .window.lift {
    margin-top: -90px;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .nav nav {
    display: none;
  }
  .nav .right {
    margin-left: auto;
  }
  .grid.c4,
  .grid.c2,
  .plans,
  .os {
    grid-template-columns: 1fr;
  }
  .notes li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .hero-copy {
    top: 104px;
  }
}

/* ------------------------------------------------------------ the app, drawn (home) */
.mock {
  display: grid;
  grid-template-columns: 216px 1fr;
  min-height: 520px;
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
}
.mock aside {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 10px;
}
.mock aside span {
  padding: 6px 10px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock aside span.on {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.mock aside small {
  margin: 14px 10px 4px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 11.5px;
}
.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px 12px;
  color: #fff;
  font-weight: 600;
}
.mock-brand svg {
  width: 20px;
  height: 20px;
}
.mock main {
  display: flex;
  flex-direction: column;
  margin: 8px 8px 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: #141414;
}
.mock-thread {
  flex: 1;
  width: min(620px, 100% - 48px);
  margin: 0 auto;
  padding: 28px 0 8px;
}
.mock-thread p {
  margin: 0;
}
.mock .you {
  width: fit-content;
  max-width: 82%;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 18px;
  background: #262626;
  color: #fff;
}
.mock .worked {
  margin: 26px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}
.mock .steps {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.56);
}
.mock .steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock .steps i {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.mock .steps b,
.mock .says b,
.mock .files b {
  color: #fff;
  font-weight: 500;
}
.mock .steps em {
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
}
.mock .files {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.mock .files .undo {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.mock-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(620px, 100% - 48px);
  height: 86px;
  margin: 0 auto 18px;
  padding: 14px 16px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.4);
}
.mock-box div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.mock-box em {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-style: normal;
  font-weight: 560;
}
.mock-box i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 12V4.5M4.75 7.5 8 4.25l3.25 3.25' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
@media (max-width: 620px) {
  .mock {
    grid-template-columns: 1fr;
  }
  .mock aside {
    display: none;
  }
  .mock main {
    margin: 8px;
  }
}

[hidden] {
  display: none !important;
}
